# learn-codebase

> Claude/Codex skill by [@thedotmack](https://omgskills.com/library/thedotmack/index.md) · 89k stars · Updated 2026-08-02

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".

Tags: ai, ai-agents, ai-memory, anthropic, artificial-intelligence, chromadb, claude, claude-agent-sdk, claude-agents, claude-code, claude-code-plugin, claude-skills, embeddings, long-term-memory, mem0, memory-engine, openmemory, rag, sqlite, supermemory

## Install

```sh
git clone https://github.com/thedotmack/claude-mem /tmp/claude-mem && ln -s /tmp/claude-mem/plugin/skills/learn-codebase ~/.claude/skills/learn-codebase
```

## From README

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.

## Links

- HTML page: https://omgskills.com/library/thedotmack/claude-mem/plugin/skills/learn-codebase/
- GitHub: https://github.com/thedotmack/claude-mem
- Author: [@thedotmack](https://omgskills.com/library/thedotmack/index.md)

## More from this repo

- [do](https://omgskills.com/library/thedotmack/claude-mem/plugin/skills/do/index.md) — Execute a phased implementation plan using subagents.
   - [@thedotmack](https://omgskills.com/library/thedotmack/index.md) · 117k stars
- [cloud-sync](https://omgskills.com/library/thedotmack/claude-mem/plugin/skills/cloud-sync/index.md) — Set up or check claude-mem cloud sync with cmem.ai Pro.
   - [@thedotmack](https://omgskills.com/library/thedotmack/index.md) · 104k stars
- [how-it-works](https://omgskills.com/library/thedotmack/claude-mem/plugin/skills/how-it-works/index.md) — Explain how claude-mem captures observations, when memory injection kicks in, and where data lives.
   - [@thedotmack](https://omgskills.com/library/thedotmack/index.md) · 104k stars
