Agent skill
mission-worker
workspace/ops/steps.json を処理して step を実行し、completed に記録するワーカー
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/mission-worker
Metadata
Additional technical details for this skill
- openclaw
-
{ "os": [ "linux" ], "emoji": "\u2699\ufe0f" }
SKILL.md
mission-worker
目的
閉ループ実行エンジン。Anicca 内の step キューから「次にやる step」を取得し、step_kind に応じた executor を実行し、結果を Anicca 内の完了記録 に書く。Railway の step API は使わない。
保存先(Anicca 内・フルパス)
| データ | フルパス |
|---|---|
| 未実行 step キュー(読む) | /home/anicca/.openclaw/workspace/ops/steps.json |
| 完了した step(書く) | /home/anicca/.openclaw/workspace/ops/completed/YYYY-MM-DD.json(日付別に追記) |
VPS 上の相対パス: ~/.openclaw/workspace/ops/steps.json および ~/.openclaw/workspace/ops/completed/。
必須 env
| キー | 説明 |
|---|---|
| (step 実行に必要な Blotato / X 等の env は各 executor の SKILL に従う) |
必須 tools
web_fetch(API 呼び出し)- step_kind ごとの executor が要求する tools(例: web_search, twitter, tiktok 等)
入力
なし(cron 起動)。
実行手順(実装)
- steps.json を読む(
/home/anicca/.openclaw/workspace/ops/steps.json)。先頭 1 件を「次にやる step」として claim する(取り出しまたは inProgress マーク)。 - キューが空なら
{ ok: true, reason: "queue_empty" }として終了。 step.stepKindごとの executor を実行(最低限:noopでも可)。失敗時はstatus=failed。- 完了したら Anicca 内に記録する: 当日の
workspace/ops/completed/YYYY-MM-DD.jsonに{ id, stepKind, status, output, error, events, completedAt }を追記し、steps.json からその step を削除(または consumed としてマーク)。Railway のPATCH .../step/{id}/completeは呼ばない。
出力 / 監査ログ
- step 取得・実行・完了を Anicca 内 の
workspace/ops/completed/YYYY-MM-DD.jsonに記録。 - events は同一ファイルの
events配列に含める(または ops 配下の監査ログに出力)。
Slack 報告
【絶対】 実行結果・要約は Slack #metrics(チャンネル ID: C091G3PKHL2)に投稿する。成功でも失敗でも必ず投稿する。投稿しないことは許されない。
失敗時処理
- executor 失敗:
status: failed,errorを付けて complete。 - ネットワークエラー: 次回 cron で再 claim 可能(running のまま stale になる場合は staleRecovery で処理)。
禁止事項
- X 返信禁止(post_x は投稿のみ)。
- TikTok 返信禁止。
Cron
* * * * * (毎分)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?