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 erikdarlingdata/claude-plugins --skill before-you-shipgit clone --depth 1 https://github.com/erikdarlingdata/claude-pluginsWrote 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/erikdarlingdata/claude-plugins/before-you-ship)<a href="https://agentmods.dev/skills/erikdarlingdata/claude-plugins/before-you-ship"><img src="https://agentmods.dev/badge/skills/erikdarlingdata/claude-plugins/before-you-ship/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/erikdarlingdata/claude-plugins/before-you-ship"><img src="https://agentmods.dev/badge/skills/erikdarlingdata/claude-plugins/before-you-ship.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.00099 | $0.05693 |
| Opus 5.5 | $0.00040 | $0.02277 |
| Sonnet 5.5 | $0.00020 | $0.01139 |
| Haiku 4.5 | $0.00010 | $0.00569 |
Grade A, and why
before-you-ship 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 15d 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 — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Before you ship that
This is the agent version of the chart at https://erikdarling.com/before-you-ship. The chart walks a developer through questions about the code they're working on, and each question leads to a card with one action and its trade-offs. The cards are in cards/, and each card's demo code and measurements are in evidence/, both next to this file.
How to use it
- If you have code to review (a diff, a script, a stored procedure), start with Start from the code and note every card it points to. If you're helping someone design something, start with the map: work out whether it's a query (reads or changes data, new or already running), a table (new or already in use), or an index (new, or the ones already there), and go through that path's questions.
- Skip what doesn't fit the code in front of you.
- Read each card that fits before saying anything about it. The title alone isn't enough. The card has the action and its trade-offs. Open its evidence file only to quote a number or run the demo.
- If a card needs a plan, Query Store numbers, index usage stats or a production-sized test, ask the author for exactly that and mark the finding unverified. Do not infer it from the diff.
- Report in the format under Reporting. The numbers on the cards are what the tests showed, not what the user's server will do.
- If nothing here covers the problem, say so. Don't stretch a card to fit.
About the cards
- A Requires line under a card's title gives the version, edition or compatibility level limits the card states. Check the user's server against it before passing the advice on.
- The demos build their own tables. Run one card's demo at a time in a scratch database: cards define
dbo.Orders,dbo.Postsanddbo.Tasksdifferently, and some borrow a table from another card and say so. Cards that need StackOverflow2013 say so. - Tested on SQL Server 2025 CU10 at compatibility level 170, unless a card says otherwise. Check the user's version and edition before passing on advice that depends on them.
- Timings are from a two-core VM. Compare them to each other, not to the user's server.
- "The course" in the cards is Erik's SQL Server training, the video courses at https://training.erikdarling.com/catalog.
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- cards/a-top-above-a-scan-means-a-missing-index.md 2.5 KB
- cards/an-eager-index-spool-is-an-index-you-didn-t-create.md 3.2 KB
- cards/ask-for-less.md 2.1 KB
- cards/audit-before-you-add.md 1.9 KB
- cards/choose-your-clustering-on-purpose.md 2.6 KB
- cards/claim-it-in-one-statement.md 3.0 KB
- cards/constraints-help-the-optimizer.md 2.2 KB
- cards/convert-the-search-value-not-the-column.md 3.0 KB
- cards/ctes-aren-t-temp-tables.md 2.4 KB
- cards/dev-lied-to-you.md 4.3 KB
- cards/disable-then-drop.md 1.9 KB
- cards/don-t-ask-twice.md 2.6 KB
- cards/don-t-join-on-or.md 2.5 KB
- cards/filter-so-indexes-can-help-you.md 2.6 KB
- cards/filtered-indexes-need-to-see-the-filter.md 2.6 KB
- cards/find-the-page-then-fetch-the-rows.md 3.1 KB
- cards/heaps-are-for-staging.md 3.4 KB
- cards/index-the-expression-with-a-computed-column.md 3.5 KB
- cards/index-work-on-a-live-table.md 2.5 KB
- cards/indexed-views-move-the-work-to-the-writes.md 3.9 KB
- cards/key-order-decides-the-seek.md 2.9 KB
- cards/keys-sort-includes-ride-along.md 2.0 KB
- cards/know-how-it-runs-today.md 3.2 KB
- cards/know-what-you-ll-do-with-the-error-first.md 3.3 KB
- cards/local-variables-hide-their-values.md 3.8 KB
- cards/locks-last-as-long-as-the-transaction.md 3.1 KB
- cards/look-before-you-touch.md 2.5 KB
- cards/merge-the-near-duplicates.md 1.9 KB
- cards/mind-your-query-consumers.md 2.1 KB
- cards/most-functions-hide-their-work.md 3.4 KB
- cards/move-partitions-not-rows.md 4.3 KB
- cards/normalize-until-it-hurts-then-measure.md 2.4 KB
- cards/not-exists-says-what-you-mean.md 3.6 KB
- cards/only-search-what-was-asked-for.md 3.6 KB
- cards/readers-shouldn-t-wait-on-writers.md 3.6 KB
- cards/reporting-tables-want-columnstore.md 3.3 KB
- cards/soft-deletes-are-a-filter-on-every-query.md 2.8 KB
- cards/some-alters-are-free-some-aren-t.md 3.8 KB
- cards/split-lists-into-a-temp-table.md 2.7 KB
- cards/start-with-page-compression.md 3.8 KB
- cards/swart-s-avoid-list.md 2.4 KB
- cards/table-variables-don-t-know-what-s-in-them.md 3.4 KB
- cards/the-app-picks-your-parameter-types.md 2.1 KB
- cards/the-most-dangerous-alter.md 2.9 KB
- cards/the-write-tax.md 2.8 KB
- cards/think-in-batches.md 3.4 KB
- cards/transactions-you-didn-t-know-you-opened.md 3.4 KB
- cards/triggers-fire-per-statement-not-per-row.md 2.6 KB
- cards/types-are-a-performance-feature.md 2.3 KB
- cards/union-all-isn-t-always-faster.md 2.6 KB
- cards/unused-since-when.md 1.9 KB
- cards/upserts-break-under-concurrency.md 3.5 KB
- cards/what-merge-does-better.md 2.2 KB
- cards/widen-before-you-add.md 2.1 KB
- evidence/a-top-above-a-scan-means-a-missing-index.md 2.9 KB
- evidence/an-eager-index-spool-is-an-index-you-didn-t-create.md 5.6 KB
- evidence/ask-for-less.md 4.4 KB
- evidence/audit-before-you-add.md 4.5 KB
- evidence/choose-your-clustering-on-purpose.md 4.2 KB
- evidence/claim-it-in-one-statement.md 3.6 KB
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.
- 15d ago Changed · +78 lines 8991e5f50bec
- 22d ago First seen · 132 lines · 99 tokens per session scan A 9245077f3b77
before-you-ship is a skill published in the GitHub repository erikdarlingdata/claude-plugins (33 stars, last pushed yesterday), licensed MIT. It adds 99 tokens to every session and 5,693 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-11-10.
before-you-ship compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| before-you-shiperikdarlingdata/claude-plugins | Skill | 33 | yesterday | MIT | A | 99 | Claude Code |
| triage-contributor-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 131 | Claude Code |
| review-implement-phaseprisma/orm | Skill | 48k | today | Apache-2.0 | A | 38 | Claude Code |
| no-bare-castsprisma/orm | Skill | 48k | today | Apache-2.0 | A | 52 | Claude Code, Codex |
| review-prsgoogleapis/mcp-toolbox | Skill | 17k | today | Apache-2.0 | A | 162 | Claude Code, Codex |
| migration-reviewrohitg00/ai-engineering-from-scratch | Skill | 81k | 2d ago | MIT | A | 35 | Claude Code |
| product-directionprisma/orm | Skill | 48k | today | Apache-2.0 | C | 145 | Claude Code, Codex |