context-diet

Audit always-loaded workspace files and draft a reversible compress/move plan.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/kisslex2013-alt/sivraJ-OpenClaw --skill context-diet-kisslex2013-alt
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: context-diet
Source: https://github.com/kisslex2013-alt/sivraJ-OpenClaw/tree/main/skills/context-diet
Command: npx skills add https://github.com/kisslex2013-alt/sivraJ-OpenClaw --skill context-diet-kisslex2013-alt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps reduce OpenClaw's baseline context after a reset by auditing the always-loaded workspace files and proposing a safe compress/move plan with reviewable diffs.

Core Features & Use Cases

  • Audits always-loaded files (SOUL.md, USER.md, AGENTS.md, HEARTBEAT.md, TOOLS.md, MEMORY.md) to measure size and content.
  • Drafts a plan using the references/plan-template.md for a safe reduction strategy.
  • Enforces a strict OK → apply → proof workflow to ensure changes are reversible and auditable.

Quick Start

Run the inventory script to generate a current context snapshot and begin planning a safe reduction.

Frequently Asked Questions about context-diet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce OpenClaw context size after a workspace reset?▼

Audit always-loaded workspace files such as SOUL.md, USER.md, and AGENTS.md to measure their sizes, then draft a safe compress or move plan using a template to ensure changes are reversible and auditable.

What is the best way to audit workspace files that are always loaded?▼

Run an inventory script that generates a current context snapshot, measuring the sizes of always-loaded files like MEMORY.md and TOOLS.md before planning a safe reduction strategy.

How does the OK apply proof workflow ensure safe context compression?▼

The OK apply proof workflow ensures safe context compression by requiring an approval step before applying file changes, followed by a verification step using an inventory script to prove changes are successful and reversible.

Can I review changes before moving files like HEARTBEAT.md out of context?▼

Yes, you can review changes before moving files like HEARTBEAT.md because the auditing process drafts a reviewable diff and a safe compress or move plan that must be approved before any action is taken.

What should I do if my workspace context audit plan fails to reduce baseline size?▼

If the context audit plan fails to reduce baseline size, verify the inventory script output to ensure all always-loaded files were measured correctly, then revise the compress or move plan template to target larger files.