Documentation Search Skill logo

Documentation Search Skill

Visit

AI Maestro skill that makes agents search auto-generated codebase docs for function signatures, classes, and APIs before writing code.

Share:
View alternatives

Overview

Documentation Search Skill is the docs-search skill from AI Maestro, the MIT-licensed dashboard by 23blocks for running many coding agents with persistent memory, messaging, and multi-machine support. AI Maestro generates searchable documentation from your code; this skill makes the agent consult it before implementing anything, to confirm existing function signatures, APIs, and patterns so new code matches what is already there. As the skill puts it, verify the signature before you write the call, not after the type error.

The skill is published in ai-maestro-plugins and requires AI Maestro with Bash access. Commands auto-detect the agent ID from the tmux session.

Commands

Command Purpose
docs-search.sh <query> Semantic search through the documentation
docs-search.sh --keyword <term> Keyword or exact-match search
docs-find-by-type.sh <type> Find docs by type (function, class, module, and so on)
docs-get.sh <doc-id> Get a full document with all sections
docs-list.sh List all indexed documents
docs-stats.sh Index statistics
docs-index.sh [project-path] Full index of a project
docs-index-delta.sh [project-path] Index only new and modified files

Behavior It Enforces

  • Search docs as soon as a task arrives, using the terms the user mentions.
  • Check docs before calling an unfamiliar function, and look for existing patterns before creating a new component.
  • Do not skip the search for "simple tasks" or wait for the user to ask.

Quick Start

Install AI Maestro, which includes the Claude Code plugin and its CLI scripts:

curl -fsSL https://raw.githubusercontent.com/23blocks-OS/ai-maestro/main/scripts/remote-install.sh | sh

Then index a project with docs-index.sh /path/to/project and keep it current with docs-index-delta.sh.

Use Cases

  • Large or unfamiliar codebases where guessing a signature leads to type errors.
  • Keeping several agents consistent with the same internal APIs.

Limitations

  • Only as good as the generated docs and code comments in your project.
  • Requires AI Maestro; the scripts do not run standalone.

FAQ

Do I have to re-index after every change?

Use docs-index-delta.sh, which only processes new and modified files.

Alternatives

  • Serena gives agents IDE-level semantic code retrieval through MCP.
  • Claude Code can search and read source files directly when you do not run AI Maestro.

Other AI Maestro skills: Memory Search, Graph Query, and Agent Messaging. More in Skills and the documentation tag.

Comments

No comments yet. Be the first to comment!