onboard-codebase

onboard-codebase is a skill for Claude Code from panbanda/omen. It costs 35 tokens per session (844 once invoked), scanned A, original, Apache-2.0.

A codebase onboarding skill that creates a guide to a new software project. It maps files and important symbols, shows how modules depend on one another, finds code owners, and identifies complex areas.

In plain words
What is it for?
Use it when joining a project, onboarding teammates, or preparing documentation. It requires the Omen command-line tool to inspect structure, dependencies, ownership, and complexity.
Why use it?
It replaces a slow first pass through an unfamiliar repository with a structured overview of its architecture and key people.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the omen-development plugin — 13 skills shipped together

Good fit Use it when joining a project, onboarding teammates, or preparing documentation. It requires the Omen command-line tool to inspect structure, dependencies, ownership, and complexity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/panbanda/omen/onboard-codebase
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add panbanda/omen --skill onboard-codebase
Clone the repo
git clone --depth 1 https://github.com/panbanda/omen

Made for: Claude Code.

Or install omen-development, the plugin that ships this one along with the rest of its 13 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for onboard-codebase

README.md
[![agentmods](https://agentmods.dev/badge/skills/panbanda/omen/onboard-codebase/github.svg)](https://agentmods.dev/skills/panbanda/omen/onboard-codebase)
Your own site
<a href="https://agentmods.dev/skills/panbanda/omen/onboard-codebase"><img src="https://agentmods.dev/badge/skills/panbanda/omen/onboard-codebase/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for onboard-codebase

Your own site · 80×15
<a href="https://agentmods.dev/skills/panbanda/omen/onboard-codebase"><img src="https://agentmods.dev/badge/skills/panbanda/omen/onboard-codebase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 844 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00844
Opus 5.5 $0.00014 $0.00338
Sonnet 5.5 $0.00007 $0.00169
Haiku 4.5 $0.00003 $0.00084

Measured 20d ago against content hash 74c362e04cc4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

onboard-codebase scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/development/skills/onboard-codebase/SKILL.md · 145 lines

How it starts

The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Onboard Codebase

Make a complete onboarding guide for a new developer who joins the project. The guide identifies the key code, the architecture, and the people to talk to.

Prerequisites

The Omen CLI must be installed and available in PATH.

Workflow

Step 1: Get a Quick Code Map

Run the outline command for a token-cheap overview of the structure of each file:

omen -f json outline --compact --top 50

The command returns the imports, the classes with their methods, and the top-level functions. This is much cheaper than a read of the full source files.

Step 2: Identify the Key Symbols

Run the repomap analysis to find the most important code:

omen -f json repomap --compact --top 25

The symbols that PageRank ranks show what is central to the codebase.

Step 3: Map the Architecture

Run the dependency graph analysis to understand the structure:

omen -f json graph

The result shows how the codebase is organized and how the modules relate.

Step 4: Identify the Subject Matter Experts

Run the ownership analysis to find who knows what:

omen -f json ownership

The result shows who has expertise in each area of the code.

Step 5: Find the Complexity Hotspots

Run the complexity analysis to identify the difficult areas:

omen -f json complexity

Warn new developers about the complex areas.

Output Format

Make an onboarding guide in this format:

# Onboarding Guide: <Project Name>

## Quick Start
1. Clone the repo: `git clone ...`
2. Install dependencies: `...`
3. Run tests: `...`
4. Start dev server: `...`

## Architecture Overview

### Module Structure

src/ ├── core/ # Core business logic ├── api/ # HTTP handlers ├── storage/ # Database layer └── utils/ # Shared utilities


### Key Dependencies
- `core/` depends on `storage/`
- `api/` depends on `core/`
- `utils/` is shared by all

## Important Code to Understand

### Core Symbols (by importance)
1. `core.Engine` - Main processing engine, heart of the system
2. `api.Router` - HTTP routing and middleware
3. `storage.Repository` - Database abstraction
4. ...

### Entry Points
- `cmd/server/main.go` - Main server entry point
- `cmd/worker/main.go` - Background job processor

## Subject Matter Experts

| Area | Expert | Notes |
|------|--------|-------|
| Core engine | [email protected] | Original author |
| API layer | [email protected] | Recent maintainer |
| Storage | [email protected] | Database specialist |

## Areas to Be Careful With

### High Complexity
- `core/processor.go` - Cognitive complexity: 45
  - Talk to alice before modifying
  - Has many edge cases

- `api/middleware.go` - Cyclomatic complexity: 28
  - Authentication logic is tricky
  - Well-tested but fragile

### Knowledge Silos
- `legacy/importer.go` - Only one contributor
  - Documentation is sparse
  - Ask alice for context

## First Tasks Suggestions

Good starter tasks to learn the codebase:
1. Add a new API endpoint (learn api/ patterns)
2. Write tests for an untested function (learn testing patterns)
3. Fix a documentation issue (explore while reading)
4. Address a simple TODO/FIXME (learn code style)

## Resources

- Design docs: `docs/design/`
- API docs: `docs/api/`
- Team wiki: <link>

Read the full file on GitHub · 145 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago Changed 74c362e04cc4
  2. 3mo ago First seen · 145 lines · 35 tokens per session scan A eb310555e721

Subscribe to this mod's changes

onboard-codebase is a skill published in the GitHub repository panbanda/omen (25 stars, last pushed 2d ago), licensed Apache-2.0. It adds 35 tokens to every session and 844 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

onboard-codebase compared with skills from other repositories

onboard-codebase next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
onboard-codebasepanbanda/omenSkill252d agoApache-2.0A35Claude Code
find-docsupstash/context7Skill66ktodayMITA172Claude Code, Codex
context7-docsupstash/context7Skill66ktodayMITA157Claude Code, Codex
context7-cliupstash/context7Skill66ktodayMITA53Claude Code, Codex
context7-mcpupstash/context7Skill66ktodayMITA58Claude Code, Codex
openlore-plan-refactorclay-good/OpenLoreSkill372todayMITA46Claude Code, Codex
openlore-brainstormclay-good/OpenLoreSkill372todayMITA40Claude Code, Codex