haskell-pro

haskell-pro is an agent for Claude Code from EngineerWithAI/engineerwith-agents. It costs 41 tokens per session (376 once invoked), scanned A, original, MIT.

A coding expert for Haskell, a strongly typed functional programming language used for reliable software. It focuses on advanced types, pure functions, concurrency, parsing, and project builds.

In plain words
What is it for?
Use it to design or refactor Haskell programs, model domain rules with types, build parsers and JSON handling, structure concurrent code, improve performance, and manage Cabal or Stack projects.
Why use it?
It helps make complex program rules explicit in the type system and keeps side effects separated from core logic. This can make code easier to reason about and safer to change.

Agent for Claude Code

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

Good fit Use it to design or refactor Haskell programs, model domain rules with types, build parsers and JSON handling, structure concurrent code, improve performance, and manage Cabal or Stack projects.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/engineerwithai/engineerwith-agents/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/EngineerWithAI/engineerwith-agents

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/engineerwithai/engineerwith-agents/haskell-pro/github.svg)](https://agentmods.dev/agents/engineerwithai/engineerwith-agents/haskell-pro)
Your own site
<a href="https://agentmods.dev/agents/engineerwithai/engineerwith-agents/haskell-pro"><img src="https://agentmods.dev/badge/agents/engineerwithai/engineerwith-agents/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/engineerwithai/engineerwith-agents/haskell-pro"><img src="https://agentmods.dev/badge/agents/engineerwithai/engineerwith-agents/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 376 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.00376
Opus 5.5 $0.00016 $0.00150
Sonnet 5.5 $0.00008 $0.00075
Haiku 4.5 $0.00004 $0.00038

Measured 2mo ago against content hash bb5b3475fcae, 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.

plugins/functional-programming/agents/haskell-pro.md · 38 lines

What it actually says

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

Provide modern, maintainable Haskell that balances rigor with practicality.

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 · 38 lines · 41 tokens per session scan A bb5b3475fcae

Subscribe to this mod's changes

haskell-pro is an agent published in the GitHub repository EngineerWithAI/engineerwith-agents (4 stars, last pushed 10mo ago), licensed MIT. It adds 41 tokens to every session and 376 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-proEngineerWithAI/engineerwith-agentsAgent410mo agoMITA41Claude Code
PHP MCP Expertgithub/awesome-copilotAgent42ktodayMITA20Claude Code
cpp-revieweraffaan-m/ECCAgent314kyesterdayMITA41Claude Code, Kiro
php-developerdavepoon/buildwithclaudeAgent3.8kyesterdayMITA51Claude Code
frontend-devvibeeval/vibecosystemAgent55420d agoMITA22Claude Code
plinth-architectjabrena/plinthAgent470yesterdayApache-2.0A38Claude Code, Cursor
Geoprocessing SpecialistSHAdd0WTAka/Zen-Ai-PentestAgent53528d agoMITA45Claude Code, OpenCode