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 nWave-ai/nWave --skill nw-code-craftsmanshipgit clone --depth 1 https://github.com/nWave-ai/nWaveWrote 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/nwave-ai/nwave/nw-code-craftsmanship)<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-code-craftsmanship"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-code-craftsmanship/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/nwave-ai/nwave/nw-code-craftsmanship"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-code-craftsmanship.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.00033 | $0.02078 |
| Opus 5.5 | $0.00013 | $0.00831 |
| Sonnet 5.5 | $0.00007 | $0.00416 |
| Haiku 4.5 | $0.00003 | $0.00208 |
Grade A, and why
nw-code-craftsmanship scanned grade A with 1 finding 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 13d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
24. Pass untrusted data to commands, queries and templates only as arguments: `subprocess.run([..])` without shell, `cursor.execute("... ?", (v,))`, never string-built syntax. 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.
Code craftsmanship
Before writing a unit
- Search for an existing owner of the responsibility (by what it decides and who consumes it). Reuse or extend it; create a new one only when you can name the incompatibility.
- Give each fact, rule or config value one owner. Two units deciding the same fact are a defect even if the code differs; look-alikes that answer different questions stay separate.
- Generalize (abstraction, plugin, framework) only when a second real caller needs it now.
- Follow the design already chosen; if two owners compete for a rule, stop and raise it to the design owner instead of picking one.
- Follow the paradigm of the touched code; state the reason in the closing statement for any unit in another paradigm.
Writing each unit
- Name from the domain language, never
Manager,Helper, mechanics. One unit = one reason to change, one responsibility visible from its name. - State what the domain decides (expressions, pipelines, polymorphism), not bookkeeping.
- Keep state private; change it only through the owner's methods; keep data with the behaviour that uses it; expose no internal type across a boundary.
- When unit A reads unit B's data to decide, move the decision into B and send B a message.
- Two units sharing a position, literal, value meaning, algorithm or call order: replace by a named type, a named constant or one shared owner.
- Give a concept its own type when it can be confused with another, when a type can exclude invalid states, or when it owns a rule; its constructor refuses the invalid value. A native type that already says this stays native.
- At deliberate boundaries use precise records, unions or result types. Document, at the boundary, every generic payload (dict, Any, object) you add.
- Keep business decisions apart from SQL, transport and filesystem code; dependencies point inward through ports; inject collaborators.
- Functional code: pure core, thin effect shell (read, decide, write); the core never calls the shell.
- A driving or driven port exposes no private structure.
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.
- 13d ago Changed d782a903562a
- 15d ago Changed · +20 lines 17cb867ca79a
- 17d ago Changed · -49 lines · -33 tokens per session a953d97f7c6e
- 27d ago First seen · 124 lines · 66 tokens per session scan A d032d0c60bbd
nw-code-craftsmanship is a skill published in the GitHub repository nWave-ai/nWave (636 stars, last pushed 11d ago), licensed MIT. It adds 33 tokens to every session and 2,078 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-03.
nw-code-craftsmanship compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nw-code-craftsmanshipnWave-ai/nWave | Skill | 636 | 11d ago | MIT | A | 33 | Claude Code |
| orchestrated-executiona5c-ai/babysitter | Skill | 1.9k | 29d ago | MIT | A | 37 | Claude Code |
| Pair Programmingruvnet/ruflo | Skill | 83k | today | MIT | A | 61 | Claude Code |
| team-implementbostonaholic/team | Skill | 11 | 8d ago | MIT | A | 21 | Claude Code, Codex |
| prunevictusfate/scaffold | Skill | 7 | 3d ago | MIT | A | 39 | Claude Code, Codex |
| Pair Programmingshyftlabs/continuum | Skill | 86 | 3d ago | Apache-2.0 | A | 61 | Claude Code |
| bmad-buildbetter-ade/ade-terminal | Skill | 38 | today | MIT | A | 91 | Claude Code |