vscode-node
由 xiaoyaner0201 提供
Coding Agents & IDEs简介
Operate on code through a VS Code/Cursor IDE connected as an OpenClaw Node.
描述
该技能的功能
Controls a VS Code or Cursor IDE remotely through the OpenClaw Node protocol. Provides 40+ commands for file read/write, language server queries (definitions, references, hover), git operations, test execution, debugging, and Cursor Agent delegation. Requires the openclaw-node-vscode extension to be installed and connected.
Language server commands like definitions, references, and hover give access to IDE-level code intelligence that plain file reads cannot provide.
何时使用
- Editing source files in a connected VS Code workspace from an AI agent
- Looking up all references to a function or variable across a codebase
- Running a test suite and retrieving pass/fail results programmatically
- Staging and committing changes via git without leaving the agent workflow
- Delegating a multi-file refactor to Cursor Agent and capturing the output
示例工作流
User asks: Stage the modified files in src/ and commit with the message 'fix: resolve type error'
- 1
Call vscode.git.status to identify which files in src/ are modified
- 2
Call vscode.git.stage with the relevant paths from the modified list
- 3
Call vscode.git.commit with the provided commit message
- 4
Return the commit result including branch name and status
Commit created on current branch with staged src/ changes
前置要求
- OpenClaw Node for VS Code extension (openclaw-node-vscode) installed from the VS Code Marketplace
- VS Code or Cursor IDE with the extension connected and showing green status in the status bar
安装
clawhub install xiaoyaner0201/vscode-node运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。