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

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/davila7/claude-code-templates/docs-search
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.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.svg" alt="Measured on agentmods" 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. 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.00059 $0.00613
Opus 5 $0.00030 $0.00307
Sonnet 5 $0.00012 $0.00123
Haiku 4.5 $0.00006 $0.00061

Measured 5d ago against content hash 1359a23cb12b, 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 5d 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. 5d 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 (30,520 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 613 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

pentest-checklist

This skill should be used when the user asks to "plan a penetration test", "create a security assessment checklist", "prepare for penetration testing", "define pentest scope", "follow security testing best practices", or needs a structured methodology for penetration testing engagements.

zebbern/claude-code-guide · 57 tokens

fabric-tmdl

TMDL (Tabular Model Definition Language) authoring rules for Fabric and Power BI semantic models. Use when editing .tmdl files, adding measures or columns to a semantic model, defining relationships or calculation groups, working in a PBIP definition/ folder, configuring Direct Lake partitions, or debugging TMDL…

wardawgmalvicious/agent-config · 104 tokens

fabric-variable-library

Use for Microsoft Fabric Variable Library — config-as-code for parameterizing notebooks and pipelines per environment. Covers definition parts (variables.json, settings.json, valueSets/ .json — no format field, omit it), variable types (String, Boolean, Number, Integer, DateTime, Guid, ItemReference…

wardawgmalvicious/agent-config · 233 tokens

pbip-project-structure

Use when working with PBIP (Power BI Project) folders — the text-based developer format that replaces binary .pbix. Covers folder layout (.SemanticModel/, .Report/, definition/, StaticResources/), entry-point files (.pbip, .pbir, .pbism, .platform), byPath vs byConnection (thick vs thin report), .pbism version 4.2 /…

wardawgmalvicious/agent-config · 211 tokens

pbir-pages

Use when authoring or editing page.json / pages.json inside a Power BI PBIR report's definition/pages/ folder. Covers top-level page properties (name hex GUID vs displayName, displayOption as STRING not integer, width/height, type Default vs Tooltip, visibility AlwaysVisible vs HiddenInViewMode…

wardawgmalvicious/agent-config · 182 tokens

pbir-bookmarks

Use when creating, editing, or wiring Power BI PBIR bookmarks in Report.Report/definition/bookmarks/ — bookmarks.json index and individual bookmark.json files. Covers bookmark structure (name hex ID matching items[], displayName, options, explorationState), options flags (targetVisualNames, suppressDisplay…

wardawgmalvicious/agent-config · 196 tokens