Agent skill

Knowledge Interaction Surfaces Vscode Bridge

by echoVic in echoVic/blade-code

覆盖 Blade VS Code 扩展的激活、WebSocket RPC、端口发现、编辑器/选区/诊断/Diff 操作和扩展打包。进入时机:修改 IDE 桥协议、/ide 连接、状态栏、端口文件、VS Code 命令或 VSIX 构建。

MITAuto-check passedBackend & APIs

Install Knowledge Interaction Surfaces Vscode Bridge

skills CLI
$ npx skills add echoVic/blade-code --skill knowledge-interaction-surfaces-vscode-bridge -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install echoVic/blade-code knowledge-interaction-surfaces-vscode-bridge --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/echoVic/blade-code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.trae/knowledges/interaction-surfaces/vscode-bridge .claude/skills/knowledge-interaction-surfaces-vscode-bridge && rm -rf skills-src

Use ~/.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/

Facts

Skill name
knowledge-interaction-surfaces-vscode-bridge
GitHub stars
180
Token cost
~975 tokens
SKILL.md length
241 words
Files
1
Skills in repo
38
Repo updated
First seen
Licence
MIT

At a glance

覆盖 Blade VS Code 扩展的激活、WebSocket RPC、端口发现、编辑器/选区/诊断/Diff 操作和扩展打包。进入时机:修改 IDE 桥协议、/ide 连接、状态栏、端口文件、VS Code 命令或 VSIX 构建。

  • Tasks that involve Realtime and WebSockets
  • SKILL.md covers Module Structure, Gotchas, Architecture and Decisions, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Knowledge Interaction Surfaces Vscode Bridge is an agent skill from echoVic/blade-code. 覆盖 Blade VS Code 扩展的激活、WebSocket RPC、端口发现、编辑器/选区/诊断/Diff 操作和扩展打包。进入时机:修改 IDE 桥协议、/ide 连接、状态栏、端口文件、VS Code 命令或 VSIX 构建。 不包含:ACP 标准宿主集成(见 ../acp-host-integration/)、LSP Session 智能(见 ../../extension-ecosystem/lsp-code-intelligence/)。关键词: blade-vscode, BLADEIDEPORT, ide-port, WebSocketServer, openFile, openDiff, getDiagnostics, /ide。

Its SKILL.md is about 980 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Realtime and WebSockets. It works with Visual Studio Code. The repository describes itself as: AI-powered CLI coding agent with 20+ built-in tools, MCP support, and multi-model providers. The licence is MIT.

When your agent uses it

  • Tasks that involve Realtime and WebSockets

Example prompts

  • “/knowledge-interaction-surfaces-vscode-bridge”

What it can do on your machine

Read from SKILL.md and the folder at commit 30f8684. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Knowledge Interaction Surfaces Vscode Bridge loads about 975 tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 241 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~975

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from echoVic/blade-code at commit 30f8684, republished under its MIT licence (© echoVic). 241 words, ~975 tokens.

Download SKILL.mdSave it as .claude/skills/knowledge-interaction-surfaces-vscode-bridge/SKILL.md (or your agent's skills folder).
name
knowledge-interaction-surfaces-vscode-bridge
description
覆盖 Blade VS Code 扩展的激活、WebSocket RPC、端口发现、编辑器/选区/诊断/Diff 操作和扩展打包。进入时机:修改 IDE 桥协议、`/ide` 连接、状态栏、端口文件、VS Code 命令或 VSIX 构建。 不包含:ACP 标准宿主集成(见 ../acp-host-integration/)、LSP Session 智能(见 ../../extension-ecosystem/lsp-code-intelligence/)。关键词: blade-vscode, BLADE_IDE_PORT, ide-port, WebSocketServer, openFile, openDiff, getDiagnostics, /ide。

Module Structure

VS Code 扩展是独立于 ACP 的轻量编辑器桥:扩展进程启动 WebSocket server,CLI 通过环境 变量或端口文件发现它,RPC 直接调用 VS Code API。

Directory Layout
  • packages/vscode/src/extension.ts — 扩展激活、WebSocket 生命周期与全部 RPC handler
  • packages/vscode/package.json — 激活事件、命令、设置、构建和打包入口
  • packages/vscode/README.md — 当前公开 RPC 和安装方式
  • packages/vscode/TODO.md — 已知稳定性缺口与后续能力边界
  • packages/cli/src/slash-commands/ide.ts — CLI 端口发现、连接探测和安装提示
  • packages/cli/src/ide/ — IDE 环境检测与扩展安装命令
Key Entry Points
  • activate() in packages/vscode/src/extension.ts — 注册 start/stop/status 并按配置自动启动
  • startServer() in packages/vscode/src/extension.ts — 建立 WebSocket、写端口文件和终端环境配置
  • handleMessage() in packages/vscode/src/extension.ts — RPC method 分派
  • handleConnect() in packages/cli/src/slash-commands/ide.ts — CLI 侧发现并探测扩展端口

Gotchas

  • VS Code 桥不是 ACP:它使用自定义 WebSocket {id, method, params} 协议,不能把 ACP Session 方法或能力协商假设套到该连接 (packages/vscode/src/extension.ts, packages/cli/src/acp/index.ts)
  • /ide connect 只建立一次 WebSocket 探测后立即关闭,却把模块级状态记为 connected;该状态不是持久连接健康度,也不会驱动后续 RPC (packages/cli/src/slash-commands/ide.ts)
  • 当前 CLI 只实现端口发现和连接探测,仓库中没有消费 openFile、openDiff、selection 或 diagnostics RPC 的长连接客户端;扩展公开能力不能等同于 Agent 已接入能力 (packages/cli/src/slash-commands/ide.ts, packages/vscode/src/extension.ts)
  • 端口发现先读 BLADE_IDE_PORT,再读单一 ~/.blade/ide-port;多窗口会覆盖同一文件,CLI 也不会按 workspace 选择实例 (packages/cli/src/slash-commands/ide.ts, packages/vscode/src/extension.ts, packages/vscode/TODO.md)
  • WebSocket server 未配置 host、认证或 origin 校验,消息参数使用 any 且无 schema;在扩大功能或网络暴露前必须先补协议校验与访问边界 (packages/vscode/src/extension.ts, packages/vscode/TODO.md)
  • openFile.options.line 是 1-based 并在调用 VS Code API 前减一,而 selection/diagnostic 返回值是 VS Code 原生 0-based;调用方不能混用坐标系 (packages/vscode/src/extension.ts)
  • setTerminalEnv() 更新的是 Workspace 级集成终端配置且异步 Promise 未等待,只影响之后创建的终端;当前终端仍依赖扩展进程环境或端口文件 (packages/vscode/src/extension.ts)
  • stopServer() 删除全局端口文件但不验证其中 pid/port 是否仍属于当前窗口;这与单文件多窗口限制是同一个生命周期风险 (packages/vscode/src/extension.ts, packages/vscode/TODO.md)

Architecture

  • 扩展在 onStartupFinished 激活,状态栏同时作为状态展示和 blade-code.status 命令入口;autoStart 默认开启 (packages/vscode/package.json, packages/vscode/src/extension.ts)
  • 单个扩展实例维护一个 WebSocketServer 和 client Set,每条请求独立响应 {id,result} 或 {id,error};JSON 解析失败的响应使用 id: null (packages/vscode/src/extension.ts)
  • RPC 只提供编辑器控制与观察:打开文件、列出 tab、读取选区/工作区/诊断、打开已有文件 diff 和显示通知,不拥有 Agent 或 Session 生命周期 (packages/vscode/src/extension.ts, packages/vscode/README.md)
  • 扩展端把实际端口、进程 ID、启动时间和 workspaceFolders 写入 JSON 端口文件;CLI 目前只消费 port 和首个 workspace 展示 (packages/vscode/src/extension.ts, packages/cli/src/slash-commands/ide.ts)

Decisions

  • 扩展以 esbuild 打包为 Node CommonJS,并将 vscode 标为 external;VSIX 构建不复用 CLI/Vite bundle (packages/vscode/package.json, packages/vscode/tsconfig.json)
  • 该桥保留为基础 RPC 原型,聊天、事件订阅、编辑应用、终端与协议版本化仍明确列在后续计划中;新增能力不应假设这些基础设施已经存在 (packages/vscode/TODO.md)

Patterns

  • start/stop/status 共享模块级 server 状态,重复 start 只提示当前端口,stop 会关闭全部 client、server、环境变量和端口文件 (packages/vscode/src/extension.ts)
  • 编辑器数据统一返回文件系统路径而非 URI 字符串,diff 输入也要求两个本地路径;远程工作区支持需要重新定义该契约 (packages/vscode/src/extension.ts)
  • IDE 检测与安装走 code、code-insiders、cursor CLI,不通过扩展 WebSocket;命令不存在时按未安装处理 (packages/cli/src/ide/detectIde.ts, packages/cli/src/ide/ideInstaller.ts)

Dependencies

  • 扩展运行依赖 VS Code Extension API 与 ws;开发和打包依赖 esbuild、TypeScript 与 @vscode/vsce (packages/vscode/package.json)

© echoVic, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .trae/knowledges/interaction-surfaces/vscode-bridge of echoVic/blade-code.

Open the folder on GitHubat commit 30f8684

Compare with similar skills

Knowledge Interaction Surfaces Vscode Bridge 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.

Knowledge Interaction Surfaces Vscode Bridge compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Knowledge Interaction Surfaces Vscode Bridge this skillechoVic/blade-code180—~975Automated safety check: PassMIT
Azure AI Voicelive Pymicrosoft/skills3.1k6 repos~2.9kAutomated safety check: PassMIT
Azure Messaging Webpubsubservice Pymicrosoft/skills3.1k6 repos~2kAutomated safety check: PassMIT
Vscode Sfdx Hardishardisgroupcom/sfdx-hardis400—~2.3kAutomated safety check: PassAGPL-3.0
Supabase Development and Debuggingsupabase/agent-skills2.7k3 repos~3.6kAutomated safety check: PassMIT
Use Yaakmountain-loop/yaak19k—~1.9kAutomated safety check: PassMIT

Similar skills

  • Azure AI Voicelive Py

    microsoft/skills

    Official

    Build real-time voice AI applications using Azure AI Voice Live SDK (azure-ai-voicelive).

    3.1k GitHub starsUsed in 6 repos~2.9k tokens
    Backend & APIsAuto-check passed
  • Official

    Azure Web PubSub Service SDK for Python. An agent skill from microsoft/skills.

    3.1k GitHub starsUsed in 6 repos~2k tokens
    Backend & APIsAuto-check passed
  • Vscode Sfdx Hardis

    hardisgroupcom/sfdx-hardis

    How sfdx-hardis and its VS Code extension vscode-sfdx-hardis depend on each other, and the checklist to apply whenever a change here can affect the extension (command flags, prompts, --json output…

    400 GitHub stars~2.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Official

    General Supabase skill for database, auth, Edge Functions, Realtime and storage work, plus client libraries, migrations, security audits, debugging and reading logs.

    2.7k GitHub starsUsed in 3 repos~3.6k tokens
    Backend & APIsAuto-check passed
  • Use Yaak

    mountain-loop/yaak

    A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…

    19k GitHub stars~1.9k tokensUpdated today
    Backend & APIsAuto-check passed
  • Gemini Live API Dev

    google-gemini/gemini-skills

    Official

    A skill your agent uses when building real-time, bidirectional streaming applications with the Gemini Live API, or migrating legacy Live models (2.0/2.5/3.1) to Gemini 3.8 Live.

    4.3k GitHub stars~4.6k tokensUpdated yesterday
    Backend & APIsAuto-check passed

More from echoVic/blade-code

All 38 skills in this repo
  • Base64 Parser

    echoVic/blade-code

    Base64 编解码工具,支持编码/解码文本、JSON、二进制文件,自动检测格式,支持批量处理. An agent skill from echoVic/blade-code.

    180 GitHub stars~545 tokensUpdated 10 days ago
    Auto-check: notes
  • Code Review

    echoVic/blade-code

    Review frontend code for best practices, bugs, and improvements.

    180 GitHub stars~377 tokensUpdated 10 days ago
    Auto-check: notes
  • GitHub Explorer

    echoVic/blade-code

    Explore and summarize popular GitHub projects. An agent skill from echoVic/blade-code.

    180 GitHub stars~434 tokensUpdated 10 days ago
    Auto-check passed
  • 覆盖 Session 级 LSP 配置快照、stdio 进程、文档同步、语义查询、诊断回注、崩溃恢复 和子 Session 继承。进入条件:新增语言服务器、修改 LSP 工具、排查诊断缺失/重复、 处理 worktree 或 ACP 差异、修复进程泄漏或 transport 代际问题。不包含:VS Code 扩展桥接(见…

    180 GitHub stars~1.9k tokensUpdated 10 days ago
    Auto-check passed
  • 覆盖 SkillRegistry、SKILL.md 延迟加载、自定义命令 Markdown 解析、来源覆盖、插件 命名空间、Session 快照和模型/用户调用入口。进入条件:新增 Skill 或命令字段、调整 发现优先级、调试 /command 或 Skill 工具、修改 Prompt 元数据或消费者集成。不包含: 插件安装生命周期(见…

    180 GitHub stars~2.1k tokensUpdated 10 days ago
    Auto-check passed
  • Covers 领域能力如何包装成内置工具、getBuiltinTools 的 Session 依赖注入、ToolSearch 延迟激活,以及 Goal/Task/Team/Plan/Skill/LSP/MCP/Web/Config/Worktree 适配边界。

    180 GitHub stars~2.1k tokensUpdated 10 days ago
    Auto-check passed

Categories

Questions about Knowledge Interaction Surfaces Vscode Bridge

What does Knowledge Interaction Surfaces Vscode Bridge do?

覆盖 Blade VS Code 扩展的激活、WebSocket RPC、端口发现、编辑器/选区/诊断/Diff 操作和扩展打包。进入时机:修改 IDE 桥协议、/ide 连接、状态栏、端口文件、VS Code 命令或 VSIX 构建。. Knowledge Interaction Surfaces Vscode Bridge is an agent skill from echoVic/blade-code.

When should I use Knowledge Interaction Surfaces Vscode Bridge?

Knowledge Interaction Surfaces Vscode Bridge fits situations like: tasks that involve Realtime and WebSockets.

How do I install Knowledge Interaction Surfaces Vscode Bridge in Claude Code?

Run `npx skills add echoVic/blade-code --skill knowledge-interaction-surfaces-vscode-bridge -a claude-code`. Or copy the skill folder (.trae/knowledges/interaction-surfaces/vscode-bridge in echoVic/blade-code) into .claude/skills/knowledge-interaction-surfaces-vscode-bridge in your project. Claude Code loads it when a task matches its description.

How do I install Knowledge Interaction Surfaces Vscode Bridge in Codex?

Run `npx skills add echoVic/blade-code --skill knowledge-interaction-surfaces-vscode-bridge -a codex`. Or copy the skill folder (.trae/knowledges/interaction-surfaces/vscode-bridge in echoVic/blade-code) into .agents/skills/knowledge-interaction-surfaces-vscode-bridge in your project. Codex loads it when a task matches its description.

Can I use Knowledge Interaction Surfaces Vscode Bridge in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add echoVic/blade-code --skill knowledge-interaction-surfaces-vscode-bridge -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/knowledge-interaction-surfaces-vscode-bridge, .gemini/skills/knowledge-interaction-surfaces-vscode-bridge, .github/skills/knowledge-interaction-surfaces-vscode-bridge and .opencode/skills/knowledge-interaction-surfaces-vscode-bridge in your project.

What does Knowledge Interaction Surfaces Vscode Bridge need to run?

SKILL.md names no scripts, command-line tools or credentials: Knowledge Interaction Surfaces Vscode Bridge is instructions for the agent only.

Does Knowledge Interaction Surfaces Vscode Bridge access the network?

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.

Is Knowledge Interaction Surfaces Vscode Bridge safe to install?

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.

What licence does Knowledge Interaction Surfaces Vscode Bridge use?

Knowledge Interaction Surfaces Vscode Bridge is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Knowledge Interaction Surfaces Vscode Bridge use?

About 975 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Knowledge Interaction Surfaces Vscode Bridge?

Skills that share tags, products or a category with Knowledge Interaction Surfaces Vscode Bridge: Azure AI Voicelive Py (microsoft/skills, 3.1k stars), Azure Messaging Webpubsubservice Py (microsoft/skills, 3.1k stars), Vscode Sfdx Hardis (hardisgroupcom/sfdx-hardis, 400 stars) and Supabase Development and Debugging (supabase/agent-skills, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Knowledge Interaction Surfaces Vscode Bridge?

echoVic (a GitHub user) maintains it in echoVic/blade-code, which has 180 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on September 27, 2026.

Source: echoVic/blade-code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.