using-agent-brain

Search indexed documents across BM25, vector, hybrid, and graph modes.

115|21|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/SpillwaveSolutions/agent-brain --skill using-agent-brain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-agent-brain
Source: https://github.com/SpillwaveSolutions/agent-brain/tree/main/agent-brain-plugin/skills/using-agent-brain
Command: npx skills add https://github.com/SpillwaveSolutions/agent-brain --skill using-agent-brain

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires httpx, and includes scripts (resource) components.

What problem does it solve?

This Skill enables rapid multi-mode searching of indexed documents across BM25, vector, hybrid, graph, and multi-mode retrieval for knowledge discovery in codebases and documentation.

Core Features & Use Cases

  • BM25 keyword search for exact term hits in code, API references, and docs.
  • Vector semantic search to uncover concepts, relationships, and semantically related content.
  • Graph-based queries to explore function calls, imports, and dependencies within a codebase.
  • Hybrid and multi-mode fusion to maximize recall across diverse content types.
  • Use Case: quickly locate authentication references, trace dependencies, and surface related code paths across large repositories.

Quick Start

  • Ensure the Agent Brain server is running and the index contains your documents.
  • Run a query example: agent-brain query "how does authentication work" --mode hybrid --top-k 5.
  • If graph context is needed, try: agent-brain query "what calls this function" --mode graph --top-k 10.

Frequently Asked Questions about using-agent-brain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search documentation using BM25 and vector retrieval simultaneously?

To perform multi-mode document search, use the hybrid or multi mode to fuse BM25 keyword hits with vector semantic retrieval, maximizing recall across diverse content types in your indexed codebases and documentation.

Can I trace code dependencies and function calls across a large codebase?

Yes, you can trace code dependencies and function calls by running a graph-based query. Graph mode explores function calls, imports, and dependencies within a codebase to surface related code paths across large repositories.

Do I need a running Agent Brain server to search indexed documents?

Yes, multi-mode document search requires a running Agent Brain server with indexed documents and pluggable providers for embeddings and summarization to execute BM25, vector, hybrid, and graph queries.

What is the best way to locate authentication references in code and API docs?

The best way to locate authentication references is using BM25 keyword search for exact term hits in code and API references, or vector semantic search to uncover related concepts and relationships across the indexed documentation.

When should I use graph mode instead of vector search for code exploration?

Use graph mode instead of vector search when you need to explore structural relationships like function calls, imports, and dependencies within a codebase, rather than just uncovering semantically related content across documents.