aios-interception-runtime

Solid

RTK + Caveman community token compression tools install and config guide. RTK (github.com/rtk-ai/rtk) compresses command output 60-90%. Caveman (github.com/JuliusBrussee/caveman) cuts output tokens ~75%. Both run locally, no external services. The AIOS native interception runtime is deprecated.

AI & Automation 52 stars 6 forks Updated today MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
57
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

<!-- 中文注释:Skill 已重写为 RTK + Caveman 社区工具安装配置指南。原生拦截运行时已废弃。 --> # 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(带有安装确认提示): ```bash # 交互式安装(会提示确认) node scripts/aios.mjs init --agent <claude|codex|gemini|opencode> # 跳过确认提示(用于 CI/无人值守场景) node scripts/aios.mjs init --yes-compression-tools # 仅检测不安装 node scripts/aios.mjs init --dry-run ``` 安装后 `aios init` 会自动运行 `rtk init -g` 为检测到的客户端注册 hook/plugin。 ## 二、手动安装 ### RTK ```bash # 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 初始化 ```bash 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...

Details

Author
rexleimo
Repository
rexleimo/harness-cli
Created
6 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Related Skills