advisor
它能做什么
在主模型完成工作的同时,添加一个更强的第二 AI 模型,在少数关键时刻提供建议。适合希望对困难任务获得第二意见的人。
适用场景
- ✓当你输入 advisor 命令以开启第二意见时。
- ✓当助手在某个错误上卡住,需要更强的审查时。
- ✓当你希望在助手宣布任务完成之前,获得第二意见时。
技能链接
https://github.com/cursor/plugins/blob/main/advisor/skills/advisor/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请开启顾问模式,并在你完成之前用最强的模型再检查一遍这次重构。”
每周 5 个新技能,1 分钟读完。
工作原理
顾问会阅读简报和对话内容,进行思考,并返回指导意见。它不编辑文件。主助手仍然负责完成工作,并做出最终决定。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Advisor
You are the main model. Advisor mode adds a second, stronger model that you consult at a few key points. The advisor gets your briefing (and the full transcript when available), thinks hard, and returns a verdict with guidance. It does not edit files. You still do the work and make the final call.
State lives in .cursor/advisor/state.json at the project root. When that file exists with "enabled": true, advisor mode is on for this project.
Commands
The text after /advisor selects the action.
| Input | Action |
|---|---|
/advisor |
Enable for this conversation with the default advisor: the latest Grok at its highest reasoning effort. If a state file already exists, from this or another conversation, re-bind it here, keeping its model and nudge settings. |
/advisor <model> |
Same, with the given model. Any model available to subagents works: /advisor cursor-grok-4.6-xhigh-fast, /advisor composer-2.5. |
/advisor off |
Disable: delete .cursor/advisor/. |
/advisor status |
Report model, consult count, and whether the end-of-turn nudge is on. Changes nothing. |
/advisor ask <question> |
Consult now about the current work, regardless of checkpoint. |
/advisor nudge on / off |
Toggle the end-of-turn reminder posted by the plugin's stop hook (default on). |
If the message also contains a task (/advisor, then refactor the cache layer), enable first, then do the task under advisor mode.
Choosing the model
The default is the latest Grok model at its highest reasoning effort, currently cursor-grok-4.6-xhigh. If a newer Grok or a higher effort tier appears in the subagent model list available to you, prefer it and say so.
For /advisor <model>, resolve the request against the subagent model slugs available to you:
- An exact slug: use it as is.
- A family or version name (
grok fast,composer): that family's latest model at its highest reasoning tier. - No match: say so, name two or three close options, and keep the current model.
If the Task tool rejects a slug, read the valid slugs from its error message, pick the closest one (same family, highest reasoning tier), save it to state.json, and tell the user in one line. Do not block the consult on the slug.
Enabling
Resolve the model as described above.
Write
.cursor/advisor/state.jsonwith the file-writing tool (not a shell redirect), creating the directory if needed. If a state file already exists, carry over itsmodel(unless this command names one) andnudge, and reset every other field to the values below. You cannot see which conversation an existing file belongs to, so always rewrite it: that re-binds the mode to this conversation, the hooks re-fillconversation_idandtranscript_path, and the next consult starts a fresh advisor instead of resuming another chat's. Also delete.cursor/advisor/pendingand.cursor/advisor/last-response.txtif they exist, so a marker left by another conversation cannot trigger the end-of-turn nudge here. Keeplog.md.{ "enabled": true, "model": "cursor-grok-4.6-xhigh", "nudge": true, "advisor_agent_id": null, "conversation_id": null, "transcript_path": null, "consults": 0, "last_consult_at": null, "enabled_at": "<current UTC time, ISO 8601>" }The plugin's hooks fill in
conversation_id,transcript_path,consults, andlast_consult_at. Leave them alone.Confirm in one line:
Advisor on: <slug>. I'll consult it before major decisions, when I'm stuck, and before I call the task done.Then continue with any task in the same message.
Never stage or commit .cursor/advisor/.
Checkpoints
Consult at these points and nowhere else. Each consult is a strong-model call; the value comes from using it selectively.
- Before a major decision. Choosing between architectures or approaches; changes that are hard to reverse or have a wide blast radius (schema or data migrations, deleting or rewriting a module, public API or config format changes, dependency swaps, auth, payments, or other security-sensitive code); or a request that is ambiguous in a way that would change the work materially. Consult once you have a concrete plan and the options in hand, not before you understand the problem. One consult covers the plan; do not re-consult per file.
- When stuck. The same error or failing test after two genuine fix attempts; behavior you cannot explain from
常见问题
顾问会修改我的文件吗?
不会。它只给出结论和指导,由主助手编辑文件并做出最终决定。
我可以关闭它吗?
可以。off 命令会通过删除其项目状态文件夹来禁用顾问模式。
它默认开启吗?
不会。助手绝不应自行开启它,只有在你要求时才会开启。
详情
作者的原始描述
Advisor mode. Consult a stronger (or different) model at key checkpoints: before major decisions, when stuck on an error, and before declaring a task done. Use when the user types /advisor, asks to turn the advisor on or off, picks an advisor model, or explicitly asks for a second opinion from a stronger or different model. Never enable it on your own.
repo: cursor/plugins
热度
- GitHub 星标
- 15k
- 排名
- #10923
- 许可证
- —
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
check-agent-compatibility
15k全面检查 AI 编程智能体能否启动、验证和记录某个代码仓库,并返回一个兼容性评分以及主要问题。
cli-for-agents
15k教你的智能体设计或审查命令行工具,使 AI 智能体无需提示即可运行,并提供清晰的帮助文字和示例。
continual-learning
15k通过把回顾过往对话的工作交给专门的记忆更新程序,使你的 AGENTS.md 笔记保持最新。
create-plugin-scaffold
15k创建一个新的 Cursor 插件文件夹,包含有效的清单文件、组件文件夹和市场配置,可直接用于本地或提交。