Guide · Agent skill
How to use the Codebase Onboarding Guide agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The codebase-onboarding skill is an agent skill that makes Claude Code scan an unfamiliar project and write a structured onboarding guide for it. It is aimed at developers joining a new team or inheriting a repository, and at anyone setting up Claude Code in an existing project for the first time. After following this guide you will know how to install the skill, how to ask for it in plain language, and what the output contains.
Quick start
- 1Download the skill. Download the ZIP for codebase-onboarding from this page.
- 2Unzip into the right folder. Unzip into ~/.claude/skills/ for personal use, or into the project's .claude/skills/ for a single repository.
- 3Or upload it in the Claude apps. Go to Settings → Capabilities → Skills and upload the skill.
- 4Open the project. Open the repository in Claude Code from its root folder.
- 5Make a natural request. Ask something like 'Help me understand this codebase' or 'Generate a CLAUDE.md for this project'.
- 6Review the output. Check the architecture map, entry points and conventions against the actual files.
- 7Save the starter CLAUDE.md. Edit the generated CLAUDE.md and keep it in the repository for future sessions.
What is an agent skill and what does this one do?
An agent skill is a folder containing a SKILL.md file that gives an AI agent specific instructions for a task. This skill is written in Japanese and, when triggered, tells the agent to analyse a codebase it does not know yet.
The agent first gathers raw signals without reading every file. It checks package manifests (such as package.json, go.mod, Cargo.toml, pyproject.toml and pom.xml), framework config files (such as next.config, nuxt.config, angular.json and vite.config), entry points (main.*, index.*, app.*, server.*), the top two levels of the directory tree, lint and build config (such as .eslintrc, .prettierrc, tsconfig.json and Dockerfile), and test structure (such as tests/, __tests__/, *.spec.ts and jest.config.*).
It then identifies the main modules and how they relate, and notes coding conventions and naming patterns.
The output is an architecture map, the main entry points and flow, a conventions and style guide, and a starter CLAUDE.md file that tells future Claude Code sessions how the project works.
How do you install the codebase-onboarding skill?
The skill ships as a single file, SKILL.md. Download the ZIP from the skill's page on this site and unzip it into one of the following locations, depending on whether you want the skill for yourself or for one project.
You can also upload the skill in the Claude apps under Settings → Capabilities → Skills.
- Personal use across projects: unzip into ~/.claude/skills/
- Single project: unzip into the project's .claude/skills/ folder, so teammates who clone the repo get it too
- Claude apps: Settings → Capabilities → Skills, then upload the skill
How do you trigger the skill with a natural request?
You do not need a special command. The skill is meant to run when you ask for something that matches its purpose. The source lists these situations: opening a project in Claude Code for the first time, joining a new team or repository, asking the agent to help you understand a codebase, asking it to generate a project's CLAUDE.md, and saying 'onboard' or 'describe this repo'.
Be specific about the outcome you want. Asking for a CLAUDE.md or an onboarding guide makes the output format clear.
- Help me understand this codebase.
- Generate a CLAUDE.md for this project.
- Onboard me to this repo.
- Describe this repo so I can start contributing.
What should you expect from the output?
The result is a structured document with four parts. The architecture map shows the main modules and their relationships. The entry points and flow section shows where execution starts and how it moves through the code. The conventions and style section lists coding rules and project-specific patterns. The starter CLAUDE.md is a file you can review, edit and keep in the repository so future Claude Code sessions start with context.
Treat the output as a first draft. The skill infers everything from the code, so it can be wrong or incomplete. Check the claims against the actual files before relying on them.
- Architecture map
- Main entry points and flow
- Conventions and style guide
- Starter CLAUDE.md
What does the skill need, and what are the safety notes?
The skill requires Claude Code or another SKILL.md-compatible agent with read access to the repository. It does not run scripts and does not use the network, according to its listing. It only reads project files.
Because it only reads, it is low risk in that sense. Still, review any CLAUDE.md it writes before committing it, since that file will steer future agent sessions.
- Requires: Claude Code or another SKILL.md-compatible agent with read access to the repository
- Runs scripts: no
- Uses network: no
Which projects is this skill not suited for?
The skill reads only the top-level structure and key files. In very large monorepos, a shallow scan can miss important modules. The output is inferred from code, not verified documentation, so projects that need accurate, up-to-date docs should not rely on it alone.
- Very large monorepos where important modules sit below the top two directory levels
- Projects that need verified, up-to-date documentation
Tips for better results
Run the skill from the root of the repository so the top-level structure is visible. Ask for the starter CLAUDE.md explicitly if you only want that file. Compare the entry points it reports with the real ones before trusting the flow description.
- Start from the repository root.
- Ask for specific outputs such as the CLAUDE.md.
- Verify the entry points and conventions against the code.
- Edit the generated CLAUDE.md to add rules the code does not show.
What people use it for
- Understanding a repository you have just inherited from another team
- Setting up Claude Code in an existing project for the first time
- Generating a starter CLAUDE.md from the existing code so future sessions start with project context
- Getting a quick map of entry points and directory layout before making changes
Frequently asked questions
How do I install the codebase-onboarding skill?
Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use or into a project's .claude/skills/ folder. You can also upload it in the Claude apps under Settings → Capabilities → Skills.
What do I need to run it?
You need Claude Code or another SKILL.md-compatible agent with read access to the repository. The skill does not run scripts and does not use the network.
Is the codebase-onboarding skill free?
The item is listed under the MIT licence. Check the source repository for the licence terms that apply to your use.
Does it work on large monorepos?
It is not recommended for very large monorepos. It reads only the top two directory levels and key files, so it can miss important modules.
Can I trust the generated CLAUDE.md?
Treat it as a first draft. The output is inferred from the code and may be wrong or incomplete, so check it against the files and edit it before committing.
Is this skill in English or Japanese?
The skill itself is written in Japanese. Its instructions and the output it produces are based on that Japanese SKILL.md.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Use this skill if you are joining a team, inheriting a repository, or setting up Claude Code in an existing project for the first time and want a quick structured map plus a starter CLAUDE.md. Pick something else if you work in a very large monorepo or need verified, up-to-date documentation, since the skill only does a shallow inferred scan.
Download the skill