Agent skill

Harness Plan Brief

by Chachamaru127 in Chachamaru127/claude-code-harness

Generate a Plan Brief HTML for non-engineer vibecoders before implementation starts.

MITAuto-check: notesProduct & Project Management

Install Harness Plan Brief

skills CLI
$ npx skills add Chachamaru127/claude-code-harness --skill harness-plan-brief -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Chachamaru127/claude-code-harness harness-plan-brief --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/harness-plan-brief .claude/skills/harness-plan-brief && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
harness-plan-brief
GitHub stars
3.2k
Token cost
~2.2k tokens
SKILL.md length
467 words
Files
2
Skills in repo
25
Repo updated
First seen
Licence
MIT

At a glance

Generate a Plan Brief HTML for non-engineer vibecoders before implementation starts.

  • Works in 7 steps: project name を解決 → harness-mem を project-only で検索する (default) → (alt): cross-project search (Phase… → …
  • The user requests a planning preview
  • SKILL.md covers Quick Reference, 責任境界, 入力 and 出力, plus 4 more sections
  • Calls bash, git and jq

What it does

Harness Plan Brief is an agent skill from Chachamaru127/claude-code-harness. 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…

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `schemas/plan-brief-context.v1.schema.json`).

It sits in Product & Project Management, covering HTML artifacts and User stories. It works with Model Context Protocol. The repository describes itself as: Claude Code Dedicated Development Harness - Achieving High-Quality Development Through an Autonomous Plan→Work→Review Cycle. The licence is MIT.

When your agent uses it

  • The user requests a planning preview
  • A non-engineer-friendly summary before approval
  • Says: plan brief
  • Planning preview

Example prompts

  • “/harness-plan-brief”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. project name を解決
  2. harness-mem を project-only で検索する (default)
  3. (alt): cross-project search (Phase 65.3.5 opt-in)
  4. context JSON を組み立てる
  5. HTML を生成する
  6. ブラウザで自動 open する
  7. ユーザー承認待ち

What it can do on your machine

Read from SKILL.md and the folder at commit 2b2b748. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bash
    • git
    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Harness Plan Brief loads about 2.2k tokens when it runs. Until then it costs about 136 tokens; SKILL.md has 467 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~136
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Chachamaru127/claude-code-harness at commit 2b2b748, republished under its MIT licence (© Chachamaru127). 467 words, ~2,230 tokens.

Download SKILL.mdSave it as .claude/skills/harness-plan-brief/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
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.
allowed-tools
Read, Write, Edit, Bash
description-en
Generate a Plan Brief HTML for non-engineer vibecoders before implementation starts. Searches harness-mem (project-only) for relevant past decisions…
description-ja
実装着手前に Plan Brief HTML を生成する。現プロジェクトのみで harness-mem を検索し (`strict_project: true`)、過去 decision / pattern / Plans archive から類似案件を抽出して `plan-brief-context.v1`…
argument-hint
[task-description]
user-invocable
true

harness-plan-brief

非エンジニアの発注者・プロデューサー職向けに、Claude が着手しようとしている計画を HTML 1 枚 で提示するスキル。 発注者の認知負荷ピーク (1) 計画理解の段階で使う。

Quick Reference

  • 「Plan Brief を作って」 → このスキル
  • 「実装前にざっくり整理」 → このスキル
  • 「非エンジニア向けに計画を見せて」 → このスキル

責任境界

範囲このスキルの責務
検索現プロジェクトのみ (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.jsonplan-brief-context.v1 schema

Schema: plan-brief-context.v1

json
{
  "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 を参照。

Execution Flow

スキル起動時、Claude は以下の手順で動作する。

Step 1: project name を解決
bash
PROJECT_NAME="$(basename "$(git rev-parse --show-toplevel)")"

PROJECT_NAME が空 (git 外) の場合は current をデフォルトに使う。

Step 2: harness-mem を project-only で検索する (default)

引数に --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 件取得する。

Step 2 (alt): cross-project search (Phase 65.3.5 opt-in)

引数に --cross-project-group <name> flag がある場合のみ:

D43 Option α (MCP N-call) に従い、以下の手順で cross-project 検索を行う。

bash
# (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 を必ず通すこと:

  • HTML レンダリング時に bash scripts/render-html.sh ... --with-redaction を使用
  • これにより辞書 + NER + final scan の 3 段で固有名詞が漏れない
Show full SKILL.md (195 more words)Show less
Step 3: context JSON を組み立てる

scripts/plan-brief-compile.sh を使って、mem search 結果から plan-brief-context.v1 schema 準拠の JSON を構築する。

Phase 105.3 以降、Plan Brief の confidence は後方互換のフィールド名であり、 表示上の意味は plan_readiness として扱う。算出軸は次の 2 つだけに固定する。

  • DoD 明確度: request / DoD に機械検証できる数値・条件がどれだけ含まれるか
  • 依存解決率: 類似 Plans のうち依存が完了済みとして扱えるものの割合

過去類似案件の成功率や関連 Decision / Pattern 件数は context-only の根拠として表示し、 readiness 点数へ別軸加算しない。これは「AI の理解度」「成功確率」と誤読されるのを避けるため。

options / risks / acceptance_criteria は常に 1 件以上生成する。 mem search が空でも、以下を最低限埋める。

  • options: 推奨案を 1 件以上。必要なら代替案を追加し、pros / cons を付ける
  • risks: readiness 誤読、scope creep、未観測データなど今回の計画固有リスクを 1 件以上
  • acceptance_criteria: 実行後に機械検証または目視確認できる条件を 1 件以上

例:

bash
jq -n \
  --arg req "$USER_REQUEST" \
  --arg proj "$PROJECT_NAME" \
  --arg ts "$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
  '{
    schema: "plan-brief-context.v1",
    user_request: $req,
    my_understanding: "(まだ未着手)",
    options: [{name:"Option A: 最小検証で進める", summary:"DoD と依存を先に確認してから実装", pros:["影響が小さい"], cons:["大きな再設計は別タスク化が必要"]}],
    risks: [{kind:"readiness-misread", severity:"warn", description:"plan_readiness を AI の理解度として誤読するリスク", mitigation:"DoD 明確度 + 依存解決率だけの指標として evidence に明記"}],
    acceptance_criteria: [{id:"AC-1", description:"Plan Brief context が非空の options / risks / acceptance_criteria を含む", verifiable_by:"tests/test-plan-brief-compile.sh"}],
    confidence: 0,
    confidence_evidence: ["plan_readiness DoD 明確度: 0/60", "plan_readiness 依存解決率: 0/40"],
    tdd_required: "no",
    related_decisions: [],
    similar_past_plans: [],
    project: $proj,
    generated_at: $ts
  }' > "$CONTEXT_JSON"
Step 4: HTML を生成する

scripts/render-html.sh (Phase 65.1.1) を templates/html/plan-brief.html.template で呼ぶ:

HTML には TDD 判定を 1 行で表示する。 形式は tdd_required: yes、tdd_required: no、または tdd_required: skip:<reason> のいずれかにする。

bash
bash scripts/render-html.sh \
  --template plan-brief \
  --data "$CONTEXT_JSON" \
  --out "$HTML_OUT"

diagram-design skill がインストールされていれば図の描画に使う。無ければ静的レイアウトのまま。

Step 5: ブラウザで自動 open する

scripts/plan-brief-open.sh で OS 別 dispatch:

bash
bash scripts/plan-brief-open.sh "$HTML_OUT"

BROWSER=true の env が設定されている場合 (CI 環境)、open は skip され printf で path だけ出力する。

Step 6: ユーザー承認待ち

「この理解で実装に進んでよいか」を確認する。 承認後の memory write は別スキル (Phase 65.1.4 の plan-brief-record-decision.sh) の責務。

失敗時の挙動

失敗挙動
mcp__harness__harness_mem_search 不達警告を表示し、related_decisions / similar_past_plans を空配列で続行
git rev-parse --show-toplevel 失敗PROJECT_NAME=current で続行
render-html.sh 失敗エラーを stderr に出力し exit 1
plan-brief-open.sh 失敗HTML path を stdout に出力するだけで exit 0 (browser open は best-effort)
  • scripts/render-html.sh (Phase 65.1.1) — HTML テンプレートエンジン
  • scripts/plan-brief-compile.sh (Phase 65.1.3) — context compilation
  • scripts/plan-brief-record-decision.sh (Phase 65.1.4) — 承認 memory write
  • harness-accept skill (Phase 65.2.1) — 受け入れ判断スキル (対構造)
  • harness-progress skill (Phase 65.4.1) — 進行管理スキル (対構造)

© Chachamaru127, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/harness-plan-brief of Chachamaru127/claude-code-harness.

  • SKILL.md
  • schemas/plan-brief-context.v1.schema.json

Open the folder on GitHubat commit 2b2b748

Compare with similar skills

Harness Plan Brief next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Harness Plan Brief compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Harness Plan Brief this skillChachamaru127/claude-code-harness3.2k—~2.2kAutomated safety check: NotesMIT
Dolt MCP Vcsjeremylongshore/tons-of-skills-marketplace2.8k—~3.1kAutomated safety check: PassApache-2.0
Rocketmq Rust Good First Issuemxsm/rocketmq-rust1.5k—~2.3kAutomated safety check: PassApache-2.0
Cas Supervisor Checklistcodingagentsystem/cas176—~349Automated safety check: PassMIT
Chorus Task ReviewerChorus-AIDLC/Chorus1.2k—~4.2kAutomated safety check: PassAGPL-3.0
Sparc Specruvnet/ruflo74k—~1.1kAutomated safety check: NotesMIT

Similar skills

  • Dolt MCP Vcs

    jeremylongshore/tons-of-skills-marketplace

    Universal Dolt version-control workflow. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~3.1k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Help the rocketmq-rust repository owner or maintainer prepare and publish good first issues for new contributors to claim, with exact files, concrete changes, acceptance criteria, labels, and…

    1.5k GitHub stars~2.3k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Cas Supervisor Checklist

    codingagentsystem/cas

    Quick startup checklist for factory supervisors. An agent skill from codingagentsystem/cas.

    176 GitHub stars~349 tokensUpdated 7 mo ago
    Product & Project ManagementAuto-check passed
  • Chorus Task Reviewer

    Chorus-AIDLC/Chorus

    Read-only Chorus task reviewer. An agent skill from Chorus-AIDLC/Chorus.

    1.2k GitHub stars~4.2k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Sparc Spec

    ruvnet/ruflo

    Run the SPARC Specification phase — gather requirements, define acceptance criteria, identify constraints, and store the spec in memory

    74k GitHub stars~1.1k tokensUpdated today
    Product & Project ManagementAuto-check: notes
  • Chorus Task Reviewer

    Chorus-AIDLC/Chorus

    Read-only Chorus task reviewer for Hermes. An agent skill from Chorus-AIDLC/Chorus.

    1.2k GitHub stars~6.9k tokensUpdated today
    Product & Project ManagementAuto-check passed

More from Chachamaru127/claude-code-harness

All 25 skills in this repo
  • CI Failure Triage and Repair

    Chachamaru127/claude-code-harness

    Diagnoses failing CI pipelines and tests, deciding first whether the test or the implementation is at fault, and hands hard cases to a dedicated fixer subagent.

    3.2k GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check: notes
  • Cursor Composer Task Delegate

    Chachamaru127/claude-code-harness

    Hands one implementation task to Cursor Composer in an isolated git worktree, then reviews its diff and cherry-picks the result into the main branch.

    3.2k GitHub stars~4.4k tokensUpdated 5 days ago
    Auto-check: notes
  • Acceptance Demo Generator

    Chachamaru127/claude-code-harness

    Renders a single HTML page showing each acceptance criterion as verified or not, with a ship, wait, or reject recommendation for non-engineers.

    3.2k GitHub stars~3.4k tokensUpdated 5 days ago
    Auto-check: notes
  • Harness Long-Running Task Loop

    Chachamaru127/claude-code-harness

    Repeats a long task as a series of scheduled wake-ups, each re-entering with fresh context and calling harness-work for one task per cycle.

    3.2k GitHub stars~2.3k tokensUpdated 5 days ago
    Auto-check: notes
  • Harness Plan

    Chachamaru127/claude-code-harness

    Creates and maintains Plans.md task plans with a spec delta, updates task markers and syncs plan progress with the implementation.

    3.2k GitHub stars~3.7k tokensUpdated 5 days ago
    Auto-check: notes
  • Harness Release

    Chachamaru127/claude-code-harness

    Runs a release for any project that keeps a Keep a Changelog file on GitHub, from version bump to merge, tag and GitHub Release after a single approval.

    3.2k GitHub stars~4.4k tokensUpdated 5 days ago
    Auto-check: notes

Questions about Harness Plan Brief

What does Harness Plan Brief do?

Generate a Plan Brief HTML for non-engineer vibecoders before implementation starts. Harness Plan Brief is an agent skill from Chachamaru127/claude-code-harness. Generate a Plan Brief HTML for non-engineer vibecoders before implementation starts.

When should I use Harness Plan Brief?

Harness Plan Brief fits situations like: the user requests a planning preview; A non-engineer-friendly summary before approval; says: plan brief; planning preview.

How do I install Harness Plan Brief in Claude Code?

Run `npx skills add Chachamaru127/claude-code-harness --skill harness-plan-brief -a claude-code`. Or copy the skill folder (skills/harness-plan-brief in Chachamaru127/claude-code-harness) into .claude/skills/harness-plan-brief in your project. Claude Code loads it when a task matches its description.

How do I install Harness Plan Brief in Codex?

Run `npx skills add Chachamaru127/claude-code-harness --skill harness-plan-brief -a codex`. Or copy the skill folder (skills/harness-plan-brief in Chachamaru127/claude-code-harness) into .agents/skills/harness-plan-brief in your project. Codex loads it when a task matches its description.

Can I use Harness Plan Brief in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Chachamaru127/claude-code-harness --skill harness-plan-brief -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/harness-plan-brief, .gemini/skills/harness-plan-brief, .github/skills/harness-plan-brief and .opencode/skills/harness-plan-brief in your project.

What does Harness Plan Brief need to run?

Going by SKILL.md and its folder, Harness Plan Brief needs the command-line tools its instructions call (bash, git and jq). Its frontmatter pre-approves these tools: Read, Write, Edit, Bash.

Does Harness Plan Brief access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Harness Plan Brief safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Harness Plan Brief use?

Harness Plan Brief is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Harness Plan Brief use?

About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Harness Plan Brief?

Skills that share tags, products or a category with Harness Plan Brief: Dolt MCP Vcs (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Rocketmq Rust Good First Issue (mxsm/rocketmq-rust, 1.5k stars), Cas Supervisor Checklist (codingagentsystem/cas, 176 stars) and Chorus Task Reviewer (Chorus-AIDLC/Chorus, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Harness Plan Brief?

Chachamaru127 (a GitHub user) maintains it in Chachamaru127/claude-code-harness, which has 3,156 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 5, 2026.

Source: Chachamaru127/claude-code-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.