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 rpraharaj/forward-deployed-engineer --skill refactor-seamsgit clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineerWrote 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/rpraharaj/forward-deployed-engineer/refactor-seams)<a href="https://agentmods.dev/skills/rpraharaj/forward-deployed-engineer/refactor-seams"><img src="https://agentmods.dev/badge/skills/rpraharaj/forward-deployed-engineer/refactor-seams/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/rpraharaj/forward-deployed-engineer/refactor-seams"><img src="https://agentmods.dev/badge/skills/rpraharaj/forward-deployed-engineer/refactor-seams.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00108 | $0.01999 |
| Opus 5.5 | $0.00043 | $0.00800 |
| Sonnet 5.5 | $0.00022 | $0.00400 |
| Haiku 4.5 | $0.00011 | $0.00200 |
Grade A, and why
refactor-seams 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 1mo 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 — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Refactor seams
Changing the shape of something without stopping it.
Why this exists
The default plan for code that has become hard to change is a rewrite on a branch. It is almost always the wrong plan, and it fails the same way every time: the branch diverges, the main line keeps moving, the merge becomes impossible, and the work is abandoned after months. Everyone involved knew this would happen and did it anyway, because the alternative looked slower.
The alternative genuinely is slower per step, and it finishes. Incremental restructuring behind a seam, with the system releasable at every point, converts an all-or-nothing bet into a series of small safe changes — any one of which can be the last one if priorities shift.
For an FDE this matters twice over. You may not be here long enough to finish a rewrite, and a half-finished rewrite is worse than either state. Every incremental step you ship is value that survives your departure.
When this applies
- Extracting from a monolith
- Replacing a component incrementally
- A refactor too large for one change
- Someone proposes a rewrite
- Code must change but isn't safely changeable
When it doesn't
- The change fits in one safe diff — that's
safe-change - The component is genuinely small and well covered
- Nothing is being restructured, only behavior added
Prerequisites
Resolve <workspace> before reading or writing artifacts: use FDE_WORKSPACE if set (report an unavailable explicit path rather than falling back), otherwise the charter's recorded Location (look in .fde/ and ../*-fde/), then an existing .fde/ or ../<repo>-fde/. If none exists, run core fde-orient; do not create a second workspace. All artifact paths below use that location. Follow core workspace conventions for headers; preserve existing sections when appending.
<workspace>/06-blast-radius-*.md— you need to know every callercharacterization-testsfirst. Restructuring untested code is the single riskiest thing in this portfolio. The tests are what make the refactor verifiable as behavior-preserving.<workspace>/adr/— the target shape should be a recorded decision
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.
- 1mo ago Changed · +1 lines 91b0cef4b098
- 3mo ago First seen · 143 lines · 108 tokens per session scan A cf0c0bc09847
refactor-seams is a skill published in the GitHub repository rpraharaj/forward-deployed-engineer (21 stars, last pushed 1mo ago), licensed MIT. It adds 108 tokens to every session and 1,999 once invoked, about $0.0004 per session on Opus 5.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-31.
refactor-seams compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| refactor-seamsrpraharaj/forward-deployed-engineer | Skill | 21 | 1mo ago | MIT | A | 108 | Claude Code |
| fishbone-diagramfzfclee/consulting-skills | Skill | 7 | 1mo ago | Apache-2.0 | A | 53 | Claude Code, Codex |
| five-whys-root-causefzfclee/consulting-skills | Skill | 7 | 1mo ago | Apache-2.0 | A | 62 | Claude Code, Codex |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 71 | Claude Code, Codex |
| observability-audit-sessionsIBM/mcp-context-forge | Skill | 4.9k | yesterday | Apache-2.0 | A | 64 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 343 | today | Apache-2.0 | A | 112 | Claude Code |
| performance-verificationvalkor-ai/loom | Skill | 1.6k | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |