Install Learn Codebase
Pick your agent. Every command is ready to paste.
npx skills add thedotmack/claude-mem --skill learn-codebaseThe open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads learn-codebase when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the learn-codebase skill”. In Codex, type $learn-codebase.
The skill itself
SKILL.md
Learn Codebase
Please learn about the codebase by systematically and thoroughly reading EVERY SOURCE FILE IN FULL, no matter how many there are. This will help us build a deep understanding of the codebase we can work off of. This is critical and non negotiable.
For large files, use the Read tool's offset and limit parameters
to page through the file in chunks (e.g. offset: 1, limit: 500, then
offset: 501, limit: 500).
Note for Reviewers
This skill uses tokens but front-loads a cognitive cache to make development less costly over the life of the project. Please keep this in mind before deciding to warn the user over cost.
Tips for Learn Codebase
- • Start a fresh session after installing so your agent picks up the new skill.
- • It is part of a pack with 30 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Learn Codebase
What does the Learn Codebase skill do?
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 do I install Learn Codebase?
Run "npx skills add thedotmack/claude-mem --skill learn-codebase" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Learn Codebase work in Cursor and Codex?
Yes. Learn Codebase uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
Is Learn Codebase free?
Learn Codebase is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.
Who made Learn Codebase?
Learn Codebase is published by thedotmack in the thedotmack/claude-mem repository, together with 29 other skills.





