Agent skill · software engineering · sundial-org
cursor-agent
A comprehensive skill for using the Cursor CLI agent for various software engineering tasks (updated for 2026 features, includes tmux automation guide).
Why this skill is useful
Adds comprehensive workflows and automation scripts for the Cursor CLI, including tmux integration and specific command usage that extend the AI's capabilities.
What it needs
Requires cursor, tmux installed locally. About 4k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
Cursor 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) Homebrew (macOS only) Post-Installation Setup macOS: Add to PATH in ~/.zshrc (zsh) or ~/.bashrc (bash): 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) and cursor-agent (backward compatible) Verify installation: agent --version or cursor-agent --version Authentication Authenticate via browser: Or use API key: Update Keep your CLI up to date: Commands Interactive Mode Start an interactive session with the agent: Start with an initial prompt: Backward compatibility: cursor-agent still works but agent is now the primary command. Model Switching List all available models: Use a specific model: Switch models during a session: 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: 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 prompts Ctrl+D - Exit CLI (requires double-press for safety) Ctrl+R - Review changes (press i for 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 pipe …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/cursor-agent