codebase-onboarding

codebase-onboarding is a skill for Codex from bestagentkits/agency-skills. It costs 61 tokens per session (525 once invoked), scanned A, original, MIT.

A codebase analysis tool that creates onboarding documentation for engineers, technical leads, and contractors. It explains a project's structure, technology choices, setup steps, and common tasks.

In plain words
What is it for?
Use it to inventory key files and configuration, describe architecture and the technology stack, document local setup, and prepare handoff or contribution guides.
Why use it?
New contributors often spend time discovering how an unfamiliar repository works and how to run it. This turns repository evidence into a repeatable starting guide.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to inventory key files and configuration, describe architecture and the technology stack, document local setup, and prepare handoff or contribution guides.

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

Made for: Codex.

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 codebase-onboarding

README.md
[![agentmods](https://agentmods.dev/badge/skills/bestagentkits/agency-skills/codebase-onboarding/github.svg)](https://agentmods.dev/skills/bestagentkits/agency-skills/codebase-onboarding)
Your own site
<a href="https://agentmods.dev/skills/bestagentkits/agency-skills/codebase-onboarding"><img src="https://agentmods.dev/badge/skills/bestagentkits/agency-skills/codebase-onboarding/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 codebase-onboarding

Your own site · 80×15
<a href="https://agentmods.dev/skills/bestagentkits/agency-skills/codebase-onboarding"><img src="https://agentmods.dev/badge/skills/bestagentkits/agency-skills/codebase-onboarding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 525 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 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.00061 $0.00525
Opus 5.5 $0.00024 $0.00210
Sonnet 5.5 $0.00012 $0.00105
Haiku 4.5 $0.00006 $0.00052

Measured 2mo ago against content hash 6c765d688676, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codebase-onboarding 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/codebase_analyzer.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/claude-skills/codebase-onboarding/SKILL.md · 85 lines

How it starts

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

Codebase Onboarding

Tier: POWERFUL
Category: Engineering
Domain: Documentation / Developer Experience


Overview

Analyze a codebase and generate onboarding documentation for engineers, tech leads, and contractors. This skill is optimized for fast fact-gathering and repeatable onboarding outputs.

Core Capabilities

  • Architecture and stack discovery from repository signals
  • Key file and config inventory for new contributors
  • Local setup and common-task guidance generation
  • Audience-aware documentation framing
  • Debugging and contribution checklist scaffolding

When to Use

  • Onboarding a new team member or contractor
  • Rebuilding stale project docs after large refactors
  • Preparing internal handoff documentation
  • Creating a standardized onboarding packet for services

Quick Start

# 1) Gather codebase facts
python3 scripts/codebase_analyzer.py /path/to/repo

# 2) Export machine-readable output
python3 scripts/codebase_analyzer.py /path/to/repo --json

# 3) Use the template to draft onboarding docs
# See references/onboarding-template.md

  1. Run scripts/codebase_analyzer.py against the target repository.
  2. Capture key signals: file counts, detected languages, config files, top-level structure.
  3. Fill the onboarding template in references/onboarding-template.md.
  4. Tailor output depth by audience:
    • Junior: setup + guardrails
    • Senior: architecture + operational concerns
    • Contractor: scoped ownership + integration boundaries

Onboarding Document Template

Detailed template and section examples live in:

  • references/onboarding-template.md
  • references/output-format-templates.md

Common Pitfalls

  • Writing docs without validating setup commands on a clean environment
  • Mixing architecture deep-dives into contractor-oriented docs
  • Omitting troubleshooting and verification steps
  • Letting onboarding docs drift from current repo state

Best Practices

Read the full file on GitHub · 85 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 85 lines · 61 tokens per session scan A 6c765d688676

Subscribe to this mod's changes

codebase-onboarding is a skill published in the GitHub repository bestagentkits/agency-skills (28 stars, last pushed 5mo ago), licensed MIT. It adds 61 tokens to every session and 525 once invoked, about $0.0002 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-09-03.

Related

codebase-onboarding compared with skills from other repositories

codebase-onboarding next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codebase-onboardingbestagentkits/agency-skillsSkill285mo agoMITA61Codex
reproduce-and-fix-issuesbacknotprop/pstackSkill5.6ktodayMITA48Claude Code, Cursor
setup-pstackbacknotprop/pstackSkill5.6ktodayMITA62Cursor
poteto-modebacknotprop/pstackSkill5.6ktodayMITA49Claude Code, Codex, Cursor
no-commentsbacknotprop/pstackSkill5.6ktodayMITA20Claude Code, Codex, Cursor
swarmbacknotprop/pstackSkill5.6ktodayMITA41Claude Code, Codex, Cursor
tddbacknotprop/pstackSkill5.6ktodayMITA52Claude Code, Codex, Cursor