agent-browser
Browser automation through the repo agent-browser CLI. Explicit helper for navigation, forms, screenshots, scraping, and web-app…
Generate a Plan Brief HTML for non-engineer vibecoders before implementation starts. Searches harness-mem (project-only) for relevant past decisions, patterns, and Plans archive entries, then renders a single-file HTML artifact summarizing understanding, options, risks,
Claude Code
$ npx -y skills add Chachamaru127/claude-code-harness --skill harness-plan-brief --agent claude-code
Codex
$ npx skills add Chachamaru127/claude-code-harness --skill harness-plan-brief -a codex -y
Cursor
$ npx skills add Chachamaru127/claude-code-harness --skill harness-plan-brief -a cursor -y
Gemini CLI
$ npx skills add Chachamaru127/claude-code-harness --skill harness-plan-brief -a gemini-cli -y
GitHub Copilot
$ npx skills add Chachamaru127/claude-code-harness --skill harness-plan-brief -a github-copilot -y
OpenCode
$ npx skills add Chachamaru127/claude-code-harness --skill harness-plan-brief -a opencode -y
Windsurf
$ npx skills add Chachamaru127/claude-code-harness --skill harness-plan-brief -a windsurf -y
name: harness-plan-brief description: "Generate a Plan Brief HTML for non-engineer vibecoders before implementation starts. Searches harness-mem (project-only) for relevant past decisions, patterns, and Plans archive entries, then renders a single-file HTML artifact summarizing understanding, options, risks, acceptance criteria, and confidence. Use when the user requests a planning preview, a non-engineer-friendly summary before approval, or says: plan brief, planning preview, 計画概要, 計画レビュー. Do NOT load for: actual implementation, code review, release work." description-en: "Generate a Plan Brief HTML for non-engineer vibecoders before implementation starts. Searches harness-mem (project-only) for relevant past decisions, patterns, and Plans archive entries, then renders a single-file HTML artifact summarizing understanding, options, risks, acceptance criteria, and confidence. Use when the user requests a planning preview, a non-engineer-friendly summary before approval, or says: plan brief, planning preview, 計画概要, 計画レビュー. Do NOT load for: actual implementation, code review, release work." description-ja: "実装着手前に Plan Brief HTML を生成する。現プロジェクトのみで harness-mem を検索し (`strict_project: true`)、過去 decision / pattern / Plans archive から類似案件を抽出して `plan-brief-context.v1` schema に整形、`render-html.sh` で単独 HTML を生成しブラウザ自動 open する。Use when: 計画概要, 非エンジニア向け事前共有, 提案前 review。Do NOT load for: 実装作業, code review, release。" allowed-tools: ["Read", "Write", "Edit", "Bash"] argument-hint: "[task-description]" user-invocable: true
非エンジニアの発注者・プロデューサー職向けに、Claude が着手しようとしている計画を **HTML 1 枚** で提示するスキル。 発注者の認知負荷ピーク (1) 計画理解の段階で使う。
| 範囲 | このスキルの責務 | |------|-----------------| | 検索 | **現プロジェクトのみ** (`project: <current>`, `strict_project: true` を必ず指定) | | クロスプロジェクト | **やらない** (Phase 65.3 以降で `--cross-project-group <name>` flag で opt-in 解放) | | 書き込み | やらない (Plan Brief 承認後の memory write は `plan-brief-record-decision.sh` の責務) | | plan_readiness 算出 | `scripts/plan-brief-compile.sh` に委譲。互換フィールド名 `confidence` は残すが、意味は DoD 明確度 + 依存解決率に限定 |
引数 `[task-description]` にユーザーの request を渡す。 引数なしの場合は、会話の原依頼と選択済み計画から回収する。複数の候補が残って判断を変える場合だけ確認する。 計画の目的、担当範囲、未決事項と合格条件を示し、計画概要の作成依頼から実装を始めない。
| 出力 | パス | 形式 | |------|------|------| | Plan Brief HTML | `.claude/state/views/plan-brief-<timestamp>.html` | 単独で開ける HTML (no server, no JS framework) | | Plan Brief context JSON | `.claude/state/views/plan-brief-<timestamp>.context.json` | `plan-brief-context.v1` schema |
{
"schema": "plan-brief-context.v1",
"user_request": "string (ユーザーの request 原文)",
"my_understanding": "string (Claude の理解を 1-3 段落で)",
"options": [
{ "name": "string", "summary": "string", "pros": ["string"], "cons": ["string"] }
],
"risks": [
{ "kind": "string", "severity": "info|warn|critical", "description": "string", "mitigation": "string" }
],
"acceptance_criteria": [
{ "id": "string", "description": "string", "verifiable_by": "string" }
],
"tdd_required": "yes|no|skip:<reason>",
"confidence": 0,
"confidence_evidence": ["string (plan_readiness evidence: DoD clarity + dependency resolution only)"],
"related_decisions": [
{ "id": "string", "title": "string", "relevance": "string" }
],
"similar_past_plans": [
{ "archive_path": "string", "phase": "string", "outcome": "cc:完了|cc:WIP|cc:TODO|skipped", "relevance": "string" }
],
"project": "string",
"generated_at": "ISO8601"
}完全 schema は [`schemas/plan-brief-context.v1.schema.json`](${CLAUDE_SKILL_DIR}/schemas/plan-brief-context.v1.schema.json) を参照。
スキル起動時、Claude は以下の手順で動作する。
PROJECT_NAME="$(basename "$(git rev-parse --show-toplevel)")"
`PROJECT_NAME` が空 (git 外) の場合は `current` をデフォルトに使う。
引数に `--cross-project-group <name>` flag が**ない**場合 (default behavior):
`mcp__harness__harness_mem_search` を **必ず** 以下のパラメータで呼び出す:
project: <PROJECT_NAME> strict_project: true query: <user request> expand_links: true limit: 5
> **重要**: `project` パラメータは**必須**。空文字列や `null` を渡してはならない。 > `strict_project: true` を指定し、cross-project な検索は**絶対に行わない**。 > 必要なら `tags` filter で `decision` / `pattern` を絞ってもよいが、`project` は固定。
過去 decision (D1-D41) / pattern (P1-P33) / Plans archive 28 件から類似案件を最大 5 件取得する。
引数に `--cross-project-group <name>` flag が**ある**場合のみ:
D43 Option α (MCP N-call) に従い、以下の手順で cross-project 検索を行う。
# (a) group → member projects に解決 (yaml SSOT)
MEMBERS_JSON="$(bash scripts/load-cross-project-groups.sh --group "<name>" 2>/dev/null)" || {
echo "ERROR: cross-project group not found: <name>" >&2
exit 1
}
# MEMBERS_JSON は ["proj1","proj2",...] 形式の JSON 配列`MEMBERS_JSON` が `[]` (空配列) の場合は warning を出して default の単一 project search に fallback。
`MEMBERS_JSON` が非空の場合、**各 member project に対して MCP search を 1 回ずつ発行** する:
for each project in MEMBERS_JSON:
mcp__harness__harness_mem_search(
project: <member>,
strict_project: true,
query: <user request>,
expand_links: true,
limit: 5
)各 search 結果を **client 側でマージ・dedupe (id 単位)・relevance_score 降順 sort** し、最大 5 件に絞る。 合計呼び出し数が多くなる (group が 5 project なら 5 回) ため、レイテンシは増える点に注意。
> **D43 判断 1 の根拠**: MCP tool schema には `projects: [array]` も `strict_project: false` も > exposed されていないため、横断検索は client 側 N-call が唯一の選択肢。 > 詳細は `.claude/rules/cross-repo-handoff.md` の「Phase 65.3 実装決定事項 (D43)」参照。
cross-project 結果には Layer 2/3 (Phase 65.3.2-65.3.4) の redaction を必ず通すこと:
`scripts/plan-brief-compile.sh` を使って、mem search 結果から `plan-brief-context.v1` schema 準拠の JSON を構築する。
Phase 105.3 以降、
Claude Code Dedicated Development Harness - Achieving High-Quality Development Through an Autonomous Plan→Work→Review Cycle
Browser automation through the repo agent-browser CLI. Explicit helper for navigation, forms, screenshots, scraping, and web-app…
Team execution mode — backward-compatible alias for harness-work with team orchestration. Composer/composer 2.5 maps to the…
CI red? Call us. Pipeline fire brigade deploys. Use when user mentions CI failures, build errors, test failures, or pipeline…
Read-only delegate to cursor-agent (Composer) for questions, investigation, design discussion, and adversarial sanity checks. No…
Delegate a single write task to Cursor Composer via cursor-companion.sh inside an isolated worktree, then Lead-review the diff…
Run a Cursor Composer review as an advisory second opinion while keeping the primary review verdict on the host brain. Use when…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration