# Codebase onboarding

> Codebase onboarding is an open-source agent skill for developer tools. Maps an unfamiliar codebase and drafts an onboarding guide and starter CLAUDE.md. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/smartworldarafath/REA_Skill/tree/main/.agents/skills/codebase-onboarding
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** codebase-onboarding
- **Collection:** https://github.com/smartworldarafath/REA_Skill
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill walks the agent through a structured survey of a repository it has not seen before. It starts with cheap reconnaissance: detecting package manifests, framework config files, entry points, a shallow directory snapshot, lint and CI tooling, and test layout, using search rather than reading every file. From those signals the agent works out the tech stack, architecture pattern, key directories and how a single request flows from entry point to database.

The workflow then looks for conventions the code already follows, covering file and test naming, error handling, async style and, when history is deep enough, branch, commit and pull request habits. It is meant to produce two artifacts: a scannable onboarding guide with tables of stack, entry points and common commands, and a concise project CLAUDE.md. If a CLAUDE.md already exists, the skill directs the agent to read it first and extend it while marking what changed.

No scripts are bundled; the skill relies on the agent's own file search and reading tools. It is written for Claude Code, and it assumes a local checkout of the project to analyze.

## When your agent uses it

> Analyze an unfamiliar codebase and generate a structured onboarding guide with architecture map, key entry points, conventions, and a starter CLAUDE.md. Use when joining a new project or setting up Claude Code for the first time in a repo.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/codebase-onboarding)
- [License: MIT](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/codebase-onboarding)

## Features

- **Reconnaissance sweep:** Detects manifests, framework configs, entry points, CI files and test setup using targeted searches.
- **Architecture mapping:** Identifies the tech stack, architecture style, key directories and request data flow.
- **Convention detection:** Notes naming, error handling, async patterns and git habits the codebase already follows.
- **Onboarding guide output:** Produces a structured guide with stack tables, entry points, common commands and a where-to-look table.
- **Starter CLAUDE.md:** Drafts a concise project instructions file, or extends an existing one and flags the additions.

## Good for

- Onboard me to this repository before my first change
- Generate a CLAUDE.md for a project that has none
- Update CLAUDE.md with the conventions the code currently follows
- Explain how a request moves through this codebase
- Set up Claude Code for the first time in an existing repo

## Install

### Claude Code

This skill ships in the `rea-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath
```

Or copy only this skill to `~/.claude/skills/codebase-onboarding`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/codebase-onboarding &&
cp -R "$tmp/.agents/skills/codebase-onboarding" ~/.claude/skills/codebase-onboarding &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/codebase-onboarding` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/codebase-onboarding` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/codebase-onboarding &&
cp -R "$tmp/.agents/skills/codebase-onboarding" ~/.agents/skills/codebase-onboarding &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/codebase-onboarding` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/codebase-onboarding` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/codebase-onboarding &&
cp -R "$tmp/.agents/skills/codebase-onboarding" ~/.cursor/skills/codebase-onboarding &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/codebase-onboarding` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/codebase-onboarding
```

Or copy the folder to `~/.gemini/skills/codebase-onboarding` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/codebase-onboarding`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/codebase-onboarding &&
cp -R "$tmp/.agents/skills/codebase-onboarding" ~/.copilot/skills/codebase-onboarding &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/codebase-onboarding` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git
```

Then copy `REA_Skill/.agents/skills/codebase-onboarding` into your agent's skills folder as `codebase-onboarding`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill create?

An onboarding guide covering stack, architecture, entry points, conventions and common tasks, plus a starter CLAUDE.md written to the project root.

### What happens if a CLAUDE.md already exists?

The skill reads the existing file first, keeps project-specific instructions and marks what it added or changed.

### Does Codebase onboarding run any scripts?

No. The skill bundles no scripts and works through the agent's search and file reading.

### What if the git history is shallow?

The skill skips git convention detection and notes that history was unavailable or too shallow.

### How do I install Codebase onboarding in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/codebase-onboarding to use it in all your projects, or to .claude/skills/codebase-onboarding in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

### Does Codebase onboarding run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Codebase onboarding?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Codebase onboarding?

The closest alternatives to Codebase onboarding are How, Acquire codebase knowledge, Setup repo skills, Agent hub init and Repo recon.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [How](https://ai-powered.com/skills/how): How is an open-source agent skill for developer tools.
- [Acquire codebase knowledge](https://ai-powered.com/skills/acquire-codebase-knowledge): Acquire codebase knowledge is an open-source agent skill for developer tools.
- [Setup repo skills](https://ai-powered.com/skills/setup-repo-skills): Setup repo skills is an open-source agent skill for developer tools.
- [Agent hub init](https://ai-powered.com/skills/agent-hub-init): Agent hub init is an open-source agent skill for developer tools.
- [Repo recon](https://ai-powered.com/skills/repo-recon): Repo recon is an open-source agent skill for developer tools.
- [Agentic os](https://ai-powered.com/skills/agentic-os-smartworldarafath): Agentic os is an open-source agent skill for developer tools.
- [Conventions claude](https://ai-powered.com/skills/conventions-claude-xiaolai): Conventions claude is an open-source agent skill for ai models and llm tooling.
- [Agents md](https://ai-powered.com/skills/agents-md): Agents md is an open-source agent skill for files and documents.

---
Source: https://ai-powered.com/skills/codebase-onboarding
