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-cabal-gild/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-cabal-gild)<a href="https://agentmods.dev/skills/softwarefoundationgroupatkyotou/pure-borrow/haskell-cabal-gild"><img src="https://agentmods.dev/badge/skills/softwarefoundationgroupatkyotou/pure-borrow/haskell-cabal-gild/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-cabal-gild"><img src="https://agentmods.dev/badge/skills/softwarefoundationgroupatkyotou/pure-borrow/haskell-cabal-gild.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.00068 | $0.00386 |
| Opus 5.5 | $0.00027 | $0.00154 |
| Sonnet 5.5 | $0.00014 | $0.00077 |
| Haiku 4.5 | $0.00007 | $0.00039 |
Grade A, and why
haskell-cabal-gild 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
cabal-gild
cabal-gild formats Haskell package descriptions and cabal project files. It normalizes layout, sorts and deduplicates build-depends, and can refresh module lists generated by -- cabal-gild: discover pragmas.
Format In Place
Run on each touched cabal/project file:
cabal-gild --io <file>
Format before compiling.
Check Without Writing
Use check mode to verify formatting without changing files:
cabal-gild -m check --io <file>
Auto-Discovered Module Lists
If a .cabal file contains a pragma like this:
-- cabal-gild: discover src
exposed-modules:
rerun cabal-gild --io <pkg>.cabal after adding or removing modules.
Project Automation
This repository has shared PostToolUse hooks under .agents/hooks/, wired from
Claude/Codex configuration.
- A changed
.cabalorcabal.project*file is formatted withcabal-gild --io. - A changed
.hs,.lhs, or.hsigfile refreshes the nearest enclosing.cabalfile only if it uses a-- cabal-gild: discoverpragma.
Re-read files if the hook reports that it changed them.
Companion
Format Haskell source files with the haskell-format 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 · 53 lines · 68 tokens per session scan A f03b64a73c73
haskell-cabal-gild is a skill published in the GitHub repository SoftwareFoundationGroupAtKyotoU/pure-borrow (63 stars, last pushed 1mo ago), licensed BSD-3-Clause. It adds 68 tokens to every session and 386 once invoked, about $0.0003 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-cabal-gild compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| haskell-cabal-gildSoftwareFoundationGroupAtKyotoU/pure-borrow | Skill | 63 | 1mo ago | BSD-3-Clause | A | 68 | 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 |