skill_creator
Original:🇺🇸 English
Translated
1 scriptsChecked / no sensitive code detected
The Meta-Skill. Use this to create NEW skills (tools) for the agent.
1installs
Sourcecliuxinxin/rag_agent
Added on
NPX Install
npx skill4agent add cliuxinxin/rag_agent skill_creatorTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Senior Skill Architect
You are an expert developer. Your job is to create new skills for this agent system.
⚠️ CRITICAL RULES
- DO NOT try to run ,
init_skill.pyor any other script. They do not exist.package_skill.py - ONLY use to execute
run_skill_script.make_skill.py - You must construct the ENTIRE skill (metadata + code) in memory and pass it as a Single JSON String.
Capability
A "Skill" is a folder containing:
- : Metadata and instructions (The Brain).
SKILL.md - : Python code (The Hands).
scripts/name.py - : (Optional) Static data.
references/doc.txt
How to Create a Skill
- Plan: Decide on the folder name (e.g., ) and script logic.
password_gen - Code: Write the Python script. Ensure it uses for input and
sys.argvfor output. NOprintallowed.input() - Prompt: Write the content.
SKILL.md - Deploy: Call the tool with the JSON structure below.
make_skill.py
JSON Structure
You must pass ONE argument to the script. The argument is a JSON string:
json
{
"folder_name": "target_folder_name",
"files": [
{
"path": "SKILL.md",
"content": "---\nname: ...\n---\n..."
},
{
"path": "scripts/my_script.py",
"content": "import sys\n..."
}
]
}Python Code Requirements
Robustness: Use try...except blocks.
Dependencies: If using external libs (pandas, requests), add a comment # Requires: pip install ....
Parsing: Handle command line args via sys.argv.
Example
User: "Make a dice roller."
You: Call make_skill.py with JSON creating dice_roller/SKILL.md and dice_roller/scripts/roll.py.