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-design-fpgit 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-design-fp)<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-code-design-fp"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-code-design-fp/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-design-fp"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-code-design-fp.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.00051 | $0.03158 |
| Opus 5.5 | $0.00020 | $0.01263 |
| Sonnet 5.5 | $0.00010 | $0.00632 |
| Haiku 4.5 | $0.00005 | $0.00316 |
Grade A, and why
nw-code-design-fp 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 6d 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 — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.
FP Code Design
Design-time catalog for functional work. The architect loads this to design the
domain algebra, the type-level model, and the error/effect tracks BEFORE DISTILL
authors ATs; the functional crafter loads the same SSOT for execution. This is
the WHAT-to-design subset — execution mechanics (naive/discover/freeze testing,
ORM/persistence mapping, language idioms) stay in nw-fp-algebra-driven-design,
nw-fp-domain-modeling, and the language skills below.
FP language skills — resolve by target language, never by default
| Language skill | Languages | PBT sibling (when one exists) |
|---|---|---|
nw-fp-clojure |
Clojure | — |
nw-fp-erlang-elixir |
Erlang, Elixir | nw-pbt-erlang-elixir |
nw-fp-fsharp |
F# | nw-pbt-dotnet |
nw-fp-haskell |
Haskell | nw-pbt-haskell |
nw-fp-kotlin |
Kotlin | nw-pbt-jvm |
nw-fp-rust |
Rust | nw-pbt-rust |
nw-fp-scala |
Scala | nw-pbt-jvm |
nw-fp-typescript |
TypeScript, JavaScript | nw-pbt-typescript |
Same shape as the Polyglot Adapter Matrix nw-test-design-mandates-layered-mechanics
already uses for PBT bindings — one row per target language, resolved from the
contract's own target evidence, never guessed. A language NOT in this table has
no dedicated FP-idiom skill: load this catalog and nw-fp-domain-modeling alone
(both are language-agnostic) rather than silently substituting a listed
language's skill — the wrong language's idioms are worse than none.
Functional Core
Inside domain and application code:
- Pure core, effects at the edge — domain functions take values and return values; I/O, time, randomness and persistence stay in a thin shell that calls the core. No mutation and no shared state in the core.
- Total functions — every domain outcome is a case of the return type (see Railway, rule 5); no exception or null for a domain outcome.
- Composition — small single-purpose functions composed through pipelines and the railway; dependencies as leading parameters (see Dependencies).
- Laws — when the design declares an algebra, preserve each law; use
nw-fp-algebra-driven-designto implement it, never to invent a new one.
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.
- 6d ago First seen · 267 lines · 51 tokens per session scan A 8c5337f0172d
nw-code-design-fp is a skill published in the GitHub repository nWave-ai/nWave (633 stars, last pushed 2d ago), licensed MIT. It adds 51 tokens to every session and 3,158 once invoked, about $0.0002 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-03.
nw-code-design-fp compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nw-code-design-fpnWave-ai/nWave | Skill | 633 | 2d ago | MIT | A | 51 | Claude Code, Codex |
| mcore-linting-and-formattingNVIDIA/skills | Skill | 3.9k | today | Apache-2.0 | A | 44 | Claude Code |
| java-testing-junit-mockitomakifbaysal/tasktrooper | Skill | 120 | 19d ago | Apache-2.0 | A | 46 | Claude Code, Codex |
| shared-tooling-eslint-prettieragents-inc/skills | Skill | 26 | 13d ago | MIT | A | 46 | Claude Code, Codex |
| Test Scaffold (Laravel/PHPUnit)s977043/river-review | Skill | 7 | yesterday | MIT | A | 23 | Claude Code |
| Unit Test Scaffold (Python/pytest)s977043/river-review | Skill | 7 | yesterday | MIT | A | 19 | Claude Code |
| Unit Test Scaffold (TypeScript)s977043/river-review | Skill | 7 | yesterday | MIT | A | 23 | Claude Code |