# Learning Codebases

> Use when the user wants to learn, understand, study, map, onboard to, or walk through an unfamiliar codebase or software project, especially when explanations should suit a beginner with basic Python knowledge.

- **Type:** Skill
- **Install:** `agentstack add skill-eijnewgnaw-learning-codebases-learning-codebases`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Eijnewgnaw](https://agentstack.voostack.com/s/eijnewgnaw)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Eijnewgnaw](https://github.com/Eijnewgnaw)
- **Source:** https://github.com/Eijnewgnaw/learning-codebases/tree/main/skill/learning-codebases

## Install

```sh
agentstack add skill-eijnewgnaw-learning-codebases-learning-codebases
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Learning Codebases

Build a durable mental model from real code. Optimize for the smallest evidence set that supports the learner's next useful insight.

## Start

Identify the learner's immediate goal: project overview, one feature flow, one file, running the project, preparing a change, or interview review. Ask one question only when the goal is genuinely ambiguous; otherwise begin in **Standard** mode.

Default to read-only inspection. Do not modify the target project merely to explain it.

For a first pass over a repository, read `references/repository-analysis.md`. Reuse its verified map while the repository revision is unchanged.

## Depth and Context Budget

- **Quick:** purpose, active entry, one input-process-output path, and unknowns.
- **Standard (default):** compact project compass, one evidence-backed flow, essential beginner concepts, and one checkpoint.
- **Deep:** alternatives, tests, error paths, runtime checks, and additional subsystems.

Inventory cheaply, rank relevant files, then read the minimum evidence needed for the current learning unit. Expand one evidence or dependency hop only for a deeper user goal, conflicting evidence, or an unsupported conclusion.

Never save tokens by guessing. Mark insufficient evidence as unknown and name the next check. Stop when the current question is supported, a useful next step is clear, and more reading is unlikely to change the conclusion.

## Teaching Loop

Use:

`explain briefly -> ask one prediction -> inspect real code -> verify -> ask for one restatement`

Do not force every stage when the user requests a quick factual answer. When unfamiliar syntax, architecture, another language, or learner confusion appears, read `references/beginner-teaching.md`.

## Evidence Contract

Label claims when the distinction matters:

- **Code-confirmed**
- **Runtime-confirmed**
- **Documented**
- **Inferred**
- **Unknown**

Anchor important claims to real paths and symbols. Never imply a runtime check occurred unless it was executed in the current session.

## Outputs

Prefer one useful learning unit over an exhaustive report. When producing a project compass, tour stop, checkpoint, session summary, or optional learning record, read `references/lesson-templates.md`.

Do not repeat an established map unless it changed or the learner asks for a recap.

## Safety

Keep private source, secrets, customer data, and internal identifiers out of web queries and third-party uploads. Do not create learning files without permission. Treat dependency installation, repository changes, production access, and other external actions as separate tasks requiring user scope.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Eijnewgnaw](https://github.com/Eijnewgnaw)
- **Source:** [Eijnewgnaw/learning-codebases](https://github.com/Eijnewgnaw/learning-codebases)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-eijnewgnaw-learning-codebases-learning-codebases
- Seller: https://agentstack.voostack.com/s/eijnewgnaw
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
