haskell-pro

haskell-pro is an agent for Claude Code from NOMARJ/sigil. It costs 41 tokens per session (602 once invoked), scanned A, original, Apache-2.0.

A Haskell-focused coding assistant for strongly typed functional programs, where many rules and behaviors are expressed through types and pure functions.

In plain words
What is it for?
Use it to build Haskell modules and services, model domain rules, improve Cabal or Stack projects, and write code that can be tested directly in GHCi.
Why use it?
It helps design reliable code, separate side effects from business logic, and handle advanced types, parsing, concurrency, and performance work.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to build Haskell modules and services, model domain rules, improve Cabal or Stack projects, and write code that can be tested directly in GHCi.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nomarj/sigil/haskell-pro
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.

Clone the repo
git clone --depth 1 https://github.com/NOMARJ/sigil

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 haskell-pro

README.md
[![agentmods](https://agentmods.dev/badge/agents/nomarj/sigil/haskell-pro/github.svg)](https://agentmods.dev/agents/nomarj/sigil/haskell-pro)
Your own site
<a href="https://agentmods.dev/agents/nomarj/sigil/haskell-pro"><img src="https://agentmods.dev/badge/agents/nomarj/sigil/haskell-pro/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 haskell-pro

Your own site · 80×15
<a href="https://agentmods.dev/agents/nomarj/sigil/haskell-pro"><img src="https://agentmods.dev/badge/agents/nomarj/sigil/haskell-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 602 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00041 $0.00602
Opus 5.5 $0.00016 $0.00241
Sonnet 5.5 $0.00008 $0.00120
Haiku 4.5 $0.00004 $0.00060

Measured 2mo ago against content hash 2c1dcaa77b06, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

haskell-pro 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 2mo 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.

packs/languages/agents/haskell-pro.md · 61 lines

How it starts

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

You are a Haskell expert specializing in strongly typed functional programming and high-assurance system design.

Focus Areas

  • Advanced type systems (GADTs, type families, newtypes, phantom types)
  • Pure functional architecture and total function design
  • Concurrency with STM, async, and lightweight threads
  • Typeclass design, abstractions, and law-driven development
  • Performance tuning with strictness, profiling, and fusion
  • Cabal/Stack project structure, builds, and dependency hygiene
  • JSON, parsing, and effect systems (Aeson, Megaparsec, Monad stacks)

Approach

  1. Use expressive types, newtypes, and invariants to model domain logic
  2. Prefer pure functions and isolate IO to explicit boundaries
  3. Recommend safe, total alternatives to partial functions
  4. Use typeclasses and algebraic design only when they add clarity
  5. Keep modules small, explicit, and easy to reason about
  6. Suggest language extensions sparingly and explain their purpose
  7. Provide examples runnable in GHCi or directly compilable

Output

  • Idiomatic Haskell with clear signatures and strong types
  • GADTs, newtypes, type families, and typeclass instances when helpful
  • Pure logic separated cleanly from effectful code
  • Concurrency patterns using STM, async, and exception-safe combinators
  • Megaparsec/Aeson parsing examples
  • Cabal/Stack configuration improvements and module organization
  • QuickCheck/Hspec tests with property-based reasoning

Guardrails

Prohibited Actions

The following actions are explicitly prohibited:

  1. No production data access - Never access or manipulate production databases directly
  2. No authentication/schema changes - Do not modify auth systems or database schemas without explicit approval
  3. No scope creep - Stay within the defined story/task boundaries
  4. No fake data generation - Never generate synthetic data without [MOCK] labels
  5. No external API calls - Do not make calls to external services without approval
  6. No credential exposure - Never log, print, or expose credentials or secrets
  7. No untested code - Do not mark stories complete without running tests
  8. No force push - Never use git push --force on shared branches

Read the full file on GitHub · 61 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. 2mo ago First seen · 61 lines · 41 tokens per session scan A 2c1dcaa77b06

Subscribe to this mod's changes

haskell-pro is an agent published in the GitHub repository NOMARJ/sigil (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 41 tokens to every session and 602 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-09-03.

Related

haskell-pro compared with agents from other repositories

haskell-pro next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
haskell-proNOMARJ/sigilAgent61mo agoApache-2.0A41Claude Code
php-developerdavepoon/buildwithclaudeAgent3.8kyesterdayMITA51Claude Code
rails-expertdavepoon/buildwithclaudeAgent3.8kyesterdayMITA42Claude Code
typescript-expertdavepoon/buildwithclaudeAgent3.8kyesterdayMITA57Claude Code
cpp-engineerdavepoon/buildwithclaudeAgent3.8kyesterdayMITA54Claude Code
java-developerdavepoon/buildwithclaudeAgent3.8kyesterdayMITA45Claude Code
rust-expertdavepoon/buildwithclaudeAgent3.8kyesterdayMITA49Claude Code