Loading...
Loading...
Plans.mdのタスクを実装。スコープを聞いて自動判断、1タスクから全タスクまで。Use when user mentions '/work', execute plan, implement tasks, build features, work on tasks, 'do everything', 'implement', '実装して', '全部やって', 'ここだけ'. Do NOT load for: planning, reviews, setup, deployment, or breezing (team execution).
npx skill4agent add chachamaru127/claude-code-harness work「聞いて、判断して、実行する」1タスクなら直接実装。複数なら並列。大量なら自動反復。 ユーザーはスコープだけ決めれば、あとは自動。
/work # スコープを聞いてから実行
/work 3 # タスク3だけ即実行
/work all # 全タスクを即実行
/work 3-6 # タスク3〜6を即実行
/work --codex # Codex CLI で実装(スコープを聞く)
/work --codex all # Codex CLI で全タスク即実行
/work --parallel 5 # 並列5ワーカーで実行
/work --no-commit # 自動コミット抑制
/work --resume latest # 前回セッション再開| Option | Description | Default |
|---|---|---|
| 全未完了タスクを対象 | - |
| タスク番号/範囲指定 | - |
| Codex CLI で実装委託 | false |
| 並列ワーカー数 | auto |
| 並列禁止(直列実行) | - |
| 自動コミット抑制 | false |
| 反復上限(all 時) | 10 |
| セッション再開 | - |
| セッションフォーク | - |
/work
どこまでやりますか?
1) 次のタスク (推奨): Plans.md の次の未完了タスク
2) 全部: 残りのタスクを全て完了
3) 指定: タスク番号や範囲を指定 (例: 3, 3-6)
> [Enter = 1]| スコープ | 戦略 | 元スキル相当 |
|---|---|---|
| 1タスク | 直接実装 | 旧 |
| 2-3タスク | サブエージェント並列 | 旧 |
4+タスク or | サブエージェント並列 + 自動反復 | 旧 |
実行開始時に戦略を表示:
🔧 戦略: 直接実装 (タスク1件)
🔧 戦略: 並列 3 ワーカー (タスク3件)
🔧 戦略: 並列 3 ワーカー + 自動反復 (タスク8件, 最大10回)/work [scope]
↓
Phase 0: スコープ確認 (引数なしなら対話)
↓
Phase 1: 戦略選択 (タスク数で自動判断)
↓
Phase 2: 実装
→ 1タスク: 直接実装
→ 複数: task-worker サブエージェント並列
→ 全部/4+: 並列 + 反復ループ (完了まで自動)
↓
Phase 3: Review Loop (harness-review)
→ APPROVE: proceed
→ REQUEST_CHANGES: fix → re-review
↓
Phase 4: Auto-commit (unless --no-commit)
↓
Tip 表示/workharness_mem_resume_pack(project, session_id?, limit=5, include_private=false)harness_mem_record_checkpoint(session_id, title, content, tags?, privacy_tags?)harness_mem_finalize_session(session_id, summary_mode="standard")session_id$CLAUDE_SESSION_ID.claude/state/session.json.session_idharness_mem_sessions_list(project, limit=1)record_checkpointfinalize_sessionsession_idnotify.codex/history.jsonlharness_mem_health()scripts/harness-memd doctorall--max-iterations--codex| 項目 | デフォルト | --codex |
|---|---|---|
| 実装主体 | Claude (直接コーディング) | Codex CLI |
| Claude の役割 | 調整 + 実装 | PM (調整のみ) |
| Edit/Write | 許可 | 禁止 (guard 適用) |
| 品質保証 | セルフレビュー | AGENTS_SUMMARY + Quality Gates |
| Feature | Reference |
|---|---|
| Scope Dialog | See references/scope-dialog.md |
| Auto-Iteration | See references/auto-iteration.md |
| Codex Engine | See references/codex-engine.md |
| Execution Flow | See references/execution-flow.md |
| Parallel Execution | See references/parallel-execution.md |
| Session Management | See references/session-management.md |
| Review Loop | See references/review-loop.md |
| Auto-commit | See references/auto-commit.md |
| Error Handling | See references/error-handling.md |
| Condition | Parallel Count |
|---|---|
| 1 task | 1 |
| All tasks edit same file | 1 |
| 2-3 independent tasks | 2-3 |
| 4+ independent tasks | 3 (max) |
Done! 2 tasks completed. (3 remaining)
Tip: /breezing でチーム並列実行できます
Tip: --codex を付けると Codex に実装を委託できます# work-active.json を作成
cat > .claude/state/work-active.json <<EOF
{
"active": true,
"started_at": "$(date -u +%Y-%m-%dT%H:%M:%SZ)",
"strategy": "iteration",
"codex_mode": false,
"bypass_guards": ["rm_rf", "git_push"],
"allowed_rm_paths": ["node_modules", "dist", ".next", ".cache"],
"review_status": "pending"
}
EOFrm -f .claude/state/work-active.json| Skill | Purpose | When to Call |
|---|---|---|
| Feature implementation | On task implementation |
| Build verification | On post-implementation verification |
| Multi-perspective review | After implementation complete |
.claude-code-harness.config.yamlwork:
auto_commit: false # Disable auto-commit
commit_on_pm_approve: true # 2-Agent: defer commit until PM approves| What You Want | How to Say |
|---|---|
| 次のタスクだけ | |
| 全部終わらせて | |
| この番号だけ | |
| ここからここまで | |
| Codex に任せて | |
| 並列で速く | |
| チームで完走して | → |
breezingharness-reviewimpl