.claude/skills/ac-state-tracker/SKILL.md
State persistence for autonomous coding. Use when saving progress, loading state, tracking features, managing checkpoints, or persisting data across sessions.
npx skillsauth add adaptationio/skrillz ac-state-trackerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Persistent state management for cross-session autonomous coding.
Maintains all state across sessions:
from scripts.state_tracker import StateTracker
state = StateTracker(project_dir)
await state.initialize()
# Save current state
await state.save()
# Load state from files
current_state = await state.load()
# Mark feature as passing (IMMUTABLE: false → true only!)
await state.update_feature("auth-001", passes=True)
project/
├── feature_list.json # Feature tracking (immutable passes)
├── claude-progress.txt # Human-readable log
└── .claude/
├── master-state.json # Orchestrator state
├── autonomous-state.json # Execution state
├── autonomous-log.jsonl # Activity log
├── handoffs/
│ └── current.json # Mid-session handoff
└── checkpoints/
└── checkpoint-*.json # Rollback points
{
"features": [
{
"id": "auth-001",
"description": "User registration endpoint",
"category": "authentication",
"status": "completed",
"passes": true,
"test_cases": [
"User can register with email",
"Validation errors shown"
],
"dependencies": [],
"estimated_effort": "4h",
"actual_effort": "2.5h",
"started_at": "2025-01-15T10:00:00Z",
"completed_at": "2025-01-15T12:30:00Z"
}
],
"total": 50,
"completed": 25,
"in_progress": 1,
"blocked": 0
}
CRITICAL RULE: Features can ONLY transition passes: false → true. Never delete or edit features - this prevents the agent from "solving" by removing tasks.
{
"session_id": "session-20250115-100000",
"iteration": 12,
"status": "running",
"estimated_cost": 4.23,
"consecutive_failures": 0,
"current_feature": "auth-002",
"last_task": "Implement login endpoint",
"started_at": "2025-01-15T10:00:00Z",
"context_usage": 0.45
}
{
"project_id": "my-project",
"objective": "Build chat application",
"sessions_used": 5,
"total_features": 50,
"features_completed": 25,
"current_phase": "implementation",
"last_handoff": "2025-01-15T12:00:00Z"
}
state = StateTracker(project_dir)
await state.initialize()
# Creates default files if not exist
# Loads existing state if present
# Mark feature complete
await state.update_feature(
feature_id="auth-001",
passes=True,
actual_effort="2.5h"
)
# Mark feature in progress
await state.update_feature(
feature_id="auth-002",
status="in_progress"
)
checkpoint = await state.create_checkpoint(
name="before-refactor",
git_commit=True
)
# Returns checkpoint ID for rollback
await state.restore_checkpoint("checkpoint-20250115-100000")
# Restores feature_list.json and git state
await state.log_activity(
action="CONTINUE",
details="Implementing login endpoint",
iteration=12
)
# Appends to autonomous-log.jsonl
await state.save_handoff({
"current_feature": "auth-002",
"context_summary": "Completed auth, starting profile...",
"next_action": "Implement profile page"
})
progress = await state.get_progress()
# Returns:
# completed: 25
# total: 50
# percentage: 50%
# current_feature: "auth-002"
# estimated_remaining: "4 hours"
=== AUTONOMOUS CODING SESSION ===
Project: my-project
Started: 2025-01-15 10:00:00
Sessions: 5
=== PROGRESS ===
[25/50] 50% complete
=== CURRENT FEATURE ===
auth-002: Login with JWT
=== COMPLETED THIS SESSION ===
- auth-001: User registration [PASS]
- auth-002: Login endpoint [IN PROGRESS]
=== BLOCKERS ===
None
=== LAST UPDATED ===
2025-01-15 12:30:00
references/STATE-SCHEMA.md - Complete state schemasreferences/FEATURE-LIFECYCLE.md - Feature state machinescripts/state_tracker.py - Core StateTracker classscripts/feature_manager.py - Feature list operationsscripts/checkpoint_store.py - Checkpoint storagescripts/progress_logger.py - Progress file generationdevelopment
Setup secure web-based terminal access to WSL2 from mobile/tablet via ttyd + ngrok/Cloudflare/Tailscale. One-command install, start, stop, status. Use when you need remote terminal access, web terminal, browser-based shell, or mobile access to WSL2 environment.
development
Complete development workflows where Claude writes the code while Gemini and Codex provide research, planning, reviews, and different perspectives. Claude remains the main developer. Use for complex projects requiring expert planning and multi-perspective reviews.
development
Systematic progress tracking for skill development. Manages task states (pending/in_progress/completed), updates in real-time, reports progress, identifies blockers, and maintains momentum. Use when tracking skill development, coordinating work, or reporting progress.
testing
Comprehensive testing workflow orchestrating functional testing, example validation, integration testing, and usability assessment. Sequential workflow for complete skill testing from examples through scenarios to integration validation. Use when conducting thorough testing, pre-deployment validation, ensuring skill functionality, or comprehensive quality checks.