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 fellipeutaka/leon --skill docs-lookupgit clone --depth 1 https://github.com/fellipeutaka/leonWrote 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/fellipeutaka/leon/docs-lookup)<a href="https://agentmods.dev/skills/fellipeutaka/leon/docs-lookup"><img src="https://agentmods.dev/badge/skills/fellipeutaka/leon/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/fellipeutaka/leon/docs-lookup"><img src="https://agentmods.dev/badge/skills/fellipeutaka/leon/docs-lookup.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.00061 | $0.00981 |
| Opus 5.5 | $0.00024 | $0.00392 |
| Sonnet 5.5 | $0.00012 | $0.00196 |
| Haiku 4.5 | $0.00006 | $0.00098 |
Grade A, and why
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 24d 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 — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Docs lookup
Training data is a stale cache of library APIs. Verify against a primary source pinned to the version the project uses, climbing the ladder in order. Context7 is metered on a shared monthly quota; it sits near the top.
1. Pin the version
Read it from the manifest + lockfile (package.json + lockfile, pyproject.toml/uv.lock, Cargo.lock, go.mod). Outside a project, use latest. Done when you hold name@version (or "latest").
2. Climb the ladder
Stop at the first rung that answers the question for that version.
-
Source repo.
opensrc path <pkg>returns the repo cloned at the lockfile version (pypi:,crates:,owner/repofor other registries;@versionto pin). Search its docs folder (docs/,website/,apps/docs/), README, CHANGELOG / migration guides, type definitions, tests and examples:P=$(opensrc path zod) rg -l "superRefine" "$P" --glob '*.{md,mdx}' rg -n "superRefine" "$P" --glob '*.d.ts'Types and tests are ground truth for signatures; docs folders for usage. When opensrc cannot resolve the package (private, no repo URL), go straight to rung 6.
-
Docs repo. When the source repo has no docs folder, the docs often live in a sibling repo (
nestjs/nest→nestjs/docs.nestjs.com). Find it, then open it withopensrc path <owner>/<docs-repo>:- List the owner's repos and match docs names:
Several hits: pick the one named after the docs host or the current major version.gh repo list <owner> --limit 200 --no-archived --json name,description \ -q '.[] | select((.name|test("doc";"i")) or ((.description//"")|test("documentation|docs";"i"))) | .name' - No hit (docs under another owner, e.g.
facebook/react→reactjs/react.dev): fetch any page of the docs site and follow its "Edit this page on GitHub" link.
A docs repo tracks its default branch, so look for versioned folders when the pinned version is not the latest.
- List the owner's repos and match docs names:
-
Docs site as markdown. Find the official host (registry
homepage, repo README). Fetch<host>/llms.txt: it indexes the markdown pages and shows the URL format the site uses. Withoutllms.txt, try the page URL with.md,.mdx, then/index.mdappended, then plain HTML.llms-full.txtis the whole site in one file; fetch it only through a tool that indexes it. -
WebSearch. Use when the host, page or docs repo is unknown, or the topic is newer than the cloned source (release posts, breaking changes). Restrict
allowed_domainsto official domains, then fetch the hit as in rung 3. -
Context7. One
resolve-library-id+ onequery-docsper question (MCP, ornpx ctx7@latest library/docs). On a quota error, tell the user and move on. -
Installed package. The published artifact at the exact installed version:
node_modules/<pkg>(README,.d.ts,dist), the virtualenvsite-packages/<pkg>,~/.cargo/registry/src/*/<crate>-<ver>,$(go env GOMODCACHE)/<module>@<ver>.
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.
- 24d ago First seen · 45 lines · 61 tokens per session scan A 9f8fc7f7c025
docs-lookup is a skill published in the GitHub repository fellipeutaka/leon (5 stars, last pushed 4d ago), licensed MIT. It adds 61 tokens to every session and 981 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-11-07.
docs-lookup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docs-lookupfellipeutaka/leon | Skill | 5 | 4d ago | MIT | A | 61 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 331k | 3d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |