code-tour

code-tour is a skill for Claude Code, Codex from drvoss/everything-copilot-cli. It costs 41 tokens per session (952 once invoked), scanned A, original, MIT.

A guided codebase walkthrough that creates CodeTour files with links to real files and line ranges. CodeTour is a format for step-by-step explanations that open directly in the relevant source code.

In plain words
What is it for?
Use it for onboarding, architecture walkthroughs, pull-request tours, or explaining a failure path or security boundary.
Why use it?
It gives new maintainers or reviewers a reusable path through an unfamiliar project instead of relying on an informal explanation.

Skill for Claude CodeCodex

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 skills/drvoss/everything-copilot-cli/code-tour
Any agent
npx skills add drvoss/everything-copilot-cli --skill code-tour
Clone the repo
git clone --depth 1 https://github.com/drvoss/everything-copilot-cli

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 code-tour

README.md
[![agentmods](https://agentmods.dev/badge/skills/drvoss/everything-copilot-cli/code-tour.svg)](https://agentmods.dev/skills/drvoss/everything-copilot-cli/code-tour)
Your own site
<a href="https://agentmods.dev/skills/drvoss/everything-copilot-cli/code-tour"><img src="https://agentmods.dev/badge/skills/drvoss/everything-copilot-cli/code-tour.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 952 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 $0.00041 $0.00952
Opus 5 $0.00020 $0.00476
Sonnet 5 $0.00008 $0.00190
Haiku 4.5 $0.00004 $0.00095

Measured yesterday against content hash b45ee20a9cfb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-tour 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 yesterday.

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/documentation/code-tour/SKILL.md · 117 lines

How it starts

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

Code Tour

Create CodeTour .tour files for codebase walkthroughs that open directly to real files and line ranges. Tours live in .tours/ and are meant for the CodeTour format, not ad hoc Markdown notes.

A good tour is a narrative for a specific reader: what they are looking at, why it matters, and what path to follow next.

Only create .tour JSON files. Do not modify source code.

When to Use

  • User asks for a code tour, onboarding tour, architecture walkthrough, or PR tour
  • User says "explain how X works" and wants a reusable guided artifact
  • Onboarding a new maintainer or reviewer
  • Documenting an RCA failure path or security trust boundary

When NOT to Use

Instead of code-tour Use
A one-off chat explanation is enough answer directly
User wants prose docs, not a .tour artifact doc-update skill
Task is implementation or refactoring implement directly

Workflow

1. Discover

Explore the repo before writing anything:

  • README and entry points
  • Folder structure and key config files
  • Changed files if PR-focused

Do not start writing steps before understanding the code shape.

2. Infer the reader persona

Request shape Persona Steps
"onboarding", "new joiner" new-joiner 9–13
"quick tour", "vibe check" vibecoder 5–8
"architecture" architect 14–18
"tour this PR" pr-reviewer 7–11
"why did this break" rca-investigator 7–11
"security review" security-reviewer 7–11

3. Verify anchors

Every file path and line anchor must be real:

  • Confirm the file exists (glob / grep)
  • Confirm line numbers are in range (view with view_range)
  • Never guess line numbers

4. Write the .tour file

Output path: .tours/<persona>-<focus>.tour

{
  "title": "<Tour Title>",
  "description": "<One sentence: who this tour is for and what it covers>",
  "steps": [
    {
      "file": "src/auth/middleware.ts",
      "line": 42,
      "title": "Auth Gate",
      "description": "Every protected request passes here first. Notice the early-return on missing tokens."
    },
    {
      "directory": "src/services",
      "title": "Service Layer",
      "description": "All business logic lives here — handlers delegate immediately to these services."
    },
    {
      "file": "src/core/pipeline.ts",
      "selection": {
        "start": { "line": 15, "character": 0 },
        "end": { "line": 34, "character": 0 }
      },
      "title": "Request Pipeline",
      "description": "The 5-stage pipeline that every request traverses."
    }
  ]
}

Read the full file on GitHub · 117 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. yesterday First seen · 117 lines · 41 tokens per session scan A b45ee20a9cfb

Subscribe to this mod's changes

code-tour is a skill published in the GitHub repository drvoss/everything-copilot-cli (45 stars, last pushed 8d ago), licensed MIT. It adds 41 tokens to every session and 952 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-09-03.

Related

Other skills, from other repositories

microsoft-build

Your companion for Microsoft Build 2026. Helps you find sessions relevant to your project, discover what's new for your tech stack, scaffold projects from sessions, and plan your event schedule. Activate when users mention sessions, schedule, what's new, Build, Ignite, AI Tour, Microsoft event, conference, or…

microsoft/Build-CLI · 109 tokens

journey-template

Create new agentic journeys from app ideas. Generates README.md (learner walkthrough), PLAN.md (AI-readable spec), and app-specific skills for OSS deployments. Supports any stack (Node.js, Python, .NET, Java, Swift, Kotlin) and Azure service (Container Apps, AKS, Functions, App Service). USE FOR: new journey, scaffold…

DanWahlin/github-azure-agentic-journeys · 153 tokens

journey-runner

Run an agentic journey end-to-end: preflight the host, extract prompts, execute them in an isolated workspace, build, deploy to Azure, verify with real requests and screenshots, and clean up only owned resources. USE FOR: test a journey, run a journey end-to-end, validate journey prompts, deploy a journey to Azure…

DanWahlin/github-azure-agentic-journeys · 113 tokens

eli5

Explain the subject already in context using simple, respectful language, a familiar analogy, the proper grown-up terms, and the point where the analogy stops matching reality. Use when the user says "explain like I'm five", "explain it to me like I'm 5", "ELI5", "explain this simply", "make this easy to understand"…

jongio/skills · 132 tokens

learn

Learn and understand a concept in depth. Args.

nortonx/ai-tooling-free · 15 tokens

curriculum-quantitative-assessment

Shared quantitative curriculum assessment helpers for workshop scoring and simulator guardrails.

githubnext/gh-aw-workshop · 21 tokens