Create new skills, modify and improve existing skills, and measure skill performance.

Apache-2.0Auto-check passedAgent Workflows

Install Skill Creator

skills CLI
$ npx skills add AgentTeam-TaichuAI/ScienceClaw --skill skill-creator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AgentTeam-TaichuAI/ScienceClaw skill-creator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AgentTeam-TaichuAI/ScienceClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ScienceClaw/backend/builtin_skills/skill-creator .claude/skills/skill-creator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
skill-creator
GitHub stars
671
Token cost
~10k tokens
SKILL.md length
5,248 words
Files
18 (incl. scripts, references, assets)
Skills in repo
9
Repo updated
First seen
Licence
Apache-2.0

At a glance

Create new skills, modify and improve existing skills, and measure skill performance.

  • Works in 9 steps: Spawn all runs (with-skill AND baseline)… → While runs are in progress, draft… → As runs complete, capture timing data → …
  • The user wants to create a custom skill from scratch
  • SKILL.md covers Communicating with the user, Creating a skill, Running and evaluating test… and Improving the skill, plus 3 more sections
  • Runs Python scripts from its folder; calls python and claude

What it does

Skill Creator is an agent skill from AgentTeam-TaichuAI/ScienceClaw. Create new skills, modify and improve existing skills, and measure skill performance. MANDATORY: Use this skill whenever the user wants to create a custom skill from scratch, design a workflow as a skill, write their own SKILL.md, update or optimize an existing skill, run evals to test a skill, benchmark skill performance, or asks questions like 'how do I make a skill', 'create a skill for X', 'turn this into a skill', 'I want to build a skill'. Even if the user doesn't use the word 'skill' explicitly, trigger…

Its SKILL.md is about 10k tokens, which your agent loads only when the skill is triggered. The skill folder holds 22 other files, including scripts, reference files and assets (for example `agents/analyzer.md`, `agents/comparator.md` and `agents/grader.md`).

It sits in Agent Workflows, covering Skill authoring and LLM evaluation. The repository describes itself as: ScienceClaw is a personal research assistant built with LangChain DeepAgents and AIO Sandbox infrastructure, adopting a completely new architecture beyond OpenClaw. It offers… The licence is Apache-2.0.

When your agent uses it

  • The user wants to create a custom skill from scratch
  • Design a workflow as a skill
  • Write their own SKILL.md
  • Optimize an existing skill

Example prompts

  • “how do I make a skill”
  • “create a skill for X”
  • “turn this into a skill”
  • “/skill-creator”

Requirements

  • Python 3

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Spawn all runs (with-skill AND baseline) in the same turn
  2. While runs are in progress, draft assertions
  3. As runs complete, capture timing data
  4. Grade, aggregate, and launch the viewer
  5. Read the feedback
  6. Generate trigger eval queries
  7. Review with user
  8. Run the optimization loop
  9. Apply the result

What it can do on your machine

Read from SKILL.md and the folder at commit 3817e56. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 7 files in scripts/ (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • claude

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Skill Creator loads about 10k tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 154 tokens; SKILL.md has 5,248 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~154
When it runs · the whole SKILL.md, loaded when a task matches
~10k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~13k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from AgentTeam-TaichuAI/ScienceClaw at commit 3817e56, republished under its Apache-2.0 licence (© AgentTeam-TaichuAI). 5,248 words, ~10,091 tokens.

Download SKILL.mdSave it as .claude/skills/skill-creator/SKILL.md (or your agent's skills folder). This skill also uses 17 other files; get the full folder from GitHub.
name
skill-creator
description
Create new skills, modify and improve existing skills, and measure skill performance. MANDATORY: Use this skill whenever the user wants to create a custom skill from scratch, design a workflow as a skill, write their own SKILL.md, update or optimize an existing skill, run evals to test a skill, benchmark skill performance, or asks questions like 'how do I make a skill', 'create a skill for X', 'turn this into a skill', 'I want to build a skill'. Even if the user doesn't use the word 'skill' explicitly, trigger this if they want to capture a reusable workflow or set of instructions for the agent.

Skill Creator

A skill for creating new skills and iteratively improving them.

ENVIRONMENT: ScienceClaw — You are running in ScienceClaw. There are NO subagents, NO task tool, NO claude CLI. Do NOT attempt to spawn subagents or call task. For eval/testing, saving, and improving skills, follow the ScienceClaw-Specific Instructions section at the bottom of this file. The "Creating a skill" section below is universal and can be followed as-is. All other sections (Running and evaluating test cases, Improving the skill, Blind comparison, Description Optimization) are Claude Code-specific — SKIP them entirely and use the ScienceClaw equivalents instead.

Your job is to figure out where the user is in the skill creation process and help them progress. The high-level flow is: draft → test → review → improve → repeat.

  • If the user wants to create a new skill, help narrow down what they mean, write a draft, then offer to test it
  • If they already have a draft, go straight to the eval/iterate part
  • If they just want a quick change, skip the full eval cycle
  • Always be flexible — if the user says "just vibe with me", do that instead

Communicating with the user

The skill creator is liable to be used by people across a wide range of familiarity with coding jargon. If you haven't heard (and how could you, it's only very recently that it started), there's a trend now where the power of Claude is inspiring plumbers to open up their terminals, parents and grandparents to google "how to install npm". On the other hand, the bulk of users are probably fairly computer-literate.

So please pay attention to context cues to understand how to phrase your communication! In the default case, just to give you some idea:

  • "evaluation" and "benchmark" are borderline, but OK
  • for "JSON" and "assertion" you want to see serious cues from the user that they know what those things are before using them without explaining them

It's OK to briefly explain terms if you're in doubt, and feel free to clarify terms with a short definition if you're unsure if the user will get it.


Creating a skill

Capture Intent

Start by understanding the user's intent. The current conversation might already contain a workflow the user wants to capture (e.g., they say "turn this into a skill"). If so, extract answers from the conversation history first — the tools used, the sequence of steps, corrections the user made, input/output formats observed. The user may need to fill the gaps, and should confirm before proceeding to the next step.

  1. What should this skill enable Claude to do?
  2. When should this skill trigger? (what user phrases/contexts)
  3. What's the expected output format?
  4. Should we set up test cases to verify the skill works? Skills with objectively verifiable outputs (file transforms, data extraction, code generation, fixed workflow steps) benefit from test cases. Skills with subjective outputs (writing style, art) often don't need them. Suggest the appropriate default based on the skill type, but let the user decide.
Interview and Research

Proactively ask questions about edge cases, input/output formats, example files, success criteria, and dependencies. Wait to write test prompts until you've got this part ironed out.

Use web_search and web_crawl to research. When the skill involves external APIs, services, data sources, or technical workflows you're not 100% sure about, use seekr_sdk (from seekr_sdk import web_search, web_crawl) to verify current information before writing instructions. This includes:

  • Confirming API endpoints, parameters, and response formats are still valid
  • Looking up best practices, official documentation, or community patterns
  • Finding similar skills or workflows for inspiration
  • Verifying that libraries, tools, or services mentioned in the skill actually exist and work as described

Come prepared with context to reduce burden on the user.

Write the SKILL.md

YAML Frontmatter is MANDATORY. Every SKILL.md MUST start with YAML frontmatter wrapped in --- fences containing name and description. Without frontmatter, the skill will have an empty description in the "Available Skills" list, and the agent will never know what the skill does — it simply won't be triggered. This is the #1 cause of skills not working after creation.

The SKILL.md must follow this exact structure:

---
name: my-skill-name
description: "What this skill does and when to trigger it. Be specific and pushy."
---

# my-skill-name

(rest of the skill body — instructions, examples, etc.)

Frontmatter fields:

  • name (required): Skill identifier, should match the directory name.
  • description (required): This is the primary triggering mechanism — the agent reads this to decide whether to use the skill. Include both what the skill does AND specific contexts/phrases for when to use it. All "when to use" info goes here, not in the body. Make the description "pushy" — err on the side of triggering too often rather than too rarely. For instance, instead of "Build a dashboard.", write "Build dashboards for data visualization. Use this whenever the user mentions dashboards, charts, metrics display, data overview, reporting, or wants to visualize any kind of data, even if they don't explicitly ask for a 'dashboard.'" Include both Chinese and English trigger phrases if the skill may be used in bilingual contexts.
  • compatibility (optional): Required tools, dependencies (rarely needed).

Then write the rest of the skill body (instructions, examples, output format, etc.).

Skill Writing Guide
Anatomy of a Skill
skill-name/
├── SKILL.md (required)
│   ├── YAML frontmatter (--- name + description ---, MANDATORY or skill won't trigger)
│   └── Markdown body (instructions, examples, output format)
└── Bundled Resources (optional)
    ├── scripts/    - Executable code for deterministic/repetitive tasks
    ├── references/ - Docs loaded into context as needed
    └── assets/     - Files used in output (templates, icons, fonts)
Progressive Disclosure

Skills use a three-level loading system:

  1. Metadata (name + description) - Always in context (~100 words)
  2. SKILL.md body - In context whenever skill triggers (<500 lines ideal)
  3. Bundled resources - As needed (unlimited, scripts can execute without loading)

These word counts are approximate and you can feel free to go longer if needed.

Key patterns:

  • Keep SKILL.md under 500 lines; if you're approaching this limit, add an additional layer of hierarchy along with clear pointers about where the model using the skill should go next to follow up.
  • Reference files clearly from SKILL.md with guidance on when to read them
  • For large reference files (>300 lines), include a table of contents

Domain organization: When a skill supports multiple domains/frameworks, organize by variant:

cloud-deploy/
├── SKILL.md (workflow + selection)
└── references/
    ├── aws.md
    ├── gcp.md
    └── azure.md

Claude reads only the relevant reference file.

Principle of Lack of Surprise

This goes without saying, but skills must not contain malware, exploit code, or any content that could compromise system security. A skill's contents should not surprise the user in their intent if described. Don't go along with requests to create misleading skills or skills designed to facilitate unauthorized access, data exfiltration, or other malicious activities. Things like a "roleplay as an XYZ" are OK though.

Writing Patterns

Prefer using the imperative form in instructions.

Defining output formats - You can do it like this:

markdown
## Report structure
ALWAYS use this exact template:
# [Title]
## Executive summary
## Key findings
## Recommendations

Examples pattern - It's useful to include examples. You can format them like this (but if "Input" and "Output" are in the examples you might want to deviate a little):

markdown
## Commit message format
**Example 1:**
Input: Added user authentication with JWT tokens
Output: feat(auth): implement JWT-based authentication
Writing Style

Try to explain to the model why things are important in lieu of heavy-handed musty MUSTs. Use theory of mind and try to make the skill general and not super-narrow to specific examples. Start by writing a draft and then look at it with fresh eyes and improve it.

Test Cases

After writing the skill draft, come up with 2-3 realistic test prompts — the kind of thing a real user would actually say. Share them with the user: [you don't have to use this exact language] "Here are a few test cases I'd like to try. Do these look right, or do you want to add more?" Then run them.

Save test cases to evals/evals.json. Don't write assertions yet — just the prompts. You'll draft assertions in the next step while the runs are in progress.

json
{
  "skill_name": "example-skill",
  "evals": [
    {
      "id": 1,
      "prompt": "User's task prompt",
      "expected_output": "Description of expected result",
      "files": []
    }
  ]
}

See references/schemas.md for the full schema (including the assertions field, which you'll add later).

Running and evaluating test cases

⚠️ SCIENCECLAW: SKIP THIS ENTIRE SECTION. This section requires subagents and task tool which are NOT available. Go to ScienceClaw-Specific Instructions → Eval / Improve Cycle instead.

<!-- Original Claude Code instructions preserved for reference -->

This section is one continuous sequence — don't stop partway through. Do NOT use /skill-test or any other testing skill.

Put results in <skill-name>-workspace/ as a sibling to the skill directory. Within the workspace, organize results by iteration (iteration-1/, iteration-2/, etc.) and within that, each test case gets a directory (eval-0/, eval-1/, etc.). Don't create all of this upfront — just create directories as you go.

Step 1: Spawn all runs (with-skill AND baseline) in the same turn

For each test case, spawn two subagents in the same turn — one with the skill, one without. This is important: don't spawn the with-skill runs first and then come back for baselines later. Launch everything at once so it all finishes around the same time.

With-skill run:

Execute this task:
- Skill path: <path-to-skill>
- Task: <eval prompt>
- Input files: <eval files if any, or "none">
- Save outputs to: <workspace>/iteration-<N>/eval-<ID>/with_skill/outputs/
- Outputs to save: <what the user cares about — e.g., "the .docx file", "the final CSV">

Baseline run (same prompt, but the baseline depends on context):

  • Creating a new skill: no skill at all. Same prompt, no skill path, save to without_skill/outputs/.
  • Improving an existing skill: the old version. Before editing, snapshot the skill (cp -r <skill-path> <workspace>/skill-snapshot/), then point the baseline subagent at the snapshot. Save to old_skill/outputs/.

Write an eval_metadata.json for each test case (assertions can be empty for now). Give each eval a descriptive name based on what it's testing — not just "eval-0". Use this name for the directory too. If this iteration uses new or modified eval prompts, create these files for each new eval directory — don't assume they carry over from previous iterations.

json
{
  "eval_id": 0,
  "eval_name": "descriptive-name-here",
  "prompt": "The user's task prompt",
  "assertions": []
}
Step 2: While runs are in progress, draft assertions

Don't just wait for the runs to finish — you can use this time productively. Draft quantitative assertions for each test case and explain them to the user. If assertions already exist in evals/evals.json, review them and explain what they check.

Good assertions are objectively verifiable and have descriptive names — they should read clearly in the benchmark viewer so someone glancing at the results immediately understands what each one checks. Subjective skills (writing style, design quality) are better evaluated qualitatively — don't force assertions onto things that need human judgment.

Update the eval_metadata.json files and evals/evals.json with the assertions once drafted. Also explain to the user what they'll see in the viewer — both the qualitative outputs and the quantitative benchmark.

Step 3: As runs complete, capture timing data

When each subagent task completes, you receive a notification containing total_tokens and duration_ms. Save this data immediately to timing.json in the run directory:

json
{
  "total_tokens": 84852,
  "duration_ms": 23332,
  "total_duration_seconds": 23.3
}

This is the only opportunity to capture this data — it comes through the task notification and isn't persisted elsewhere. Process each notification as it arrives rather than trying to batch them.

Step 4: Grade, aggregate, and launch the viewer

Once all runs are done:

  1. Grade each run — spawn a grader subagent (or grade inline) that reads agents/grader.md and evaluates each assertion against the outputs. Save results to grading.json in each run directory. The grading.json expectations array must use the fields text, passed, and evidence (not name/met/details or other variants) — the viewer depends on these exact field names. For assertions that can be checked programmatically, write and run a script rather than eyeballing it — scripts are faster, more reliable, and can be reused across iterations.

  2. Aggregate into benchmark — run the aggregation script from the skill-creator directory:

    bash
    python -m scripts.aggregate_benchmark <workspace>/iteration-N --skill-name <name>

    This produces benchmark.json and benchmark.md with pass_rate, time, and tokens for each configuration, with mean ± stddev and the delta. If generating benchmark.json manually, see references/schemas.md for the exact schema the viewer expects. Put each with_skill version before its baseline counterpart.

  3. Do an analyst pass — read the benchmark data and surface patterns the aggregate stats might hide. See agents/analyzer.md (the "Analyzing Benchmark Results" section) for what to look for — things like assertions that always pass regardless of skill (non-discriminating), high-variance evals (possibly flaky), and time/token tradeoffs.

  4. Launch the viewer with both qualitative outputs and quantitative data:

    bash
    nohup python <skill-creator-path>/eval-viewer/generate_review.py \
      <workspace>/iteration-N \
      --skill-name "my-skill" \
      --benchmark <workspace>/iteration-N/benchmark.json \
      > /dev/null 2>&1 &
    VIEWER_PID=$!

    For iteration 2+, also pass --previous-workspace <workspace>/iteration-<N-1>.

    Cowork / headless environments: If webbrowser.open() is not available or the environment has no display, use --static <output_path> to write a standalone HTML file instead of starting a server. Feedback will be downloaded as a feedback.json file when the user clicks "Submit All Reviews". After download, copy feedback.json into the workspace directory for the next iteration to pick up.

Note: please use generate_review.py to create the viewer; there's no need to write custom HTML.

  1. Tell the user something like: "I've opened the results in your browser. There are two tabs — 'Outputs' lets you click through each test case and leave feedback, 'Benchmark' shows the quantitative comparison. When you're done, come back here and let me know."
What the user sees in the viewer

The "Outputs" tab shows one test case at a time:

  • Prompt: the task that was given
  • Output: the files the skill produced, rendered inline where possible
  • Previous Output (iteration 2+): collapsed section showing last iteration's output
  • Formal Grades (if grading was run): collapsed section showing assertion pass/fail
  • Feedback: a textbox that auto-saves as they type
  • Previous Feedback (iteration 2+): their comments from last time, shown below the textbox

The "Benchmark" tab shows the stats summary: pass rates, timing, and token usage for each configuration, with per-eval breakdowns and analyst observations.

Navigation is via prev/next buttons or arrow keys. When done, they click "Submit All Reviews" which saves all feedback to feedback.json.

Step 5: Read the feedback

When the user tells you they're done, read feedback.json:

json
{
  "reviews": [
    {"run_id": "eval-0-with_skill", "feedback": "the chart is missing axis labels", "timestamp": "..."},
    {"run_id": "eval-1-with_skill", "feedback": "", "timestamp": "..."},
    {"run_id": "eval-2-with_skill", "feedback": "perfect, love this", "timestamp": "..."}
  ],
  "status": "complete"
}

Empty feedback means the user thought it was fine. Focus your improvements on the test cases where the user had specific complaints.

Kill the viewer server when you're done with it:

bash
kill $VIEWER_PID 2>/dev/null

Improving the skill

⚠️ SCIENCECLAW: SKIP THIS SECTION. Go to ScienceClaw-Specific Instructions → Eval / Improve Cycle → Step 5 instead.

This is the heart of the loop. You've run the test cases, the user has reviewed the results, and now you need to make the skill better based on their feedback.

How to think about improvements
  1. Generalize from the feedback. The big picture thing that's happening here is that we're trying to create skills that can be used a million times (maybe literally, maybe even more who knows) across many different prompts. Here you and the user are iterating on only a few examples over and over again because it helps move faster. The user knows these examples in and out and it's quick for them to assess new outputs. But if the skill you and the user are codeveloping works only for those examples, it's useless. Rather than put in fiddly overfitty changes, or oppressively constrictive MUSTs, if there's some stubborn issue, you might try branching out and using different metaphors, or recommending different patterns of working. It's relatively cheap to try and maybe you'll land on something great.

  2. Keep the prompt lean. Remove things that aren't pulling their weight. Make sure to read the transcripts, not just the final outputs — if it looks like the skill is making the model waste a bunch of time doing things that are unproductive, you can try getting rid of the parts of the skill that are making it do that and seeing what happens.

  3. Explain the why. Try hard to explain the why behind everything you're asking the model to do. Today's LLMs are smart. They have good theory of mind and when given a good harness can go beyond rote instructions and really make things happen. Even if the feedback from the user is terse or frustrated, try to actually understand the task and why the user is writing what they wrote, and what they actually wrote, and then transmit this understanding into the instructions. If you find yourself writing ALWAYS or NEVER in all caps, or using super rigid structures, that's a yellow flag — if possible, reframe and explain the reasoning so that the model understands why the thing you're asking for is important. That's a more humane, powerful, and effective approach.

  4. Look for repeated work across test cases. Read the transcripts from the test runs and notice if the subagents all independently wrote similar helper scripts or took the same multi-step approach to something. If all 3 test cases resulted in the subagent writing a create_docx.py or a build_chart.py, that's a strong signal the skill should bundle that script. Write it once, put it in scripts/, and tell the skill to use it. This saves every future invocation from reinventing the wheel.

This task is pretty important (we are trying to create billions a year in economic value here!) and your thinking time is not the blocker; take your time and really mull things over. I'd suggest writing a draft revision and then looking at it anew and making improvements. Really do your best to get into the head of the user and understand what they want and need.

The iteration loop

After improving the skill:

  1. Apply your improvements to the skill
  2. Rerun all test cases into a new iteration-<N+1>/ directory, including baseline runs. If you're creating a new skill, the baseline is always without_skill (no skill) — that stays the same across iterations. If you're improving an existing skill, use your judgment on what makes sense as the baseline: the original version the user came in with, or the previous iteration.
  3. Launch the reviewer with --previous-workspace pointing at the previous iteration
  4. Wait for the user to review and tell you they're done
  5. Read the new feedback, improve again, repeat

Keep going until:

  • The user says they're happy
  • The feedback is all empty (everything looks good)
  • You're not making meaningful progress

Advanced: Blind comparison

⚠️ SCIENCECLAW: SKIP. Blind comparison requires subagents which are not available.

For situations where you want a more rigorous comparison between two versions of a skill (e.g., the user asks "is the new version actually better?"), there's a blind comparison system. Read agents/comparator.md and agents/analyzer.md for the details. The basic idea is: give two outputs to an independent agent without telling it which is which, and let it judge quality. Then analyze why the winner won.

This is optional, requires subagents, and most users won't need it. The human review loop is usually sufficient.


Description Optimization

⚠️ SCIENCECLAW: SKIP THIS SECTION. The automated run_loop.py / claude -p approach is not available. Go to ScienceClaw-Specific Instructions → Description Optimization for manual optimization guidance.

The description field in SKILL.md frontmatter is the primary mechanism that determines whether Claude invokes a skill. After creating or improving a skill, offer to optimize the description for better triggering accuracy.

Show full SKILL.md (2,256 more words)Show less
Step 1: Generate trigger eval queries

Create 20 eval queries — a mix of should-trigger and should-not-trigger. Save as JSON:

json
[
  {"query": "the user prompt", "should_trigger": true},
  {"query": "another prompt", "should_trigger": false}
]

The queries must be realistic and something a Claude Code or Claude.ai user would actually type. Not abstract requests, but requests that are concrete and specific and have a good amount of detail. For instance, file paths, personal context about the user's job or situation, column names and values, company names, URLs. A little bit of backstory. Some might be in lowercase or contain abbreviations or typos or casual speech. Use a mix of different lengths, and focus on edge cases rather than making them clear-cut (the user will get a chance to sign off on them).

Bad: "Format this data", "Extract text from PDF", "Create a chart"

Good: "ok so my boss just sent me this xlsx file (its in my downloads, called something like 'Q4 sales final FINAL v2.xlsx') and she wants me to add a column that shows the profit margin as a percentage. The revenue is in column C and costs are in column D i think"

For the should-trigger queries (8-10), think about coverage. You want different phrasings of the same intent — some formal, some casual. Include cases where the user doesn't explicitly name the skill or file type but clearly needs it. Throw in some uncommon use cases and cases where this skill competes with another but should win.

For the should-not-trigger queries (8-10), the most valuable ones are the near-misses — queries that share keywords or concepts with the skill but actually need something different. Think adjacent domains, ambiguous phrasing where a naive keyword match would trigger but shouldn't, and cases where the query touches on something the skill does but in a context where another tool is more appropriate.

The key thing to avoid: don't make should-not-trigger queries obviously irrelevant. "Write a fibonacci function" as a negative test for a PDF skill is too easy — it doesn't test anything. The negative cases should be genuinely tricky.

Step 2: Review with user

Present the eval set to the user for review using the HTML template:

  1. Read the template from assets/eval_review.html
  2. Replace the placeholders:
    • __EVAL_DATA_PLACEHOLDER__ → the JSON array of eval items (no quotes around it — it's a JS variable assignment)
    • __SKILL_NAME_PLACEHOLDER__ → the skill's name
    • __SKILL_DESCRIPTION_PLACEHOLDER__ → the skill's current description
  3. Write to a temp file (e.g., /tmp/eval_review_<skill-name>.html) and open it: open /tmp/eval_review_<skill-name>.html
  4. The user can edit queries, toggle should-trigger, add/remove entries, then click "Export Eval Set"
  5. The file downloads to ~/Downloads/eval_set.json — check the Downloads folder for the most recent version in case there are multiple (e.g., eval_set (1).json)

This step matters — bad eval queries lead to bad descriptions.

Step 3: Run the optimization loop

Tell the user: "This will take some time — I'll run the optimization loop in the background and check on it periodically."

Save the eval set to the workspace, then run in the background:

bash
python -m scripts.run_loop \
  --eval-set <path-to-trigger-eval.json> \
  --skill-path <path-to-skill> \
  --model <model-id-powering-this-session> \
  --max-iterations 5 \
  --verbose

Use the model ID from your system prompt (the one powering the current session) so the triggering test matches what the user actually experiences.

While it runs, periodically tail the output to give the user updates on which iteration it's on and what the scores look like.

This handles the full optimization loop automatically. It splits the eval set into 60% train and 40% held-out test, evaluates the current description (running each query 3 times to get a reliable trigger rate), then calls Claude with extended thinking to propose improvements based on what failed. It re-evaluates each new description on both train and test, iterating up to 5 times. When it's done, it opens an HTML report in the browser showing the results per iteration and returns JSON with best_description — selected by test score rather than train score to avoid overfitting.

How skill triggering works

Understanding the triggering mechanism helps design better eval queries. Skills appear in Claude's available_skills list with their name + description, and Claude decides whether to consult a skill based on that description. The important thing to know is that Claude only consults skills for tasks it can't easily handle on its own — simple, one-step queries like "read this PDF" may not trigger a skill even if the description matches perfectly, because Claude can handle them directly with basic tools. Complex, multi-step, or specialized queries reliably trigger skills when the description matches.

This means your eval queries should be substantive enough that Claude would actually benefit from consulting a skill. Simple queries like "read file X" are poor test cases — they won't trigger skills regardless of description quality.

Step 4: Apply the result

Take best_description from the JSON output and update the skill's SKILL.md frontmatter. Show the user before/after and report the scores.


Package and Present (only if present_files tool is available)

⚠️ SCIENCECLAW: SKIP. present_files and scripts.package_skill are not available.

Check whether you have access to the present_files tool. If you don't, skip this step. If you do, package the skill and present the .skill file to the user:

bash
python -m scripts.package_skill <path/to/skill-folder>

After packaging, direct the user to the resulting .skill file path so they can install it.


ScienceClaw-Specific Instructions

You are running inside the ScienceClaw environment. The core skill-creation workflow (draft → test → review → improve → repeat) still applies, but with these environment-specific adaptations:

Environment Constraints
  • No subagents: You cannot spawn parallel subagents. Run all test cases sequentially, one at a time.
  • No claude CLI: The claude -p command is not available. Skip the automated description optimization loop (run_loop.py, run_eval.py, improve_description.py). Instead, iterate on the description manually with the user.
  • No browser display: The sandbox has no display. Do NOT try to open HTML files. Instead, save generated HTML/results to the workspace directory — the user can view files through the frontend file viewer.
  • Sandbox execution: All commands run in a remote sandbox container. Use absolute paths under the workspace directory.
Web Research Best Practices (CRITICAL)

When writing or improving a skill, the instructions you write may reference external APIs, services, libraries, or technical workflows. Do NOT assume URLs, endpoints, or API formats from memory — they may be outdated or wrong. Always verify via seekr_sdk first.

DO NOT blindly guess URLs or API endpoints. If you need to include API calls, code examples, or service references in a skill's instructions:

  1. Search first: web_search("service_name API documentation 2026") to find current docs
  2. Crawl the docs: web_crawl("<documentation_url>") to confirm endpoints, parameters, and response formats
  3. Then write the instructions based on verified, working information

Anti-pattern (NEVER do this):

# Writing skill instructions with guessed URLs:
"Call https://api.example.com/v1/data to get ..."   # might be 404
"Use https://api.example.com/v2/endpoint ..."        # might not exist
# ... multiple guessed URL variations in the skill body ...

Correct pattern:

python
from seekr_sdk import web_search, web_crawl
# Verify the API/service before writing instructions
results = web_search("example.com API documentation current endpoint")
doc = web_crawl("https://docs.example.com/api-reference")
# Now write skill instructions with confirmed information

This applies to all phases — initial drafting, upgrading existing skills, and writing code examples within skills. External APIs and services change frequently; search engines exist for a reason.

Skill Save Workflow (CRITICAL)

After the skill is created (or modified) and the user is satisfied:

  1. Write the skill files to the session workspace:

    • The workspace directory is provided in the system prompt (e.g., /home/scienceclaw/<session-id>/)
    • Create the directory: <workspace>/skills/<skill-name>/ (or <workspace>/.agents/skills/<skill-name>/)
    • The SKILL.md MUST include YAML frontmatter with name and description fields:
      ---
      name: my-skill
      description: "When to trigger and what this skill does..."
      ---
      
      # my-skill
      (rest of the skill body...)
    • Write any bundled resources (scripts/, references/, assets/) as needed
  2. Call propose_skill_save: After writing all files, ALWAYS call the propose_skill_save tool:

    propose_skill_save(skill_name="<skill-name>")

    This triggers a UI prompt asking the user to save the skill permanently to their skill library.

  3. NEVER write directly to /skills/ — that directory is read-only in the sandbox. Always go through the workspace → propose_skill_save flow.

Modifying an Existing Skill

When the user asks to modify or improve an existing skill:

  1. Read the current skill from /skills/<skill-name>/SKILL.md
  2. Copy / rewrite the modified version to the session workspace under <workspace>/skills/<skill-name>/
  3. Follow the same save workflow above (propose_skill_save → user confirms → system copies to permanent location)
Eval / Improve Cycle

ScienceClaw provides two built-in tools — eval_skill and grade_eval — that replace manual sequential testing with independent agent sessions. Each test runs in a fresh agent that knows nothing about the test design, simulating a real user. The core loop is: draft → eval → grade → review → improve → re-eval.

Step 1: Design Test Cases

After drafting or modifying the skill, create 2-3 realistic test prompts. Confirm them with the user before running.

json
[
  {"id": "t1", "prompt": "Realistic user prompt here", "description": "Short label for this test"},
  {"id": "t2", "prompt": "Another realistic prompt", "description": "What this tests"}
]
Step 2: Run Eval

Call the eval_skill tool. It creates a temporary independent agent for each test case — this agent loads the skill and executes the prompt in a clean context (no knowledge of test design, no meta-tools).

eval_skill(
  workspace_dir="<your workspace dir>",
  skill_name="my-skill",
  test_cases_json='[{"id":"t1","prompt":"...","description":"..."},...]',
  iteration=1
)

The tool runs all tests sequentially and saves outputs to <workspace>/<skill-name>-eval/iteration-<N>/. Each test case gets:

  • prompt.txt — the input
  • response.md — the agent's final response
  • tool_calls.json — all tool calls made
  • meta.json — timing and token data

It returns a text summary with pass/fail status, duration, and response previews.

For iteration 2+, it automatically loads the previous iteration's results and includes a comparison in the summary (status changes, duration deltas).

Step 3: Grade Results

After eval completes, use grade_eval to run programmatic assertions:

grade_eval(
  eval_dir="<workspace>/<skill-name>-eval/iteration-1",
  assertions_json='[
    {"test_id":"t1", "type":"response_contains", "value":"hello", "description":"Should greet user"},
    {"test_id":"t1", "type":"min_tool_calls", "value":"2", "description":"Should use at least 2 tools"},
    {"test_id":"t2", "type":"json_valid", "value":"", "description":"Output should be valid JSON"}
  ]'
)

Supported assertion types:

  • file_exists — a file was created in the eval output
  • response_contains / response_not_contains — substring check
  • json_valid — valid JSON (optionally check a specific file)
  • regex_match — regex pattern match
  • min_tool_calls — minimum number of tool calls
  • tool_was_used — a specific tool was called

For subjective assertions (writing quality, design aesthetics), read the response.md files yourself and assess — don't force them into programmatic checks.

The tool writes grading.json and returns a pass/fail summary.

Step 4: Present Results to User

Show the user a concise summary:

  • Per test: prompt, pass/fail, key observations, where output files are
  • Overall: X/Y assertions passed, notable patterns

Then ask: "How do these look? Anything you'd change?"

Point users to <workspace>/<skill-name>-eval/iteration-<N>/ to browse detailed outputs via the file viewer.

Step 5: Improve the Skill

Based on grading results and user feedback:

  1. Generalize — don't overfit to the test cases. Fix issues in a way that works for all inputs.
  2. Trim — remove instructions that didn't help or caused wasted steps.
  3. Explain why — convey reasoning rather than adding rigid rules.
  4. Bundle repeated work — if every test run wrote the same helper script, put it in scripts/.

Apply improvements, then re-eval with iteration=<N+1>. The comparison with the previous iteration is automatic. Keep going until:

  • The user is happy
  • All assertions pass
  • You're not making meaningful progress
Quick Iteration (for simple changes)

If the user just wants a small tweak (fix a typo, adjust output format), skip the full eval cycle:

  1. Read → modify → write to workspace
  2. Eyeball the change
  3. propose_skill_save

Reserve the full eval cycle for substantive changes where correctness matters.

Retroactive Skill Creation (from a completed task)

Sometimes the agent completes a multi-step task and realizes (or the user requests) that the workflow should be captured as a reusable skill. This is the "reflect & capture" mode.

When to trigger:

  • The agent just completed a non-trivial task (5+ tool calls, multi-step workflow)
  • The user says "turn this into a skill", "save this workflow", or similar
  • The system prompt's Step 4 (Reflect) suggests capturing the workflow

How to create a skill from a completed task:

  1. Review the conversation history: Look at the sequence of tool calls, decisions, and outputs. Identify the core workflow steps.
  2. Generalize: Replace session-specific values (file paths, query strings, URLs) with parameters or placeholders. Extract the reusable pattern.
  3. Write the SKILL.md: Structure the workflow as clear instructions with:
    • YAML frontmatter (name + description)
    • Step-by-step workflow (the generalized version of what you just did)
    • Decision points (where you made choices, explain the criteria)
    • Expected inputs/outputs for each step
  4. Save: Write to workspace → propose_skill_save

Example: If you just completed a "literature review" task by searching → crawling 5 papers → extracting key findings → writing a summary, the skill would capture this as a reusable "literature-review" workflow with parameterized topic, search queries, and output format.

Description Optimization

The description field in YAML frontmatter is the primary trigger mechanism — it determines whether the agent reads the skill. Optimize it manually:

  1. Draft a description that covers what the skill does AND when to use it
  2. Make it "pushy" — err on the side of triggering too often rather than too rarely. Example:
    • Weak: "Create a dashboard"
    • Strong: "Create dashboards for data visualization. Use this whenever the user mentions dashboards, charts, metrics display, data overview, reporting, or wants to visualize any kind of data."
  3. Walk through 3-4 realistic prompts mentally: would this description make the agent read the skill? Adjust until it reliably triggers.
Common Pitfalls
  1. Missing YAML frontmatter: This is the #1 cause of skills not working. Every SKILL.md must start with --- fenced YAML containing name and description. Without it, the skill appears in the Available Skills list with an empty description, and the agent will never know when to use it — effectively making the skill invisible. Always verify the frontmatter is present before saving.
  2. Vague or missing description: Even with frontmatter, a weak description like "A useful skill" won't trigger reliably. The description must clearly state what the skill does AND list specific trigger phrases/contexts. Include both Chinese and English terms if the skill may be used bilingually.
  3. Writing directly to /skills/: The skills directory is read-only in the sandbox. Always write to the session workspace first, then use propose_skill_save.
  4. Guessing URLs or API details in instructions: When skill instructions reference external APIs, services, or documentation, verify them via web_search / web_crawl first. Don't write instructions with assumed URLs — they may be outdated or wrong.
  5. Overly rigid instructions: Prefer explaining why over heavy-handed MUST/NEVER rules. The agent using the skill is intelligent — convey reasoning so it can adapt to edge cases.
  6. SKILL.md too long: Keep under 500 lines. If approaching this limit, split into references/ files with clear pointers from the main SKILL.md.

© AgentTeam-TaichuAI, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 17 other files (scripts, references, assets) in ScienceClaw/backend/builtin_skills/skill-creator of AgentTeam-TaichuAI/ScienceClaw.

  • SKILL.md
  • LICENSE.txt
  • agents/analyzer.md
  • agents/comparator.md
  • agents/grader.md
  • assets/eval_review.html
  • eval-viewer/generate_review.py
  • eval-viewer/viewer.html
  • references/schemas.md
  • scripts/__init__.py
  • scripts/aggregate_benchmark.py
  • scripts/generate_report.py
  • scripts/improve_description.py
  • scripts/package_skill.py
  • scripts/quick_validate.py
  • scripts/run_eval.py
  • … and 2 more

Open the folder on GitHubat commit 3817e56

Compare with similar skills

Skill Creator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Skill Creator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Skill Creator this skillAgentTeam-TaichuAI/ScienceClaw671—~10kAutomated safety check: PassApache-2.0
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0
Skillforgetripleyak/SkillForge906—~2.3kAutomated safety check: NotesMIT
Zach Seller Skill Creatorzach22-1999/amazon-skills2091 repos~3.9kAutomated safety check: PassApache-2.0
Skill Creatorluongnv89/asm954—~5.3kAutomated safety check: PassMIT
Skill Creatorfeiskyer/claude-code-settings1.7k—~7.6kAutomated safety check: PassApache-2.0

Similar skills

  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Skillforge

    tripleyak/SkillForge

    A skill your agent uses when creating, improving, finding, or auditing agent skills - the user says 'create a skill', 'do I have a skill for X', 'improve the X skill', 'which skill should I use'…

    906 GitHub stars~2.3k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check: notes
  • Zach Seller Skill Creator

    zach22-1999/amazon-skills

    亚马逊卖家专用的 skill 创建器(中文)。当用户想把一个亚马逊运营/自媒体/日常工作流程变成可复用的 skill 时使用。触发场景包括但不限于:用户说"我想做一个 skill""把这个流程变成 skill""帮我写个自动化""优化我已有的 skill""给这个工作流做个自动化",即使用户没用"skill"这个词,只要在描述"以后每次都这样做"的重复性工作时也应触发。本 skill…

    209 GitHub starsUsed in 1 repo~3.9k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    luongnv89/asm

    Create a skill or bring an existing one up to the same standard (validate + asm eval fix loop); run evals, tune triggering.

    954 GitHub stars~5.3k tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed
  • Skill Creator

    feiskyer/claude-code-settings

    Create, refine, and benchmark agent skills. An agent skill from feiskyer/claude-code-settings.

    1.7k GitHub stars~7.6k tokensUpdated 12 days ago
    Agent WorkflowsAuto-check passed
  • Hk Skill Creator

    deepklarity/harness-kit

    Create new skills, modify and improve existing skills, and measure skill performance.

    100 GitHub stars~3.2k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check: notes

More from AgentTeam-TaichuAI/ScienceClaw

All 9 skills in this repo
  • Read GitHub

    AgentTeam-TaichuAI/ScienceClaw

    Read and search GitHub repository documentation via gitmcp.io MCP service.

    671 GitHub starsUsed in 2 repos~638 tokens
    Auto-check passed
  • PPTX

    AgentTeam-TaichuAI/ScienceClaw

    Use this skill any time a .pptx file is involved — as input, output, or both.

    671 GitHub stars~2.5k tokensUpdated 5 mo ago
    Auto-check passed
  • Deep Research

    AgentTeam-TaichuAI/ScienceClaw

    多源深度调研与专业报告生成。适用场景广泛——只要用户的问题涉及需要深度分析的专业话题,就应使用此技能。包括但不限于:(1) 用户明确要求调研/research/综述/报告/发现;(2) 用户提出一个技术或科学话题,话题复杂度需要多源深度分析;(3) 用户要求对比多种技术方案的优劣;(4) 涉及生物医药、蛋白质、基因、药物靶点等需要专业数据库支撑的问题。核心能力:根据问题性质自动组合 arXiv…

    671 GitHub stars~5.7k tokensUpdated 5 mo ago
    Auto-check passed
  • Feishu Setup

    AgentTeam-TaichuAI/ScienceClaw

    自动配置飞书机器人应用。当用户要求配置飞书、创建飞书机器人、接入 Lark/飞书、设置飞书 appid/appsecret、或询问如何配置飞书 IM 时触发此 skill。该 skill 通过 sandbox 内置浏览器自动完成飞书开放平台上的应用创建、权限配置、事件订阅和发布,用户仅需扫码登录。

    671 GitHub stars~425 tokensUpdated 5 mo ago
    Auto-check passed
  • Tool Creator

    AgentTeam-TaichuAI/ScienceClaw

    Create new tools or upgrade existing tools for the agent. An agent skill from AgentTeam-TaichuAI/ScienceClaw.

    671 GitHub stars~4.7k tokensUpdated 5 mo ago
    Auto-check passed
  • Tooluniverse

    AgentTeam-TaichuAI/ScienceClaw

    Access 1000+ scientific tools through ToolUniverse for drug discovery, protein analysis, genomics, literature search, clinical data, ADMET prediction, molecular docking, and more.

    671 GitHub stars~1.2k tokensUpdated 5 mo ago
    Auto-check passed

Categories

Questions about Skill Creator

What does Skill Creator do?

Create new skills, modify and improve existing skills, and measure skill performance. Skill Creator is an agent skill from AgentTeam-TaichuAI/ScienceClaw. Create new skills, modify and improve existing skills, and measure skill performance.

When should I use Skill Creator?

Skill Creator fits situations like: the user wants to create a custom skill from scratch; design a workflow as a skill; write their own SKILL.md; optimize an existing skill.

How do I install Skill Creator in Claude Code?

Run `npx skills add AgentTeam-TaichuAI/ScienceClaw --skill skill-creator -a claude-code`. Or copy the skill folder (ScienceClaw/backend/builtin_skills/skill-creator in AgentTeam-TaichuAI/ScienceClaw) into .claude/skills/skill-creator in your project. Claude Code loads it when a task matches its description.

How do I install Skill Creator in Codex?

Run `npx skills add AgentTeam-TaichuAI/ScienceClaw --skill skill-creator -a codex`. Or copy the skill folder (ScienceClaw/backend/builtin_skills/skill-creator in AgentTeam-TaichuAI/ScienceClaw) into .agents/skills/skill-creator in your project. Codex loads it when a task matches its description.

Can I use Skill Creator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AgentTeam-TaichuAI/ScienceClaw --skill skill-creator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-creator, .gemini/skills/skill-creator, .github/skills/skill-creator and .opencode/skills/skill-creator in your project.

What does Skill Creator need to run?

Going by SKILL.md and its folder, Skill Creator needs Python for the scripts in its folder and the command-line tools its instructions call (python and claude). Our summary lists: Python 3.

Does Skill Creator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Skill Creator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Skill Creator use?

Skill Creator is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Skill Creator use?

About 10k tokens (SKILL.md is roughly 40k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3k tokens, read only when the agent opens those files.

What are the alternatives to Skill Creator?

Skills that share tags, products or a category with Skill Creator: Skill Creator (Azure/azqr, 796 stars), Skillforge (tripleyak/SkillForge, 906 stars), Zach Seller Skill Creator (zach22-1999/amazon-skills, 209 stars) and Skill Creator (luongnv89/asm, 954 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Skill Creator?

AgentTeam-TaichuAI (a GitHub user) maintains it in AgentTeam-TaichuAI/ScienceClaw, which has 671 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on May 9, 2026.

Source: AgentTeam-TaichuAI/ScienceClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.