AI-powered progress tracking for epic, multi-session tasks in Claude Code. Never lose context. Auto-summarize with Claude Haiku. Continue seamlessly across sessions.
Languages: English | ไธญๆ | ๆฅๆฌ่ช | ํ๊ตญ์ด | ะ ัััะบะธะน | Espaรฑol
# Add the marketplace
/plugin marketplace add Equality-Machine/claude-marathon
# Install the plugin
/plugin install marathon@marathon
# Done! ๐Marathon solves one problem: Long tasks lose context when sessions end.
When working on complex tasks that span multiple Claude Code sessions, you lose valuable context:
- What did I do last session?
- What was I about to implement?
- What decisions did I make and why?
Marathon automatically tracks and intelligently summarizes every operation using Claude Haiku:
Before Marathon:
Session 1: Edit 20 files for auth feature โ
[Context compression happens]
Session 2: "What did I implement yesterday?" โ
Read through all 20 files manually... ๐
With Marathon:
Session 1: Edit 20 files โ
โ Auto checkpoint triggers
โ Claude Haiku summarizes: "๐ฏ Implemented JWT auth system"
[Context compression happens]
Session 2: /marathon-review
โ "Last session: JWT auth 75% complete. Next: Add refresh tokens" โ
Resume immediately! ๐
Marathon provides a complete task lifecycle management:
Session Start
โ
๐ /marathon-review โ Restore context from previous sessions
โ
โ๏ธ /marathon-config โ (Optional) Configure auto-checkpoint threshold
โ
๐ป Work on your task...
โโ ๐ค Auto Checkpoint โ Background: AI summarizes every 20 operations
โโ ๐พ /marathon-checkpoint โ Manual: Save detailed progress at key moments
โโ ๐ /marathon-milestone โ Manual: Mark major achievements
โ
โ
/marathon-end โ Complete and archive when task is done
Runs in background automatically - no command needed!
- What: AI batch summarizes recent operations using Claude Haiku
- When: Every N tool calls (default: 20, configurable)
- Cost: < $0.10/month
- Example:
## ๐ Auto Summary (11:03) - [11:02] ๐ Edit: test_manual.txt - [11:03] ๐ง Refactor: auth module (login.js, token.js)
| Command | Purpose | When to Use | Type |
|---|---|---|---|
/marathon-review |
Restore context from previous sessions | Session start - Load past work | Manual |
/marathon-config |
Configure auto-checkpoint threshold | Anytime - Adjust frequency (10-50 calls) | Manual |
| Auto Checkpoint | AI batch summary via Claude Haiku | During work - Every N operations | Automatic |
/marathon-checkpoint |
Save detailed progress report | During work - After key milestones | Manual |
/marathon-milestone |
Mark major achievement | During work - Celebrate important wins | Manual |
/marathon-end |
Complete and archive task | Session end - Final summary & archive | Manual |
Auto vs Manual:
- Auto Checkpoint: Background AI summary, runs automatically every N operations
- Manual Checkpoint (
/marathon-checkpoint): Detailed progress save with your analysis - Milestone (
/marathon-milestone): Celebration marker for major achievements
Day 1: You start task
โโ Marathon creates workspace/session_20260222_*/
โโ Auto-tracks every file edit, git command
โโ After 20 operations โ AI summary โ
Day 3: You continue
โโ /marathon-review โ Loads all previous sessions
โโ Shows: What's done? What's next?
โโ You continue with full context โ
Workspace Structure:
workspace/session_YYYYMMDD_HHMMSS/
โโโ progress.md # Auto + manual tracking
โโโ learnings.md # Technical insights
โโโ session.json # Metadata
โโโ logs/ # Auto-checkpoint logs
# Working on JWT auth feature...
# (After 20 edits, auto checkpoint triggers)
## ๐ Auto Summary
- [14:10] ๐ฏ Implement JWT login + token generation
- [14:25] ๐งช Add integration tests
# After major milestone
/marathon-checkpoint
โ
Checkpoint: Login endpoint complete
# When MVP done
/marathon-milestone
๐ Milestone: JWT Authentication MVP Complete!
# Next session
/marathon-review
๐ Loaded 3 sessions, 75% complete
๐ฏ Next: Add token refresh mechanismAdjust auto-checkpoint frequency:
/marathon-configRecommended thresholds:
10-15โ Fast-paced work20-30โ Balanced (default)30-50โ Deep work
โ Auto-tracking - Set it and forget it โ AI-powered - Claude Haiku intelligently summarizes โ Cost-effective - <$0.10/month โ Zero interruption - Background execution โ Multi-project - Directory-aware session filtering โ Seamless continuity - Resume exactly where you left off
- Multi-day feature implementations
- Bug investigations spanning sessions
- Research and learning projects
- Team handoffs and context sharing
- Any task longer than one session
- Full Guide: INSTALL.md
- ไธญๆๆๆกฃ: README_ZH.md
- Issues: GitHub Issues
PRs welcome! See CONTRIBUTING.md
MIT License - see LICENSE
Run your marathon with confidence! ๐โโ๏ธ๐จ