rayfin: Skill for Claude Code

.github/skills/launch-vscode-extension/SKILL.md

launch-vscode-extension is a skill for Claude Code from microsoft/rayfin. It costs 83 tokens per session (3,550 once invoked), scanned A, a copy of launch, MIT.

A browser-automation skill for VS Code Insiders, the preview version of Microsoft's code editor, using its chat extension through its user interface.

In plain words
What is it for?
Use it to launch VS Code Insiders, interact with the Copilot Chat panel, test the extension interface, and take screenshots.
Why use it?
It removes the need to operate the editor manually when checking chat behaviour or capturing the interface.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

This is microsoft/rayfin's own configuration. It tells Claude Code how to work on rayfin 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 rayfin configures →

Part of the rayfin plugin — 41 skills, 17 commands, 1 agent, 3 MCP servers, 1 plugin shipped together

About the project

Rayfin is a managed Backend-as-a-Service platform that creates and operates application backends from data models defined with TypeScript decorators. It provides databases, authentication, APIs, storage, and hosting for teams building applications. Its catalogue skill and plugin help coding agents create and work with Rayfin projects.

microsoft/rayfin · 647 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to microsoft/rayfin. 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/microsoft/rayfin/main/.github/skills/launch-vscode-extension/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/microsoft/rayfin

Made for: Claude Code.

Or install rayfin, the plugin that ships this one along with the rest of its 41 skills, 17 commands, 1 agent, 3 MCP servers, 1 plugin.

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 launch-vscode-extension

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/rayfin/launch-vscode-extension/github.svg)](https://agentmods.dev/skills/microsoft/rayfin/launch-vscode-extension)
Your own site
<a href="https://agentmods.dev/skills/microsoft/rayfin/launch-vscode-extension"><img src="https://agentmods.dev/badge/skills/microsoft/rayfin/launch-vscode-extension/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 launch-vscode-extension

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/rayfin/launch-vscode-extension"><img src="https://agentmods.dev/badge/skills/microsoft/rayfin/launch-vscode-extension.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,550 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 97% 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.00083 $0.03550
Opus 5.5 $0.00033 $0.01420
Sonnet 5.5 $0.00017 $0.00710
Haiku 4.5 $0.00008 $0.00355

Measured 14d ago against content hash 406d77d7a7ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

launch-vscode-extension 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 14d 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

97% identical to launch — 3 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/skills/launch-vscode-extension/SKILL.md · 335 lines

How it starts

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

VS Code Extension Automation

Automate VS Code Insiders with the Copilot Chat extension using agent-browser. VS Code is built on Electron/Chromium and exposes a Chrome DevTools Protocol (CDP) port that agent-browser can connect to, enabling the same snapshot-interact workflow used for web pages.

Prerequisites

  • agent-browser must be installed. It's available in the project's devDependencies — run npm install. Use npx agent-browser if it's not on your PATH, or install globally with npm install -g agent-browser.
  • code-insiders is required. This extension uses 58 proposed VS Code APIs and targets vscode ^1.110.0-20260223. VS Code Stable will not activate it — you must use VS Code Insiders.
  • The extension must be compiled first. Use npm run compile for a one-shot build, or npm run watch for iterative development.
  • CSS selectors are internal implementation details. Selectors like .interactive-input-part, .monaco-editor, and .view-line are VS Code internals that may change across versions. If automation breaks after a VS Code update, re-snapshot and check for selector changes.

Core Workflow

  1. Build the extension
  2. Launch VS Code Insiders with the extension and remote debugging enabled
  3. Connect agent-browser to the CDP port
  4. Snapshot to discover interactive elements
  5. Interact using element refs
  6. Re-snapshot after navigation or state changes

📸 Take screenshots for a paper trail. Use agent-browser screenshot <path> at key moments — after launch, before/after interactions, and when something goes wrong. Screenshots provide visual proof of what the UI looked like and are invaluable for debugging failures or documenting what was accomplished.

Save screenshots inside .vscode-ext-debug/screenshots/ (gitignored) using a timestamped subfolder so each run is isolated and nothing gets overwritten:

# Create a timestamped folder for this run's screenshots
SCREENSHOT_DIR=".vscode-ext-debug/screenshots/$(date +%Y-%m-%dT%H-%M-%S)"
mkdir -p "$SCREENSHOT_DIR"

# Windows (PowerShell):
# $screenshotDir = ".vscode-ext-debug\screenshots\$(Get-Date -Format 'yyyy-MM-ddTHH-mm-ss')"
# New-Item -ItemType Directory -Force -Path $screenshotDir

# Save a screenshot (path is a positional argument — use ./ or absolute paths)
# Bare filenames without ./ may be misinterpreted as CSS selectors
agent-browser screenshot "$SCREENSHOT_DIR/after-launch.png"

Read the full file on GitHub · 335 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. 14d ago First seen · 335 lines · 83 tokens per session scan A 406d77d7a7ec

Subscribe to this mod's changes

launch-vscode-extension is a skill published in the GitHub repository microsoft/rayfin (647 stars, last pushed yesterday), licensed MIT. It adds 83 tokens to every session and 3,550 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to launch, differing in 3 lines, and is treated as a copy.

Related

Other skills, from other repositories

browse

Drive a real browser through Aside: open a page, read it, click through a flow, take screenshots, check console errors. (gstack).

garrytan/gstack · 32 tokens

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

create-verification-skill

Create a repo-local verification skill and exhaustive feature map for driving a real app through its UI, CLI, or API. Use for "create a verification skill", "make a verify skill for this repo", or "document how agents can verify this app".

get-bb/bb · 57 tokens

browser-qa

A browser-based quality check for deployed web pages and user flows. It uses browser automation to test rendering, navigation, forms, interactions, responsive behaviour, and accessibility-related issues.

hashgraph-online/awesome-codex-plugins · 58 tokens

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

anthropics/skills · 35 tokens

test-electron-app

Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…

PostHog/posthog-foss · 112 tokens