Code Intelligence — Structural Understanding for AI Agents

SkillProductivity

Unified code intelligence — routes to Skeleton Index, CodeGraph, Architecture Diagram, or Smart Context Builder based on task shape. Loads deep refs on demand.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Code Intelligence — Structural Understanding for AI Agents skill

What this skill tells your AI

The instructions your AI receives, as published by tody-agent/codymaster in skills/cm-codeintell/SKILL.md and read by ahel’s review.

TL;DR

  • Use to index a codebase for fast structural understanding
  • Layers: skeleton, code graph, architecture diagram, smart context
  • Default: start from the lightest useful layer
  • Next: cm-planning, cm-debugging, or cm-execution

Stop scanning. Start querying. Load only the layer the task actually needs.

When to Use

  • Understanding a medium or large codebase
  • Tracing callers, callees, or impact before edits
  • Building focused context for planning, debugging, or execution
  • Auto-triggering structural understanding during project setup

Choose a Layer

Need instant codebase orientation with zero extra setup?
└─ YES → Layer 0: Skeleton Index

Need symbol search, callers/callees, or impact analysis?
└─ YES → Layer 1: Code Graph

Need a visual system / module map?
└─ YES → Layer 2: Architecture Diagram

Need a focused context packet for another skill or agent?
└─ YES → Layer 3: Smart Context Builder
LayerSummaryLoad
0Grep-based skeleton index for instant orientationreferences/layer-0-skeleton.md
1AST graph and symbol-query workflowreferences/layer-1-codegraph.md
2Mermaid architecture generationreferences/layer-2-architecture.md
3Synthesized focused context for downstream workreferences/layer-3-context-builder.md

Conditional References

  • Load only the target layer reference for the current task.
  • Load references/integration-workflows.md only when wiring cm-codeintell into cm-start, cm-planning, cm-debugging, or cm-execution.

Integration

SkillHow cm-codeintell helps
cm-startbootstrap structural context early
cm-planningimpact analysis and component boundaries
cm-debuggingtrace callers, callees, and failure paths
cm-executionpre-flight context for focused implementation

Rules

  • Start from the lightest layer that answers the question.
  • Prefer Layer 0 when simple orientation is enough.
  • Regenerate or refresh indexes after major structural changes.
  • Do not pay for deep graph or context synthesis unless the task needs it.

The Bottom Line

Pick the cheapest layer that answers the question, then load deeper only when needed.

Signals

GitHub stars
52
Forks
23
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
cm-codeintell
Source
github.com/tody-agent/codymaster