skill-forge-benchmark
Benchmark Claude Code skill performance with variance analysis, tracking pass rate, execution time, and token usage across…
Scaffold and build Claude Code skills from plans or descriptions. Generates SKILL.md files, sub-skills, scripts, references, agents, and templates following the Agent Skills standard. Use when user says "build skill", "scaffold skill", "generate skill", "create SKILL.md", or
$ npx -y skills add AgriciDaniel/skill-forge --skill skill-forge-build --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/skill-forge-buildContext preview
The summary Claude sees to decide when to auto-load this skill.
Scaffold and build Claude Code skills from plans or descriptions. Generates SKILL.md files, sub-skills, scripts, references, agents, and templates following the Agent Skills standard. Use when user says "build skill", "scaffold skill", "generate skill", "create SKILL.md", or
name: skill-forge-build description: > Scaffold and build Claude Code skills from plans or descriptions. Generates SKILL.md files, sub-skills, scripts, references, agents, and templates following the Agent Skills standard. Use when user says "build skill", "scaffold skill", "generate skill", "create SKILL.md", or "implement skill".
Determine what we're building from:
If no plan exists, run a quick planning pass (ask 3 key questions): 1. What does the skill do? (1-2 sentences) 2. What commands should it have? (list) 3. Does it need scripts or external tools? (yes/no)
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:**
For 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: 1. Generated file tree 2. Key files and their purposes 3. Installation instructions 4. Suggested test queries (3 that should trigger, 3 that should NOT) 5. Next steps (test, iterate, publish)
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.
Blog: Learn how to build Claude Code skills Design, scaffold, build, review, evolve, and publish production-grade Claude Code skills following the Agent Skills open standard.
Benchmark Claude Code skill performance with variance analysis, tracking pass rate, execution time, and token usage across…
Convert Claude Code skills to work on OpenAI Codex, Google Gemini CLI, Google Antigravity, and Cursor. Analyzes platform-specific…
Run evaluation pipelines on Claude Code skills to test triggering accuracy, workflow correctness, and output quality. Spawns…
Improve and iterate on existing Claude Code skills based on usage feedback, test results, or changing requirements. Handles…
Architecture and design planning for new Claude Code skills. Guides through use case definition, complexity tier selection,…
Package and distribute Claude Code skills for sharing via GitHub, Claude.ai uploads, or team deployment. Creates install scripts,…