fleet-auditor
Audits token waste and cost across Claude Code, Codex, OpenClaw, Hermes and OpenCode, with dollar savings. Use when running…
Pulls a prior session's checkpoint as fenced, scrubbed recovery context. Use when the user is continuing prior work; skip it on a fresh, unrelated task.
Claude Code
$ npx -y skills add alexgreensh/token-optimizer --skill resume-checkpoint --agent claude-code
Codex
$ npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a codex -y
Cursor
$ npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a cursor -y
Gemini CLI
$ npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a gemini-cli -y
GitHub Copilot
$ npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a github-copilot -y
OpenCode
$ npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a opencode -y
Windsurf
$ npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a windsurf -y
name: resume-checkpoint description: Pulls a prior session's checkpoint as fenced, scrubbed recovery context. Use when the user is continuing prior work; skip it on a fresh, unrelated task. effort: low
A model-invokable tool that fetches and judges a prior session's checkpoint **on demand**, when the user is continuing prior work and the SessionStart pointer was not enough (or was declined).
Call this skill when the user is **continuing prior work** and you need the prior session's context to proceed efficiently:
Do not call this on a fresh, unrelated task. It costs ~300 tokens per call. A no-match returns one line, but calling it on every fresh session wastes the tokens the pointer gate was built to save. If the user's opening is clearly a new, self-contained task with no reference to prior work, do not call.
# Resolve pull_checkpoint.py. In a plugin install $CLAUDE_PLUGIN_ROOT points at # the plugin root; otherwise find the newest installed copy across channels so a # stale plugin-cache copy never shadows a fresh install. PULL_PY="" if [ -n "$CLAUDE_PLUGIN_ROOT" ] && [ -f "$CLAUDE_PLUGIN_ROOT/skills/resume-checkpoint/scripts/pull_checkpoint.py" ]; then PULL_PY="$CLAUDE_PLUGIN_ROOT/skills/resume-checkpoint/scripts/pull_checkpoint.py" else PULL_PY="$(find -L "$HOME/.claude/skills" "$HOME/.claude/plugins/cache" "$HOME/.codex/skills" "$HOME/.codex/plugins/cache" "$HOME/.config/opencode/plugins/cache" "$HOME/.config/opencode/plugins" -type f -path '*resume-checkpoint/scripts/pull_checkpoint.py' 2>/dev/null | head -1)" fi if [ -z "$PULL_PY" ] || [ ! -f "$PULL_PY" ]; then echo "[Error] pull_checkpoint.py not found. Is Token Optimizer installed?"; exit 1; fi # $CLAUDE_SESSION_ID is the live session id the harness sets. Passing it is what # excludes THIS session's own checkpoints (own-session recovery is the # SessionStart/compact path's job, not the pull tool's). python3 "$PULL_PY" --prompt "<the user's opening/continuation prompt>" [--cwd "$PWD"] [--session-id "$CLAUDE_SESSION_ID"]
The `--prompt` is what the scorer ranks against. Pass the user's actual continuation text, not a paraphrase.
Written for and checked on Claude Opus 5.5 and Sonnet 5.5, and GPT-5.6 on Codex.
Find the ghost tokens. Fix them. Survive compaction. Avoid context quality decay.
Audits token waste and cost across Claude Code, Codex, OpenClaw, Hermes and OpenCode, with dollar savings. Use when running…
Coaches a token-efficient Claude Code or Codex setup from the user's own usage data. Use when planning a build, fixing a slow or…
Answers what a past session cost ("the Garden session yesterday", a session id) with a priced number, and opens the Token…
Audits a Claude Code or Codex setup for context-window waste, fixes it with the user's approval, and measures the saving. Use…
Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude…
Keep a durable record of work passed between Bots in the shared Hindsight memory bank. Use when handing work to another Bot, when…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…