/deep-work:deep-assumptionsfrom deep-work
Analyzes deep-work enforcement assumptions against session history, computing per-assumption Wilson Score confidence and verdicts (justified/loosen/drop). Sub-page of the deep-status hub.
Ships in deep-work. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
| 인자 | 의미 |
|---|---|
(없음) / report | Default — per-assumption confidence + Wilson Score + verdict + model-aware split |
report --verbose | Per-signal per-session breakdown |
history | ASCII confidence evolution timeline (requires 5+ sessions) |
export --format=badge | shields.io 호환 JSON badge 출력 |
--rebuild | Receipt 파일에서 JSONL 재생성 후 report 표시 |
빈 args / 매칭되지 않는 토큰 → 본문의 default 분기로 진입.
Hub-spoke 관계: 본 skill 은 deep-status hub 의 sub-page 입니다 — /deep-status --<flag> 가 본문 로직을 inline Read 하여 실행하는 것이 주 경로이며, 직접 호출도 동일하게 지원됩니다.
Internal —
/deep-status --assumptions가 이 파일의 로직을Read하여 실행합니다. 자동 호출이 주 경로이며, 직접 호출도 지원됩니다. 참조처:${CLAUDE_PLUGIN_ROOT}/skills/deep-status/SKILL.md§9 (Read ${CLAUDE_PLUGIN_ROOT}/skills/deep-assumptions/SKILL.md and follow its logic).
Analyze deep-work's enforcement assumptions against session history to determine which rules are justified by evidence and which should be loosened.
Read(${CLAUDE_PLUGIN_ROOT}/skills/shared/references/user-language.md) and follow it.
/deep-assumptions — Show assumption health report (default: report)/deep-assumptions report — Per-assumption confidence with Wilson Score, verdict, model-aware split/deep-assumptions report --verbose — Per-signal per-session breakdown/deep-assumptions history — ASCII confidence evolution timeline (requires 5+ sessions)/deep-assumptions export --format=badge — shields.io JSON badge output/deep-assumptions --rebuild — Regenerate JSONL from receipts, then show reportRead(${CLAUDE_PLUGIN_ROOT}/skills/deep-resume/references/session-detection.md) and apply only its Reusable session-state resolution section to resolve $STATE_FILE; retain this skill's own no-session and standalone-mode behavior.
Read $STATE_FILE and extract work_dir. If the state file doesn't exist, default work_dir to deep-work.
Set paths:
PLUGIN_SCRIPTS = ${CLAUDE_PLUGIN_ROOT}/hooks/scripts
(plugin root 기준 절대 경로. 이 파일 위치에서 상대 유도하지 말 것 — 해석 기준이 target workspace로 넘어간다.)
REGISTRY_PATH = ${CLAUDE_PLUGIN_ROOT}/assumptions.json
WORK_DIR = $PROJECT_ROOT/<work_dir from state or "deep-work">
HISTORY_PATH = $WORK_DIR/harness-history/harness-sessions.jsonl
From $ARGUMENTS, determine the subcommand:
| Input | Action |
|---|---|
(empty), report | Report (default) |
report --verbose | Verbose report |
history | Timeline |
export --format=badge | Badge export |
--rebuild | Rebuild JSONL, then report |
--rebuildRegenerate harness-sessions.jsonl from receipt files. This repairs corrupted or missing history.
Run via Bash:
echo '{"action":"rebuild","workDir":"<WORK_DIR>"}' | node "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/assumption-engine.js"
Parse the JSON result. If sessions array is non-empty, write each session as a line to $HISTORY_PATH (creating harness-history/ directory first with mkdir -p).
Display:
JSONL 재생성 완료
소스: $WORK_DIR/receipts/
세션 수: [N] entries rebuilt
파일: $HISTORY_PATH
Then proceed to the default report subcommand.
report (default)Read model_primary from state file (or "unknown").
Run via Bash:
echo '{"action":"detect-model","historyPath":"<HISTORY_PATH>","model":"<model_primary>"}' | node "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/assumption-engine.js"
Parse JSON result. If isNew is true and totalSessions > 0:
⚠️ 새 모델 감지: <model_primary>
이 모델의 세션 이력이 없습니다. 이전 모델(<totalSessions> sessions)의 데이터를 기반으로 보고합니다.
해석 시 모델 차이를 고려하세요.
If totalSessions is 0:
ℹ️ 세션 이력이 없습니다.
deep-work 세션을 실행하면 assumption 검증 데이터가 수집됩니다.
최소 5회 세션 후 유의미한 분석이 가능합니다.
Stop here.
Determine options based on arguments:
{"splitByModel": true}--verbose: {"splitByModel": true, "verbose": true}Run via Bash:
echo '{"action":"report","registryPath":"<REGISTRY_PATH>","historyPath":"<HISTORY_PATH>","options":{"splitByModel":true}}' | node "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/assumption-engine.js"
Parse JSON result containing text, data, and warnings.
Display the text field from the engine result. This contains the formatted report:
ASSUMPTION HEALTH REPORT ([N] sessions analyzed)
========================================================
1. phase_guard_blocks_edits
Hypothesis: Blocking edits during non-implement phases improves quality
Evidence: 8 supporting / 1 weakening / 3 neutral
Confidence: HIGH (0.82)
Verdict: KEEP at current level (block)
2. tdd_required_before_implement
Hypothesis: RED-GREEN-REFACTOR produces fewer bugs
Evidence: 5 supporting / 4 weakening / 3 neutral
Confidence: MEDIUM (0.56)
Verdict: CONSIDER loosening to "coaching"
[claude-opus-5-5]: HIGH (0.78) — 5S/1W/8 sessions
[claude-sonnet-5-5]: LOW (0.32) — 0S/3W/4 sessions
3. research_required_before_plan
...
PROPOSED CONFIG CHANGES (for manual application):
tdd_required_before_implement: strict -> coaching
(no other changes recommended at this time)
Auto-adjustment is active. Adjustments are applied at session start.
To override: /deep-work --tdd=strict [task]
After displaying the engine report text, check the state file for assumption_adjustments:
If assumption_adjustments is non-empty, display:
ACTIVE AUTO-ADJUSTMENTS (this session):
- tdd_mode: strict → coaching (score 0.42)
- receipt_depth: full → minimal (score 0.28)
These adjustments were applied at session start based on accumulated evidence.
User override (--tdd=X) takes precedence over auto-adjustments.
--verbose)If --verbose was specified, additionally display per-signal per-session breakdown from the data array.
For each assumption in data:
─── [assumption.id] 상세 분석 ───
Signal | Type | Sessions Triggered
────────────────────────────────────────────────────────────────────────────
test_pass_rate > threshold | supporting | 2026-03-28, 2026-03-25
high_override_rate | weakening | 2026-03-30
zero_rework_after_override | weakening | (none)
model_passes_all_tests_first_try | supporting | 2026-03-28
To produce this, re-evaluate each assumption against each session:
data, iterate over its signals from assumptions.jsonIf warnings array is non-empty, display at the bottom:
⚠️ Warnings:
- [warning message 1]
- [warning message 2]
For any assumption with a "STALE" verdict in the report, append a staleness tag:
🕐 Stale assumptions detected. Run more sessions with varied configurations to refresh evidence.
historyRun the report action first to get session count. If fewer than 5 sessions:
ℹ️ 타임라인을 표시하려면 최소 5회 세션이 필요합니다.
현재: [N]회
Stop here.
Run via Bash:
echo '{"action":"timeline","registryPath":"<REGISTRY_PATH>","historyPath":"<HISTORY_PATH>","options":{"windowSize":3,"width":40,"height":10}}' | node "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/assumption-engine.js"
Parse JSON result containing timelines object (keyed by assumption ID).
For each assumption, display its ASCII timeline chart:
Assumption Confidence Timeline
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[phase_guard_blocks_edits] Confidence Timeline
──────────────────────────────────────────────
1.0 |
0.7 |████████-----
|████████████
0.4 |████████████-----
|████████████████
|████████████████
0.0 |████████████████
+────────────────
oldest newest
[tdd_required_before_implement] Confidence Timeline
──────────────────────────────────────────────
1.0 |
0.7 |████----------
|████████
0.4 |████████------
|████████████
|████████████
0.0 |████████████████
+────────────────
oldest newest
─── Legend ───
█ = confidence at session window
- = threshold marker (HIGH=0.7, MEDIUM=0.4)
Each column = window of 3 sessions
export --format=badgeRun via Bash:
echo '{"action":"badge","registryPath":"<REGISTRY_PATH>","historyPath":"<HISTORY_PATH>"}' | node "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/assumption-engine.js"
Parse JSON result (shields.io format). Display:
Harness Health Badge (shields.io endpoint format):
{
"schemaVersion": 1,
"label": "harness health",
"message": "78%",
"color": "brightgreen"
}
README.md에 추가:

또는 endpoint badge로 사용하려면 위 JSON을 파일로 저장 후 shields.io endpoint URL을 설정하세요.
Write the badge JSON to $WORK_DIR/harness-history/badge.json.
assumptions.json is missing: show "Registry not found. Ensure deep-work v5.0 is installed."harness-sessions.jsonl is missing or empty: show the cold start message from Step 1.node is not available: show "Node.js is required to run the assumption engine."error field: display it as a warning and stop.What SKILL.md sets; muted values are Claude Code's defaults
27 skills in this plugin
/deep-brainstormUse when clarifying the goal, boundaries and approach for a deep-work task./deep-cleanupScan and clean up stale deep-work git worktrees (`dw/*` branches) plus fork worktrees, and prune idle fork sessions from the registry. Triggers on `/deep-cleanup`, "clean worktrees", "stale worktree", "worktree 정리", "fork 정리", "deep-work 정리"./deep-debugDebug sub-mode for Phase 3 — Investigate → Analyze → Hypothesize → Implement, with the iron rule that no fix ships before root-cause investigation. Triggers on `/deep-debug`, "systematic debug", "root cause investigation", "디버그 모드", "근본 원인 분석", `verification_cmd` 실패 시 자동 진입, or "fix this".deep-work@claude-deep-suite is listed by sungmin-cho/deep-suite — review the source before installing
npx claudepluginhub sungmin-cho/deep-suite --plugin deep-workOther plugins' skills for the same job