
Code tour
Builds CodeTour .tour files that walk a reader through a codebase with anchored steps
Code tour is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 66
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Code tour
This skill guides an agent to produce CodeTour .tour JSON files, which are step-by-step codebase walkthroughs that open directly at real files and line ranges. The tours are written as a narrative for a specific reader, such as a new engineer, a PR reviewer, or someone investigating a failure, and the persona sets how many steps the tour gets and how deep it goes.
Before writing, the agent is told to explore the repository through its README, entry points, folder layout and relevant config, then confirm every referenced path and line exists. Output goes into a .tours folder and the skill forbids changing source code. It also explains how the ref field decides which git revision CodeTour reads files from, so PR tours point at the PR branch rather than the base branch.
Users need a repository the agent can read and the CodeTour format for the resulting artifact. The skill itself has no scripts; it relies on the agent's file access and git context.
When your agent uses it
Create CodeTour `.tour` files — persona-targeted, step-by-step walkthroughs with real file and line anchors. Use for onboarding tours, architecture walkthroughs, PR tours, RCA tours, and structured "explain how this works" requests. Use when the user asks for a code tour, onboarding walkthrough, PR tour, or an explanation of how a subsystem works.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (8 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafathOr copy only this skill to ~/.claude/skills/code-tour:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/code-tour &&
cp -R "$tmp/.agents/skills/code-tour" ~/.claude/skills/code-tour &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/code-tour inside it instead.
Copy the skill folder to ~/.agents/skills/code-tour to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/code-tour &&
cp -R "$tmp/.agents/skills/code-tour" ~/.agents/skills/code-tour &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/code-tour inside it instead.
Copy the skill folder to ~/.cursor/skills/code-tour to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/code-tour &&
cp -R "$tmp/.agents/skills/code-tour" ~/.cursor/skills/code-tour &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/code-tour inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/code-tourOr copy the folder to ~/.gemini/skills/code-tour yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/code-tour:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/code-tour &&
cp -R "$tmp/.agents/skills/code-tour" ~/.copilot/skills/code-tour &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/code-tour inside it instead.
Get the folder:
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.gitThen copy REA_Skill/.agents/skills/code-tour into your agent's skills folder as code-tour. Agents that support SKILL.md read one folder per skill.
What it does
- Persona-based tour depth
- Maps requests like onboarding, PR review or RCA to a reader type and a suggested step count.
- Verified file anchors
- Checks that each referenced file, line range and selection exists before the tour is saved.
- Ref field guidance
- Explains which branch or commit to set so steps on new files still open for the reader.
- Step type templates
- Provides examples of directory, file, selection, pattern, URI and content steps.
- Narrative structure
- Organizes tours as a path from orientation through the core execution flow to next steps.
Good for
- Create an onboarding tour for a new engineer joining a service
- Walk a reviewer through the files changed in a pull request
- Build an architecture tour of one package in a monorepo
- Trace the failure path for a root cause analysis tour
- Explain how a subsystem works as a reusable guided artifact
Code tour FAQ
What does the skill produce?
It produces CodeTour .tour JSON files stored in a .tours folder, and it is instructed not to modify source code.
How does Code tour decide how long a tour should be?
It infers a persona from the request, such as new-joiner or pr-reviewer, and each persona has a suggested step range.
Why would a step fail to open in a PR tour?
If the ref points at the base branch, files added by the PR do not exist there, so the ref should be the PR branch.
Does the skill need any scripts or extra tools?
The skill lists no scripts and does not set allowed tools; it works through the agent's repository access.
How do I install Code tour in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/code-tour to use it in all your projects, or to .claude/skills/code-tour in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.
Does Code tour run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Code tour?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Code tour?
The closest alternatives to Code tour are Code tour, How, Codebase onboarding, Comment code generate a tutorial and Trace architecture.
Where this comes from
- Description: from the skill's own SKILL.md.
More from smartworldarafath/REA_Skill

Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android
- Open source
- 66 GitHub stars
- Developer tools

Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity
- Open source
- 66 GitHub stars
- Developer tools

Compare coding agents head-to-head on your own tasks by pass rate, cost and time
- Open source
- 66 GitHub stars
- Developer tools

Guides an agent to design tool sets, observations and error recovery for better completion
- Open source
- 66 GitHub stars
- Developer tools

Gives an agent a structured capture-diagnose-recover loop for failing runs
- Open source
- 66 GitHub stars
- Developer tools

Lets an AI agent make x402 payments within per-task budgets and spending policies
- Open source
- 66 GitHub stars
- Finance and payments



