docs-search

docs-search is a skill for Claude Code, Codex from davila7/claude-code-templates. It costs 59 tokens per session (613 once invoked), scanned A, original, MIT.

A command-line search tool for auto-generated documentation from a codebase, including function signatures, API references, classes, and comments.

In plain words
What is it for?
Use it to find functions, classes, modules, exact keywords, full documentation records, and recently changed documentation before editing code.
Why use it?
It reduces mistakes caused by guessing how existing code works or using outdated function signatures. It requires AI Maestro to be running with indexed documentation.

Skill for Claude CodeCodex

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

Good fit Use it to find functions, classes, modules, exact keywords, full documentation records, and recently changed documentation before editing code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davila7/claude-code-templates/docs-search
About the project

Claude Code Templates is a command-line tool and catalogue for configuring Anthropic’s Claude Code with agents, commands, settings, hooks, integrations, skills, and project templates. Developers use it to browse and install reusable components for their coding workflows. The catalogue includes many of these Claude Code components.

davila7/claude-code-templates · 34,542 stars · on GitHub · aitmpl.com

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 davila7/claude-code-templates --skill docs-search
Clone the repo
git clone --depth 1 https://github.com/davila7/claude-code-templates

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/davila7/claude-code-templates/docs-search/github.svg)](https://agentmods.dev/skills/davila7/claude-code-templates/docs-search)
Your own site
<a href="https://agentmods.dev/skills/davila7/claude-code-templates/docs-search"><img src="https://agentmods.dev/badge/skills/davila7/claude-code-templates/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/davila7/claude-code-templates/docs-search"><img src="https://agentmods.dev/badge/skills/davila7/claude-code-templates/docs-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 613 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
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00059 $0.00613
Opus 5.5 $0.00024 $0.00245
Sonnet 5.5 $0.00012 $0.00123
Haiku 4.5 $0.00006 $0.00061

Measured 3mo ago against content hash 1359a23cb12b, 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 3mo 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.

cli-tool/components/skills/ai-maestro/docs-search/SKILL.md · 83 lines

How it starts

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

Search your codebase's auto-generated documentation for function signatures, class definitions, API docs, and code comments. Verify correct patterns before writing code. Part of the AI Maestro suite.

Prerequisites

Requires AI Maestro running locally with documentation indexed.

# Install doc tools
git clone https://github.com/23blocks-OS/ai-maestro-plugins.git
cd ai-maestro-plugins && ./install-doc-tools.sh

Core Behavior

Before implementing any code changes, search docs first:

Receive instruction -> Search docs -> Then implement

Commands

Search

Command Description
docs-search.sh <query> Semantic documentation search
docs-search.sh --keyword <term> Exact keyword matching
docs-find-by-type.sh <type> Find by type (function, class, module)
docs-get.sh <doc-id> Get full document content

Index

Command Description
docs-index.sh [path] Full index from project
docs-index-delta.sh [path] Delta index (new/modified files only)
docs-list.sh List all indexed documents
docs-stats.sh Index statistics

Document Types

Type Sources
function JSDoc, RDoc, docstrings
class Class-level comments
module Module/namespace comments
interface TypeScript interfaces
component React/Vue component comments
readme README files
guide docs/ folder content

Usage Examples

# Semantic search
docs-search.sh "authentication flow"

# Keyword search for specific identifier
docs-search.sh --keyword "UserController"

# Find all class documentation
docs-find-by-type.sh class

# Get full document details
docs-get.sh doc-abc123

# Index your codebase (first time)
docs-index.sh /path/to/project

# Update index after changes
docs-index-delta.sh

Read the full file on GitHub · 83 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. 3mo ago First seen · 83 lines · 59 tokens per session scan A 1359a23cb12b

Subscribe to this mod's changes

docs-search is a skill published in the GitHub repository davila7/claude-code-templates (34,542 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 613 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-08-30.

Related

docs-search compared with skills from other repositories

docs-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-searchdavila7/claude-code-templatesSkill35ktodayMITA59Claude Code, Codex
five-whyswesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.7k3d agononeA53Claude Code
tddwesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.7k3d agononeA4Claude Code
review-checklistwesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.7k3d agononeA25Claude Code, Codex
check-linkswesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.7k3d agononeA44Claude Code, Codex
changelogwesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.7k3d agononeA28Claude Code
report-formatsandisab/swe-marketplaceSkill233d agoMITA105Claude Code