# Repository Briefing: tripleyak/SkillForge
> Source: https://repoforai.com/repo/tripleyak/SkillForge (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/tripleyak/SkillForge
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: B (62/100 · Maintenance 12/35 · Adoption 16/25 · Releases 14/20 · License 20/20)
- **Latest Release**: v6.0.0 (2026-07-29) — https://github.com/tripleyak/SkillForge/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: MCP, CLI
- **Momentum**: 919 ★ total (+0 24h / +0 7d) · 93 forks
- **Topics**: `agent-skills`, `claude-ai`, `claude-code`, `claude-skills`, `codex`, `evals`
- **When to Use**: Best for: Teams maintaining a growing skill library for Claude Code or Codex that need reproducible acceptance cases, regression checks, and collision detection. Skip if: You only need a skill template, cannot budget for live agent evaluations, or require a verified standalone MCP server or fully offline inference stack.

## Overview
```text
### Architecture & Core Mechanics
SkillForge pairs a compact SKILL.md with on-demand material in references/ and Python utilities in scripts/. The discovery index spans personal skills, Codex skills, and the Claude Code plugin cache; it deduplicates entries and refreshes automatically. Triage uses word-boundary matching to route requests to USE, IMPROVE, CREATE, COMPOSE, or CLARIFY. A shared typed frontmatter parser supports validation, and PyYAML is optional.

The creation pipeline separates execution contexts. A fresh subagent attempts the task without the skill; if it does not fail, creation stops. If it fails, a separate generation subagent receives only the specification and recorded failures. With-skill runs and trigger tests follow, then lint and one adversarial reviewer. The concrete integration surfaces are skill files, CLI scripts, and optional Claude Code hooks; no MCP server entrypoint or transport is established.

### Key Capabilities & Differentiators
The main acceptance criterion is behavioral: the generated skill must address failures observed in the no-skill baseline. The shipped evals/ directory preserves trigger queries and behavioral scenarios for later regression testing, and run_skill_evals.py offers a --live option. For fleet maintenance, skillforge_doctor.py checks for trigger collisions, duplicates, stale file references, budget violations, and pinned models.

Claude Code and Codex CLI are the identified agent hosts. compile_skill.py targets claude, codex, or agentskills, while package_skill.py produces a .skill artifact. Treat cross-compilation as an artifact-generation step, not a guarantee of equivalent behavior across hosts. Local session mining requires consent; the Claude Code advisor is separately opt-in and suggests skills without invoking them automatically.

### Trade-offs & Limitations
Compared with a Markdown scaffolder or lint-only workflow, SkillForge can show whether a skill fixes a specific failure rather than merely whether its files are well formed. The RED gate also discourages duplicating capabilities the host already has. The cost is additional agent executions and test maintenance. A weak baseline, narrow scenarios, or model variability can make the result less conclusive; a passing run is evidence for the covered cases, not a guarantee across tasks or hosts.

The compact skill body and on-demand references reduce up-front prompt content, but important instructions must still be easy for the agent to find. Re-run behavioral and trigger tests in each host you deploy to rather than relying on compilation alone. MIT keeps redistribution straightforward, but it does not override the agent host's terms or remove the need to review transcript access before enabling mining.

### Hardware & Deployment Guide
Install SkillForge into ~/.claude/skills/skillforge for Claude Code. The optional slash command comes from commands/skillforge.md and is installed under ~/.claude/commands/. The interactive install_skillforge.py script configures the opt-in advisor, which uses SessionStart and UserPromptSubmit. Codex CLI is also supported. Local utilities require Python 3.8+ and the standard library, with PyYAML used when present; assets/templates/github-workflow-skill-ci.yml provides a starting point for repository CI.

File-based tasks such as linting and packaging run locally. Live evaluations require agent execution, so connectivity, model access, and cost depend on the host setup rather than the Python installation. v5.1 expanded Codex compatibility and hook guidance. v6.0.0 replaced static panel approval with execution gates, moved advisor delivery to hooks, and added discovery of the Claude Code plugin cache.
```

## Key Capabilities
```text
- Creation gate: RED records a fresh agent's failure without the skill; GREEN checks that the generated skill addresses that failure and triggers as intended.
- Discovery and routing: A deduplicated index spans personal skills, Codex skills, and the Claude Code plugin cache; word-boundary matching informs request routing.
- Regression assets: Each shipped skill carries an evals/ directory with trigger queries and behavioral scenarios; run_skill_evals.py exposes a --live option.
- Fleet diagnostics: skillforge_doctor.py reports trigger collisions, duplicates, stale file references, budget violations, and pinned models.
- Cross-runtime delivery: compile_skill.py supports claude, codex, and agentskills targets; package_skill.py builds a .skill artifact.
- Opt-in advice: Claude Code hooks deliver suggestions without invoking skills automatically; local transcript mining requires explicit consent.
```

## Quick Start / Clone
```bash
git clone https://github.com/tripleyak/SkillForge.git /tmp/skillforge
cp -r /tmp/skillforge ~/.claude/skills/skillforge
cd ~/.claude/skills/skillforge && rm -rf README.md LICENSE CONTEXT.md docs .git .gitignore .skillignore index.html assets/images scripts/tests SKILLFORGE_AUDIT.md
cp /tmp/skillforge/commands/skillforge.md ~/.claude/commands/skillforge.md   # optional /skillforge command
```
