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

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.

agentmods
npx agentmods add skills/duckbugio/flock/library-docs-lookup
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00057 $0.00389
Opus 5 $0.00028 $0.00195
Sonnet 5 $0.00011 $0.00078
Haiku 4.5 $0.00006 $0.00039

Measured 5d ago against content hash 9cf72af30358, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 (505 stars, last pushed 4d ago), licensed MIT. It adds 57 tokens to every session and 389 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

electron-pro

Expert in building cross-platform desktop applications using web technologies (HTML/CSS/JS) with the Electron framework.

fathah/hermes-desktop · 25 tokens

lat-md

Writing and maintaining lat.md documentation files — structured markdown that describes a project's architecture, design decisions, and test specs. Use when creating, editing, or reviewing files in the lat.md/ directory.

fathah/hermes-desktop · 42 tokens

local-tools

Access local system resources including Calendar on macOS and Windows. Use this skill when you need to manage user's schedule directly on their device.

netease-youdao/LobsterAI · 30 tokens

seedance

Generate AI videos using Volcengine Seedance model. Supports text-to-video (T2V), image-to-video (I2V), and audio-synced video generation. Use this skill when the user wants to create or generate videos.

netease-youdao/LobsterAI · 52 tokens

seedream

Generate AI images using Volcengine Seedream model. Supports text-to-image (T2I), image editing (I2I), multi-image fusion, and web-search-based generation. Use this skill when the user wants to create, generate, or edit images.

netease-youdao/LobsterAI · 56 tokens

technology-search

Search tech blogs, developer forums, and IT media (TechCrunch, Hacker News, 36氪, etc.) for software and hardware industry updates with heat ranking and EN↔CN translation. Use this skill only when the topic is clearly about programming, software, hardware, AI, or IT infrastructure.

netease-youdao/LobsterAI · 65 tokens