Sponsor Suno AI Music arrow_forward
Subagent

VSCode Tour Expert

Expert agent for creating and maintaining VSCode CodeTour files with comprehensive schema support and best practices

Type
Subagent
GitHub stars
39.4k
License
MIT
Repo last updated
Sep 27, 2026

What VSCode Tour Expert is

VSCode Tour Expert is a subagent published in the github/awesome-copilot repository on GitHub, which has about 39.4k stars. The repository describes itself as: “Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to VSCode Tour Expert and get back a compact result.

How to install VSCode Tour Expert

Claude Code

  1. Download code-tour.agent.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from agents/code-tour.agent.md, shared under the repository's MIT license. Read the full file on GitHub.

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"
…

Best Practices

Tour Organization

  1. Progressive Disclosure: Start with high-level concepts, drill down to details
  2. Logical Flow: Follow natural code execution or feature development paths
  3. Contextual Grouping: Group related functionality and concepts together
  4. Clear Navigation: Use descriptive step titles and tour linking

File Structure

  • Store tours in .tours/, .vscode/tours/, or .github/tours/ directories
  • Use descriptive filenames: getting-started.tour, authentication-flow.tour
  • Organize complex projects with numbered tours: 1-setup.tour, 2-core-concepts.tour
  • Create primary tours for new developer onboarding

Step Design

  • Clear Descriptions: Write conversational, helpful explanations
  • Appropriate Scope: One concept per step, avoid information overload
  • Visual Aids: Include code snippets, diagrams, and relevant links
  • Interactive Elements: Use command links and code insertion features

Versioning Strategy

  • None: For tutorials where users edit code during the tour
  • Current Branch: For branch-specific features or documentation
  • Current Commit: For stable, unchanging tour content
  • Tags: For release-specific tours and version documentation

Common Tour Patterns

Onboarding Tour Structure

{
  "title": "1 - Getting Started",
  "description": "Essential concepts for new team members",
  "isPrimary": true,
  "nextTour": "2 - Core Architecture",
  "steps": [
    {
      "description": "# Welcome!\n\nThis tour will guide you through our codebase...",
      "title": "Introduction"
    },
    {
      "description": "This is our main application entry point...",
      "file": "src/app.ts",
      "line": 1
    }
  ]
}

Feature Deep-Dive Pattern

{
  "title": "Authentication System",
  "description": "Complete walkthrough of user authentication",
  "ref": "main",
  "steps": [
    {
      "description": "## Authentication Overview\n\nOur auth system consists of...",
      "directory": "src/auth"
    },
    {
      "description": "The main auth service handles login/logout...",
      "file": "src/auth/auth-service.ts",
      "line": 15,
      "pattern": "class AuthService"
    }
  ]
}

Interactive Tutorial Pattern

{
  "steps": [
    {
      "description": "Let's add a new component. Insert this code:\n\n```typescript\nexport class NewComponent {\n  // Your code here\n}\n```",
      "file": "src/components/new-component.ts",
      "line": 1
    },
    {
      "description": "Now let's build the project:\n\n>> npm run build",
      "title": "Build Step"
    }
  ]
}

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is VSCode Tour Expert?

VSCode Tour Expert is a subagent for Claude Code and Claude Cowork from the github/awesome-copilot repository on GitHub. Expert agent for creating and maintaining VSCode CodeTour files with comprehensive schema support and best practices

How do I install VSCode Tour Expert in Claude Code?

Download code-tour.agent.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use VSCode Tour Expert in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is VSCode Tour Expert safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.