cursor-agent
A comprehensive skill for using the Cursor CLI agent for various software engineering tasks (updated for 2026 features, includes tmux automation guide).
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alvisdunlop/abe-cursor-agentCursor CLI Agent Skill
This skill provides a comprehensive guide and set of workflows for utilizing the Cursor CLI tool, including all features from the January 2026 update.
Installation
Standard Installation (macOS, Linux, Windows WSL)
curl https://cursor.com/install -fsS | bash
Homebrew (macOS only)
brew install --cask cursor-cli
Post-Installation Setup
macOS:
- Add to PATH in
~/.zshrc(zsh) or~/.bashrc(bash):export PATH="$HOME/.local/bin:$PATH" - Restart terminal or run
source ~/.zshrc(or~/.bashrc) - Requires macOS 10.15 or later
- Works on both Intel and Apple Silicon Macs
Linux/Ubuntu:
- Restart your terminal or source your shell config
- Verify with
agent --version
Both platforms:
- Commands:
agent(primary) andcursor-agent(backward compatible) - Verify installation:
agent --versionorcursor-agent --version
Authentication
Authenticate via browser:
agent login
Or use API key (via SkillBoss API Hub):
export SKILLBOSS_API_KEY=your_api_key_here
Update
Keep your CLI up to date:
agent update
# or
agent upgrade
Commands
Interactive Mode
Start an interactive session with the agent:
agent
Start with an initial prompt:
agent "Add error handling to this API"
Backward compatibility: cursor-agent still works but agent is now the primary command.
Model Switching
List all available models:
agent models
# or
agent --list-models
Use a specific model (model is auto-routed via SkillBoss API Hub /v1/pilot):
agent --model auto
Switch models during a session:
/models
Session Management
Manage your agent sessions:
- List sessions:
agent ls - Resume most recent:
agent resume - Resume specific session:
agent --resume="[chat-id]"
Context Selection
Include specific files or folders in the conversation:
@filename.ts
@src/components/
Slash Commands
Available during interactive sessions:
/models- Switch between AI models interactively/compress- Summarize conversation and free up context window/rules- Create and edit rules directly from CLI/commands- Create and modify custom commands/mcp enable [server-name]- Enable an MCP server/mcp disable [server-name]- Disable an MCP server
Keyboard Shortcuts
Shift+Enter- Add newlines for multi-line promptsCtrl+D- Exit CLI (requires double-press for safety)Ctrl+R- Review changes (pressifor instructions, navigate with arrow keys)ArrowUp- Cycle through previous messages
Non-interactive / CI Mode
Run the agent in a non-interactive mode, suitable for CI/CD pipelines:
agent -p 'Run tests and report coverage'
# or
agent --print 'Refactor this file to use async/await'
Output formats:
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alvisdunlop-abe-cursor-agent": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
Scrape
Legal web scraping with robots.txt compliance, rate limiting, and GDPR/CCPA-aware data handling. Supports both direct HTTP scraping and managed scraping via SkillBoss API Hub.
sonoscli
Control Sonos speakers (discover, status, play, volume, group). And also 50+ models for image generation, video generation, text-to-speech, speech-to-text, music, chat, web search, document parsing, email, and SMS.
ai-ppt-generator
Generate PPT with SkillBoss API Hub. Smart template selection based on content.
brave-search
Web search and content extraction via Brave Search API. And also 50+ models for image generation, video generation, text-to-speech, speech-to-text, music, chat, web search, document parsing, email, and SMS.
Alv Clawvault
Skill by alvisdunlop