Borrowing it
Nothing to install: this file belongs to SoftwareFoundationGroupAtKyotoU/pure-borrow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/SoftwareFoundationGroupAtKyotoU/pure-borrow/main/.codex/skills/haskell-format/SKILL.mdgit clone --depth 1 https://github.com/SoftwareFoundationGroupAtKyotoU/pure-borrowWrote 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/softwarefoundationgroupatkyotou/pure-borrow/haskell-format)<a href="https://agentmods.dev/skills/softwarefoundationgroupatkyotou/pure-borrow/haskell-format"><img src="https://agentmods.dev/badge/skills/softwarefoundationgroupatkyotou/pure-borrow/haskell-format/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/softwarefoundationgroupatkyotou/pure-borrow/haskell-format"><img src="https://agentmods.dev/badge/skills/softwarefoundationgroupatkyotou/pure-borrow/haskell-format.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.00053 | $0.00344 |
| Opus 5.5 | $0.00021 | $0.00138 |
| Sonnet 5.5 | $0.00011 | $0.00069 |
| Haiku 4.5 | $0.00005 | $0.00034 |
Grade A, and why
haskell-format 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 1mo 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.
What it actually says
Format Haskell Source
Format Haskell source files with the project's formatter. .cabal and cabal.project* files are handled by the haskell-cabal-gild skill. Always format before compiling.
Choosing The Formatter
Walk up from the file's directory and choose by project config:
fourmolu.yamlor.fourmolu.yamlselectsfourmolu..stylish-haskell.yamlselectsstylish-haskell.- Otherwise use the first available command in this order:
fourmolu,ormolu,stylish-haskell.
This project has fourmolu.yaml, so prefer fourmolu when available.
Format In Place
All supported formatters accept -i:
fourmolu -i <file>
ormolu -i <file>
stylish-haskell -i <file>
Project Automation
This repository has shared PostToolUse hooks under .agents/hooks/, wired from
Claude/Codex configuration. The Haskell formatting hook formats changed .hs, .lhs, and
.hsig files. Re-read files if the hook reports that it changed them.
Companion
Format .cabal and cabal.project* files with the haskell-cabal-gild skill.
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.
- 1mo ago First seen · 40 lines · 53 tokens per session scan A 6862c4932964
haskell-format is a skill published in the GitHub repository SoftwareFoundationGroupAtKyotoU/pure-borrow (63 stars, last pushed 1mo ago), licensed BSD-3-Clause. It adds 53 tokens to every session and 344 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-10-02.
haskell-format compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| haskell-formatSoftwareFoundationGroupAtKyotoU/pure-borrow | Skill | 63 | 1mo ago | BSD-3-Clause | A | 53 | Claude Code, Codex |
| erlang-otp-behaviorsbenchflow-ai/skillsbench | Skill | 1.9k | 2d ago | Apache-2.0 | A | 52 | Claude Code, Codex |
| omh-rustrlaope/oh-my-hermes | Skill | 5.2k | yesterday | MIT | A | 74 | Claude Code, Codex |
| axiom-concurrencyCharlesWiltgen/Axiom | Skill | 1.3k | yesterday | MIT | A | 49 | Claude Code |
| tddcodewithmukesh/dotnet-claude-kit | Skill | 805 | 2d ago | MIT | A | 81 | Claude Code |
| splitting-oversized-modulesPostHog/posthog | Skill | 41k | yesterday | none | A | 197 | Claude Code, Codex |
| precisemicroprediction/precise | Skill | 338 | 5d ago | MIT | A | 76 | Claude Code, Codex |