autoship-orchestrate
AutoShip orchestration for OpenCode-only workers
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
AutoShip orchestration for OpenCode-only workers
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Delegate GitHub issue-to-PR orchestration to the AutoShip OpenCode plugin.
Implementer role — writes code to implement features or fixes
Display current AutoShip orchestration status — running agents, quota bars, progress, token usage
Interactive setup wizard for AutoShip on OpenCode — model selection, tool detection, concurrency tuning
Post-completion verification pipeline for OpenCode — review, simplify, re-verify, PR creation, CI monitoring, cleanup
Lead role — coordinates multiple agents and manages orchestration flow
| name | autoship-orchestrate |
| description | AutoShip orchestration for OpenCode-only workers |
| platform | opencode |
| tools | ["Bash","Agent","Read","Write","Edit","Glob","Grep","Skill","TaskCreate","TaskUpdate"] |
AutoShip uses OpenCode as its only worker runtime. Do not dispatch external CLIs or non-OpenCode runtimes.
AUTOSHIP_HOME="${OPENCODE_CONFIG_DIR:-${XDG_CONFIG_HOME:-$HOME/.config}/opencode}/.autoship"
gh auth status
git rev-parse --show-toplevel
command -v opencode >/dev/null 2>&1
bash "$AUTOSHIP_HOME/hooks/opencode/init.sh"
bash "$AUTOSHIP_HOME/hooks/opencode/setup.sh"
Always plan eligible issues in ascending issue-number order:
AUTOSHIP_HOME="${OPENCODE_CONFIG_DIR:-${XDG_CONFIG_HOME:-$HOME/.config}/opencode}/.autoship"
PLAN=$(bash "$AUTOSHIP_HOME/hooks/opencode/plan-issues.sh" --limit 10)
The plan must exclude running, blocked, and human-required issues.
Dispatch each planned issue through the OpenCode hooks:
AUTOSHIP_HOME="${OPENCODE_CONFIG_DIR:-${XDG_CONFIG_HOME:-$HOME/.config}/opencode}/.autoship"
TASK_TYPE=$(bash "$AUTOSHIP_HOME/hooks/opencode/classify-issue.sh" <issue-number>)
bash "$AUTOSHIP_HOME/hooks/opencode/dispatch.sh" <issue-number> "$TASK_TYPE"
bash "$AUTOSHIP_HOME/hooks/opencode/runner.sh"
Default active worker cap is 20. The runner enforces the cap from .autoship/state.json or routing config.
Workers write one of these to .autoship/workspaces/<issue-key>/status:
QUEUEDRUNNINGCOMPLETEBLOCKEDSTUCKReconcile state from workspace statuses:
AUTOSHIP_HOME="${OPENCODE_CONFIG_DIR:-${XDG_CONFIG_HOME:-$HOME/.config}/opencode}/.autoship"
bash "$AUTOSHIP_HOME/hooks/opencode/reconcile-state.sh"
bash "$AUTOSHIP_HOME/hooks/opencode/status.sh"
On COMPLETE, run verification, ensure committed changes exist, and create PRs with conventional titles:
AUTOSHIP_HOME="${OPENCODE_CONFIG_DIR:-${XDG_CONFIG_HOME:-$HOME/.config}/opencode}/.autoship"
bash "$AUTOSHIP_HOME/hooks/opencode/pr-title.sh" --issue <number>
On repeated failures or unclear requirements, mark the issue blocked for human review.