
track-and-improve
Structured capture of mistakes and improvement ideas with automatic root cause analysis for Claude Code sessions.
- version
- 1.0.0
- GitHub stars
- 365
What it does
- Adds 3 commands (
/trk,/trk-review,/trk-resolve) for capturing, reviewing, and closing out reports - Runs a 5 whys root cause analysis on each entry and saves the last 5 conversation messages as context
- Stores reports in
~/.claude/trk-db/withactive/andresolved/folders under git version control - Designed for weekly pattern review, feeding fixes into CLAUDE.md, hooks, or skills
Capture mistakes and improvement opportunities with automatic 5 whys analysis
Add marketplace
/plugin marketplace add NTCoding/claude-skillzRun it inside Claude Code once, then install the plugin below.
Install
/plugin install track-and-improve@claude-skillzRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceResolve an improvement report. Expected format: /trk-resolve <id> <resolution description>
- Parse the report ID and resolution from the command
- Read the report from
~/.claude/trk-db/active/<id>.md - Update the report:
- Change
status: activetostatus: resolved - Add resolved timestamp to frontmatter
- Fill in Resolution section with the description
- Change
- Move file from
active/toresolved/ - Git add and commit with message: "Resolve: [id] - [resolution]"
- Confirm to user: "Report resolved and moved to ~/.claude/trk-db/resolved/.md"
Readme
Track and Improve
Capture mistakes and improvement opportunities with automatic 5 whys root cause analysis.
Installation
/plugin marketplace add file:///path/to/claude-skillz
/plugin install track-and-improve@claude-skillz
Usage
Capture a mistake:
/trk Added comments when CLAUDE.md forbids them
Claude performs 5 whys analysis, extracts session context, creates report in ~/.claude/trk-db/active/, and auto-commits to git.
Review reports:
/trk-review
Shows summary of active reports organized by recency and category.
Resolve a report:
/trk-resolve 2025-01-15-10-30-00 Added PreToolUse hook to block comments
Moves report to resolved/ and commits resolution.
Storage
Reports stored in ~/.claude/trk-db/ with git version control:
active/- Unresolved reportsresolved/- Completed improvements
Each report contains:
- Your description
- Claude's 5 whys root cause analysis
- Last 5 messages of conversation context
- Metadata (timestamp, project, category)
- Resolution (when resolved)
Workflow
- Spot a mistake during session
- Type
/trk <description> - Continue working
- Weekly:
/trk-reviewto analyze patterns - Update CLAUDE.md, create hooks, or add skills based on insights
Details
- Marketplace
- NTCoding/claude-skillz
- Source
- track-and-improve
- Category
- Productivity
- Keywords
- improvement, tracking, feedback, learning
- Listed since
- Apr 7, 2026
More from NTCoding/claude-skillz
All 13Similar to track-and-improve
More Agent Workflow & Planning
proactive-self-improving-agentSkillclaw-opus/proactive-self-improving-agent2.6K installsCaptures errors, corrections, and best practices in a structured log so agents safely improve over time.
task-checkPluginNTCoding/claude-skillz365 starsVerify task completion before finishing work. Catches incomplete work, bugs, and quality issues.
plan-do-check-actSkillneolabhq/context-engineering-kit1.3K installsIterative four-phase improvement cycle for running small, measurable experiments with documented learnings.
productivity-skillsPluginmhattingpete/claude-skills-marketplace695 starsProductivity and workflow optimization skills for analyzing usage patterns, auditing code, bootstrapping projects, and generating documentation
skill-improvement-malik-taiarPluginlawvable/awesome-legal-skills962 starsGuide to analyze a current work session and propose improvements to skills. Use (1) automatically after working with a skill to capture learnings, (2) when the