Mission Control Codebase Knowledge Graph
Purpose
Turn codebase understanding into a structured graph-like map that Mission Control can use for planning, onboarding, impact analysis, and handoffs.
The Codex chat agent is not the Mission Control Manager. It is the bridge between the user and the Mission Control Manager.
Use when
- The user asks to understand a repo.
- A large codebase needs mapping before changes.
- Planning needs dependencies, layers, or guided tour output.
Workflow
- Ask Mission Control to scan project files, languages, frameworks, entrypoints, and instructions.
- Request graph nodes for files, modules, classes, functions, commands, and domains where available.
- Request edges for imports, calls, ownership, tests, and runtime relationships.
- Summarize layers, hotspots, unknowns, and a guided reading order.
Mission Control calls
Tools:
mission_control_import_existing_codebase
mission_control_get_status
Resources:
mission-control://projects/{project_id}/codebase-map
mission-control://projects/{project_id}/swarm-plan
mission-control://projects/{project_id}/status
User-facing output
- Provide key nodes, relationships, layers, hotspots, and the next-best files to read.
Approval behavior
Ask before running expensive scans, indexing huge folders, or committing generated graph artifacts.
Never do
- Do not generate a graph that is pretty but useless.
- Do not include secrets or bulky generated files.
- Do not pretend inferred relationships are proven.
Failure and fallback
If graph generation is unavailable, use the existing codebase map and clearly label it as a map rather than a full graph.
Example invocation
Use Mission Control to build a knowledge graph for this repo and show me the guided tour.
1---2name: mission-control-codebase-knowledge-graph3description: Build or inspect a Mission Control codebase knowledge graph. Use for file/function/class maps, dependency relationships, architectural layers, guided tours, and searchable understanding.4---56# Mission Control Codebase Knowledge Graph78## Purpose910Turn codebase understanding into a structured graph-like map that Mission Control can use for planning, onboarding, impact analysis, and handoffs.1112The Codex chat agent is not the Mission Control Manager. It is the bridge between the user and the Mission Control Manager.1314## Use when1516- The user asks to understand a repo.17- A large codebase needs mapping before changes.18- Planning needs dependencies, layers, or guided tour output.1920## Workflow21221. Ask Mission Control to scan project files, languages, frameworks, entrypoints, and instructions.232. Request graph nodes for files, modules, classes, functions, commands, and domains where available.243. Request edges for imports, calls, ownership, tests, and runtime relationships.254. Summarize layers, hotspots, unknowns, and a guided reading order.2627## Mission Control calls2829Tools:30- `mission_control_import_existing_codebase`31- `mission_control_get_status`3233Resources:34- `mission-control://projects/{project_id}/codebase-map`35- `mission-control://projects/{project_id}/swarm-plan`36- `mission-control://projects/{project_id}/status`3738## User-facing output3940- Provide key nodes, relationships, layers, hotspots, and the next-best files to read.4142## Approval behavior4344Ask before running expensive scans, indexing huge folders, or committing generated graph artifacts.4546## Never do4748- Do not generate a graph that is pretty but useless.49- Do not include secrets or bulky generated files.50- Do not pretend inferred relationships are proven.5152## Failure and fallback5354If graph generation is unavailable, use the existing codebase map and clearly label it as a map rather than a full graph.5556## Example invocation5758`Use Mission Control to build a knowledge graph for this repo and show me the guided tour.`