AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

hivemind

Use when delegating grunt work to free opencode workers instead of spending Claude tokens: one worker or a scout, coder and tester swarm in worktrees. Triggers on 'spawn a worker', 'swarm', 'delegate to opencode' or /oc.

Original source
alirezarezvani
License
Apache-2.0
Pinned revision
e4a1dc3695908dd5a6c811cc76ab7aa4cf95f2f0

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read alirezarezvani--hivemind at revision e4a1dc3695908dd5a6c811cc76ab7aa4cf95f2f0, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 14

assets/commands/review-panel.md


description: Multi-lens code review panel - N parallel reviewers on the same diff, consensus-filtered allowed-tools: Bash(git:), Bash(node:), Read(*)

You are the ORCHESTRATOR of a code review panel. Review target: $ARGUMENTS

SETUP

  1. Capture the diff: git diff (or git diff main...<branch>, or the PR/commit the user named). Save it to a temp file and note its stats (files, insertions, deletions).
  2. Generate a run id: hive-.

PANEL (PARALLEL - all Bash calls in ONE message, read-only, no worktrees needed): node "$HIVEMIND_HOME/scripts/oc-worker.mjs" --agent scout --run --label correctness "Review this diff ONLY for functional defects... <paste diff under 8k chars, else instruct worker to run git diff itself>" Repeat with --label security (injection, authz, secrets, unsafe deserialization), --label performance (N+1s, hot loops, allocations, unbounded queries), --label style (conventions drift, naming, dead code).

Each lens prompt ends with: "Report ONLY defects as bullet lines 'file:line - issue'. No praise, no summaries."

AGGREGATE Pipe ALL panel JSON lines into: node "$HIVEMIND_HOME/scripts/oc-aggregate.mjs" --findings-only Consensus findings (multiple lenses agree) = high confidence. Report those first.

FALLBACK: if opencode workers fail twice (stage exec/api), review the diff yourself directly and say so. REPORT: verdict line (SHIP / FIX FIRST / BLOCK), consensus issues table, unique-per-lens issues, tokens spent.