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/hoogle/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/hoogle)<a href="https://agentmods.dev/skills/softwarefoundationgroupatkyotou/pure-borrow/hoogle"><img src="https://agentmods.dev/badge/skills/softwarefoundationgroupatkyotou/pure-borrow/hoogle/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/hoogle"><img src="https://agentmods.dev/badge/skills/softwarefoundationgroupatkyotou/pure-borrow/hoogle.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.00041 | $0.00711 |
| Opus 5.5 | $0.00016 | $0.00284 |
| Sonnet 5.5 | $0.00008 | $0.00142 |
| Haiku 4.5 | $0.00004 | $0.00071 |
Grade A, and why
hoogle 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.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hoogle API Search
Hoogle is a Haskell API search engine. Use it to find functions by name or by type signature.
When To Use Hoogle
Use Hoogle when:
- Working with Haskell code and needing to find a function.
- Looking up a type signature.
- Searching for functions that match a type signature, such as
a -> b -> a. - Finding which module exports a particular function.
- Looking up documentation for Haskell functions.
Search Methods
Search by function name:
.codex/skills/hoogle/scripts/hoogle-search.sh "map"
Search by type signature:
.codex/skills/hoogle/scripts/hoogle-search.sh "a -> b -> a"
Search with a package filter:
.codex/skills/hoogle/scripts/hoogle-search.sh "+base map"
.codex/skills/hoogle/scripts/hoogle-search.sh "+containers Data.Map.lookup"
Get detailed information for the first result:
.codex/skills/hoogle/scripts/hoogle-search.sh "foldl" --info
Remote search is available when local search is unavailable or insufficient:
.codex/skills/hoogle/scripts/hoogle-remote.sh "map"
Result Shape
The search scripts return JSON:
{
"results": [
{
"url": "https://hackage.haskell.org/package/base/docs/Prelude.html#v:map",
"module": { "name": "Prelude", "url": "..." },
"package": { "name": "base", "url": "..." },
"item": "map :: (a -> b) -> [a] -> [b]",
"docs": "..."
}
],
"query": "map",
"count": 10
}
Key fields are item, docs, module.name, and package.name.
Database Initialization
Before local searching, ensure the Hoogle database exists:
.codex/skills/hoogle/scripts/hoogle-init-db.sh
For project-specific searches, generate a local database from Haddock docs:
.codex/skills/hoogle/scripts/hoogle-init-db.sh --local /path/to/haddock/docs
Common Search Patterns
| Goal | Query Example |
|---|---|
| Find function by name | filter |
| Find by exact type | (a -> Bool) -> [a] -> [a] |
| Find in specific package | +lens view |
| Find class methods | Monad m => m a -> m b |
| Find by partial type | Map k v -> k -> Maybe v |
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 113 lines · 41 tokens per session scan A 84c91ef4cf4c
hoogle is a skill published in the GitHub repository SoftwareFoundationGroupAtKyotoU/pure-borrow (63 stars, last pushed 1mo ago), licensed BSD-3-Clause. It adds 41 tokens to every session and 711 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.
hoogle compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hoogleSoftwareFoundationGroupAtKyotoU/pure-borrow | Skill | 63 | 1mo ago | BSD-3-Clause | A | 41 | 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 |