learn-codebase
Agent skill fromthedotmack/claude-mem
Prime a codebase by reading every source file in full. Use when starting work on a new or unfamiliar project, or when the user asks to "learn the codebase", "read the codebase", "prime", or "get up to speed".
How to install learn-codebase
install learn-codebase
# install the claude-mem pack with the skills CLI
npx skills add thedotmack/claude-mem# or add only this skill to Claude Code: copy the folder
plugin/skills/learn-codebase/
# into
~/.claude/skills/learn-codebase/ (all projects)
.claude/skills/learn-codebase/ (one project)
1# Learn Codebase23Please learn about the codebase by systematically and thoroughly reading4EVERY SOURCE FILE IN FULL, no matter how many there are. This will help us5build a deep understanding of the codebase we can work off of. This is6critical and non negotiable.78For large files, use the `Read` tool's `offset` and `limit` parameters9to page through the file in chunks (e.g. `offset: 1, limit: 500`, then10`offset: 501, limit: 500`).1112## Note for Reviewers1314This skill uses tokens but front-loads a cognitive cache to make development15less costly over the life of the project. Please keep this in mind before16deciding to warn the user over cost.
Excerpt shown under the repository's Apache-2.0 license.
