investigate

Route code investigation queries to specialized detective agents by keyword analysis.

7|4|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/MadAppGang/magus --skill investigate-madappgang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: investigate
Source: https://github.com/MadAppGang/magus/tree/main/plugins/code-analysis/skills/investigate
Command: npx skills add https://github.com/MadAppGang/magus --skill investigate-madappgang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines code investigation by intelligently routing your queries to the most appropriate specialized detective agent, ensuring efficient problem-solving.

Core Features & Use Cases

  • Keyword-based Routing: Automatically directs queries to debugger-detective, tester-detective, architect-detective, or developer-detective based on keywords.
  • Prioritized Analysis: Handles complex queries with multiple keywords by prioritizing bug fixes, then testing, then architecture, and finally general implementation.
  • Use Case: When you encounter an error, simply ask "Why is the user profile loading failing?" and the skill will automatically route to the debugger-detective for focused analysis.

Quick Start

Use the investigate skill to find out why the payment processing is broken.

Frequently Asked Questions about investigate

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

FAQPage Schema
How does keyword-based routing work for code investigation queries?

Keyword-based routing analyzes your code investigation queries and directs them to specialized detective agents based on the specific terms used, ensuring focused and efficient problem resolution.

How do I route a debugging query to the right AI agent automatically?

To route a debugging query automatically, simply ask your question using relevant keywords like 'error' or 'failing'. The investigate skill prioritizes bug fixes and directs the query to the debugger-detective agent.

When do I need automated routing for software architecture inquiries?

You need automated routing for software architecture inquiries when dealing with complex queries involving multiple keywords. The system prioritizes critical issues first, then tests, architecture, and finally general implementation.

Does the code investigation router support testing and implementation questions?

Yes, the code investigation router supports testing and implementation questions by analyzing keywords and routing them to the tester-detective or developer-detective agents for specialized analysis.

What is the best way to handle code investigation queries with multiple overlapping keywords?

The best way to handle code investigation queries with multiple overlapping keywords is using automated routing. It prioritizes bug fixes first, then testing, architecture, and general implementation to select the most relevant detective agent.

Why does my code investigation query route to the debugger-detective instead of the architect-detective?

Your code investigation query routes to the debugger-detective because the routing mechanism prioritizes critical issues. Bug fixes take precedence over testing, architecture, and general implementation inquiries when multiple keywords are present.