/claudecode-research-harness-workflow:harness-sync [--snapshot|--no-retro]from claudecode-research-harness-workflow
Syncs Plans.md with implementation state, detects drift, updates markers, and generates retrospectives. Useful for tracking progress and reconciling plans with actual code changes.
Ships in claudecode-research-harness-workflow. 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.
Reconciles Plans.md against implementation status and detects/updates drift.
Standalone version of legacy sync-status and the harness-plan sync subcommand.
| User input | Action |
|---|---|
harness-sync | Progress sync + retrospective (default ON) |
harness-sync --no-retro | Progress sync only (skip retrospective) |
harness-sync --snapshot | Save snapshot (point-in-time progress record) |
harness-sync --plan roadmap | Sync the roadmap named plan |
| "Where am I?" / "Check progress" | Same as above |
| Option | Description | Default |
|---|---|---|
--snapshot | Save current progress as a snapshot | false |
--no-retro | Skip retrospective | false (runs by default) |
--plan NAME | Use a named plan from plans/manifest.json | active/default |
Verify Plans.md exists and is properly formatted. If issues are found, guide and stop immediately.
In repos with multiple Plans.md files, confirm the target plan with scripts/plan-registry.sh list or --plan NAME before reading.
| State | Guidance |
|---|---|
| Plans.md does not exist | Plans.md not found. Create it with harness-plan create. → Stop |
| Header missing DoD / Depends columns (v1 format) | Plans.md is in old format (3 columns). Regenerate to v2 (5 columns) with harness-plan create. Existing tasks will be carried over automatically. → Stop |
| v2 format (5 columns) | Proceed to Step 1 |
# Plans.md state
cat Plans.md
# Git change state
git status
git diff --stat HEAD~3
# Recent commit history
git log --oneline -10
# Agent trace (recently edited files)
tail -20 .claude/state/agent-trace.jsonl 2>/dev/null | jq -r '.files[].path' | sort -u
Retrieve recent edit history from Agent Trace and reconcile with Plans.md tasks:
# List of recently edited files
RECENT_FILES=$(tail -20 .claude/state/agent-trace.jsonl 2>/dev/null | \
jq -r '.files[].path' | sort -u)
# Project information
PROJECT=$(tail -1 .claude/state/agent-trace.jsonl 2>/dev/null | \
jq -r '.metadata.project')
Reconciliation points:
| Check item | Detection method |
|---|---|
| File edits not in Plans.md | Agent Trace vs task descriptions |
| Files different from task description | Expected files vs actual edits |
| Tasks with no edits for a long time | Agent Trace timeline vs WIP duration |
| Check item | Detection method |
|---|---|
cc:WIP despite being done | Commit history vs marker |
cc:TODO despite being started | Changed files vs marker |
cc:done but not committed | git status vs marker |
When drift is detected, propose and execute:
Plans.md update needed
| Task | Current | Change to | Reason |
|------|---------|-----------|--------|
| XX | cc:WIP | cc:done | Already committed |
| YY | cc:TODO | cc:WIP | File already edited |
Update? (yes / no)
## Progress Summary
**Project**: {{project_name}}
| Status | Count |
|--------|-------|
| Not started (cc:TODO) | {{count}} |
| In progress (cc:WIP) | {{count}} |
| Done (cc:done) | {{count}} |
| PM confirmed (pm:approved) | {{count}} |
**Progress rate**: {{percent}}%
### Recently edited files (Agent Trace)
- {{file1}}
- {{file2}}
--snapshot is specified)When --snapshot is specified, save the current progress state as a timestamped snapshot.
Save in JSON format to the .claude/state/snapshots/ directory:
SNAPSHOT_DIR="${PROJECT_ROOT}/.claude/state/snapshots"
mkdir -p "${SNAPSHOT_DIR}"
SNAPSHOT_FILE="${SNAPSHOT_DIR}/progress-$(date -u +%Y%m%dT%H%M%SZ).json"
{
"timestamp": "2026-03-08T10:30:00Z",
"phase": "Phase 26",
"progress": {
"total": 16,
"todo": 5,
"wip": 3,
"done": 6,
"confirmed": 2
},
"progress_rate": 50,
"recent_commits": ["abc1234 feat: ...", "def5678 fix: ..."],
"recent_files": ["skills/harness-work/SKILL.md", "..."],
"notes": ""
}
When a previous snapshot exists, show the diff:
## Snapshot diff
| Metric | Previous ({{prev_time}}) | Current | Change |
|--------|-------------------------|---------|--------|
| Progress rate | {{prev}}% | {{current}}% | +{{diff}}%pt |
| Done tasks | {{prev_done}} | {{current_done}} | +{{diff_done}} |
| WIP tasks | {{prev_wip}} | {{current_wip}} | {{diff_wip}} |
Design intent: Snapshots are for manual use when users want to "record the current state." This is a different feature from the automatic progress feed during breezing (26.2.3).
Next steps
**Priority 1**: {{task}}
- Reason: {{requested / waiting for unblock}}
**Recommended**: harness-work, harness-review
| Situation | Warning |
|---|---|
Multiple cc:WIP | Multiple tasks in progress simultaneously |
pm:requested unprocessed | Handle PM requests first |
| Large drift | Task management not keeping up |
| WIP not updated for 3+ days | Check if blocked |
If there is at least 1 cc:done task, automatically run a retrospective.
Can be explicitly skipped with --no-retro.
# Extract cc:done / pm:approved tasks from Plans.md
grep -E 'cc:done|pm:approved' Plans.md
# Recent completion commit history
git log --oneline --since="7 days ago"
# Change scale
git diff --stat HEAD~10
| Item | Analysis method |
|---|---|
| Estimation accuracy | Infer expected file count from Plans.md task descriptions → compare with actual changed files from git diff --stat |
| Block causes | Aggregate reason patterns for tasks with blocked marker (technical / external dependency / unclear spec) |
| Quality marker accuracy | For tasks tagged [feature:security] etc., check if related issues actually occurred |
| Scope variation | Task count in Plans.md at first commit vs current count (added/removed count) |
## Retrospective Summary
**Period**: {{start_date}} – {{end_date}}
| Metric | Value |
|--------|-------|
| Completed tasks | {{count}} |
| Blocks occurred | {{blocked_count}} |
| Scope variation | +{{added}} / -{{removed}} |
| Estimation accuracy | Expected {{est}} files → Actual {{actual}} files |
### Learnings
- {{1-2 lines of learning}}
### Actions for next time
- {{1-2 lines of improvement actions}}
Record retrospective results in harness-mem for reference during the next create.
Record location: Relevant agent memory under .claude/agent-memory/.
harness-plan — Plan creation and task managementharness-work — Task implementationharness-review — Code reviewWhat SKILL.md sets; muted values are Claude Code's defaults
mediumnpx claudepluginhub maxwell2732/claudecode-research-harness-workflow --plugin claudecode-research-harness-workflow32 skills in this plugin
/agent-browserBrowser automation through the repo agent-browser CLI. Explicit helper for navigation, forms, screenshots, scraping, and web-app checks. Prefer Browser Use or Playwright when available. Do NOT load for: sharing URLs, embedding links, or editing screenshot files./authExplicit helper for authentication and payment implementation with Clerk, Supabase Auth, or Stripe. Do NOT load for: general UI work, database design, or non-auth features./ciCI red? Call us. Pipeline fire brigade deploys. Use when user mentions CI failures, build errors, test failures, or pipeline issues. Do NOT load for: local builds, standard implementation work, reviews, or setup./crudExplicit helper for CRUD scaffolding and API endpoint generation. Do NOT load for: UI components, form design, database schema discussion, or general implementation./deployDeploy to Vercel/Netlify. One-way ticket to production arranged. Use when user mentions deployment, Vercel, Netlify, analytics, or health checks. Do NOT load for: implementation work, local development, reviews, or setup./harness-acceptGenerate an Acceptance Demo HTML for non-engineer vibecoders right before ship/wait/reject decision. Reads back the acceptance_criteria that were stored as personal-preference.v1 by harness-plan-brief (joined by user_request_hash), then renders a single-file HTML showing each criterion as verified or unverified along with a ship/wait/reject recommendation. Use when the user asks for an acceptance review, wants to decide whether to ship a delivered task, or says: acceptance demo, accept demo, acceptance decision, acceptance review, ship/wait/reject decision, acceptance inspection. Do NOT load for: implementation, code review, release work.Other plugins' skills for the same job