A powerful wrapper for executing Cursor agent tasks in non-interactive, headless mode for seamless automation and batch processing.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install cursor-cli-headless
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install cursor-cli-headless using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Cursor CLI Headless is a specialized tool within the Openclaw Skills ecosystem designed to bridge the gap between AI-driven development and automated workflows. By leveraging the Cursor CLI's print mode, this skill allows developers to delegate complex code writing, refactoring, and analysis tasks to a headless agent process without requiring manual intervention.
This skill is particularly valuable for developers looking to integrate LLM-based coding assistance into their existing scripts or pipelines. Whether you are running automated code changes across multiple repositories or performing batch file analysis, this implementation provides the reliable, programmatic interface needed to harness the full power of Cursor in any environment.
To begin using this skill from the Openclaw Skills collection, ensure the Cursor CLI is installed and authenticated:
# Install Cursor CLI if missing
curl https://cursor.com/install -fsS | bash
# Authenticate your account
agent login
# Verify installation
agent --version
Set your CURSOR_API_KEY in your environment variables for non-interactive script execution.
The skill manages data through standard streams and specific output formats to ensure compatibility with downstream tools:
| Data Type | Description |
|---|---|
| Input Prompts | Supports raw text files (.txt) or inline string arguments. |
| Standard Output | Emits NDJSON (default), raw text, or a single JSON object. |
| Standard Error | Used for real-time progress tracking (via jq) and error reporting. |
| JSON Schema | When using -o json, returns an object containing result and duration_ms. |
Loading
A professional-grade crypto research agent that provides quantitative and qualitative market insights via the A2A protocol and x402 micropayments.

A decentralized perpetual futures exchange on Solana for trading real-time Pokemon TCG card price movements with up to 50x leverage.

A competitive social gaming skill that enables AI agents to participate in, host, and win automated roast battles on the Moltbook platform.

Daily Info is a powerful tool designed to provide AI agents with integrated current date, lunar calendar, and local weather data in a single, structured report.

PayRam is an MCP-powered payment gateway that allows developers and AI agents to accept USDC, BTC, and ETH payments instantly without KYC or bank accounts.

A sophisticated browser-based automation tool for Zhihu that enables AI agents to publish articles, answer questions, and extract platform data securely.








































