/understand-coremind
Query the CoreMind knowledge graph with governance-aware context. This skill understands the GAOS architecture, agent hierarchy, and 10-stage pipeline.
Instructions
- Load the knowledge graph from
CoreMind/.understand-anything/knowledge-graph.json
- Parse the query from
$ARGUMENTS and determine query type:
Query Types
Architecture queries ("how does X work", "what is the pipeline", "explain governance"):
- Map the query to relevant layers and nodes in the graph
- Explain using the orchestrator governance model:
- 10-stage pipeline: IntentParser -> PolicyGate -> GoalLedger -> Planner -> DelegationEngine -> AgentCoordinator -> ReflectionLoop -> OutcomeTracker -> WorldState
- 4-tier governance: ALLOW (auto-approve) / REVIEW (human check) / ESCALATE (multi-agent review) / BLOCK (deny)
- 5-layer safety stack: Input sanitization -> Policy gate -> Execution sandbox -> Output validation -> Recovery
Agent queries ("which agents handle X", "what does the CEO agent do"):
- Search the Agent Framework layer (236 nodes)
- Map agent hierarchy: L0 System Core -> L1 Executives (CEO/CTO/CFO/CMO/COO) -> L2+ Specialists
- Include agent capabilities, tools, and delegation patterns
Module queries ("what does the API layer do", "how does knowledge store work"):
- Search the relevant architecture layer
- Include: module purpose, file count, key components, dependencies (from module edges)
- Cross-reference with Memory MCP entities:
mcp__memory__search_nodes("CoreMind:Module:{name}")
Impact queries ("what would break if I change X", "dependencies of core_mind"):
- Find the target node in the graph
- Traverse 1-hop edges (imports, calls, inherits, depends_on)
- Identify cross-layer impact
- Rate risk: LOW (same layer) / MEDIUM (adjacent layers) / HIGH (3+ layers affected)
Tour queries ("give me the tour", "where do I start"):
- Return the 15-step guided tour from the knowledge graph
- Each step: title, node, description, why it matters
CoreMind Architecture Layers (8)
| Layer |
Nodes |
Key Components |
| Orchestration Core |
276 |
CoreMind, Planner, PolicyGate, IntentParser, GoalLedger, DelegationEngine |
| Agent Framework |
236 |
BaseAgent, executives (CEO/CTO/CFO/CMO/COO), tools, capabilities |
| Integration Layer |
454 |
FastAPI routes, middleware, connectors, interfaces, billing |
| Governance & Safety |
146 |
GAOS (5-layer safety), security (RBAC, JWT, hash chain, audit) |
| Knowledge & Learning |
127 |
RAG pipeline, knowledge store, evaluation benchmarks |
| Data & Persistence |
181 |
SQLAlchemy models (15 entity types), repositories |
| Presentation |
436 |
Next.js frontend, 5 product surfaces (Forge, Helios, Nova, Command, Studio) |
| Cross-Cutting |
55 |
LLM providers (OpenAI, Anthropic, Ollama, Kimi), model router |
Response Format
Always include:
- Direct answer to the query
- Graph context: which nodes/layers are relevant
- Governance implications: does this touch governance/safety layers?
- Suggestion: related areas to explore or commands to run (
/understand-explain, /understand-chat)
1---2name: understand-coremind3description: CoreMind specific knowledge graph queries with governance-aware layer mapping and agent hierarchy understanding4---56# /understand-coremind78Query the CoreMind knowledge graph with governance-aware context. This skill understands the GAOS architecture, agent hierarchy, and 10-stage pipeline.910## Instructions11121. **Load the knowledge graph** from `CoreMind/.understand-anything/knowledge-graph.json`132. **Parse the query** from `$ARGUMENTS` and determine query type:1415### Query Types1617**Architecture queries** ("how does X work", "what is the pipeline", "explain governance"):18- Map the query to relevant layers and nodes in the graph19- Explain using the orchestrator governance model:20 - **10-stage pipeline**: IntentParser -> PolicyGate -> GoalLedger -> Planner -> DelegationEngine -> AgentCoordinator -> ReflectionLoop -> OutcomeTracker -> WorldState21 - **4-tier governance**: ALLOW (auto-approve) / REVIEW (human check) / ESCALATE (multi-agent review) / BLOCK (deny)22 - **5-layer safety stack**: Input sanitization -> Policy gate -> Execution sandbox -> Output validation -> Recovery2324**Agent queries** ("which agents handle X", "what does the CEO agent do"):25- Search the Agent Framework layer (236 nodes)26- Map agent hierarchy: L0 System Core -> L1 Executives (CEO/CTO/CFO/CMO/COO) -> L2+ Specialists27- Include agent capabilities, tools, and delegation patterns2829**Module queries** ("what does the API layer do", "how does knowledge store work"):30- Search the relevant architecture layer31- Include: module purpose, file count, key components, dependencies (from module edges)32- Cross-reference with Memory MCP entities: `mcp__memory__search_nodes("CoreMind:Module:{name}")`3334**Impact queries** ("what would break if I change X", "dependencies of core_mind"):35- Find the target node in the graph36- Traverse 1-hop edges (imports, calls, inherits, depends_on)37- Identify cross-layer impact38- Rate risk: LOW (same layer) / MEDIUM (adjacent layers) / HIGH (3+ layers affected)3940**Tour queries** ("give me the tour", "where do I start"):41- Return the 15-step guided tour from the knowledge graph42- Each step: title, node, description, why it matters4344## CoreMind Architecture Layers (8)4546| Layer | Nodes | Key Components |47|-------|-------|----------------|48| Orchestration Core | 276 | CoreMind, Planner, PolicyGate, IntentParser, GoalLedger, DelegationEngine |49| Agent Framework | 236 | BaseAgent, executives (CEO/CTO/CFO/CMO/COO), tools, capabilities |50| Integration Layer | 454 | FastAPI routes, middleware, connectors, interfaces, billing |51| Governance & Safety | 146 | GAOS (5-layer safety), security (RBAC, JWT, hash chain, audit) |52| Knowledge & Learning | 127 | RAG pipeline, knowledge store, evaluation benchmarks |53| Data & Persistence | 181 | SQLAlchemy models (15 entity types), repositories |54| Presentation | 436 | Next.js frontend, 5 product surfaces (Forge, Helios, Nova, Command, Studio) |55| Cross-Cutting | 55 | LLM providers (OpenAI, Anthropic, Ollama, Kimi), model router |5657## Response Format5859Always include:601. **Direct answer** to the query612. **Graph context**: which nodes/layers are relevant623. **Governance implications**: does this touch governance/safety layers?634. **Suggestion**: related areas to explore or commands to run (`/understand-explain`, `/understand-chat`)