/skill-forge:skill-forge-buildfrom skill-forge
Scaffolds Claude Code skills from plans or descriptions, generating SKILL.md files, sub-skills, scripts, and references following the Agent Skills standard.
Ships in skill-forge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Determine what we're building from:
/skill-forge plan (preferred)If no plan exists, run a quick planning pass (ask 3 key questions):
The most critical step. The description field determines activation.
Framework for writing descriptions:
[Capability statement] + [Detailed capabilities] + [Trigger phrases]
Rules:
Use references/description-guide.md for the full framework.
Structure the body following this template:
# [Skill Name] -- [Tagline]
[1-2 sentence overview]
## Quick Reference
| Command | What it does |
|---------|-------------|
| /name cmd1 | Description |
| /name cmd2 | Description |
## Orchestration Logic
[How commands route to sub-skills]
[Decision trees for conditional routing]
## [Domain-Specific Section]
[Core rules, thresholds, quality gates]
## Reference Files
[List of on-demand reference files]
## Sub-Skills
[List of sub-skills with one-line descriptions]
Critical SKILL.md rules:
For each sub-skill, generate a SKILL.md with:
---
name: parent-child
description: >
[What it does]. Use when user says "[trigger 1]", "[trigger 2]",
"[trigger 3]", or "[trigger 4]".
---
Sub-skill body guidelines:
references/ directoryFor each script:
#!/usr/bin/env python3
"""
Purpose: [What this script does]
Input: [Expected input format]
Output: [Expected output format]
Usage: python scripts/script_name.py [args]
"""
import argparse
import json
import sys
from typing import Any
def main(args: argparse.Namespace) -> dict[str, Any]:
"""Main execution function."""
# Validate inputs
# Do the work
# Return structured output
pass
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="[Script description]")
parser.add_argument("input", help="[Input description]")
parser.add_argument("--output", "-o", help="Output file path")
args = parser.parse_args()
try:
result = main(args)
print(json.dumps(result, indent=2))
except Exception as e:
print(json.dumps({"error": str(e)}), file=sys.stderr)
sys.exit(1)
Script rules:
For each reference file:
Agent files use YAML frontmatter (different from skills):
---
name: [skill-name]-[role]
description: >
[What this agent analyzes].
<example>User says: "[trigger]"</example>
model: inherit
color: blue
tools:
- Read
- Grep
- Glob
---
You are a [role] specialist.
## Your Role
[What this agent does]
## Process
1. [Steps...]
## Output Format
Return structured markdown with findings and recommendations.
Key differences from skills: Agent name is 3-50 chars, descriptions CAN use
<example> blocks, agent-only fields include tools, color, permissionMode,
maxTurns, memory. Body becomes the system prompt (second person).
Create install.sh that copies files to ~/.claude/skills/ and ~/.claude/agents/.
Run python scripts/validate_skill.py <path> on the generated skill.
Check all quality gates from the main SKILL.md.
Present the user with:
For quick scaffolding, use:
python scripts/init_skill.py <skill-name> --tier <1-4> --path <output-path>
This creates the full directory structure with placeholder content.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (agricidaniel/skill-forge) — no native marketplace selected
npx claudepluginhub p/agricidaniel-skill-forge8 skills in this plugin
/skill-forge-benchmarkBenchmark Claude Code skill performance with variance analysis, tracking pass rate, execution time, and token usage across iterations. Runs multiple trials per eval for statistical reliability, aggregates results into benchmark.json, and generates comparison reports between skill versions. Use when user says "benchmark skill", "measure skill performance", "skill metrics", "compare skill versions", "skill performance", "track skill improvement", "skill regression test", or "skill A/B test".
/skill-forge-convertConvert Claude Code skills to work on OpenAI Codex, Google Gemini CLI, Google Antigravity, and Cursor. Analyzes platform-specific features, generates target files (openai.yaml, AGENTS.md, GEMINI.md, .mdc rules), adapts frontmatter, converts MCP config, and produces compatibility reports. Use when user says "convert skill", "port skill", "multi-platform", "skill for codex", "skill for gemini", "skill for antigravity", "skill for cursor", "cross-platform skill", "convert to codex", "convert to gemini", "convert to antigravity", or "convert to cursor".
/skill-forge-evalRun evaluation pipelines on Claude Code skills to test triggering accuracy, workflow correctness, and output quality. Spawns executor, grader, comparator, and analyzer sub-agents for parallel evaluation. Generates eval_metadata.json, grading.json, and feedback reports. Use when user says "eval skill", "test skill", "run evals", "evaluate skill", "skill evals", "test skill quality", "run skill tests", or "skill evaluation".
/skill-forge-evolveImprove and iterate on existing Claude Code skills based on usage feedback, test results, or changing requirements. Handles under/over-triggering fixes, instruction refinement, new sub-skill addition, and architecture evolution. Use when user says "improve skill", "fix skill", "skill not triggering", "skill triggers too much", "update skill", or "evolve skill".
/skill-forge-planArchitecture and design planning for new Claude Code skills. Guides through use case definition, complexity tier selection, sub-skill decomposition, and file structure planning. Use when user says "plan skill", "design skill", "skill architecture", or "skill planning".
/skill-forge-publishPackage and distribute Claude Code skills for sharing via GitHub, Claude.ai uploads, or team deployment. Creates install scripts, documentation, and .skill packages. Use when user says "publish skill", "share skill", "package skill", "distribute skill", or "release skill".
Other plugins' skills for the same job