Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Build custom skill trees with advanced orchestration and emit valid SKILL.md files. Use when the user says "build a skill", "create a skill tree", "build my skill", "design a workflow", "create a pipeline", "skill tree builder", or wants to create an agentic workflow with sub-agents, gated checks, improvement loops, or multi-perspective analysis.
.claude/skills/tonyfadel23-build-my-skill/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-19 | ✗→✓ | ▲ Improved | 48% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 110% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 51% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 39% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 2% | 0% |
Find where the skill-inspector package is installed:
bashBUILDER_DIR=$(find "$(pwd)" ~/.agents/skills -path '*/skill-inspector/skill_inspector/builder.py' -type f 2>/dev/null -exec dirname {} \; | head -1) if [ -z "$BUILDER_DIR" ]; then BUILDER_DIR=$(find "$(pwd)" -path '*/skill_inspector/builder.py' -type f 2>/dev/null -exec dirname {} \; | head -1) fi echo "Builder found at: $BUILDER_DIR"
bashpython3 -c "import yaml" 2>/dev/null || pip3 install --user "PyYAML>=6.0"
Ask the user to describe what they want to build. Gather:
If the user is unsure, suggest one of these common patterns:
Based on the user's goal, design the skill tree using these node types. Read references/node-types.md for the full reference.
| Type | Use When | |------|----------| | executor | Agent takes action — writes files, generates content | | tool | External tool invocation — WebSearch, APIs, bash commands | | subagent | Spawn a dedicated sub-agent with its own context and tools | | context_loader | Dynamically inject context from files or URLs | | signal_gate | Gate on computed metrics with pass/fail thresholds | | improvement_loop | RALPH-style iterate until quality threshold met | | diverge | Fork into parallel branches for multi-angle analysis | | converge | Synthesize parallel outputs with a merge strategy | | router | Conditional branching based on computed values | | gate | Human approval checkpoint | | file_io | Read or write specific files |
Read references/patterns.md for orchestration pattern guidance.
Present the proposed tree to the user as a numbered phase list with node descriptions. Ask: "Does this structure look right? Any phases to add, remove, or reorder?"
Generate the Python builder code using the SkillTreeBuilder API:
pythonimport sys sys.path.insert(0, "$BUILDER_DIR/..") from skill_inspector.builder import SkillTreeBuilder from skill_inspector.emitter import emit_skill_md tree = SkillTreeBuilder("skill-name", "Description. Use when X, Y, or Z.") # Phase 1 p = tree.phase("Phase Name") p.executor("node-id", "What this step does") p.tool("tool-id", "Tool description", tools=["WebSearch"], commands=["..."]) p.subagent("agent-id", "Agent task", agent_type="Explore", tools=[...]) p.context_loader("ctx-id", "Load context", files=["..."]) p.signal_gate("gate-id", "Check metrics", criteria={"metric": ">= 0.7"}, on_fail="retry") p.improvement_loop("loop-id", "Improve output", strategy="ralph", max_iterations=5, exit_criteria={"quality": ">= 0.9"}, steps=["Reflect", "Analyze", "Learn", "Plan", "Hypothesize"]) p.diverge("fork-id", "Multiple perspectives", branches=[ {"id": "view-a", "label": "View A", "prompt": "..."}, {"id": "view-b", "label": "View B", "prompt": "..."}, ]) p.converge("join-id", "Synthesize results", strategy="weighted-merge") # Emit graph = tree.build() md = emit_skill_md(graph)
Run the generated code to produce the SKILL.md file.
Parse the generated SKILL.md through the existing parser to verify it round-trips:
bashpython3 -c " import sys, json sys.path.insert(0, '$BUILDER_DIR/..') from skill_inspector.parser import parse_skill result = parse_skill('$OUTPUT_PATH/SKILL.md') print(f'Nodes: {len(result[\"nodes\"])}, Edges: {len(result[\"edges\"])}') print(f'Pattern: {result[\"pattern\"]}') print(f'Quality: {result[\"quality\"][\"score\"]}/10') for issue in result['quality']['top_issues']: print(f' - {issue}') "
If quality score is below 7.0, review and fix the top issues.
Optionally generate the interactive visualization:
bashpython3 -c " import sys, json sys.path.insert(0, '$BUILDER_DIR/..') from skill_inspector.parser import parse_skill result = parse_skill('$OUTPUT_PATH/SKILL.md') payload = json.dumps({'generated_at': '$(date -Iseconds)', 'mode': 'standard', 'skills': [result]}) print(payload) " | python3 "$BUILDER_DIR/../skills/check-my-skills/scripts/build_report.py" -o "$OUTPUT_PATH/report.html"
Present the report and SKILL.md to the user.
Help the user install the new skill:
skills/ directorybashcp -r "$OUTPUT_PATH" "$(pwd)/skills/$(basename $OUTPUT_PATH)" echo "Skill installed at: $(pwd)/skills/$(basename $OUTPUT_PATH)"
If something goes wrong during execution, check these common issues:
Builder not found:
skill_inspector/ package must be importableGenerated SKILL.md has low quality score:
Parser fails on generated SKILL.md:
references/node-types.md — Full reference for all node types and their optionsreferences/patterns.md — Orchestration pattern guidance and examples| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-19 | fail→pass | 14,571 | 7,809 | -46% | 1 | 1 | 0% | 2,140 | 3,167 | +48% | 0 | 0 | — |
case-20 | pass→pass | 10,750 | 9,593 | -11% | 1 | 1 | 0% | 1,822 | 3,443 | +89% | 0 | 0 | — |
case-01 | fail→fail | 18,732 | 3,823 | -80% | 1 | 1 | 0% | 4,484 | 2,168 | -52% | 0 | 0 | — |
case-02 | fail→fail | 19,874 | 7,962 | -60% | 1 | 1 | 0% | 4,102 | 2,262 | -45% | 0 | 0 | — |
case-03 | fail→fail | 18,317 | 4,309 | -76% | 1 | 1 | 0% | 3,492 | 2,212 | -37% | 0 | 0 | — |
case-04 | fail→pass | 22,987 | 5,701 | -75% | 1 | 1 | 0% | 1,372 | 2,885 | +110% | 0 | 0 | — |
case-05 | fail→pass | 8,284 | 3,078 | -63% | 1 | 1 | 0% | 1,547 | 2,334 | +51% | 0 | 0 | — |
case-06 | pass→fail | 5,257 | 7,572 | +44% | 1 | 1 | 0% | 838 | 2,147 | +156% | 0 | 0 | — |
case-07 | pass→fail | 16,835 | 8,437 | -50% | 1 | 1 | 0% | 2,927 | 2,213 | -24% | 0 | 0 | — |
case-08 | fail→fail | 12,788 | 7,846 | -39% | 1 | 1 | 0% | 2,196 | 3,231 | +47% | 0 | 0 | — |
case-09 | fail→pass | 10,692 | 4,191 | -61% | 1 | 1 | 0% | 1,842 | 2,569 | +39% | 0 | 0 | — |
case-21 | pass→pass | 12,439 | 17,740 | +43% | 1 | 1 | 0% | 2,677 | 5,531 | +107% | 0 | 0 | — |
case-10 | pass→pass | 18,265 | 2,561 | -86% | 1 | 1 | 0% | 1,318 | 2,259 | +71% | 0 | 0 | — |
case-11 | fail→pass | 14,874 | 5,141 | -65% | 1 | 1 | 0% | 2,493 | 2,539 | +2% | 0 | 0 | — |
case-12 | fail→pass | 7,520 | 3,165 | -58% | 1 | 1 | 0% | 1,400 | 2,330 | +66% | 0 | 0 | — |
case-13 | fail→pass | 15,799 | 2,855 | -82% | 1 | 1 | 0% | 1,090 | 2,050 | +88% | 0 | 0 | — |
case-14 | fail→pass | 10,582 | 3,507 | -67% | 1 | 1 | 0% | 1,931 | 2,509 | +30% | 0 | 0 | — |
case-15 | fail→fail | 8,630 | 3,733 | -57% | 1 | 1 | 0% | 1,233 | 2,515 | +104% | 0 | 0 | — |
case-16 | pass→pass | 8,418 | 3,049 | -64% | 1 | 1 | 0% | 1,520 | 2,330 | +53% | 0 | 0 | — |
case-17 | pass→pass | 14,421 | 3,236 | -78% | 1 | 1 | 0% | 2,658 | 2,370 | -11% | 0 | 0 | — |
case-18 | fail→pass | 8,708 | 4,624 | -47% | 1 | 1 | 0% | 1,447 | 2,435 | +68% | 0 | 0 | — |
case-22 | pass→pass | 5,576 | 6,697 | +20% | 1 | 1 | 0% | 1,179 | 3,045 | +158% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 17 counted toward the lift figure. The other 5 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +32 percentage points is the difference between those two pass rates over the 17 comparable cases. 2 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.