autoship-status
Display current AutoShip orchestration status — running agents, quota bars, progress, token usage
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Display current AutoShip orchestration status — running agents, quota bars, progress, token usage
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
AutoShip orchestration for OpenCode-only workers
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-status |
| description | Display current AutoShip orchestration status — running agents, quota bars, progress, token usage |
| platform | opencode |
| tools | ["Bash","Read"] |
Display the current state of the AutoShip orchestration session.
Prefer the real status hook:
bash hooks/opencode/status.sh
cat .autoship/state.json 2>/dev/null
If missing: Display "No active AutoShip session. Run /autoship to begin."
Also read quota file:
cat .autoship/quota.json 2>/dev/null || echo '{}'
# Count running agents
jq '[.issues | to_entries[] | select(.value.state == "running")] | length' .autoship/state.json
# List running agents with details
jq -r '.issues | to_entries[] | select(.value.state == "running") | "\(.key): \(.value.agent // "unknown")"' .autoship/state.json
gh pr list --state open --json number --jq 'length'
gh pr list --state merged --json number --jq 'length'
Read started_at from state.json:
started_at=$(jq -r '.started_at // empty' .autoship/state.json)
elapsed=$(($(date +%s) - $(date -j -f "%Y-%m-%dT%H:%M:%SZ" "$started_at" +%s 2>/dev/null || echo 0)))
hours=$((elapsed / 3600))
minutes=$(((elapsed % 3600) / 60))
cat .autoship/token-ledger.json 2>/dev/null || echo '{"sessions": []}'
═══════════════════════════════════════════
AUTOSHIP STATUS
═══════════════════════════════════════════
Repo: owner/repo
Uptime: Xh Ym
Phase: N/M (checkpoint: yes/no)
───────────────────────────────────────────
AGENTS (N active / 20 max)
───────────────────────────────────────────
[OpenCode] #42 — Fix login validation (12m)
[OpenCode] #45 — Add rate limiting (8m)
───────────────────────────────────────────
QUOTA
───────────────────────────────────────────
OpenCode: provider-managed
───────────────────────────────────────────
PROGRESS
───────────────────────────────────────────
Session: Dispatched: N Completed: N Failed: N
All-time: Dispatched: N Completed: N
PRs open: N PRs merged: N
═══════════════════════════════════════════
Each bar is 20 characters:
filled=$((quota_pct / 5))
bar=$(printf '%*s' "$filled" | tr ' ' '█')$(printf '%*s' $((20 - filled)) | tr ' ' '░')
Color hints:
> 50%: show percentage10-50%: show "~N%"< 10%: show "LOW"0%: show "EXHAUSTED"For each running issue, show:
started_atIf state file is corrupted:
AUTOSHIP STATUS: ERROR
State file corrupted. Recovery options:
1. Run /autoship to rebuild state
2. Delete .autoship/state.json and restart
═══════════════════════════════════════════
AUTOSHIP STATUS
═══════════════════════════════════════════
No active AutoShip session.
Run /autoship to start orchestration.
═══════════════════════════════════════════