apoapps

10 mods across 1 repository, 25 stars between them.

swarm-code

02

apoapps/swarm-code-plugin

Plugin Claude Code

Haiku-agent bridge — Claude Code spawns Haiku subagents that run OpenCode via CLI (opencode run). No tmux required. Workers stream colored logs to /tmp/swarm-code-logs/. Saves 70-80% tokens.

25 4mo ago A tokens not measured

opencode-worker

03

apoapps/swarm-code-plugin

Agent

OpenCode worker. Receives a task string, runs it through OpenCode via oc-run.sh, returns the result. Does NOT read files or do analysis itself.

25 4mo ago A 37 tokens

init

04

apoapps/swarm-code-plugin

Command

Initialize swarm-code — interactive setup wizard, model selection, project context, swarm profile.

25 4mo ago A 16 tokens

SessionStart

05

apoapps/swarm-code-plugin

Hook

Runs when a session starts, executing session-hook.mjs via node. From apoapps/swarm-code-plugin.

25 4mo ago A tokens not measured

PreToolUse

06

apoapps/swarm-code-plugin

Hook

Runs before the agent uses a tool for Agent tool calls, executing pre-tool-use.mjs via node. From apoapps/swarm-code-plugin.

25 4mo ago A tokens not measured

apoapps/swarm-code-plugin

Skill Claude CodeCodex

Delegate one or more tasks to OpenCode workers (Haiku subagents). Single worker for focused tasks, multiple workers in parallel for complex ones. No tmux required.

25 4mo ago A 40 tokens

opencode-prompting

08

apoapps/swarm-code-plugin

Skill Claude CodeCodex

How to compose effective prompts for OpenCode workers. Include context inline, be specific, set output format.

25 4mo ago A 27 tokens

opencode-runtime

10

apoapps/swarm-code-plugin

Skill Claude CodeCodex

Spawn a Haiku worker to run a task via OpenCode. The worker calls oc-run.sh which executes opencode run headlessly. No tmux, no server, no custom UI.

25 4mo ago A 42 tokens