thedotmack/claude-mem

learn-codebase

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

4.5K installs 93K starsUpdated Sep 3, 2026License: Apache-2.0

Install

npx skills add thedotmack/claude-mem@learn-codebase

Runs in your terminal. Adds the skill globally for Claude Code, Cursor, Codex and others; add -g -y to skip prompts.

What it does

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…

Excerpt from the skill's own SKILL.md. Read the full file on GitHub before installing: skills run with your agent's permissions.

View source on GitHub

Before you install

Skills are plain text instructions the agent follows, sometimes with scripts. Check the source, prefer repositories with many installs and stars, and read any script it ships.

Related skills

  • mem-search

    thedotmack/claude-mem

    >-

    7.9K installs 93KAI & agentsProductivity
  • smart-explore

    thedotmack/claude-mem

    Token-optimized structural code search using tree-sitter AST parsing. Use instead of reading full files when you need to understand code structure, find functions, or explore a codebase efficiently.

    6.5K installs 93KAI & agents
  • make-plan

    thedotmack/claude-mem

    ../../../plugin/skills/make-plan/SKILL.md

    6.4K installs 93K
  • do

    thedotmack/claude-mem

    ../../../plugin/skills/do/SKILL.md

    6.3K installs 93K
  • timeline-report

    thedotmack/claude-mem

    Generate a "Journey Into [Project]" narrative report analyzing a project's entire development history from claude-mem's timeline. Use when asked for a timeline report, project history analysis, development journey, or full project report.

    6.0K installs 93KAI & agents
  • knowledge-agent

    thedotmack/claude-mem

    Build and query AI-powered knowledge bases from claude-mem observations. Use when users want to create focused "brains" from their observation history, ask questions about past work patterns, or compile expertise on specific topics.

    5.0K installs 93KAI & agentsProductivity

Search skills

/skills/thedotmack/claude-mem/learn-codebase/