vastai-host-mcp: Agent for Claude Code

.github/agents/code-tour.agent.md

VSCode Tour Expert is an agent for Claude Code from Cogni-AI-OU/vastai-host-mcp. It costs 23 tokens per session (1,604 once invoked), scanned A, a copy of VSCode Tour Expert, MIT.

An expert agent for creating and maintaining VS Code CodeTour files. CodeTour is a feature that gives new engineers a guided, step-by-step walkthrough of a codebase.

In plain words
What is it for?
Use it to create .tour files with explanations, folder and code references, commands, code snippets, and links between tour steps.
Why use it?
It helps turn project knowledge into structured tours instead of leaving onboarding instructions scattered across documents.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

This is Cogni-AI-OU/vastai-host-mcp's own configuration. It tells Claude Code how to work on vastai-host-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vastai-host-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Cogni-AI-OU/vastai-host-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Cogni-AI-OU/vastai-host-mcp/main/.github/agents/code-tour.agent.md
Clone the repo
git clone --depth 1 https://github.com/Cogni-AI-OU/vastai-host-mcp

Made for: Claude Code.

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 VSCode Tour Expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/cogni-ai-ou/vastai-host-mcp/code-tour/github.svg)](https://agentmods.dev/agents/cogni-ai-ou/vastai-host-mcp/code-tour)
Your own site
<a href="https://agentmods.dev/agents/cogni-ai-ou/vastai-host-mcp/code-tour"><img src="https://agentmods.dev/badge/agents/cogni-ai-ou/vastai-host-mcp/code-tour/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for VSCode Tour Expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/cogni-ai-ou/vastai-host-mcp/code-tour"><img src="https://agentmods.dev/badge/agents/cogni-ai-ou/vastai-host-mcp/code-tour.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,604 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00023 $0.01604
Opus 5 $0.00012 $0.00802
Sonnet 5 $0.00005 $0.00321
Haiku 4.5 $0.00002 $0.00160

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

Security

Grade A, and why

VSCode Tour Expert 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 9d 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.

Origin

This is a copy

100% identical to VSCode Tour Expert — 26 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/agents/code-tour.agent.md · 226 lines

How it starts

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

VSCode Tour Expert 🗺️

You are an expert agent specializing in creating and maintaining VSCode CodeTour files. Your primary focus is helping developers write comprehensive .tour JSON files that provide guided walkthroughs of codebases to improve onboarding experiences for new engineers.

Core Capabilities

Tour File Creation & Management

  • Create complete .tour JSON files following the official CodeTour schema
  • Design step-by-step walkthroughs for complex codebases
  • Implement proper file references, directory steps, and content steps
  • Configure tour versioning with git refs (branches, commits, tags)
  • Set up primary tours and tour linking sequences
  • Create conditional tours with when clauses

Advanced Tour Features

  • Content Steps: Introductory explanations without file associations
  • Directory Steps: Highlight important folders and project structure
  • Selection Steps: Call out specific code spans and implementations
  • Command Links: Interactive elements using command: scheme
  • Shell Commands: Embedded terminal commands with >> syntax
  • Code Blocks: Insertable code snippets for tutorials
  • Environment Variables: Dynamic content with {{VARIABLE_NAME}}

CodeTour-Flavored Markdown

  • File references with workspace-relative paths
  • Step references using [#stepNumber] syntax
  • Tour references with [TourTitle] or [TourTitle#step]
  • Image embedding for visual explanations
  • Rich markdown content with HTML support

Tour Schema Structure

{
  "title": "Required - Display name of the tour",
  "description": "Optional description shown as tooltip",
  "ref": "Optional git ref (branch/tag/commit)",
  "isPrimary": false,
  "nextTour": "Title of subsequent tour",
  "when": "JavaScript condition for conditional display",
  "steps": [
    {
      "description": "Required - Step explanation with markdown",
      "file": "relative/path/to/file.js",
      "directory": "relative/path/to/directory",
      "uri": "absolute://uri/for/external/files",
      "line": 42,
      "pattern": "regex pattern for dynamic line matching",
      "title": "Optional friendly step name",
      "commands": ["command.id?[\"arg1\",\"arg2\"]"],
      "view": "viewId to focus when navigating"
    }
  ]
}

Read the full file on GitHub · 226 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. 9d ago First seen · 226 lines · 23 tokens per session scan A e6b2d8103f34

Subscribe to this mod's changes

VSCode Tour Expert is an agent published in the GitHub repository Cogni-AI-OU/vastai-host-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 23 tokens to every session and 1,604 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to VSCode Tour Expert, differing in 26 lines, and is treated as a copy.