跳到正文
Skillpedia
智能体15k · #10923

advisor

它能做什么

在主模型完成工作的同时,添加一个更强的第二 AI 模型,在少数关键时刻提供建议。适合希望对困难任务获得第二意见的人。

适用场景

  • ✓当你输入 advisor 命令以开启第二意见时。
  • ✓当助手在某个错误上卡住,需要更强的审查时。
  • ✓当你希望在助手宣布任务完成之前,获得第二意见时。

技能链接

https://github.com/cursor/plugins/blob/main/advisor/skills/advisor/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/cursor/plugins/blob/main/advisor/skills/advisor/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. Resolve the model as described above.

  2. Write .cursor/advisor/state.json with the file-writing tool (not a shell redirect), creating the directory if needed. If a state file already exists, carry over its model (unless this command names one) and nudge, 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-fill conversation_id and transcript_path, and the next consult starts a fresh advisor instead of resuming another chat's. Also delete .cursor/advisor/pending and .cursor/advisor/last-response.txt if they exist, so a marker left by another conversation cannot trigger the end-of-turn nudge here. Keep log.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, and last_consult_at. Leave them alone.

  3. 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.

  1. 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.
  2. 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能