mirror of
https://github.com/cursor/plugins.git
synced 2026-09-14 20:00:00 +08:00
6c0b9713f6
Cursor counterpart of Claude Code's /advisor. The main model consults a stronger (or different) model before major decisions, when stuck on an error, and before declaring a task done; the advisor gets a full briefing plus the transcript path and returns a verdict with guidance. - skill `advisor`: /advisor [model|off|status|ask ...|nudge on|off], checkpoint protocol, briefing template, usable as a Custom Mode - agent `advisor-subagent`: read-only, pinned to claude-opus-5[effort=xhigh] by default, overridable per session via the Task model parameter - hooks: track edits since the last consult, log consults to .cursor/advisor/log.md, nudge a pre-completion consult once per batch of edits (quiet when the agent ended on a question for the user) - register in marketplace.json and the root README Co-authored-by: Eric Zakariasson <ericzakariasson@users.noreply.github.com>
28 lines
464 B
JSON
28 lines
464 B
JSON
{
|
|
"version": 1,
|
|
"hooks": {
|
|
"afterFileEdit": [
|
|
{
|
|
"command": "./hooks/mark-pending.sh"
|
|
}
|
|
],
|
|
"afterAgentResponse": [
|
|
{
|
|
"command": "./hooks/capture-response.sh"
|
|
}
|
|
],
|
|
"subagentStop": [
|
|
{
|
|
"command": "./hooks/record-consult.sh",
|
|
"matcher": "^advisor-subagent$"
|
|
}
|
|
],
|
|
"stop": [
|
|
{
|
|
"command": "./hooks/stop-hook.sh",
|
|
"loop_limit": 3
|
|
}
|
|
]
|
|
}
|
|
}
|