| name | token-web |
| description | Use for loss-bounded context compression into NATASHA context packets with fidelity metrics and NO_OP when compression would drop hard requirements. |
| suite | 187SKILLS |
| skill_version | 1.0.0 |
| contract_version | 2.0.0 |
| last_updated | "2026-07-12T00:00:00.000Z" |
| last_verified | "2026-07-12T00:00:00.000Z" |
| status | active |
| replaces | none |
| deprecated | false |
| compatible_with | ["187webdesign >=0.2.0"] |
| requires | ["docs/SKILL-CONTRACT.md"] |
token-web — COMPRESS
Module: COMPRESS · Parent: 187web-ecosystem
Phase 1 foundation stub: full references/templates expand in Phase 2. Agents must already obey compression invariants below.
Manual triggers
/187 compress, COMPRESS, token-web, context capsule
Automatic triggers
oversized context, subagent handoff, multi-file packet, token budget
When to use
- Context exceeds budget before CORD/LAB
- Subagent handoff needs a bounded packet
When not to use
- Short prompts already under budget
- When compression would drop hard requirements → return
NO_OP
Input contract
Raw mission text, constraints, paths, numbers, decisions, token_budget.
Output contract
- Compressed packet or
NO_OP
- Loss report (what was dropped — only soft redundancy)
- Fidelity checklist: 100% hard requirements, identifiers, paths, numbers retained
Safety
Zero false additions. Prefer NO_OP over silent loss of requirements.
Acceptance tests
- Redundant prose → compressed packet with metrics.
- Only hard requirements present →
NO_OP.