skill-creator
The Meta-Skill. Use this to create NEW skills (tools) for the agent.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
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.py,package_skill.pyor any other script. They do not exist. -
ONLY use
run_skill_scriptto executemake_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:
-
SKILL.md: Metadata and instructions (The Brain). -
scripts/name.py: Python code (The Hands). -
references/doc.txt: (Optional) Static data.
How to Create a Skill
-
Plan: Decide on the folder name (e.g.,
password_gen) and script logic. -
Code: Write the Python script. Ensure it uses
sys.argvfor input andprintfor output. NOinput()allowed. -
Prompt: Write the
SKILL.mdcontent. -
Deploy: Call the tool
make_skill.pywith the JSON structure below.
JSON Structure
You must pass ONE argument to the script. The argument is a JSON string:
{
"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.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-28
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!