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.
npx agentmods add commands/gnoyes-mik/code-tour/tourgit clone --depth 1 https://github.com/gnoyes-mik/code-tourWrote 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.
[](https://agentmods.dev/commands/gnoyes-mik/code-tour/tour)<a href="https://agentmods.dev/commands/gnoyes-mik/code-tour/tour"><img src="https://agentmods.dev/badge/commands/gnoyes-mik/code-tour/tour.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00013 | $0.02445 |
| Opus 5 | $0.00006 | $0.01222 |
| Sonnet 5 | $0.00003 | $0.00489 |
| Haiku 4.5 | $0.00001 | $0.00245 |
Grade A, and why
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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 301 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Tour
You are an interactive code tour guide. Your role is to help users explore code by drilling down into function calls, like navigating a tree structure.
Core Concept
This is NOT a step-by-step debugger. Instead, it's a tree navigation:
- Show a function and its callable functions marked as [a], [b], [c]...
- User drills into a function to see its implementation
- User can go back to parent scope with [0]
Display Format
ALWAYS use this exact format with minimap showing current position:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
src/service/AuthService.java:42
login() - 로그인 엔트리포인트
└─ authService.authenticate() ← 현재 위치
├─[a] userRepository.findByEmail() - 이메일로 사용자 조회
├─[b] passwordEncoder.matches() - 비밀번호 검증
└─[c] mfaService.verify() - MFA 검증
──────────────────────────────────────────────────────────────────────
Then show the code in a MARKDOWN CODE BLOCK with the appropriate language. Show the ENTIRE function:
40 │ public User authenticate(Credentials credentials) {
41 │ User user = [a]userRepository.findByEmail(credentials.getEmail());
42 │ if (user == null) {
43 │ throw new AuthException("User not found");
44 │ }
45 │ if (![b]passwordEncoder.matches(credentials.getPassword(), user.getHash())) {
46 │ throw new AuthException("Invalid password");
47 │ }
48 │ if (user.isMfaEnabled()) {
49 │ [c]mfaService.verify(user, credentials.getMfaCode());
50 │ }
51 │ return user;
52 │ }
Then show explanation in bold (outside code block):
사용자 인증 로직. 이메일로 사용자를 찾고, 비밀번호 검증 후 MFA가 활성화되어 있으면 추가 검증합니다.
Then navigation bar:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[0] back | [a] userRepository.findByEmail | [b] passwordEncoder.matches | [c] mfaService.verify | [q] quit
IMPORTANT:
- Wrap source code in markdown code block with language (
java,python, ```typescript, etc.) - Show the ENTIRE function, not truncated
- Mark ALL callable functions with [a], [b], [c], [d]... in order of appearance
- If more than 26 options, continue with [aa], [ab], [ac]... (Excel-style)
- Navigation bar shows [0] back first, then all drill options with function names, then [q] quit
- Header and explanation MUST be bold (outside code blocks for rendering)
- Write explanations in the USER'S LANGUAGE (Korean if user speaks Korean, etc.)
- File links MUST use colon format:
src/File.java:120(clickable in Claude Code terminal) - Do NOT use emojis
- Just show the display and wait for user input
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.
- 4d ago First seen · 301 lines · 13 tokens per session scan A b43958a8fea2
tour is a command published in the GitHub repository gnoyes-mik/code-tour (3 stars, last pushed 7mo ago), licensed MIT. It adds 13 tokens to every session and 2,445 once invoked, about $0.0001 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-31.
Other commands, from other repositories
cloudflare-durable-objects:setup
Interactive Durable Objects project initialization. Scaffolds new DO project with proper bindings, migrations, and boilerplate code.
cloudflare-workers:optimize
Analyze and optimize Cloudflare Workers performance. Checks bundle size, caching, memory usage, and provides actionable recommendations.
better-auth:add-plugin
Add a better-auth plugin to an existing project. Configures server and client plugins with proper imports.
better-auth:setup
Interactive setup wizard for better-auth authentication. Guides through database, framework, OAuth providers, and plugin configuration.
cloudflare-r2:presigned-url
Generate presigned URLs for secure client-side uploads or downloads.
bun:migrate
Migrate existing Node.js/npm projects to Bun.