ivrylobs/grok-cc-plugin/advisory-loop
Claude Code and agent skill by ivrylobs/grok-cc-plugin
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
How to run the advisor loop for Grok workers - wakes, inbox draining, veto etiquette. Use whenever a grokctl wait background task exits or a worker needs an answer.
Install
npx vskill@latest install ivrylobs/grok-cc-plugin/advisory-loopSKILL.md
The same SKILL.md was published earlier as ivrylobs/grok-cc-plugin/advisory-loop.
Running the advisory loop
- After every spawn, ALWAYS arm
grokctl wait <id> --actionable --timeout 570as a harness-tracked background Bash task (run_in_background: true), NOT a&-detached subshell. Exit 0 = an actionable event (permission / done / blocked / need_input / a stalled worker) — drain the inbox now; exit 2 = heartbeat timeout (re-arm; check status while you're there).--actionableskips the non-actionablepausedcheckpoint wakes, so one tracked wait per worker replaces the hand-rolledwhile … status … sleeppollers that leak (F4). For a fleet,grokctl wait <id1> <id2> … --actionable --anyreturns when ANY listed worker needs action. - NEVER hand-roll a status poller (
while true; do grokctl status; sleep N; done) or background a subshell inside a foreground command (( … ) &). Both detach from the harness and leak stale processes with no exit signal. The singlewait --actionableis the only polling primitive you need. - A worker that ends a turn without a terminal STATUS is auto-nudged once by the broker after ~90s; if it re-pauses it escalates to a
stalledinbox item (which--actionablewakes on). So you no longer babysitpaused— but do steer on a checkpoint if you have a course-correction. - On wake:
grokctl inbox <id>, handle the LAST unhandled item first (see /grok:advise steps). Never leave a permission pending - the 30-minute timeout denies and blocks the worker. - Veto etiquette: a deny cancels the worker's whole turn. Follow it with
sayguidance or the worker sits idle - but as a SEPARATE step, afteranswerreturns.sayrefuses while a permission is still held, and waits for the cancelled turn to settle before opening a new one. - Never
sayto a worker inadvisingstatus without answering its permission first. That is what the permission is waiting on. - checkpoint items are your cheap steering moment - one
saycourse-correction here saves a wasted turn later. - Verify done results yourself (diff, tests) before telling the user it's done. Workers' verification claims are input, not truth.
- If a worker dies (status dead),
grokctl resume <id>restores it with memory intact - do not respawn from scratch.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/advisory-loop/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ivrylobs/grok-cc-plugin/advisory-loop)