Spec Miner
Extracts behavioral specs from existing codebases for OpenSpec. Produces flat Requirement and Invariant blocks with structured metadata (entities, enforced, id, test anchors). Outputs openspec/specs/<capability>/spec.md. Fully self-bootstrapping — no dependency on codebase-onboarding. Use when onboarding a brownfield project to spec-driven development.
- Type
- subagent
- GitHub stars
- ★ 225.6K
- Repository
- affaan-m/everything-claude-code
- Category
- —
Install
1Manual install
Copy the subagent file from the repository into ~/.claude/agents/<name>.md. The filename must match the subagent name (e.g. spec-miner--subagent.md).
2Verify
/agents, /commands or /hooks in Claude CodeRestart Claude Code and list your installed components to confirm it was picked up.
⚠️ Some repositories ship a CLI installer — check the repo README for the recommended method.
Prefer the full source? The repository README is the authoritative install reference.