A lightweight Claude Code plugin implementing Anthropic's engineering best practices for effective long-running agent workflows.
For advanced context management with FIC (Flow-Information-Context) system, see UltraHarness
Long-running AI agents struggle across multiple context windows because each new session begins without memory of prior work. This plugin solves that problem by providing:
- Progress Tracking - Persistent log file (
claude-progress.txt) that records accomplishments - Feature Checklists - JSON file (
claude-features.json) tracking feature status - Git Checkpoints - Encourages frequent commits as safe recovery points
- Session Startup Routine - Automatically reads context at session start
Based on: Effective Harnesses for Long-Running Agents
Install this plugin globally to enable it for all your Claude Code projects:
claude plugins:add praneethpuligundla/harnessOr install from URL:
claude plugins:add https://github.com/praneethpuligundla/harnessThe plugin is installed at user scope and applies to all Claude Code projects.
/harness:init
This creates:
claude-progress.txt- Progress logclaude-features.json- Feature checklist.claude/.claude-harness-initialized- Marker file- Optionally:
init.sh- Startup script
/harness:status
Shows git status, recent progress, and feature summary.
/harness:feature add [name] - [description]
/harness:feature start [id]
/harness:feature pass [id]
/harness:feature list
/harness:feature next
/harness:log started [task]
/harness:log completed [task]
/harness:log blocker [issue]
/harness:log note [observation]
/harness:checkpoint [message]
When a Claude Code session starts in an initialized project:
- Reads git log for recent commits
- Reads progress file for context
- Summarizes feature checklist status
- Injects this context into the session
When Claude stops responding:
- Reminds to update progress file
- Suggests committing work as checkpoint
- Encourages merge-ready state
- Initialize early - Set up harness at project start
- List all features - Comprehensive checklist prevents premature completion
- Work incrementally - One feature at a time
- Commit often - Each commit is a recovery point
- Log everything - Future sessions depend on this context
project/
├── claude-progress.txt # Progress log
├── claude-features.json # Feature checklist
├── init.sh # Optional startup script
└── .claude/
└── .claude-harness-initialized # Marker file
harness/
├── .claude-plugin/
│ └── plugin.json
├── hooks/
│ ├── hooks.json
│ ├── session_start.py
│ └── stop.py
├── commands/
│ ├── init.md
│ ├── status.md
│ ├── log.md
│ ├── feature.md
│ └── checkpoint.md
├── skills/
│ └── harness-workflow.md
├── core/
│ ├── progress.py
│ └── features.py
└── README.md