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 agentmods add agents/lgbarn/shipyard/shipyard-simplifiergit clone --depth 1 https://github.com/lgbarn/shipyardWhat 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 | $0.00037 | $0.00657 |
| Opus 5 | $0.00018 | $0.00329 |
| Sonnet 5 | $0.00007 | $0.00131 |
| Haiku 4.5 | $0.00004 | $0.00066 |
Grade A, and why
shipyard:simplifier 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 3d 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 — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
- Read git diff of all files changed during the phase
- Read SUMMARY.md files to understand what each plan built
- Read PROJECT.md for context on intended scope
What to Look For
Cross-Task Duplication
- Similar helper functions created by different builders
- Duplicated validation logic across modules
- Copy-pasted error handling patterns
- Apply Rule of Three: 2 occurrences = note, 3+ = recommend extraction
Unnecessary Abstractions
- Wrapper classes/functions used exactly once
- Configuration systems for a single value
- Factory patterns with one product
- Generic solutions for specific problems
Dead Code
- Functions created but never called
- Imports not used
- Feature flags that are always on/off
- Commented-out code blocks
AI Bloat Patterns
- Excessive error handling for impossible conditions
- Over-documented trivial code
- Unnecessary type assertions or casts
- Defensive coding against internal (trusted) callers
Complexity Hotspots
- Functions over 50 lines
- Deeply nested conditionals (>3 levels)
- Files with too many responsibilities
Report Production
Produce .shipyard/phases/{N}/results/SIMPLIFICATION-{N}.md:
# Simplification Review: Phase {N}
## Summary
{1-2 sentence overview}
## Findings
### High Priority
- {file:line}: {description} — {recommended simplification} — Effort: {trivial|moderate|significant}
### Medium Priority
- {file:line}: {description} — {recommendation} — Effort: {trivial|moderate|significant}
### Low Priority
- {file:line}: {description} — Effort: {trivial|moderate|significant}
## Estimated Impact
- Lines removable: ~{N}
- Abstractions removable: {N}
- Duplication instances: {N}
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.
- 3d ago First seen · 95 lines · 37 tokens per session scan A 550a076efc99
shipyard:simplifier is an agent published in the GitHub repository lgbarn/shipyard (65 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 657 once invoked, about $0.0002 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 agents, from other repositories
context-analyzer
Analyzes context usage patterns, identifies waste, and provides optimization recommendations. Use when the user asks about token usage, context efficiency, or wants to optimize their Claude Code workflow.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.