Prompt Diet

Analyze and optimize OpenClaw system prompt token usage by compressing workspace files (AGENTS.md, SOUL.md, USER.md, TOOLS.md, IDENTITY.md, HEARTBEAT.md, MEMORY.md). Performance-first approach: only safe compressions that preserve agent behavior quality. Use when: (1) system prompt feels bloated or costs are high, (2) user wants to audit token usage of workspace files, (3) MEMORY.md has grown large with stale entries, (4) periodic prompt hygiene check. NOT for: modifying OpenClaw core system instructions, safety rules, or tool definitions.

knownasnaffy Updated 0 repo stars

File contents

knownasnaffy/prompthound/tree/main/dataset/case_04019 commit d773108d8a

Frequently asked questions

npx skillmds@latest add knownasnaffy/prompt-diet-2