Skip to content
Automation
Skill

/codebase-mapping

Automatic codebase indexing for invisible context injection. Catalogs project structure, file types, entry points, dependencies, and test layout.

From plugin
babysitter
1.8k200 skills3 agents21 commands1 MCP
Install
$ npx -y skills add a5c-ai/babysitter --skill codebase-mapping --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/codebase-mapping

Context preview

The summary Claude sees to decide when to auto-load this skill.

Automatic codebase indexing for invisible context injection. Catalogs project structure, file types, entry points, dependencies, and test layout.

SKILL.md

codebase-mapping.SKILL.md
name: codebase-mapping
description: Automatic codebase indexing for invisible context injection. Catalogs project structure, file types, entry points, dependencies, and test layout.
allowed-tools: Read, Bash, Grep, Glob
graph:
  domains: [domain:software-engineering]
  skillAreas: [skill-area:agentic-loops, skill-area:orchestration-loop]
  workflows: [workflow:feature-development]
  topics: [topic:developer-experience]
  roles: [role:tech-lead, role:backend-engineer]
  • Directory tree with depth-limited enumeration
  • Key file identification (entry points, configs, lock files)

File Type Distribution

  • Language breakdown (TypeScript, JavaScript, Python, etc.)
  • Framework detection (React, Next.js, Express, etc.)

Entry Points

  • Main entry files (index, main, app)
  • CLI entry points
  • API route definitions

Module Dependencies

  • Import graph analysis
  • Package boundary mapping
  • Circular dependency detection

Test Layout

  • Test directory structure
  • Test file patterns and conventions
  • Test framework identification

Context Injection

The codebase map is injected as invisible context during UserPromptSubmit, providing:

  • Project type and framework awareness
  • Convention awareness for code generation
  • Dependency awareness for import suggestions
  • Test pattern awareness for test generation

When to Use

  • Automatically at ClaudeKit session start
  • When project structure changes significantly
  • Before research or specification tasks

Processes Used By

  • `claudekit-orchestrator` (session initialization)
  • `claudekit-research` (context for research agents)
  • `claudekit-spec-workflow` (context for spec creation)
Read more
Ships withbabysitter

Enforce obedience on agentic workforces. Manage extremely complex workflows through deterministic, hallucination-free self-orchestration.

Get the whole plugin

Other skills on babysitter.