Codebase Mapping
Developmentcodebase-mappingCodebase Mapping is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Automatic codebase indexing for invisible context injection. Catalogs project structure, file types, entry points, dependencies, and test layout.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/methodologies/claudekit/skills/codebase-mapping/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/codebase-mapping, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
- 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)