aios-interception-runtimelisted
Install: claude install-skill rexleimo/harness-cli
<!-- 中文注释:统一的 token 压缩与拦截运行时。输出压缩、输入压缩、数据面拦截三合一。 -->
# AIOS Interception Runtime
AIOS 的原生 token 优化层,覆盖三个层面:**输出压缩**(agent 写什么)、**输入压缩**(agent 读什么)、**数据面拦截**(自动截获和压缩)。
不安装 RTK、Caveman 或任何竞品。RTK/Caveman 仅作为 prior art 参考。
## Always Read
1. references/runtime-contract.md
## 一、输出压缩 (Output Compression)
压缩回答,不压缩真相。
- Default level: `tight`
- Switch command: `/compress tight|ultra|precise|off`
- User overrides win: `precise mode`、`stop compress`、或任何要求更多细节的请求会禁用当前响应的压缩
### Levels
| Level | Output shape | Use for |
|-------|--------------|---------|
| `tight` | Short sentences, fragments ok, no filler | Normal analysis, code work, status updates |
| `ultra` | One-liners, `A -> B` notation, only evidence/next action | Harness logs, heartbeat updates, checkpoint summaries |
| `precise` | Full explicit wording, no compression | Browser actions, irreversible operations, safety/security warnings |
### Rules
- Drop filler: pleasantries, hedging, repeated setup, generic summaries
- Keep exact: commands, code, errors, file paths, URLs, API names, selectors, dates, numbers
- Prefer: `changed X in path. verified with command. next Y.`
- Do not compress quoted user text, legal/security warnings, or step sequences where order matters
### Auto-Precise Guard
Use `precise` for:
- Browser operation instructions (`page.click`, `page.type`, `page.goto`, selector choice)
- Auth, payment, deletion, publishing, external network, or irreversible actions
- User confusion, contradiction, or repeat