vscode-node

Operate on code through a VS Code/Cursor IDE connected as an OpenClaw Node. Provides 40+ commands for file operations, language intelligence, git, testing, debugging, and Cursor Agent CLI integration. Use when you need to read/write/edit code, navigate definitions/references, run tests, debug, or delegate coding tasks to Cursor Agent.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "vscode-node" with this command: npx skills add xiaoyaner0201/vscode-node

VS Code / Cursor Node Skill

Control a VS Code or Cursor IDE remotely through the OpenClaw Node protocol.

Related

Prerequisites

  • Extension openclaw-node-vscode installed and connected (status bar 🟢)
  • Node visible in nodes status
  • Commands in Gateway's allowCommands whitelist

Invocation Pattern

nodes invoke --node "<name>" --invokeCommand "<cmd>" --invokeParamsJson '{"key":"val"}'

Both invokeTimeoutMs (Gateway internal) and timeoutMs (HTTP layer, must be larger) are required for long operations.

Timeout guide:

TypeinvokeTimeoutMstimeoutMs
File/editor/lang1500020000
Git3000035000
Test6000065000
Agent plan/ask180000185000
Agent run300000305000

Command Categories

CategoryPrefixKey CommandsReference
Filevscode.file.*read, write, edit, deletecommands/file.md
Directoryvscode.dir.*listcommands/file.md
Languagevscode.lang.*definition, references, hover, symbols, rename, codeActions, formatcommands/language.md
Editorvscode.editor.*active, openFiles, selectionscommands/editor.md
Diagnosticsvscode.diagnostics.*getcommands/editor.md
Gitvscode.git.*status, diff, log, blame, stage, commit, stashcommands/git.md
Testvscode.test.*list, run, resultscommands/test-debug.md
Debugvscode.debug.*launch, stop, breakpoint, evaluate, stackTrace, variablescommands/test-debug.md
Terminalvscode.terminal.*run (disabled by default)commands/terminal.md
Agentvscode.agent.*status, run, setup (Cursor only)commands/agent.md
Workspacevscode.workspace.*infocommands/editor.md

Quick Examples

Read a file

nodes invoke --node "my-vscode" --invokeCommand "vscode.file.read" --invokeParamsJson '{"path":"src/main.ts"}'
→ { content, totalLines, language }

Find all references

nodes invoke --node "my-vscode" --invokeCommand "vscode.lang.references" --invokeParamsJson '{"path":"src/main.ts","line":10,"character":5}'
→ { locations: [{ path, line, character }] }

Git status + commit

nodes invoke --node "my-vscode" --invokeCommand "vscode.git.status"
→ { branch, staged, modified, untracked, ahead, behind }

nodes invoke --node "my-vscode" --invokeCommand "vscode.git.stage" --invokeParamsJson '{"paths":["src/main.ts"]}'
nodes invoke --node "my-vscode" --invokeCommand "vscode.git.commit" --invokeParamsJson '{"message":"fix: resolve type error"}'

Delegate to Cursor Agent

nodes invoke --node "my-vscode" --invokeCommand "vscode.agent.run" --invokeParamsJson '{"prompt":"Add error handling to all API endpoints","mode":"plan"}' --invokeTimeoutMs 180000 --timeoutMs 185000
→ { output, exitCode }

Common Workflows

See references/workflows.md for detailed step-by-step workflows:

  • Fix a type error
  • Safe cross-file refactor
  • Delegate complex task to Cursor Agent

Error Handling

ErrorCauseSolution
node command not allowedNot in Gateway whitelistAdd to gateway.nodes.allowCommands
node not foundExtension not connectedCheck extension status bar
timeoutOperation too longIncrease both timeout params
path traversal blockedPath outside workspaceUse relative paths only
read-only modeExtension in read-onlyDisable openclaw.readOnly setting

Security

  • All paths are relative to workspace root — absolute paths and ../ blocked
  • Writes respect readOnly and confirmWrites extension settings
  • Terminal disabled by default, whitelist-only when enabled
  • Each device has unique Ed25519 identity, must be approved by Gateway

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Dlazy One Click Generation

Short-video generation pipeline. Configure subject, script, TTS voiceover, BGM, and subtitle styling.

Registry SourceRecently Updated
Coding

Dlazy Video Generate

Video generation skill. Automatically selects the best dlazy CLI video model based on the prompt.

Registry SourceRecently Updated
Coding

Dlazy Audio Generate

Audio generation skill. Automatically selects the best dlazy CLI audio/TTS model based on the prompt. 音频生成技能。根据提示词自动选择最佳的 dlazy CLI 音频/TTS 模型。

Registry SourceRecently Updated
Coding

Dlazy Vidu Audio Clone

Clone voice and generate new text reading audio with one click using Vidu Audio Clone.

Registry SourceRecently Updated