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/oc.md


description: Delegate a single task to one headless opencode worker (free model) allowed-tools: Bash(node:*)

Delegate this single task to ONE opencode worker. Task: $ARGUMENTS

Run exactly:

node "$HIVEMIND_HOME/scripts/oc-worker.mjs" --timeout 600 "$ARGUMENTS"

Then:

  1. Parse the single JSON line output: fields {ok, result, tokens, cost_usd, duration_ms}.
  2. If ok:false, report stage + error to me in one sentence and stop.
  3. If the task was read-only, summarize result concisely for me.
  4. If the task wrote files, run git diff and show me what changed before I commit anything.

Do not re-run opencode yourself, do not parse raw streams, do not spawn additional workers. For multi-agent work use /swarm instead.