nw-fp-haskell

nw-fp-haskell is a skill for Claude Code from nWave-ai/nWave. It costs 22 tokens per session (2,345 once invoked), scanned A, original, MIT.

A guide to functional programming in Haskell, including advanced types, type classes, and ways to structure side effects.

In plain words
What is it for?
Use it to model domains, structure financial or other high-risk systems, and test Haskell code with tools such as QuickCheck or Hedgehog.
Why use it?
It helps teams build correctness-critical software where the compiler should catch more mistakes before the program runs.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: agent in frontmatter.

Good fit Use it to model domains, structure financial or other high-risk systems, and test Haskell code with tools such as QuickCheck or Hedgehog.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nwave-ai/nwave/nw-fp-haskell
Install

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.

Any agent
npx skills add nWave-ai/nWave --skill nw-fp-haskell
Clone the repo
git clone --depth 1 https://github.com/nWave-ai/nWave

Made for: Claude Code.

Wrote 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.

agentmods badge for nw-fp-haskell

README.md
[![agentmods](https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-fp-haskell/github.svg)](https://agentmods.dev/skills/nwave-ai/nwave/nw-fp-haskell)
Your own site
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-fp-haskell"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-fp-haskell/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.

agentmods 80×15 button for nw-fp-haskell

Your own site · 80×15
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-fp-haskell"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-fp-haskell.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,345 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Supply Chain · line 22
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
  • high Tool Misuse · line 22
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.02345
Opus 5.5 $0.00009 $0.00938
Sonnet 5.5 $0.00004 $0.00469
Haiku 4.5 $0.00002 $0.00234

Measured 17d ago against content hash 880aec28f56b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nw-fp-haskell 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 17d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl --proto '=https' --tlsv1.2 -sSf -o x86_64-linux-ghcup-0.2.6.2 https://downloads.haskell.org/~ghcup/0.2.6.2/x86_64-linux-ghcup-0.2.6.2
nWave/skills/nw-fp-haskell/SKILL.md · 254 lines

How it starts

The opening of the file, as written. The whole thing — 254 lines — stays where its author put it; the contents beside it link to each section on GitHub.

FP in Haskell -- Functional Software Crafter Skill

Cross-references: fp-principles | fp-domain-modeling | pbt-haskell

When to Choose Haskell

  • Best for: correctness-critical systems | compiler-enforced purity | maximum type safety | financial systems
  • Not ideal for: teams needing fast onboarding | rapid prototyping | .NET/JVM platform requirements

[STARTER] Quick Setup

# Install GHCup (manages GHC, cabal, stack, HLS)
# Never pipe a remote download into a shell: download a pinned released binary,
# verify the GPG signature of the published checksum file, check the digest,
# and install only the verified binary. (0.2.6.2 was current on 2026-11-10;
# check https://downloads.haskell.org/~ghcup/ for the current release and keep
# the version pinned while verifying.)
curl --proto '=https' --tlsv1.2 -sSf -o x86_64-linux-ghcup-0.2.6.2 https://downloads.haskell.org/~ghcup/0.2.6.2/x86_64-linux-ghcup-0.2.6.2
curl --proto '=https' --tlsv1.2 -sSf -o SHA256SUMS https://downloads.haskell.org/~ghcup/0.2.6.2/SHA256SUMS
curl --proto '=https' --tlsv1.2 -sSf -o SHA256SUMS.sig https://downloads.haskell.org/~ghcup/0.2.6.2/SHA256SUMS.sig

# 1. Verify the checksum file's GPG signature against the release key, pinned by
#    fingerprint (Julian Ospald; a subkey of this key may have made the signature).
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 7D1E8AFD1D4A16D71FADA2F2CCC85C0E40C06A8C
gpg --verify SHA256SUMS.sig SHA256SUMS
#    A Good signature is required and the printed primary key fingerprint MUST be
#    7D1E 8AFD 1D4A 16D7 1FAD A2F2 CCC8 5C0E 40C0 6A8C; on any mismatch, stop.

# 2. Check the binary digest against the signed checksum file:
sha256sum --check --ignore-missing SHA256SUMS
#    Must print OK for x86_64-linux-ghcup-0.2.6.2; on failure or a missing OK, stop.

# 3. Install only the verified binary and let it manage the toolchain:
mkdir -p "$HOME/.ghcup/bin" && install x86_64-linux-ghcup-0.2.6.2 "$HOME/.ghcup/bin/ghcup"
ghcup install ghc cabal hls stack

# Create project
mkdir order-service && cd order-service && cabal init --interactive
# Or: stack new order-service simple && stack build && stack test

Read the full file on GitHub · 254 lines

Changes

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.

  1. 17d ago Changed · +22 lines scan C → A 880aec28f56b
  2. 27d ago Changed 55db0147b1ef
  3. 2mo ago First seen · 232 lines · 22 tokens per session scan C 1757e50534b7

Subscribe to this mod's changes

nw-fp-haskell is a skill published in the GitHub repository nWave-ai/nWave (636 stars, last pushed 11d ago), licensed MIT. It adds 22 tokens to every session and 2,345 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

nw-fp-haskell compared with skills from other repositories

nw-fp-haskell next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nw-fp-haskellnWave-ai/nWaveSkill63611d agoMITA22Claude Code
java-testing-junit-mockitomakifbaysal/tasktrooperSkill123todayApache-2.0A46Claude Code, Codex
rust-testingaffaan-m/ECCSkill313k7d agoMITA31Claude Code, Kiro
cpp-testingaffaan-m/ECCSkill313k7d agoMITA34Claude Code, Kiro
temporal-python-testingwshobson/agentsSkill43k5d agoMITA45Claude Code
JavaScript Testing PatternsPramodDutta/qaskillsSkill25227d agoMITA36Claude Code, Codex
JUnit 5 TestingPramodDutta/qaskillsSkill25227d agoMITA36Claude Code, Codex