library-docs-lookup

library-docs-lookup is a skill for Claude Code, Codex from duckbugio/flock. It costs 57 tokens per session (389 once invoked), scanned A, original, MIT.

A documentation lookup skill for checking the current instructions for external libraries, frameworks, software-development kits, and APIs. It uses the project's installed version when that version can be identified.

In plain words
What is it for?
Use it before writing code that calls an unfamiliar or fast-changing external package, or when an error may come from an API version mismatch.
Why use it?
It reduces errors caused by relying on outdated knowledge about changing tools, such as incorrect function names, options, or usage patterns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before writing code that calls an unfamiliar or fast-changing external package, or when an error may come from an API version mismatch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/duckbugio/flock/library-docs-lookup
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.

Any agent
npx skills add duckbugio/flock --skill library-docs-lookup
Clone the repo
git clone --depth 1 https://github.com/duckbugio/flock

Made for: Claude Code, Codex.

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 library-docs-lookup

README.md
[![agentmods](https://agentmods.dev/badge/skills/duckbugio/flock/library-docs-lookup/github.svg)](https://agentmods.dev/skills/duckbugio/flock/library-docs-lookup)
Your own site
<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.

agentmods 80×15 button for library-docs-lookup

Your own site · 80×15
<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>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 389 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00057 $0.00389
Opus 5.5 $0.00023 $0.00156
Sonnet 5.5 $0.00011 $0.00078
Haiku 4.5 $0.00006 $0.00039

Measured 3mo ago against content hash 9cf72af30358, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

core/skills/library-docs-lookup/SKILL.md · 38 lines

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:

  1. resolve-library-id — resolve the library name (e.g. "tauri", "centrifuge-go", "react-query") to its context7 id.
  2. 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.

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. 3mo ago First seen · 38 lines · 57 tokens per session scan A 9cf72af30358

Subscribe to this mod's changes

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.

Related

library-docs-lookup compared with skills from other repositories

library-docs-lookup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
library-docs-lookupduckbugio/flockSkill4558d agoMITA57Claude Code, Codex
claude-apiasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A317Claude Code, Codex
setup-writing-styleasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A97Claude Code, Codex
shoppingasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A0Claude Code, Codex
instagramasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A57Claude Code, Codex
facebook_cliasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A118Claude Code, Codex
whiteboardasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A63Claude Code, Codex