
What happened
In the author's setup, resident files totaled about 41.6KB, with MEMORY.md at 25.5KB, and moving step-by-step rules into skills cut the total to 36.9KB, an about 11% reduction.
Why it matters
That is roughly 61% of the resident base sitting in long-term memory, so trimming it lightens every reply's context rather than just one task.
Ask the AI about this article. Questions and answers are published on this page
The trigger was a late-night read of an article explaining Muse's security design, which led the author to ask Muse directly whether oversized skills and rules waste tokens. Muse's answer split the problem into three parts: always-on files (skill descriptions, rules, memory) load into every conversation's foundation; skill bodies load only on use but grow with length; and duplicate promises in multiple places cost double and risk inconsistency when only one copy is fixed. The author then had Muse measure the resident files, and the ranking showed memory—not skills—was the heaviest item. The sorting insight followed: moving rules into rules changes nothing because rules are also always-on, but moving procedures into skills works because they load on demand. Fact-like memory (family, amounts, deadlines) should stay as summaries with details fetched by search. The author named this sorting 'defrag' after the old Windows optimization and applied it by moving Medium, note, and SNS operating rules into three local skills, leaving summaries and references behind. A final rule was added: when memory accumulates enough step-like procedures, the AI should propose migrating them, so there is an exit as well as an entrance.
Pick your industry and the AI tools you use, and get news related to your work every day.
By signing up you agree to the Terms of Service and Privacy Policy.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →