orienting-codebases

orienting-codebases is a skill for Claude Code, Codex from oaustegard/claude-skills. It costs 115 tokens per session (2,634 once invoked), scanned A, original, MIT.

A guided learning tool for understanding an unfamiliar codebase. It turns the repository’s structure and key features into exercises and an HTML lesson.

In plain words
What is it for?
Use it to get oriented in a repository, learn its main parts, and follow a structured walkthrough of the code.
Why use it?
It helps people learn how a repository works instead of leaving them to infer everything from files and folders.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/claude/.venv.

Good fit Use it to get oriented in a repository, learn its main parts, and follow a structured walkthrough of the code.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, 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 orienting-codebases

README.md
[![agentmods](https://agentmods.dev/badge/skills/oaustegard/claude-skills/orienting-codebases.svg)](https://agentmods.dev/skills/oaustegard/claude-skills/orienting-codebases)
Your own site
<a href="https://agentmods.dev/skills/oaustegard/claude-skills/orienting-codebases"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/orienting-codebases.svg" alt="Measured on agentmods" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,634 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00115 $0.02634
Opus 5 $0.00057 $0.01317
Sonnet 5 $0.00023 $0.00527
Haiku 4.5 $0.00012 $0.00263

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

Security

Grade A, and why

orienting-codebases scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sL -H "Authorization: Bearer $GH_TOKEN" \
orienting-codebases/SKILL.md · 317 lines

How it starts

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

Orienting Codebases

Interactive codebase orientation for the human, not the agent. Same tree-sitting + featuring pipeline as exploring-codebases, but synthesizes into guided HTML exercises via composing-html instead of analysis documents. See README.md for design rationale.

Pipeline

0. Setup (once per session)

uv venv /home/claude/.venv 2>/dev/null
uv pip install tree-sitter-language-pack --python /home/claude/.venv/bin/python
export PYTHON=/home/claude/.venv/bin/python
export TREESIT=/mnt/skills/user/tree-sitting/scripts/treesit.py
export GATHER=/mnt/skills/user/featuring/scripts/gather.py
export COMPOSE=/mnt/skills/user/composing-html/scripts/build.py

1. Get the repo

OWNER=... REPO=... REF=main
curl -sL -H "Authorization: Bearer $GH_TOKEN" \
  "https://api.github.com/repos/$OWNER/$REPO/tarball/$REF" -o /tmp/$REPO.tar.gz
mkdir -p /tmp/$REPO && tar -xzf /tmp/$REPO.tar.gz -C /tmp/$REPO --strip-components=1

For local repos, skip the curl — point directly at the path.

2. Structural scan

$PYTHON $TREESIT /tmp/$REPO --stats

3. Feature gathering

$PYTHON $GATHER /tmp/$REPO \
  --skip tests,.github,node_modules --source-budget 8000

4. Targeted source extraction

For each exercise target identified from gather output, extract the actual source using treesit queries:

# Entry point source
$PYTHON $TREESIT /tmp/$REPO --no-tree 'source:main'

# Specific function for an exercise
$PYTHON $TREESIT /tmp/$REPO --no-tree 'source:validate_token'

# Imports for a hub file
$PYTHON $TREESIT /tmp/$REPO --no-tree 'imports:src/api.py'

This source feeds directly into the HTML artifact — the user sees real code, syntax-highlighted, without having to navigate the repo.

Do not show raw pipeline output to the user. It's material for exercise design. The user sees HTML artifacts and conversation.

Orientation session

After the pipeline steps, synthesize into an interactive orientation. Three phases.

Read the full file on GitHub · 317 lines

Files

What ships with it

2 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. 5d ago First seen · 317 lines · 115 tokens per session scan A adc269327ce7

Subscribe to this mod's changes

orienting-codebases is a skill published in the GitHub repository oaustegard/claude-skills (147 stars, last pushed yesterday), licensed MIT. It adds 115 tokens to every session and 2,634 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

claude-students

Transforma una carpeta cruda de material de un parcial universitario (PDFs, DOC/DOCX, PPT, audios .ogg de WhatsApp, capturas) en un material de estudio polished y completo — HTML SOTA autocontenido + paquete de artefactos de NotebookLM (podcast en español, infografía, guía de estudio, briefing doc, mind map, quiz…

josuebustosn/claude-students · 234 tokens

moodle-coderunner

Generate Moodle CodeRunner programming questions with Jobe server validation. Uses minimal pipeline: AI generates code + tests, Jobe computes expected output. Supports Java, Python, C, C++, Node.js. Produces import-ready Moodle XML. Battle-tested: 1000+ questions validated with 0% failure rate.

danielcregg/coderunner-skill · 69 tokens

scholar-wendao

A tool for building reusable analysis lenses from scholars and research fields. It gathers multilingual books, secondary research, biographies, and academic debates, then extracts the scholar’s concepts and methods.

tizzy916/scholar-wendao-skill · 181 tokens

aristotle-perspective

A classical philosophy analysis lens based on Aristotle’s ideas, with readings from four later traditions: Aquinas, Avicenna, Heidegger, and MacIntyre.

tizzy916/scholar-wendao-skill · 175 tokens

sales-enablement

Expert sales enablement strategist for building high-performing sales teams. Use when designing sales training programs, onboarding and ramp plans, sales playbooks, coaching frameworks, certification programs, or competitive intelligence distribution. Covers content strategy, tool adoption, performance measurement…

ncklrs/startup-os-skills · 75 tokens

baoyu-comic

A tool for creating original educational comics that explain knowledge or ideas through multiple illustrated panels. It supports different art styles and tones and can create several comics in one batch.

JimLiu/baoyu-skills · 61 tokens