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 byheaven/byheaven-skills --skill code-productiongit clone --depth 1 https://github.com/byheaven/byheaven-skillsWrote 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/byheaven/byheaven-skills/code-production)<a href="https://agentmods.dev/skills/byheaven/byheaven-skills/code-production"><img src="https://agentmods.dev/badge/skills/byheaven/byheaven-skills/code-production/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/byheaven/byheaven-skills/code-production"><img src="https://agentmods.dev/badge/skills/byheaven/byheaven-skills/code-production.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.00037 | $0.01353 |
| Opus 5.5 | $0.00015 | $0.00541 |
| Sonnet 5.5 | $0.00007 | $0.00271 |
| Haiku 4.5 | $0.00004 | $0.00135 |
Grade A, and why
code-production 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 today.
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 — 25 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code production
Before the first edit, decide whether the change adds or reshapes a type, a module, stored data, or a command or job that writes files or records. If it does, read references/structure.md before shaping it.
Before the first repository action in a Git repository — install, build, test, check, or edit — follow Shared checkout.
- In a Bun repository, use the shared
~/.buninstall cache (~/.bun/install/cache) withbun install --offline, settingBUN_INSTALL_CACHE_DIRto it when the environment points elsewhere. If it isn't writable, clone it copy-on-write (cp -cRon macOS,cp -R --reflink=alwayselsewhere) and pointBUN_INSTALL_CACHE_DIRat the clone. Never do a fresh install into a private/tmpcache. - Make the simplest coherent change that meets the task's settled Highest-standard bar in-pass instead of deferring quality to QA or review. Modify or delete before adding; remove the superseded path in the same candidate. Bring substandard foundations the change builds on or ships up to standard—rewriting cleanly when needed, reporting expanded scope after (ask first only for irreversible actions or repository-reserved boundaries)—without absorbing unrelated or concurrent work. The proportion of lines changed does not decide the method.
- Make code self-explanatory through naming, types, and structure, and place rationale, constraints, or API contracts in commit messages, PR descriptions, or documentation — never in source comments. Write zero explanatory, section, "why", or "do not remove" comments in source code. Keep only compiler/tooling-required machine directives (such as an intentional negative-type
@ts-expect-error,/* @vite-ignore */, or/// <reference />) and legal/license headers; resolve lint issues in code rather than suppressing correctness or safety rules. - Before handing over, read your own diff once as its reviewer and strip anything added without need: any explanatory comments, defensive checks or try/catch on trusted internal paths, casts that bypass the type checker, and nesting an early return would flatten.
- In a sweep, migration, or batch of similar edits, work so that a break shows at the unit that caused it. For such a batch, or a check you will repeat across many units, reuse an existing rerunnable command or script when one covers the work, otherwise write the smallest script that does or proves it, and keep the invocation as a receipt a reviewer can rerun; a couple of edits visible at a glance need none.
- Scope follows P1: within the user's scope allowance, widen it where the work calls for it and report the change with its reason; surface any other required expansion instead of silently crossing it. A pre-existing bug, performance concern, or adjacent improvement the directive does not mention is fixed in the same candidate when that allowance covers it, otherwise reported as a follow-up. Presentation, motion, feedback, and conventional states reach the highest craft the work allows (for web or interactive UI code, apply web-craft.md). What the invariants of the Product decision gate return to the owner stays out and is reported as a gap.
- A repository's written testing standard adds to the rules below, never weakens the ban on self-confirming or meaningless tests.
- A new test needs an expected outcome from outside the code it checks; a test written from the same reading as the implementation repeats that reading. Three sources supply one. A bug: the fix starts with a case that fails on the unfixed code for the reported reason. A decided requirement that predates the change: each case asserts an outcome its statement names. A trust boundary (authentication, money, deletion, privacy, or a guard on production or secrets): independently derived adversarial cases stay required. Every other change adds no test and runs the existing checks that cover it.
- Test behavior through the public interface, at the seams the directive or Intent names. A self-confirming or restating test is a defect, not coverage — never add one: a fake external-protocol mock asserting the author's own outgoing request payload or invented upstream response against a mocked
fetchor upstream client, a copy of a value the code already holds (a count or roster from a registry, copy text, prompt wording, a constant, source or script text), a test asserting only that a mock was called, or one recomputing the expectation the way the implementation does. A check over every entry of a registry enumerates the registry. When an intended change breaks a restating test, delete or rewrite it rather than update its copy. When a module deepens behind a new interface, delete the superseded shallow tests in the same change. Size committed tests like the neighboring test files, roughly one focused test per stated behavior; scratch checks used during verification need not be kept. A committed test runs production code or checks a formal structure such as a schema, path, heading, link, or size; a one-time observation, such as a deleted file being absent, belongs in the result's evidence. - Run the smallest checks that directly judge the changed predicates. Broaden to regression or build coverage when the actual impact surface or dependency uncertainty requires it, and repeat or broaden passing checks only when new changes, failures, or unresolved concerns justify it. Record exact command, exit or result, and raw output location when available. Silence, timeout, malformed output, or a skipped check is not a pass.
- For a performance change, where speed, latency, memory, size, frame rate, or cost is the target, read references/performance.md before the first edit and follow it through the report.
- A domain skill you load does not widen scope or change Acceptance.
- A wait you own — a probe still scanning, a check or deploy still running, a process you started — belongs to this change: stay with it until it reaches terminal state or its stated bound, then report.
What ships with it
3 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.
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.
- today Changed 5fcaada30f4b
- 6d ago Changed 4eaffb69f563
- 7d ago Changed 5b3629309e00
- 19d ago Changed 3dac33dd08aa
- 22d ago Changed 5583e6d04123
- 23d ago Changed 3b503d1ebcd4
- 25d ago Changed · -1 tokens per session 824a88c73aff
- 28d ago Changed · +1 lines 672de15a2139
- 1mo ago Changed 7eeaf0c86e19
- 1mo ago First seen · 24 lines · 38 tokens per session scan A 79ccb0a6f700
code-production is a skill published in the GitHub repository byheaven/byheaven-skills (2 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 1,353 once invoked, about $0.0001 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-10-02.
code-production compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-productionbyheaven/byheaven-skills | Skill | 2 | today | MIT | A | 37 | Claude Code |
| judge-evaluationkunchenguid/compact-adviser | Skill | 235 | 2d ago | MIT | A | 24 | Claude Code |
| buildingromiluz13/cc10x | Skill | 167 | 1mo ago | MIT | A | 43 | Claude Code |
| tdd-with-phpunitdev-toolings/superpowers-symfony | Skill | 236 | 22d ago | MIT | A | 42 | Claude Code |
| shipthoughtbot/rails-consultant | Skill | 39 | 12d ago | MIT | A | 20 | Claude Code |
| auto-loopclaude-world/director-mode-lite | Skill | 81 | 1mo ago | MIT | A | 17 | Claude Code |
| workflowclaude-world/director-mode-lite | Skill | 81 | 1mo ago | MIT | A | 52 | Claude Code |