cursor-ide-agent_skill

This skill helps you accelerate coding tasks by switching between CLI speed and IDE intelligence for precise, efficient software development.
  • Python

2.5k

GitHub Stars

3

Bundled Files

2 months ago

Catalog Refreshed

3 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill cursor-ide-agent

  • _meta.json291 B
  • README.md1.9 KB
  • SKILL.md10.0 KB

Overview

This skill exposes Cursor Agent usage in two practical paths: a Local CLI for fast, general-purpose coding and a VS Code Node path for full IDE intelligence via the OpenClaw Node protocol. The CLI is the default for speed and broad tasks; use the Node path when you need diagnostics, references, debugging, or precise workspace context. It provides invocation patterns, session controls, and examples to integrate Cursor into automation and remote IDE workflows.

How this skill works

The CLI runs Cursor Agent locally as an interactive TUI or in non-interactive automation modes (plan, ask, agent) and supports session management, sandboxing, and cloud handoff. The Node path uses the OpenClaw Node protocol to control a remote Cursor/VS Code instance and exposes commands for file operations, language features, diagnostics, tests, git, and debugging. Use CLI for quick edits and automation; switch to Node for IDE-level operations like diagnostics.get, lang.definition, test.run, and vscode.debug.*.

When to use it

  • Quick bug fixes, refactors, or one-off code generation — prefer CLI for speed
  • Automated, non-interactive tasks (CI steps, scripts) — use CLI with -p and JSON output
  • When you need real type/lint diagnostics, go to the Node path
  • Navigating definitions, references, and precise renames — use Node
  • Running tests, inspecting results, or debugging with breakpoints — Node is required

Best practices

  • Default to CLI for most everyday tasks; reserve Node for workspace-specific intelligence
  • Run Node diagnostics.get before edits to surface real type and lint errors
  • Use pty:true when invoking the CLI from exec to avoid hangs; use background + poll for long jobs
  • Use non-interactive CLI flags (--plan, -p, --output-format json) for automation and parsing
  • Follow the Fix → Verify → Commit loop on Node: diagnostics → agent.run → diagnostics → test.run → git.commit

Example use cases

  • Locally generate a new feature and commit it quickly with agent -p and --force (CLI)
  • Detect and fix TypeScript errors using vscode.diagnostics.get then vscode.agent.run (Node)
  • Run the project's test suite through the IDE and iterate until tests pass (Node: test.run + test.results)
  • Automate scans for TODOs or unused imports and produce machine-readable output (CLI with JSON)
  • Remote-edit a repository through a connected Cursor/VS Code node, then stage and commit changes (Node git commands)

FAQ

Use the CLI by default for speed and broad tasks. Switch to Node only when you need IDE features such as real diagnostics, go-to-definition, or debugging.

Why does the CLI hang when invoked remotely?

Cursor CLI is a TUI and requires a real terminal. Include pty:true in your exec invocation or run the CLI interactively to avoid hangs.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational