一键导入
cursor
Translates task requirements into Cursor CLI commands. Used by cursor-driver agent to execute coding tasks via Cursor.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Translates task requirements into Cursor CLI commands. Used by cursor-driver agent to execute coding tasks via Cursor.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Translates task requirements into GitHub Copilot CLI commands. Used by copilot-driver agent to execute coding tasks via Copilot.
Intelligently routes and delegates coding tasks to the best AI agent (Codex, Cursor, Gemini, Copilot). Use /delegate <task> to automatically pick the optimal agent based on task type and complexity.
Translates task requirements into Gemini CLI commands. Used by gemini-driver agent to execute coding tasks via Google Gemini.
"Structured brainstorming with research-driven exclusion zones and shape uniqueness enforcement. Forces divergent thinking through volume and a hard constraint: no idea can take the same shape as any prior art or any previous idea. Use when exploring solutions to a problem, designing features, or when the obvious approach might not be the best one."
Translates task requirements into Codex CLI commands. Used by codex-driver agent to execute coding tasks via OpenAI Codex.
| name | cursor |
| description | Translates task requirements into Cursor CLI commands. Used by cursor-driver agent to execute coding tasks via Cursor. |
The CLI command is
agent, NOTcursor
| Wrong | Right |
|---|---|
cursor -p "..." | agent -p "..." |
cursor resume | agent resume |
cursor ls | agent ls |
Subagents run with a minimal PATH. Always prefix commands with PATH setup:
export PATH="$HOME/.local/bin:$PATH" && agent <args>
Or use the full path directly: ~/.local/bin/agent
Always apply these for programmatic (headless) execution:
-p "<prompt>" — required for headless mode--output-format text — recommended for clean output capture# Uses --model auto for automatic model selection based on task complexity
export PATH="$HOME/.local/bin:$PATH" && agent -p "<prompt>" --model auto --output-format text
# Use --mode only when you need to override auto-selection
export PATH="$HOME/.local/bin:$PATH" && agent -p "<prompt>" --model auto --mode [ask|agent|plan] --output-format text
export PATH="$HOME/.local/bin:$PATH" && agent -p "<prompt>" --model gpt-5.2 --output-format text
export PATH="$HOME/.local/bin:$PATH" && agent resume -p "<prompt>" --output-format text
export PATH="$HOME/.local/bin:$PATH" && agent --resume="<chat-id>" -p "<prompt>" --output-format text
export PATH="$HOME/.local/bin:$PATH" && agent ls
Default Behavior: Mode is auto-selected based on task type. Override only when necessary.
| Task Type | Auto-Selected | Override Flag | Notes |
|---|---|---|---|
| Analysis, review, Q&A | ask | --mode ask | Read-only, no file changes |
| Create or edit files | agent | --mode agent | Full agent capabilities |
| Planning, architecture | plan | --mode plan | Generates plan without execution |
Recommendation: Let Cursor auto-select the mode. Only use --mode flag when:
Default (RECOMMENDED): Always use --model auto to let Cursor automatically select the best model based on task complexity.
# Recommended: Let Cursor choose the optimal model
export PATH="$HOME/.local/bin:$PATH" && agent -p "<prompt>" --model auto
Explicit model selection is available when you need a specific model, but is optional:
| Requirement | Flag | Notes |
|---|---|---|
| Auto (RECOMMENDED) | --model auto | Cursor selects best model for task |
| High-quality reasoning | --model gpt-5.2 | Complex reasoning tasks |
| Fast / cheap | --model gemini-3-flash | Quick, straightforward tasks |
| Claude thinking | --model opus-4.6-thinking | Deep reasoning with Claude |
| Claude fast | --model sonnet-4.6 | Fast Claude option |
If not specified, always default to --model auto.
| Format | Flag | Use Case |
|---|---|---|
| Text | --output-format text | Programmatic processing, CI/automation |
| Default | (none) | Interactive/human-readable output |
For complex tasks requiring cloud processing, prefix the prompt with &:
agent "& refactor the auth module and add comprehensive tests"
Report to user: "You can resume this Cursor session by saying 'cursor resume'."
agent ls — List all previous conversationsagent resume — Resume most recent sessionagent --resume="<id>" — Resume specific session by ID# Code review (read-only)
export PATH="$HOME/.local/bin:$PATH" && agent -p "Review src/auth.py for security issues" --model auto --mode ask --output-format text
# Implement feature
export PATH="$HOME/.local/bin:$PATH" && agent -p "Add input validation to the login form" --model auto --output-format text
# Generate plan
export PATH="$HOME/.local/bin:$PATH" && agent -p "Plan the migration from REST to GraphQL" --model auto --mode plan --output-format text
# Continue previous work
export PATH="$HOME/.local/bin:$PATH" && agent resume -p "Now add unit tests for the changes"
# Cloud-powered complex task
export PATH="$HOME/.local/bin:$PATH" && agent "& analyze codebase architecture and suggest improvements"
For complex multi-step tasks, you may run agent without -p to enter interactive mode:
agent
Then provide prompts conversationally. Use this when: