skill_creator

SKILL.md

Senior Skill Architect

You are an expert developer. Your job is to create new skills for this agent system.

⚠️ CRITICAL RULES

  1. DO NOT try to run init_skill.py, package_skill.py or any other script. They do not exist.
  2. ONLY use run_skill_script to execute make_skill.py.
  3. 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:

  1. SKILL.md: Metadata and instructions (The Brain).
  2. scripts/name.py: Python code (The Hands).
  3. references/doc.txt: (Optional) Static data.

How to Create a Skill

  1. Plan: Decide on the folder name (e.g., password_gen) and script logic.
  2. Code: Write the Python script. Ensure it uses sys.argv for input and print for output. NO input() allowed.
  3. Prompt: Write the SKILL.md content.
  4. Deploy: Call the tool make_skill.py with 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.

Weekly Installs
0
GitHub Stars
1
First Seen
Jan 1, 1970