mma-investigate

Delegate codebase read/grep investigations to a worker and return structured reports.

5|4|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/zhixuan312/multi-model-agent --skill mma-investigate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mma-investigate
Source: https://github.com/zhixuan312/multi-model-agent/tree/main/packages/server/src/skills/mma-investigate
Command: npx skills add https://github.com/zhixuan312/multi-model-agent --skill mma-investigate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delegates codebase questions to a cheap worker to preserve main-context tokens.

Core Features & Use Cases

  • Read-only investigation: read/grep the repository to synthesize an answer without bloating the main context.
  • Anchored searches: target specific paths to keep searches scoped and token-efficient.
  • Contextual reporting: produce structured context blocks for downstream planning and execution.

Quick Start

Ask a codebase question and let mma-investigate read and synthesize the answer from the worker.

Frequently Asked Questions about mma-investigate

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

FAQPage Schema
How do I investigate a large codebase without consuming my main context window?

To investigate a codebase without consuming main context tokens, delegate read, grep, and synthesis tasks to a cheap worker. This preserves your main context by returning a structured investigation report instead of raw file contents.

What is the best way to find where a function is called across multiple modules?

The best way to find where a function is called across modules is delegating a scoped grep search to a worker. Anchoring the search to a specific target path keeps the query token-efficient and returns a synthesized report of the call sites.

Can I scope a codebase search to a specific directory to reduce token usage?

Yes, you can scope codebase searches to a specific directory. By applying an anchored target path to your read and grep operations, the worker keeps searches constrained and token-efficient, returning only relevant contextual blocks.

Does the codebase investigation worker support write operations or modifications?

No, the codebase investigation worker does not support write operations. It uses a constrained, read-only workflow designed to safely read files and grep across modules to synthesize answers without modifying the repository.

When do I need to delegate codebase questions to a worker instead of reading files directly?

You need to delegate codebase questions to a worker when answering them requires reading multiple files or grepping across modules. This prevents bloating your main context and returns a structured context block for downstream planning.