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.
npx skills add duckbugio/flock --skill library-docs-lookupgit clone --depth 1 https://github.com/duckbugio/flockWrote 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/duckbugio/flock/library-docs-lookup)<a href="https://agentmods.dev/skills/duckbugio/flock/library-docs-lookup"><img src="https://agentmods.dev/badge/skills/duckbugio/flock/library-docs-lookup/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/duckbugio/flock/library-docs-lookup"><img src="https://agentmods.dev/badge/skills/duckbugio/flock/library-docs-lookup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00057 | $0.00389 |
| Opus 5.5 | $0.00023 | $0.00156 |
| Sonnet 5.5 | $0.00011 | $0.00078 |
| Haiku 4.5 | $0.00006 | $0.00039 |
Grade A, and why
library-docs-lookup 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 3mo 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
Look up real library docs (don't guess the API)
Training data goes stale: library APIs, method signatures, config keys, and best practices change between versions. Guessing them is a top source of subtly-wrong code. When you touch an external library/framework/SDK/API, get the CURRENT docs.
How
The context7 MCP server is available. Use its tools:
resolve-library-id— resolve the library name (e.g. "tauri", "centrifuge-go", "react-query") to its context7 id.get-library-docs— fetch the up-to-date docs for that id, scoped to the topic/symbol you need (the specific hook, method, or config option).
Pull the version the project actually depends on — check go.mod /
package.json / Cargo.toml / requirements.txt — not "latest", when they
differ.
When to use it
- Calling a method/option you're not 100% sure exists in the version in use.
- Wiring up a new dependency, an SDK client, or a framework feature.
- An unfamiliar or fast-moving library (cloud SDKs, web frameworks, build tools).
- A compile/runtime error that looks like an API mismatch.
When NOT to bother
- The standard library or a tiny, stable utility you know cold.
- Pure project-internal code — read the repo, not external docs.
Prefer one focused docs lookup over a wrong guess you then have to debug.
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.
- 3mo ago First seen · 38 lines · 57 tokens per session scan A 9cf72af30358
library-docs-lookup is a skill published in the GitHub repository duckbugio/flock (455 stars, last pushed 8d ago), licensed MIT. It adds 57 tokens to every session and 389 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-08-30.
library-docs-lookup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| library-docs-lookupduckbugio/flock | Skill | 455 | 8d ago | MIT | A | 57 | Claude Code, Codex |
| claude-apiasgeirtj/system_prompts_leaks | Skill | 74k | yesterday | CC0-1.0 | A | 317 | Claude Code, Codex |
| setup-writing-styleasgeirtj/system_prompts_leaks | Skill | 74k | yesterday | CC0-1.0 | A | 97 | Claude Code, Codex |
| shoppingasgeirtj/system_prompts_leaks | Skill | 74k | yesterday | CC0-1.0 | A | 0 | Claude Code, Codex |
| instagramasgeirtj/system_prompts_leaks | Skill | 74k | yesterday | CC0-1.0 | A | 57 | Claude Code, Codex |
| facebook_cliasgeirtj/system_prompts_leaks | Skill | 74k | yesterday | CC0-1.0 | A | 118 | Claude Code, Codex |
| whiteboardasgeirtj/system_prompts_leaks | Skill | 74k | yesterday | CC0-1.0 | A | 63 | Claude Code, Codex |