harness-ops
Claude Dev Harness の運用スキル。複数Issueの並行解決、worktree管理、 PR作成、ccx-runでのN回実行、Hooksの設定など、ハーネスのCLIツールを どう使うかを定義する。「issueを並行で」「worktreeを掃除」 「複数案を試したい」「PR作って」がトリガー。
Skill by inai17ibar
Chalk Labs
Need help deploying harness-ops?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/inai17ibar-harness-ops
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/harness-ops
Tools it pre-approves 2
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Bash,Read
What's inside
- Skill name
harness-ops- Description
- Claude Dev Harness の運用スキル。複数Issueの並行解決、worktree管理、 PR作成、ccx-runでのN回実行、Hooksの設定など、ハーネスのCLIツールを どう使うかを定義する。「issueを並行で」「worktreeを掃除」 「複数案を試したい」「PR作って」がトリガー。
- License
- MIT
- Allowed tools
- Bash,, Read
- Instructions
- 125 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (1)
- SKILL.md
SKILL.md (first lines)
# Claude Dev Harness 運用ガイド
このリポジトリは Claude Dev Harness で開発されている。
以下の CLI ツールが `/usr/local/bin/` にインストール済み。
実体は `~/src/claude-dev-harness/bin/` へのシンボリックリンクなので、
`git pull && ./setup.sh` で更新できる。
## コマンド一覧
### spawn-agents — 複数Issueの並行解決
```bash
# 基本: Opus で並行解決
spawn-agents 42 51 67
# PR作成まで自動化
spawn-agents --pr 42 51 67
# PR作成 + 自動マージ (CI通過後)
spawn-agents --merge 42 51 67
# Sonnetで高速バッチ (5並行)
spawn-agents --model claude-sonnet-5 -j 5 --pr 1 2 3 4 5
# tmuxで並行ログ確認
spawn-agents -m tmux 42 51 67
# DRY RUN
spawn-agents --dry-run 42 51
# 未マージPRがあるIssueも強制的に再実装
spawn-agents --force 42
# タイムアウトを15分にする (既定は3600秒、0で無制限)
spawn-agents -t 900 42
```
各Issueに対して `~/worktrees/<リポジトリ名>-issue-<番号>/` に独立worktreeが作られ、
未マージの既存PRがあるIssueは再実装せずスキップされる(`--force` で上書き)。
ブランチ `agent/issue-<番号>-<timestamp>` でエージェントが実装する。
タイムアウトしたエージェントも、そこまでのコミットがあればPRを作る。
ログ末尾の `AGENT_DONE:<番号>` / `AGENT_TIMEOUT:<番号>` で成否を判別できる。
### ccx-run — N回実行してベスト選択
```bash
# 探索的: 3回実行して比較
ccx-run -n 3 "認証フローを実装"
# 一意解 (exact): 1回実行
ccx-run -t exact --test "npm test" "Issue #42を修正"
# テスト通過を条件にする
ccx-run --test "pytest" -n 3 "UserServiceをリファクタ"
# 違うモデルで試す
ccx-run --model claude-sonnet-5 -n 5 "デザイン案を出して"
```
### worktree-clean — 後片付け
```bash
# マージ済みworktreeとブランチを削除
worktree-clean
# 削除対象だけ確認
worktree-clean --dry-run
# 他リポジトリの残骸も対象にする (現役の worktree はスキップされる)
worktree-clean --all-repos
```
`$WORKTREES_BASE` は全リポジトリ共有なので、既定では自分のリポジトリ名で始まる
ディレクトリしか触らない。他リポジトリの作業中 worktree を巻き添えで消さないため。
## Hooks (自動で動作)
| Hook | タイミング | 動作 |
|---|---|---|
| `post-write.sh` | ファイル書き込み後 | Prettier/ruff/gofmt 自動実行 |
| `auto-commit.sh` | Stop時 | agent/issue-* ブランチで未コミット変更を自動コミット |
| `on-stop.sh` | Stop時 | Slack + macOS通知 |
| `session-start.sh` | セッション開始時 | Issue本文をコンテキスト注入 |
| `safety-guard.sh` | Bash実行前 | rm -rf / などをブロック。`~/.claude-harness/safety-{allow,block}.txt` で調整可 |
## 環境変数
```bash
CLAUDE_MODEL # デフォルトモデル (claude-opus-5)
AGENT_TIMEOUT # 1エージェントの上限秒数 (既定3600。応答不能時に打ち切り)
MAX_PARALLEL # 並行数上限 (現運用は1=逐次。並行起動でエージェントが即死した実績あり)
WORKTREES_BASE # worktree保存先 (~/worktrees)
CLAUDE_HARNESS_DIR # ハーネスルート (~/.claude-harness)
SLACK_WEBHOOK_URL # Slack通知先 (任意)
```
## ユーザの典型的なフロー(2026-09現在の運用)
1. 思いつきを `idea` ラベルでIssue化(/idea スキル、または土曜7:00の週次監査ジョブが自動起票)
2. やるものに `automation` ラベルを付ける(=発注。GitHubアプリから10秒)
3. Mac miniの launchd ジョブが 2:00 と 8〜22時の偶数時に `spawn-agents --pr` で実装しPR作成
(自動マージはリポジトリ設定で不許可のため --pr 運用。PR本文の Closes #N でマージ時にIssueも閉じる)
4. 朝(または次の偶数時以降)PRをレビューして1クリックでマージ
5. `worktree-clean` で後片付け(任意)
## トラブルシュート
| 症状 | 原因 | 対処 |
|---|---|---|
| `claude native binary not installed` | Rosetta下のx64 Node | `/bin/zsh` でarm64シェルから入り直す |
| `error: unknown option '--headless'` | 古いCLI | `npm i -g @anthropic-ai/claude-code` |
| `model not found` | モデル名古い | `CLAUDE_MODEL` を更新 |
| `No commits between master and ...` | エージェントがコミットしていない | auto-commit hookを確認、または手動 `git -C <worktree> add -A && commit` |
| Issueの実装が出来ていない | プロンプトで止まった | ログ確認: `~/.claude-harness/logs/issue-*.log` |
| 1件処理後に残りIssueが打ち切られる | bash 3.2 + set -u の空配列展開エラー | 現行版は配列を使わないので発生しない。旧 `~/claude-harness` が残っていれば移行する |
| `-j` を付けるとCPUを焼く | bash 3.2 に `wait -n` が無い | 現行版は `harness_throttle` のポーリングで対処済み |
| safety-guard が何も止めない | 環境変数からコマンドを読む旧版 | `setup.sh` で入れ直す。`tests/run-tests.sh safety-guard` で確認 |
| エージェントが応答不能のまま並行枠を占有 | タイムアウト未設定 | `AGENT_TIMEOUT`(既定3600秒)。`-t 0` で無制限 |From inai17ibar/claude-dev-harness, MIT.
More from inai17ibar/claude-dev-harness
- 0.529score
idea-triage
inai17ibar
溜まった `idea` ラベルの GitHub Issue を会話の中で選別し、実装させるものに `automation` ラベルを付けるスキル。GitHub を開かずに、一覧を見て番号を言うだけで 夜間ジョブに流せる状態にする。「選別して」「idea を見せて」「バックログ整理」 「何を実装させる?」「たまってる…
SkillBFreshness: BClaude Code +9 - 0.526score
tdd-ai-parallel
inai17ibar
テスト駆動AI並列開発ワークフロー。テストファイルが既にあって実装を書きたい時、 または複数のIssueを並行で解決したい時に使う。Issueの実装、テスト通過、PR作成までを spawn-agentsコマンドで一気通貫で進める。「新機能を実装」「Issue を解決」…
SkillBFreshness: BClaude Code +9 - 0.521score
harness-dashboard
inai17ibar
Claude Dev Harness の観測ダッシュボード操作。エージェント実行状況、 Issue/PR数、成功率、最近の実行ログを確認する。 「ダッシュボード開いて」「ハーネスの状況見せて」「処理状況確認」 「成功率は?」「最近の実行ログ」「Issueの処理待ち」がトリガー。
SkillBFreshness: BClaude Code +9 - 0.520score
worktree-agent-debug
inai17ibar
Claude Dev Harness(spawn-agents / worktree / MCP stdio)で詰まったときのトラブルシュート。 「claude native binary not installed」「arm64」「x64」「Rosetta」「cd: No such file」…
SkillBFreshness: BClaude Code +9 - 0.507score
spawn-all
inai17ibar
Open状態の全Issueを並行解決
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 12, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/inai17ibar/claude-dev-harness
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from inai17ibar
- 0.529score
idea-triage
inai17ibar
溜まった `idea` ラベルの GitHub Issue を会話の中で選別し、実装させるものに `automation` ラベルを付けるスキル。GitHub を開かずに、一覧を見て番号を言うだけで 夜間ジョブに流せる状態にする。「選別して」「idea を見せて」「バックログ整理」 「何を実装させる?」「たまってる…
SkillBFreshness: BClaude Code +9 - 0.526score
tdd-ai-parallel
inai17ibar
テスト駆動AI並列開発ワークフロー。テストファイルが既にあって実装を書きたい時、 または複数のIssueを並行で解決したい時に使う。Issueの実装、テスト通過、PR作成までを spawn-agentsコマンドで一気通貫で進める。「新機能を実装」「Issue を解決」…
SkillBFreshness: BClaude Code +9 - 0.521score
harness-dashboard
inai17ibar
Claude Dev Harness の観測ダッシュボード操作。エージェント実行状況、 Issue/PR数、成功率、最近の実行ログを確認する。 「ダッシュボード開いて」「ハーネスの状況見せて」「処理状況確認」 「成功率は?」「最近の実行ログ」「Issueの処理待ち」がトリガー。
SkillBFreshness: BClaude Code +9 - 0.520score
worktree-agent-debug
inai17ibar
Claude Dev Harness(spawn-agents / worktree / MCP stdio)で詰まったときのトラブルシュート。 「claude native binary not installed」「arm64」「x64」「Rosetta」「cd: No such file」…
SkillBFreshness: BClaude Code +9 - 0.507score
spawn-all
inai17ibar
Open状態の全Issueを並行解決
SkillBFreshness: BClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get harness-ops running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
harness-ops skill. Agent Mart. https://agentmart.dev/skills/inai17ibar-harness-ops (last updated 2026-10-24)