Skip to content
AI & Agents
Command

/oc

Delegate a single task to one headless opencode worker (free model)

From plugin
alirezarezvani-claude-skills
26k150 skills116 agents150 commands2 MCP
Install
$ npx -y skills add alirezarezvani/claude-skills --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/oc

Context preview

What this command does when you run it.

Delegate a single task to one headless opencode worker (free model)

Command definition

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.

Ships withalirezarezvani-claude-skills

388 production-ready Claude Code skills, plugins, and agent skills for 13 AI coding tools. The most comprehensive open-source library of Claude Code skills and agent plugins — also works with OpenAI Codex, Gemini CLI, Cursor, and 9 more coding agents.

Get the whole plugin

Other commands on alirezarezvani-claude-skills.