Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add mattgierhart/PRD-driven-context-engineering --skill ghm-self-installgit clone --depth 1 https://github.com/mattgierhart/PRD-driven-context-engineeringWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mattgierhart/prd-driven-context-engineering/ghm-self-install)<a href="https://agentmods.dev/skills/mattgierhart/prd-driven-context-engineering/ghm-self-install"><img src="https://agentmods.dev/badge/skills/mattgierhart/prd-driven-context-engineering/ghm-self-install.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00105 | $0.01006 |
| Opus 5 | $0.00053 | $0.00503 |
| Sonnet 5 | $0.00021 | $0.00201 |
| Haiku 4.5 | $0.00011 | $0.00101 |
Grade A, and why
ghm-self-install scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Self-Install
Install the methodology into a target repo from the install manifest, the way Xantham's blueprint installs from markdown: the agent runtime is the installer, so the whole thing runs inside your Claude Code subscription — no API key, no metered calls, no service to stand up.
Two paths, one manifest. This skill is the interactive path.
install.shis the deterministic CLI path. Both read.claude/install-manifest.yaml, so they can't drift. Prefer drivinginstall.shfrom this skill; fall back to manual copies only when the script isn't reachable.
Consumes
.claude/install-manifest.yaml— authoritativeframework/template_seed/never_touchlists (the keystone; never hardcode file lists).install.sh— the deterministic installer this skill normally drives.- Safety rules from
ghm-template-syncPhase "Safety Rules" — never overwriteMEMORY.md,SoT/*,PRD.md,README.mdcontent.
Produces
- An installed framework in the target repo (no new SoT IDs — this skill places the engine, it doesn't author specs).
- A verification report (hooks emit valid JSON;
readiness.pyruns).
Workflow
Phase 1 — Preflight & mode detect
- Confirm
git,python3,awkare present; warn if the target isn't a git repo. - Detect mode: greenfield (no
.claude/) vs brownfield (existing.claude/). Brownfield means merge, never overwrite product. - State the trade explicitly: this installs files only — it costs subscription tokens for the wizard turn, zero API.
Phase 2 — Wizard questions
Ask only what changes the outcome (honor the execution mode's budget):
- Target directory (default: current repo).
- Domain profile:
product(default) ·library·infrastructure·research. - Subset
[standard+]: keep all 4 agents + all skills (default), or trim to a role subset. Quick mode skips this and installs everything.
Phase 3 — Install (drive install.sh)
Run the deterministic installer so behavior matches the CLI path exactly:
bash install.sh --target <DIR> --profile <PROFILE> # add --dry-run to preview
- Show the
--dry-runplan first[standard+], then execute. - If a framework file shows drift, surface the diff and only re-run with
--forceafter the user confirms (mirrorsghm-template-sync"show diff before destructive"). - Never write anything in the manifest's
never_touchlist.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 90 lines · 105 tokens per session scan A aed06649757b
ghm-self-install is a skill published in the GitHub repository mattgierhart/PRD-driven-context-engineering (182 stars, last pushed 8d ago), licensed MIT. It adds 105 tokens to every session and 1,006 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
ralplan
Consensus planning entrypoint that auto-gates vague ralph/autopilot/team requests before execution.
remember
Review reusable project knowledge and decide what belongs in project memory, notepad, or durable docs.
embedding-strategies
Select and optimize embedding models for semantic search and RAG applications. Use when choosing embedding models, implementing chunking strategies, or optimizing embedding quality for specific domains.
docx-comment-reply
Reply to comments (批注) in Word .docx/.doc files: extract comment context, draft replies, write threaded replies back, and validate OOXML.
explaining-machine-learning-models
Explain trained machine learning models through feature attribution, local explanations, and behavior summaries. Use as an explicit/manual helper once a model already exists, not for training ownership, leakage auditing, or general ML strategy selection.
aiwg-regenerate-copilot
Regenerate copilot-instructions.md for GitHub Copilot with vendor-specific content only.