onboard-repo

onboard-repo is a skill for Claude Code from n24q02m/claude-plugins. It costs 38 tokens per session (1,565 once invoked), scanned A, a copy of onboard-repo, Apache-2.0.

A repository-orientation tool that indexes an unfamiliar codebase into a searchable knowledge graph and creates a map of its important parts.

In plain words
What is it for?
Use it when first opening a repository to identify entry points, heavily depended-on modules, risk hotspots, and the structure of its tests without modifying source code.
Why use it?
It gives an agent an initial understanding of a new project before answering questions or making changes, including where code starts, what modules are widely used, and where tests are located.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the crg plugin — 6 skills, 3 hooks shipped together

Good fit Use it when first opening a repository to identify entry points, heavily depended-on modules, risk hotspots, and the structure of its tests without modifying source code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/n24q02m/claude-plugins/onboard-repo
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 n24q02m/claude-plugins --skill onboard-repo
Clone the repo
git clone --depth 1 https://github.com/n24q02m/claude-plugins

Made for: Claude Code.

Or install crg, the plugin that ships this one along with the rest of its 6 skills, 3 hooks.

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-repo

README.md
[![agentmods](https://agentmods.dev/badge/skills/n24q02m/claude-plugins/onboard-repo/github.svg)](https://agentmods.dev/skills/n24q02m/claude-plugins/onboard-repo)
Your own site
<a href="https://agentmods.dev/skills/n24q02m/claude-plugins/onboard-repo"><img src="https://agentmods.dev/badge/skills/n24q02m/claude-plugins/onboard-repo/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-repo

Your own site · 80×15
<a href="https://agentmods.dev/skills/n24q02m/claude-plugins/onboard-repo"><img src="https://agentmods.dev/badge/skills/n24q02m/claude-plugins/onboard-repo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,565 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.
Origin 100% copy Near-identical to another mod 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.00038 $0.01565
Opus 5.5 $0.00015 $0.00626
Sonnet 5.5 $0.00008 $0.00313
Haiku 4.5 $0.00004 $0.00156

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

Security

Grade A, and why

onboard-repo 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 4d 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.

Origin

This is a copy

100% identical to onboard-repo — 28 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/crg/skills/onboard-repo/SKILL.md · 103 lines

How it starts

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

Onboard Repo

Take a codebase you have never seen and turn it into a queryable graph, then read the graph to produce an orientation map. Use this on first contact with a repository, before answering questions about it or changing anything in it.

Scope: this skill builds and reads a knowledge graph. It does not modify source files, CI configuration, or project conventions. The only files it creates are the graph database under .crg/ (already self-ignored) and, when you choose to add one, a .code-review-graphignore.

Command surface: run the local CLI through the coding harness shell. Examples use the installed crg command; from a source checkout, prefix it with uv run. No MCP mapping is required.

Steps

  1. Check what already exists with crg graph stats --repo-root "<path>". A non-empty graph can go directly to step 5; a missing-graph error means continue with a build.

  2. Decide the indexing scope before building:

    • Single repository: pass only --repo-root "<path>".
    • A repository that vendors or embeds others: add a .code-review-graphignore at the repo root (one fnmatch pattern per line, # for comments) so vendored trees, build output, and fixtures do not inflate the graph. Common additions: vendor/*, third_party/*, **/generated/*, **/*.min.js.
    • Several sibling repositories that call each other: federate them in one graph with --roots in step 3, then use impact-audit for cross-repo questions.
  3. Build the graph with crg graph build --full-rebuild --repo-root "<path>".

    • For a federated build: crg graph build --full-rebuild --repo-root "<path-a>" --roots "<path-b>". Each root is registered in the repo registry and its files are tagged with a repo_id, which later lets you scope any query with --repo "<repo_id>".
    • Parsing is Tree-sitter based and needs no language servers, toolchains, or compilation -- an unbuildable checkout still indexes.
  4. Enable semantic search with crg graph embed --repo-root "<path>". Without embeddings, the CLI's search action falls back to name and keyword matching, which will miss "where is authentication handled" style questions.

    • The default backend is local and requires no credentials. The graph-stats result reports the resolved backend and embedding count.
    • If a cloud embedding chain is expected but stats show local, inspect the local environment/configuration rather than assuming the model list is wrong.
    • Optional: crg graph summarize --repo-root "<path>" adds generated summaries for function nodes, but only when a summarizer model chain is configured. It is a no-op otherwise -- do not report it as a failure.

Read the full file on GitHub · 103 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. 4d ago Changed 66bed50c32e5
  2. 1mo ago Changed 52d279cc4167
  3. 2mo ago First seen · 103 lines · 38 tokens per session scan A 9c53ca394db2

Subscribe to this mod's changes

onboard-repo is a skill published in the GitHub repository n24q02m/claude-plugins (4 stars, last pushed today), licensed Apache-2.0. It adds 38 tokens to every session and 1,565 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to onboard-repo, differing in 28 lines, and is treated as a copy.

Related

onboard-repo compared with skills from other repositories

onboard-repo next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
onboard-repon24q02m/claude-pluginsSkill4todayApache-2.0A38Claude Code
projectmodu-ai/moai-coworkSkill31529d agoApache-2.0A475Claude Code
doc-html-slidemodu-ai/moai-coworkSkill31529d agoApache-2.0A438Claude Code
cs-channel-messagemodu-ai/moai-coworkSkill31529d agoApache-2.0A465Claude Code
media-higgsfield-explainermodu-ai/moai-coworkSkill31529d agoApache-2.0A244Claude Code
media-gpt-image-promptmodu-ai/moai-coworkSkill31529d agoApache-2.0A334Claude Code
career-portfoliomodu-ai/moai-coworkSkill31529d agoApache-2.0A124Claude Code