docs-lookup

docs-lookup is a skill for Claude Code, Codex from praveenc/llmstxt-doc-search. It costs 120 tokens per session (502 once invoked), scanned A, original, MIT.

A documentation lookup skill that searches registered, current documentation and fetches the best matching page. It supports cited answers about APIs, software libraries, frameworks, and AWS services.

In plain words
What is it for?
Use it to search documentation sources, read the relevant page, and answer implementation questions with a source link.
Why use it?
It reduces the risk of answering from outdated knowledge or from memory when technical documentation may have changed.

Skill for Claude CodeCodex

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

Good fit Use it to search documentation sources, read the relevant page, and answer implementation questions with a source link.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/praveenc/llmstxt-doc-search/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 praveenc/llmstxt-doc-search --skill docs-lookup
Clone the repo
git clone --depth 1 https://github.com/praveenc/llmstxt-doc-search

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/praveenc/llmstxt-doc-search/docs-lookup/github.svg)](https://agentmods.dev/skills/praveenc/llmstxt-doc-search/docs-lookup)
Your own site
<a href="https://agentmods.dev/skills/praveenc/llmstxt-doc-search/docs-lookup"><img src="https://agentmods.dev/badge/skills/praveenc/llmstxt-doc-search/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 docs-lookup

Your own site · 80×15
<a href="https://agentmods.dev/skills/praveenc/llmstxt-doc-search/docs-lookup"><img src="https://agentmods.dev/badge/skills/praveenc/llmstxt-doc-search/docs-lookup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 502 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.
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.00120 $0.00502
Opus 5.5 $0.00048 $0.00201
Sonnet 5.5 $0.00024 $0.00100
Haiku 4.5 $0.00012 $0.00050

Measured today against content hash 5f5ccc3f9373, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 today.

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.

skills/docs-lookup/SKILL.md · 33 lines

What it actually says

Docs lookup

Answer from live documentation in three calls, and cite the page you read.

Steps

  1. Call docs_home() to see the registered sources and their index status. Skip it if you already know the source names in this session.
  2. Call search_docs(query, source?, k?).
    • Pass source (for example strands, kiro, aws-bedrock-userguide, aws-bedrock-agentcore-devguide, aws-agentic-ai-lens, mcp) when the question clearly belongs to one source.
    • Omit source to search all sources.
    • k defaults to 5 and is capped at 50.
    • Results are ranked {source, url, title, score, snippet}. score is 0-1 and comparable across sources.
  3. Call fetch_doc(url) on the best result, using the url exactly as returned. Fetch a second result only if the first does not answer the question.
  4. Answer from the fetched content and cite the live url. Content is fetched live and may change, so do not present it as a fixed snapshot.

When results are poor

  • Rephrase with the product's own terms (API names, feature names) and search again.
  • If a scoped search finds nothing, retry without source.
  • A named source that cannot be indexed returns an error. Searching all sources skips a failing source instead. See the manage-sources skill to retry it with refresh_doc_source.
  • If the docs are not in any registered source, say so. Offer to add the site's llms.txt (see manage-sources) or, for a non-llms.txt page, see scoped-fetch.
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. today First seen · 33 lines · 120 tokens per session scan A 5f5ccc3f9373

Subscribe to this mod's changes

docs-lookup is a skill published in the GitHub repository praveenc/llmstxt-doc-search (0 stars, last pushed today), licensed MIT. It adds 120 tokens to every session and 502 once invoked, about $0.0005 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-29.

Related

docs-lookup compared with skills from other repositories

docs-lookup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-lookuppraveenc/llmstxt-doc-searchSkill0todayMITA120Claude Code, Codex
mindos-viewsGeminiLight/MindOSSkill70921d agoMITA60Claude Code, Codex
mindosGeminiLight/MindOSSkill70921d agoMITA157Claude Code, Codex
context-budgetcoco-research/cocoSkill323yesterdayApache-2.0A49Claude Code, Codex
geo-content-planningonvoyage-ai/gtm-engineer-skillsSkill1.4k1mo agoMITA52Claude Code, Codex
laravel-audit-securityMrPunyapal/laravel-auditorSkill855d agoMITA52Claude Code, Codex
laravel-audit-databaseMrPunyapal/laravel-auditorSkill855d agoMITA33Claude Code, Codex