{"id":"64a2c28d-867a-4630-80bb-9511749f71ed","slug":"redclawww-savethetokens","name":"savethetokens","description":"Reduce Claude Code token burn with proactive compacting, task-scoped sessions, checkpoint files, tiered docs, and relevance-based context pruning. Use when a user explicitly asks to reduce context usage/cost, run token benchmarks, or optimize CLAUDE.md. Do not use to expand product scope or skip correctness checks.","canonicalUrl":"https://www.xpersona.co/skill/redclawww-savethetokens","sourceUrl":"https://github.com/Redclawww/savethetokens","homepage":null,"source":"GITHUB_OPENCLEW","vendor":{"slug":"redclawww","label":"Redclawww","url":"https://github.com/Redclawww/savethetokens"},"protocols":["OPENCLEW"],"capabilities":["trust"],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-04-15T02:14:51.507Z","freshnessLabel":"Apr 15, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Apr 15, 2026"},{"label":"Vendor","value":"Redclawww"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"factKey":"docs_crawl","label":"Crawlable docs","value":"6 indexed pages on the official domain","category":"integration","href":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceUrl":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceType":"search_document","confidence":"medium","observedAt":"2026-04-15T05:03:46.393Z","isPublic":true,"metadata":{}},{"factKey":"vendor","label":"Vendor","value":"Redclawww","category":"vendor","href":"https://github.com/Redclawww/savethetokens","sourceUrl":"https://github.com/Redclawww/savethetokens","sourceType":"profile","confidence":"medium","observedAt":"2026-04-15T02:14:51.508Z","isPublic":true,"metadata":{}},{"factKey":"protocols","label":"Protocol compatibility","value":"OpenClaw","category":"compatibility","href":"https://www.xpersona.co/api/v1/agents/redclawww-savethetokens/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/redclawww-savethetokens/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-04-15T02:14:51.508Z","isPublic":true,"metadata":{}},{"factKey":"traction","label":"Adoption signal","value":"4 GitHub stars","category":"adoption","href":"https://github.com/Redclawww/savethetokens","sourceUrl":"https://github.com/Redclawww/savethetokens","sourceType":"profile","confidence":"medium","observedAt":"2026-04-15T02:14:51.508Z","isPublic":true,"metadata":{}},{"factKey":"handshake_status","label":"Handshake status","value":"UNKNOWN","category":"security","href":"https://www.xpersona.co/api/v1/agents/redclawww-savethetokens/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/redclawww-savethetokens/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true,"metadata":{}}],"highlights":["4 GitHub stars","Trust evidence available"],"agentCard":{"name":"savethetokens","description":"Reduce Claude Code token burn with proactive compacting, task-scoped sessions, checkpoint files, tiered docs, and relevance-based context pruning. Use when a user explicitly asks to reduce context usage/cost, run token benchmarks, or optimize CLAUDE.md. Do not use to expand product scope or skip correctness checks.","source":"GITHUB_OPENCLEW","sourceId":"github:1152627546","repository":"https://github.com/Redclawww/savethetokens","documentation":"https://www.xpersona.co/skill/redclawww-savethetokens/agent/redclawww-savethetokens","protocols":["OPENCLEW"],"capabilities":["trust"],"languages":["typescript"],"install":{"command":"git clone https://github.com/Redclawww/savethetokens.git","ecosystem":"git"},"examples":[{"kind":"example","language":"bash","snippet":"# Generate execution plan\npython ~/.claude/skills/savethetokens/scripts/govern.py --budget 8000\n\n# Generate checkpoint before compact/clear\npython ~/.claude/skills/savethetokens/scripts/session_checkpoint.py \\\n  --task \"...\" \\\n  --done \"...\" \\\n  --next \"...\" \\\n  --context-percent 52 \\\n  --message-count 36\n\n# Create session hook (Claude Code)\npython ~/.claude/skills/savethetokens/scripts/session_hook_generator.py --project .\n\n# Optimize CLAUDE.md\npython ~/.claude/skills/savethetokens/scripts/claude_md_optimizer.py --analyze\n\n# Calculate cost savings\npython ~/.claude/skills/savethetokens/scripts/cost_calculator.py --developers 5\n\n# Run launch-readiness benchmark with section-wise savings\npython ~/.claude/skills/savethetokens/scripts/launch_readiness.py\n\n# Run live A/B telemetry session (auto split control/optimized)\npython ~/.claude/skills/savethetokens/scripts/govern.py \\\n  --input context.json \\\n  --budget 8000 \\\n  --experiment-id claude-launch-v1 \\\n  --variant auto \\\n  --assignment-key TICKET-123\n\n# Generate measured A/B report from live sessions\npython ~/.claude/skills/savethetokens/scripts/ab_telemetry.py \\\n  --experiment-id claude-launch-v1 \\\n  --days 14 \\\n  --required-intents code_generation,debugging,planning,review \\\n  --min-samples-per-intent 5\n\n# Strict mode: exit 2 if claim gates fail (CI-friendly)\npython ~/.claude/skills/savethetokens/scripts/ab_telemetry.py \\\n  --experiment-id claude-launch-v1 \\\n  --strict-claim-mode\n\n# Print report JSON to stdout (pipe to jq, etc.)\npython ~/.claude/skills/savethetokens/scripts/ab_telemetry.py \\\n  --experiment-id claude-launch-v1 \\\n  --json-stdout\n\n# Code-task quality gate checklist (required before final answer)\ncat ~/.claude/skills/savethetokens/docs/QUALITY_GATES.md\n\n# Compare two /context snapshots (control vs optimized)\npython ~/.claude/skills/savethetokens/scripts/context_snapshot_diff.py \\\n  --before-file before.txt \\\n  --after-file after.txt \\\n  --strict\n\n# Compact watchdog (advisory, safe defaults)\npython ~/.cla"}]}}