LogoClawIndex
CasesSkillsAbout
LogoClawIndex

code-context-map - Generate an AI-readable code context map

Generates and re-syncs a ranked, token-budgeted Markdown map of project files, imports, signatures, invoke edges, and typed boundary calls.

Tags

Updated: 2026-11-09
code discoveryrepository mappingimport analysisstructural orientationAI contextdeveloper tooling

Capabilities

Generate ranked context mapsExtract import relationshipsExtract code signaturesTrace invoke edges

Typical Inputs

Target codebase pathMapping scopeChain direction

Typical Outputs

.code-context-map/MAP.md.code-context-map/MAP.htmlCommand transcript

What this skill does

  • Generate ranked context maps
  • Extract import relationships
  • Extract code signatures
  • Trace invoke edges
  • Map typed boundary calls
  • Walk file import chains
  • Render Mermaid diagrams
  • Emit interactive HTML maps

Inputs

  • Target codebase path
  • Mapping scope
  • Chain direction
  • Maximum hop count
  • Layer 2 token budget
  • Ranking keywords
  • Language hint
  • Refresh flag
  • Secret-scan override
  • Diagram options
  • Sequence flow
  • Exemplar snippets option
  • HTML output option

Outputs

  • .code-context-map/MAP.md
  • .code-context-map/MAP.html
  • Command transcript
  • Handoff message
  • NO_OP status

Requirements

  • Read access to the target codebase
  • Write access to the target codebase
  • Ripgrep availability
  • Workflow operating system documents
  • Existing parser when parser extraction is used

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.