Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add rexleimo/aios --skill aios-interception-runtimegit clone --depth 1 https://github.com/rexleimo/aiosWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/rexleimo/aios/aios-interception-runtime)<a href="https://agentmods.dev/skills/rexleimo/aios/aios-interception-runtime"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/aios-interception-runtime/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/rexleimo/aios/aios-interception-runtime"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/aios-interception-runtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.01878 |
| Opus 5.5 | $0.00032 | $0.00751 |
| Sonnet 5.5 | $0.00016 | $0.00376 |
| Haiku 4.5 | $0.00008 | $0.00188 |
Grade C, and why
aios-interception-runtime scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh How it starts
The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RTK + Caveman 社区工具安装配置指南
AIOS 原生拦截运行时已废弃。Token 压缩改由社区维护的 RTK 和 Caveman 处理。
- RTK (https://github.com/rtk-ai/rtk) — Rust CLI 代理,过滤和压缩命令输出 60-90%。单二进制,<10ms 开销,100+ 支持命令。本地运行,无外部服务。
- Caveman (https://github.com/JuliusBrussee/caveman) — Claude Code skill/插件,压缩 agent 输出 token ~75%。保持技术准确性,仅压缩表述风格。本地 prompt skill。
一、自动安装
aios init 会自动检测并安装 RTK + Caveman(带有安装确认提示):
# 交互式安装(会提示确认)
aios init --agent <claude|codex|gemini|opencode>
# 跳过确认提示(用于 CI/无人值守场景)
aios init --yes-compression-tools
# 仅检测不安装
aios init --dry-run
安装后 aios init 会自动运行 rtk init -g 为检测到的客户端注册 hook/plugin。
二、手动安装
RTK
# macOS (推荐)
brew install rtk
# Linux / macOS / WSL
curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh
# Windows (下载预编译二进制)
# 从 https://github.com/rtk-ai/rtk/releases 下载 rtk-x86_64-pc-windows-msvc.zip
# 解压到 PATH 中的目录(如 C:\Users\<you>\.local\bin)
# Cargo
cargo install --git https://github.com/rtk-ai/rtk
# 验证
rtk --version # 应显示 rtk 0.28.2+
rtk gain # 查看 token 节省统计
RTK 初始化
rtk init -g # Claude Code / Copilot (默认)
rtk init -g --gemini # Gemini CLI
rtk init -g --codex # Codex (OpenAI)
rtk init --agent cursor # Cursor
rtk init --agent windsurf # Windsurf
rtk init --agent cline # Cline / Roo Code
rtk init --agent hermes # Hermes
Caveman
# macOS / Linux / WSL / Git Bash
curl -fsSL https://raw.githubusercontent.com/JuliusBrussee/caveman/main/install.sh | bash
# Windows (PowerShell 5.1+)
$installer = Join-Path $env:TEMP 'caveman-install.ps1'
irm https://raw.githubusercontent.com/JuliusBrussee/caveman/main/install.ps1 -OutFile $installer
powershell -NoProfile -ExecutionPolicy Bypass -File $installer
Remove-Item $installer -Force
安装后约 30 秒。需要 Node >= 18。会自动检测已安装的客户端并跳过没有的。 安全重复运行。
Caveman 使用
/caveman # 激活 caveman 模式(默认 full)
/caveman lite # 轻度:去掉填充语
/caveman full # 完整 caveman 模式(默认)
/caveman ultra # 极简:电报体
/caveman wenyan # 文言文模式(更短)
# 其他命令
/caveman-commit # 压缩 commit message
/caveman-review # 一行 PR 评论
/caveman-stats # token 使用统计
/caveman-compress <file> # 压缩文件内容
# 退出
"normal mode" # 恢复正常输出
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed 364d2bbcb24d
- 2mo ago Changed 18222c0db578
- 2mo ago Changed 55a027404e5b
- 3mo ago First seen · 185 lines · 80 tokens per session scan C 4b1bdbd13e65
aios-interception-runtime is a skill published in the GitHub repository rexleimo/aios (62 stars, last pushed yesterday), licensed MIT. It adds 80 tokens to every session and 1,878 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
aios-interception-runtime compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aios-interception-runtimerexleimo/aios | Skill | 62 | yesterday | MIT | C | 80 | Claude Code, Codex |
| gog-workspaceAtomicBot-ai/atomic-agent | Skill | 3.6k | today | MIT | A | 25 | Claude Code, Codex |
| apple-calendarAtomicBot-ai/atomic-agent | Skill | 3.6k | today | MIT | A | 19 | Claude Code, Codex |
| apple-remindersAtomicBot-ai/atomic-agent | Skill | 3.6k | today | MIT | A | 24 | Claude Code, Codex |
| apple-notesAtomicBot-ai/atomic-agent | Skill | 3.6k | today | MIT | B | 21 | Claude Code, Codex |
| communityericrisco/rsc-harness | Skill | 695 | yesterday | MIT | A | 77 | Claude Code, Codex |
| fast-resumeangristan/fast-resume | Skill | 198 | today | MIT | A | 50 | Claude Code, Codex |