Code Tour
affaan-m/ECC
Create CodeTour .tour files — persona-targeted, step-by-step walkthroughs with real file and line anchors.
Add or change an in-app feature tour (a view's guided flyover) in the web app.
$ npx skills add macro-inc/macro --skill add-tour -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install macro-inc/macro add-tour --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/macro-inc/macro.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/add-tour .claude/skills/add-tour && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "add-tour" agent skill from https://github.com/macro-inc/macro/tree/main/.claude/skills/add-tour into .claude/skills/add-tour/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-tour", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/macro-inc/macro/tree/main/.claude/skills/add-tourType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add macro-inc/macro --skill add-tour -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install macro-inc/macro add-tour --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/macro-inc/macro.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/add-tour .agents/skills/add-tour && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-tour" agent skill from https://github.com/macro-inc/macro/tree/main/.claude/skills/add-tour into .agents/skills/add-tour/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-tour", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add macro-inc/macro --skill add-tour -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install macro-inc/macro add-tour --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/macro-inc/macro.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/add-tour .cursor/skills/add-tour && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "add-tour" agent skill from https://github.com/macro-inc/macro/tree/main/.claude/skills/add-tour into .cursor/skills/add-tour/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-tour", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/macro-inc/macro.git --path .claude/skills/add-tour--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add macro-inc/macro --skill add-tour -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install macro-inc/macro add-tour --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/macro-inc/macro.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/add-tour .gemini/skills/add-tour && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "add-tour" agent skill from https://github.com/macro-inc/macro/tree/main/.claude/skills/add-tour into .gemini/skills/add-tour/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-tour", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install macro-inc/macro add-tourInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add macro-inc/macro --skill add-tour -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/macro-inc/macro.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/add-tour .github/skills/add-tour && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "add-tour" agent skill from https://github.com/macro-inc/macro/tree/main/.claude/skills/add-tour into .github/skills/add-tour/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-tour", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add macro-inc/macro --skill add-tour -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install macro-inc/macro add-tour --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/macro-inc/macro.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/add-tour .opencode/skills/add-tour && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "add-tour" agent skill from https://github.com/macro-inc/macro/tree/main/.claude/skills/add-tour into .opencode/skills/add-tour/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-tour", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
add-tourAdd or change an in-app feature tour (a view's guided flyover) in the web app.
Add Tour is an agent skill from macro-inc/macro. Add or change an in-app feature tour (a view's guided flyover) in the web app. Use when adding a tour to a view, adding or editing tour steps, pointing a step at a new control, or when a step's target needs something opened first.
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory. The licence is AGPL-3.0.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 73b0244. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Add Tour loads about 1.8k tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 831 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from macro-inc/macro at commit 73b0244, republished under its AGPL-3.0 licence (© macro-inc). 831 words, ~1,819 tokens.
.claude/skills/add-tour/SKILL.md (or your agent's skills folder).Frontend only. Two layers:
| Layer | Where | What |
|---|---|---|
| Primitive | apps/web/src/components/ui/components/Tour/ | Tour.* parts, defineTourTargets, tourTarget. Generic; no app knowledge. |
| App | apps/web/src/features/tours/ | ViewTour (desktop gate, per-user dismissal, connector/video CTAs), defineViewTour. |
| Per view | apps/web/src/features/<view>/tour.ts | The view's targets and its tour definition. |
Read an existing tour.ts first. channels-view/tour.ts and
agents-view/tour.ts show entries; calendar-view/tour.ts shows the sidebar
toggle entry.
In the view's tour.ts:
export const REPORTS_TOUR = defineTourTargets('reports', ['filters', 'chart']);namespace.name. Use the view's name as the namespace.{ scope: 'app' } only for shared chrome outside any split (see
command/sidebar/tour.ts).VIEW_SHELL_TOUR (@app/components/view-shell/tour): aside, main, topBar, sidebarToggle. Every ViewShell registers these.SOUP_TOUR (features/next-soup/tour.ts): list.CHANNEL_TOUR (features/channel/tour.ts): messages, composer, call.APP_TOUR (features/command/sidebar/tour.ts): createMenu.Never target with selectors, data-* attributes, or aria-label lookups. If
the control you want isn't registered, register it (step 2).
<div ref={tourTarget(REPORTS_TOUR.filters)}>…</div>display: contents wrappers never resolve;
attach to a real element.ref like
ref={cond ? tourTarget(X) : undefined}. The Solid compiler silently drops
it, and the target never registers. Create the ref in the component body
and decide inside a callback:
const target = tourTarget(X); then ref={(el) => { if (cond) target(el); }}.ref={(el) => { existing(el); target(el); }} with
const target = tourTarget(...) created in the component body, or use
mergeRefs from @solid-primitives/refs.ref, add a ref prop that it passes
to its root (see SidebarCreateButton).features/calendar imports CALENDAR_TOUR).export const reportsTour = defineViewTour({
id: 'reports', // dismissal key: never reuse or rename casually
title: 'Reports',
connector: { kind: 'mcp', label: 'Linear', tools: ['Linear'] }, // optional
video: { youtubeId: '…', title: '…', duration: '1:23' }, // optional
steps: [
{ target: REPORTS_TOUR.filters, title: '…', description: '…' },
{ target: [REPORTS_TOUR.chart, VIEW_SHELL_TOUR.main], title: '…', description: '…' },
],
});target may be a list; the first shown one wins. Use this for features
that aren't always rendered (behind a flag, a connection, or data such as
"more than one calendar"): list the real control first and the nearest
always-present surface after it, and set missingHint. The hint shows
whenever the step falls back.target floats in the split.missingHint explains how to reach or enable the feature when the step
floats or falls back.placement (a floating-ui Placement) overrides the default right-start.If a step's target is behind something (a collapsed sidebar, another page, an
unopened item), don't open it from the tour. Give the step an entry:
{
target: REPORTS_TOUR.chart,
entry: VIEW_SHELL_TOUR.sidebarToggle,
entryLabel: 'Open the sidebar to continue the tour',
title: '…',
description: '…',
}While the target is missing and the entry is shown, the card hides, a beacon
marks the entry, and a small card beside it shows entryLabel with Skip. The beacon stays until the target appears, however the user gets there. Register the entry control as a target like any other.
entryLabel short and imperative: "Open a channel or DM to continue".entry: [CHANNELS_TOUR.conversation, VIEW_SHELL_TOUR.sidebarToggle]. With
the sidebar collapsed the beacon marks the toggle; once it opens, the beacon
moves to the row.ViewTour appends VIEW_SHELL_TOUR.sidebarToggle to every step that has
a target, so a step whose target is in a collapsed sidebar always marks the
toggle. You still need it explicitly only as the last link of a chain you
write yourself.ViewShell
(like Customers' NavigationToggle) must register its own expand control
as VIEW_SHELL_TOUR.sidebarToggle, or those steps will float.Mount once, inside the view's split (usually in ViewShell.Main or next to the
list):
<ViewTour tour={reportsTour} />
<ViewTour tour={tasksTour} actions={<ImportLinearAction />} /> // extra CTAsSoupView-based routes, pass it through the slot:
<SoupView … tour={<ViewTour tour={callsTour} />} />.<Show> branch that remounts on navigation, or the
tour restarts at step 1.ViewTour already checks
both. All tours sit behind the enableInAppTours flag
(enable-in-app-tours in PostHog). To see tours on the local dev server,
start it with VITE_ENABLE_IN_APP_TOURS=true.Tour/Tour.test.tsx and app behavior
in features/tours/ViewTour.test.tsx; add cases there when you change them.Tour/Tour.docs.tsx.macro:tour:<id>
(completed, dismissed, or the active step). Changing a tour's steps
doesn't reset it for users who finished it; bump the id only if everyone
must see the new version.VITE_ENABLE_IN_APP_TOURS=true: on localhost
the tour reopens on every mount. Walk
every step, including one that waits on an entry, once with the sidebar
open and once collapsed.docs/AGENT_GUIDE/view-tours.md when a view gains a tour or its steps
change.© macro-inc, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/add-tour of macro-inc/macro.
Open the folder on GitHubat commit 73b0244
Add Tour next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Add Tour this skillmacro-inc/macro | 4.6k | — | ~1.8k | Automated safety check: Pass | AGPL-3.0 | |
| Code Touraffaan-m/ECC | 276k | 1 repos | ~2k | Automated safety check: Pass | MIT | |
| Code Touraffaan-m/ECC | 276k | — | ~1k | Automated safety check: Pass | MIT | |
| Mem0 Memory Tourmem0ai/mem0 | 67k | — | ~652 | Automated safety check: Pass | Apache-2.0 | |
| Code Touraffaan-m/ECC | 276k | — | ~295 | Automated safety check: Pass | MIT | |
| Code Tourgithub/awesome-copilot | 40k | 1 repos | ~5.6k | Automated safety check: Pass | MIT |
affaan-m/ECC
Create CodeTour .tour files — persona-targeted, step-by-step walkthroughs with real file and line anchors.
affaan-m/ECC
创建 CodeTour .tour 文件——针对特定角色的、带有真实文件和行锚点的逐步演练。用于入职引导、架构演练、PR 演练、RCA 演练以及结构化的“解释其工作原理”请求。
mem0ai/mem0
Shows every stored Mem0 memory grouped by category with full text, optionally across all projects or filtered by a search query.
affaan-m/ECC
CodeTour .tourファイルを作成 — ペルソナターゲット、ステップバイステップウォークスルー(実際のファイルとラインアンカー付き)。オンボーディングツアー、アーキテクチャウォークスルー、PRツアー、RCAツアー、構造化「これがどのように機能するかを説明」リクエストに使用。
github/awesome-copilot
A skill your agent uses to create CodeTour .tour files — persona-targeted, step-by-step walkthroughs that link to real files and line numbers.
mem0ai/mem0
Shows everything mem0 has stored for the current project, grouped by category, with a compact search mode and an all-projects view.
macro-inc/macro
Interact with the Mintlify REST API to manage deployments, trigger builds, and query documentation site metadata programmatically.
macro-inc/macro
Define a frontend feature flag with defineFlag and wire its readers.
macro-inc/macro
Run the Macro app on Cursor Cloud and pick up edits. An agent skill from macro-inc/macro.
macro-inc/macro
Wrap a new backend endpoint in the TypeScript SDK (packages/sdk), or record it as skipped.
macro-inc/macro
Enforce hexagonal architecture in the Rust backend. An agent skill from macro-inc/macro.
macro-inc/macro
A skill your agent uses when adding collaborative markdown, notes, or descriptions to a feature with collab surfaces.
Add or change an in-app feature tour (a view's guided flyover) in the web app. Add Tour is an agent skill from macro-inc/macro. Add or change an in-app feature tour (a view's guided flyover) in the web app.
Add Tour fits situations like: adding a tour to a view; editing tour steps; pointing a step at a new control; A steps target needs something opened first.
Run `npx skills add macro-inc/macro --skill add-tour -a claude-code`. Or copy the skill folder (.claude/skills/add-tour in macro-inc/macro) into .claude/skills/add-tour in your project. Claude Code loads it when a task matches its description.
Run `npx skills add macro-inc/macro --skill add-tour -a codex`. Or copy the skill folder (.claude/skills/add-tour in macro-inc/macro) into .agents/skills/add-tour in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add macro-inc/macro --skill add-tour -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-tour, .gemini/skills/add-tour, .github/skills/add-tour and .opencode/skills/add-tour in your project.
SKILL.md names no scripts, command-line tools or credentials: Add Tour is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Add Tour is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Add Tour: Code Tour (affaan-m/ECC, 276k stars), Code Tour (affaan-m/ECC, 276k stars), Mem0 Memory Tour (mem0ai/mem0, 67k stars) and Code Tour (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
macro-inc (a GitHub organization) maintains it in macro-inc/macro, which has 4,597 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 9, 2026.
Source: macro-inc/macro on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.