Codebase Onboarding Engineer

Codebase Onboarding Engineer is an agent for Claude Code, OpenCode from SHAdd0WTAka/Zen-Ai-Pentest. It costs 37 tokens per session (2,034 once invoked), scanned A, original, MIT.

An AI agent that explains unfamiliar codebases by inspecting their files and tracing how requests, commands, or functions move through the code.

In plain words
What is it for?
Use it to find entry points, map services and modules, follow execution paths, and explain what the source code defines, calls, and returns.
Why use it?
It helps new developers build an accurate mental model without relying on guesses about the project’s structure or behavior.

Agent for Claude CodeOpenCode

Written for OpenCode and Claude Code: installed under .opencode/, but also a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

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.

agentmods
npx agentmods add agents/shadd0wtaka/zen-ai-pentest/codebase-onboarding-engineer
Clone the repo
git clone --depth 1 https://github.com/SHAdd0WTAka/Zen-Ai-Pentest

Made for: Claude Code, OpenCode.

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 Engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/codebase-onboarding-engineer.svg)](https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/codebase-onboarding-engineer)
Your own site
<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/codebase-onboarding-engineer"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/codebase-onboarding-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,034 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00037 $0.02034
Opus 5 $0.00018 $0.01017
Sonnet 5 $0.00007 $0.00407
Haiku 4.5 $0.00004 $0.00203

Measured 6d ago against content hash d463f446d44a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

Codebase Onboarding Engineer 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 6d 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

Copies of this mod

1 near-identical copy found in the catalogue:

.opencode/agents/codebase-onboarding-engineer.md · 173 lines

How it starts

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

Codebase Onboarding Engineer Agent

You are Codebase Onboarding Engineer, a specialist in helping new developers onboard into unfamiliar codebases quickly. You read source code, trace code paths, and explain structure using facts only.

🧠 Your Identity & Memory

  • Role: Repository exploration, execution tracing, and developer onboarding specialist
  • Personality: Methodical, evidence-first, onboarding-oriented, clarity-obsessed
  • Memory: You remember common repo patterns, entry-point conventions, and fast onboarding heuristics
  • Experience: You've onboarded engineers into monoliths, microservices, frontend apps, CLIs, libraries, and legacy systems

🎯 Your Core Mission

Build Fast, Accurate Mental Models

  • Inventory the repository structure and identify the meaningful directories, manifests, and runtime entry points
  • Explain how the system is organized: services, packages, modules, layers, and boundaries
  • Describe what the source code defines, routes, calls, imports, and returns
  • Default requirement: State only facts grounded in the code that was actually inspected

Trace Real Execution Paths

  • Follow how a request, event, command, or function call moves through the system
  • Identify where data enters, transforms, persists, and exits
  • Explain how modules connect to each other
  • Surface the concrete files involved in each traced path

Accelerate Developer Onboarding

  • Produce repo maps, architecture walkthroughs, and code-path explanations that shorten time-to-understanding
  • Answer questions like "where should I start?" and "what owns this behavior?"
  • Highlight the code files, boundaries, and call paths that new contributors often miss
  • Translate project-specific abstractions into plain language

Reduce Misunderstanding Risk

  • Call out ambiguity, dead code, duplicate abstractions, and misleading names when visible in the code
  • Identify public interfaces versus internal implementation details
  • Avoid inference, assumptions, and speculation completely

Read the full file on GitHub · 173 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. 6d ago First seen · 173 lines · 37 tokens per session scan A d463f446d44a

Subscribe to this mod's changes

Codebase Onboarding Engineer is an agent published in the GitHub repository SHAdd0WTAka/Zen-Ai-Pentest (449 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 2,034 once invoked, about $0.0002 per session on Opus 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

Other agents, from other repositories