compaction-control-profiling

Installation
SKILL.md

Compaction Control Profiling

This skill covers the decision that comes before any self-compacting agent design: for this model, on this workload, should the harness or the model decide when and what to compact? The answer is measured, not assumed. In a cross-model study that gave four current models one compaction interface and one set of instructions, one model nearly tripled its score at a tight context budget while another called the interface in a small minority of tasks and trailed the harness baseline until budgets were large (claim-compaction-control-tight-budget-gain, claim-compaction-control-uptake-variance).

The operating rule: treat compaction control as a property of one model at one context pressure under one prompt. The study saw the outcome change across models, across budgets, and with a single timing sentence. It did not test model versions or alternative wordings, so re-qualifying on those changes is a precaution this skill adds, not a measured result. Qualify the model with a budget sweep and a behavior profile, calibrate the timing instruction, assign control per model and pressure regime, and re-qualify when the model or the prompt changes.

When to Activate

Activate this skill when:

  • Choosing between a harness threshold, a model-called compaction interface, or a hybrid for a specific model and workload
  • Onboarding a new model, model version, or system prompt into a harness that exposes compaction to the model
  • Designing an experiment that compares compaction policies across context budgets
  • An agent with a compaction interface never calls it, calls it at low fill, or returns an answer when warned that context is filling
  • Calibrating a compaction timing instruction or the wording of a context-pressure warning
  • Specifying the telemetry of a reversible compaction interface: range collapse, archived originals, retrieval by tag
  • Checking whether a run that used fewer tokens was cheaper to serve

Do not activate this skill for adjacent work owned by other skills:

Installs
3
GitHub Stars
18.5K
First Seen
3 days ago