docs-search

docs-search is a skill for Claude Code from 23blocks-OS/ai-maestro-plugins. It costs 77 tokens per session (484 once invoked), scanned A, original, MIT.

A tool for searching the documentation of a generated codebase before making changes. It finds function signatures, class details, APIs, comments, and existing implementation patterns.

In plain words
What is it for?
Use it to confirm an API or function signature, find an existing component pattern, or check documentation before implementing code.
Why use it?
It reduces mistakes caused by guessing how unfamiliar code or interfaces work.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ai-maestro plugin — 16 skills, 3 hooks shipped together

Good fit Use it to confirm an API or function signature, find an existing component pattern, or check documentation before implementing code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/23blocks-os/ai-maestro-plugins/docs-search
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 23blocks-OS/ai-maestro-plugins --skill docs-search
Clone the repo
git clone --depth 1 https://github.com/23blocks-OS/ai-maestro-plugins

Made for: Claude Code.

Or install ai-maestro, the plugin that ships this one along with the rest of its 16 skills, 3 hooks.

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-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/23blocks-os/ai-maestro-plugins/docs-search/github.svg)](https://agentmods.dev/skills/23blocks-os/ai-maestro-plugins/docs-search)
Your own site
<a href="https://agentmods.dev/skills/23blocks-os/ai-maestro-plugins/docs-search"><img src="https://agentmods.dev/badge/skills/23blocks-os/ai-maestro-plugins/docs-search/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-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/23blocks-os/ai-maestro-plugins/docs-search"><img src="https://agentmods.dev/badge/skills/23blocks-os/ai-maestro-plugins/docs-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 484 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 25
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Rogue Agent · line 206
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Data Exfiltration · line 221
    Code scans file system directories looking for sensitive files. This could be reconnaissance for credential theft.
    Fix: Remove unnecessary filesystem scanning. If file access is needed, use explicit, scoped paths. Avoid reading ~/.ssh, ~/.aws, or credential directories.
How audits are shown
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.00077 $0.00484
Opus 5.5 $0.00031 $0.00194
Sonnet 5.5 $0.00015 $0.00097
Haiku 4.5 $0.00008 $0.00048

Measured 2mo ago against content hash 83c40e61b691, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.

plugins/ai-maestro/skills/docs-search/SKILL.md · 40 lines

What it actually says

AI Maestro indexes the doc comments of your agent's project (JSDoc, RDoc, Python docstrings, TypeScript interfaces, READMEs, markdown guides) and serves them per agent. The scripts find your agent from the tmux session.

docs-search.sh "<query>"              # semantic search (default limit 10; --limit N)
docs-search.sh --keyword "<name>"     # exact name match, best for a known function or class
docs-get.sh <doc-id>                  # full document for an id from the search results
docs-find-by-type.sh <type>           # function | class | module | interface | component | constant | readme | guide
docs-list.sh [--limit N]              # all indexed documents (default 50)
docs-stats.sh                         # index size; 0 documents means the project was never indexed

A result gives the documented intent and signature; the source file is still the authority on current behaviour.

Keeping the index current

docs-index-delta.sh [project-path]    # new and modified files only; use after code changes
docs-index.sh [project-path]          # full re-index

Without a path, both use the agent's working directory.

If the command fails

  • command not found or common.sh not found: run ./install-doc-tools.sh from the AI Maestro checkout (update-aimaestro.sh also reinstalls the tools).
  • Connection errors: AI Maestro is not reachable on this host.
  • No results and docs-stats.sh shows an empty index: run docs-index.sh, or tell the user the project has no generated docs and read the code instead.
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. 2mo ago Changed · -206 lines · +4 tokens per session 83c40e61b691
  2. 3mo ago First seen · 246 lines · 73 tokens per session scan A 8284d6617e4e

Subscribe to this mod's changes

docs-search is a skill published in the GitHub repository 23blocks-OS/ai-maestro-plugins (11 stars, last pushed yesterday), licensed MIT. It adds 77 tokens to every session and 484 once invoked, about $0.0003 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-08-31.

Related

docs-search compared with skills from other repositories

docs-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-search23blocks-OS/ai-maestro-pluginsSkill11yesterdayMITA77Claude Code
pdfsmith-network-solutions/threadknotSkill93d agoApache-2.0A88Claude Code, Codex
memory-searchevoelsewhere/evofluxSkill131mo agoApache-2.0A112Claude Code
intelligent-uievoelsewhere/evofluxSkill131mo agoApache-2.0A90Claude Code, Codex
diagram-designevoelsewhere/evofluxSkill131mo agoApache-2.0A90Claude Code, Codex
agentsitaywol/adeptabilitySkill94mo agoMITA5Claude Code, Codex
authoring-adept-agentsitaywol/adeptabilitySkill94mo agoMITA47Claude Code