Skip to content
Agentmart
Submit a tool

docs-lookup

Pull clean, current docs for a tool/SDK into a target dir using the index + on-demand + curated-copies model (never a full site mirror).

Skill by hamchowderr

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/hamchowderr-docs-lookup

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Pull clean, current docs for a tool/SDK into a target dir using the index + on-demand + curated-copies model (never a full site mirror). Use when the user says "get the docs for X", "pull the llms.txt", "find <tool>'s docs", "mirror these API docs", "add <site>'s docs to the vault", "grab the latest <framework> docs", or wants an offline/searchable copy of a library's docs.

Use cases: backend, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/docs-lookup

Tools it pre-approves 1

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash(node:*)

What's inside

Skill name
docs-lookup
Description
Pull clean, current docs for a tool/SDK into a target dir using the index + on-demand + curated-copies model (never a full site mirror). Use when the user says "get the docs for X", "pull the llms.txt", "find <tool>'s docs", "mirror these API docs", "add <site>'s docs to the vault", "grab the latest <framework> docs", or wants an offline/searchable copy of a library's docs.
License
MIT
Allowed tools
Bash(node:*)
Instructions
54 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves some shell commands

Files (1)

  • SKILL.md

SKILL.md (first lines)

# docs-lookup — clean docs on demand (llms.txt model)

Put a tool/SDK's docs where you can search them, without crawling the whole site.
Backed by `${CLAUDE_PLUGIN_ROOT}/scripts/mirror-llms-docs.mjs` (Node built-in
`fetch`, zero deps, cross-platform).

## The model — three layers, in order

1. **Index (always).** A site's root `llms.txt` is a curated link-map of its docs.
   Save it once as a navigable index note. This is the map, not the territory.
2. **On-demand (default).** When you actually need a page, fetch that one page's
   clean-markdown route right then. Don't pre-copy pages you don't use.
3. **Curated copies (sparingly).** Copy verbatim only the handful of pages you
   reference constantly (kept minimal, stamped `verbatim-copy`, re-fetched to refresh).

Never mirror a whole site. Verbatim-or-link: copied pages are stored as-is and
never hand-edited — re-run the fetch to refresh.

## Run it

```bash
# 1. Save the root llms.txt as an index note in <target-dir>
node "${CLAUDE_PLUGIN_ROOT}/scripts/mirror-llms-docs.mjs" index <domain> <target-dir> ["Note Name"]
#    e.g.
node "${CLAUDE_PLUGIN_ROOT}/scripts/mirror-llms-docs.mjs" index mastra.ai "<target-dir>" "Mastra Docs Index"

# 2. Copy specific clean pages verbatim into <target-dir>
node "${CLAUDE_PLUGIN_ROOT}/scripts/mirror-llms-docs.mjs" pages <target-dir> <clean-page-url> [<clean-page-url> ...]
```

`<target-dir>` is whatever folder should hold the docs (a vault docs folder, a
repo `docs/` dir, a scratch dir). The script hardcodes no paths.

## Per-site clean-page routes

| Site   | Root index                          | Clean per-page route                                                                 |
|--------|-------------------------------------|--------------------------------------------------------------------------------------|
| Mastra | `https://mastra.ai/llms.txt`        | append `.md` (e.g. `.../docs/agents/overview.md`) — the `/llms.txt` per-page route was retired 2026-07-04 |
| Docker | `https://docs.docker.com/llms.txt`  | append `.md` (e.g. `.../engine/install.md`)                                           |
| other  | `https://<domain>/llms.txt`         | check the site's own retrieval guidance for its clean-page route                      |

If a site publishes `/llms-full.txt`, that's the whole-docs bundle — use it only
when you truly need everything; prefer the index + per-page routes.

## Rules

- **No crawling.** Index + explicit page URLs only; never spider a site.
- **Verbatim-or-link.** Copied pages are stored verbatim; to update, re-fetch.
- **Curated layer stays minimal.** Only pages you use constantly get a local copy.
- **No secrets.** Plain `fetch`, no Firecrawl/Infisical/tokens.
- **Generic.** Always pass an explicit `<target-dir>`; the script ships zero
  user-specific paths.

From hamchowderr/braynee, MIT.

More from hamchowderr/braynee

Signals

Stars
2
Forks
0
Open issues
1
Last commit (this folder)
Jul 24, 2026 (3 months ago)
Last release
Oct 12, 2026 (16 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from hamchowderr

Cite this page

docs-lookup skill. Agent Mart. https://agentmart.dev/skills/hamchowderr-docs-lookup (last updated 2026-10-24)