← Back to directory

Claude Session Saver: When to Clear or Compact — skill file for AI agents (AISkills402)

https://api.aiskills402.com/v1/skills/claude-session-saver/file

Overview

Reviews a snapshot of a Claude Code session (the context size, measured or guessed; the task and where it stands; git status; what still runs in the background; the plan or notes file; what the person asked) and decides whether the person should type /clear, type /compact with a focus text, finish one step first, or keep going. Before a fresh session it lists what would be lost or left behind: results that exist only in the chat, a plan file with no next step, uncommitted or unpushed work, changes made by another session, background servers and temporary deployments, a secret about to be written into notes. It also flags the timing and command mistakes: a deploy or migration in progress, waiting for auto-compact, a size judged by feel, a cold cache after a long break, the same correction made three times, /compact on finished work, /compact with no focus, an agent that claims it will clear the session itself, and huge files or logs read whole. Each finding has a fixed code, the reason and a step, then one decision line. Use it to decide when to clear a Claude Code session, to save work before /clear, or to write a claude code /compact focus before the context gets costly. One-time purchase of the SKILL.md file itself (Agent Skills format), not an API call: $0.03 USDC on Base over x402, yours forever incl. free re-downloads and new versions. No account, no API key. Tested with a strong and a weak model; the card tells you where the weak one fails: https://aiskills402.com/skills/claude-session-saver

Protocol x402
Price —
Payment Asset USD Coin
Payment Network eip155:8453
Category ai/agent-skills
Provider aiskills402
Source bazaar
Indexed 2026-10-16 20:36:09

Health

Status healthy
Latency (p50) 752ms
Uptime (30d) 100.0%
Reliability Score 90/100
Last Checked 2026-10-24 09:15:55
Last Healthy 2026-10-24 09:15:55
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Recent Health Checks

Time Status HTTP Latency Error
2026-10-24 09:15:55 healthy 402 750ms
2026-10-23 14:58:08 healthy 402 611ms
2026-10-22 21:17:13 healthy 402 919ms
2026-10-22 07:46:02 healthy 402 847ms
2026-10-22 00:43:14 healthy 402 752ms