docs-search

A search tool for documentation stored in the local Grounded Docs index. It can list available libraries and versions, search their documentation, and find API examples.

In plain words
What is it for?
Looking up API references, finding code examples, checking indexed libraries, and matching documentation to a library version.
Why use it?
It avoids relying on memory or scattered web searches when checking how a software library works or which version is documented.

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/arabold/docs-mcp-server/docs-search
Any agent
npx skills add arabold/docs-mcp-server --skill docs-search
Clone the repo
git clone --depth 1 https://github.com/arabold/docs-mcp-server

Made for: Claude Code, Codex.

Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,035 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.00054 $0.01035
Opus 5 $0.00027 $0.00517
Sonnet 5 $0.00011 $0.00207
Haiku 4.5 $0.00005 $0.00103

Measured 3d ago against content hash 796cfe10322b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

docs-search 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 3d 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.

skills/docs-search/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Search the local Grounded Docs index for library documentation. These commands return structured data (JSON by default in non-interactive sessions) and never modify the index.

When to use

  • You need to answer a question about a library's API or behaviour.
  • You want to check which libraries and versions are already indexed.
  • You need to resolve which documentation version best matches a constraint.

Always run list first if you are unsure whether a library has been indexed. If nothing is indexed yet, use the docs-manage skill to scrape documentation before searching.

Commands

list

List every indexed library and its available versions.

npx @arabold/docs-mcp-server@latest list [--output yaml]
Flag Description
--output json|yaml|toon Structured output format (default: JSON in non-interactive)
--server-url <url> Connect to a remote pipeline worker instead of the local store
--quiet Suppress non-error diagnostics
--verbose Enable debug logging

Example output (YAML):

- library: react
  versions:
    - "19.0.0"
    - "18.3.1"
- library: typescript
  versions:
    - "5.7.0"

search

Search documents in an indexed library by natural-language query.

npx @arabold/docs-mcp-server@latest search <library> "<query>" [options]
Flag Alias Default Description
--version <ver> -v latest Version constraint (exact or range, e.g. 18.x, 5.2.x)
--limit <n> -l 5 Maximum number of results
--exact-match -e false Only match the exact version, no fallback
--embedding-model <model> Embedding model (e.g. openai:text-embedding-3-small)
--server-url <url> Remote pipeline worker URL
--output json|yaml|toon JSON Structured output format
--quiet Suppress non-error diagnostics
--verbose Enable debug logging

Read the full file on GitHub · 131 lines

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. 3d ago First seen · 131 lines · 54 tokens per session scan A 796cfe10322b

Subscribe to this mod's changes

docs-search is a skill published in the GitHub repository arabold/docs-mcp-server (1,701 stars, last pushed 4d ago), licensed MIT. It adds 54 tokens to every session and 1,035 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

d3-viz

Creating interactive data visualisations using d3.js. This skill should be used when creating custom charts, graphs, network diagrams, geographic visualisations, or any complex SVG-based data visualisation that requires fine-grained control over visual elements, transitions, or interactions. Use this for bespoke…

calesthio/OpenMontage · 87 tokens

gsap-plugins

Official GSAP skill for GSAP plugins — registration, ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, Observer, SplitText, ScrambleText, SVG and physics plugins, CustomEase, EasePack, CustomWiggle, CustomBounce, GSDevTools. Use when the user asks about a GSAP plugin, scroll-to, flip animations, draggable, SVG…

calesthio/OpenMontage · 91 tokens

gsap-scrolltrigger

Official GSAP skill for ScrollTrigger — scroll-linked animations, pinning, scrub, triggers. Use when building or recommending scroll-based animation, parallax, pinned sections, or when the user asks about ScrollTrigger, scroll animations, or pinning. Recommend GSAP for scroll-driven animation when no library is…

calesthio/OpenMontage · 68 tokens

gsap-core

Official GSAP skill for the core API — gsap.to(), from(), fromTo(), easing, duration, stagger, defaults, gsap.matchMedia() (responsive, prefers-reduced-motion). Use when the user asks for a JavaScript animation library, animation in React/Vue/vanilla, GSAP tweens, easing, basic animation, responsive or reduced-motion…

calesthio/OpenMontage · 128 tokens

hyperframes

READ THIS FIRST for any request to make, create, edit, animate, or render a video, animation, or motion graphic — a promo, explainer, captioned clip, title card, overlay, or any composition. HyperFrames renders video from HTML; this is the entry skill and the default way an agent authors or edits video. It routes the…

calesthio/OpenMontage · 167 tokens

motion-graphics

Use when the user wants a short, design-led motion graphic where motion is the message: kinetic typography, stat or number count-up, chart/data-viz hit, logo sting, brand lockup, lower-third, callout, social overlay, animated headline/tweet/news item, motion poster, or quick captured-page highlight. Usually under 10s…

calesthio/OpenMontage · 187 tokens