用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/diegosouzapw/awesome-omni-skill --skill rtk-optimizer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Token-efficient tracking for AI orchestration. CLI-first for status updates (~50 tokens), agent fallback for complex ops (~1KB). Use when: updating task status, querying blockers, creating progress files, validating phases.
AshAi extension guidelines for integrating AI capabilities with Ash Framework. Use when implementing vectorization/embeddings, exposing Ash actions as LLM tools, creating prompt-backed actions, or setting up MCP servers. Covers semantic search, LangChain integration, and structured outputs.
This skill should be used when solving hard questions, complex architectural problems, or debugging issues that benefit from GPT-5 Pro or GPT-5.1 thinking models with large file context. Use when standard Claude analysis needs deeper reasoning or extended context windows.
基于 SOC 职业分类
正在显示 SKILL.md
| name | rtk-optimizer |
| description | Optimize command outputs with RTK (Rust Token Killer) for 70% token reduction |
| version | 1.0.0 |
| tags | ["optimization","tokens","efficiency","git"] |
Purpose: Automatically suggest RTK wrappers for high-verbosity commands to reduce token consumption.
git log → rtk git log (92.3% reduction)git status → rtk git status (76.0% reduction)find → rtk find (76.3% reduction)git diff → rtk git diff (55.9% reduction)cat <large-file> → rtk read <file> (62.5% reduction)pnpm list → rtk pnpm list (82% reduction)pnpm test / vitest run → rtk vitest run (90% reduction)cargo test → rtk cargo test (90% reduction)cargo build → rtk cargo build (80% reduction)cargo clippy → rtk cargo clippy (80% reduction)pytest → rtk python pytest (90% reduction)go test → rtk go test (90% reduction)gh pr view → rtk gh pr view (87% reduction)gh pr checks → rtk gh pr checks (79% reduction)ls → rtk ls (condensed output)grep → rtk grep (filtered output)User: "Show me the git history"
Skill: Detects git log → Suggests rtk git log → Explains 92.3% token savings
User: "Find all markdown files"
Skill: Detects find → Suggests rtk find "*.md" . → Explains 76.3% savings
Before first use, verify RTK is installed:
rtk --version # Should output: rtk 0.16.0+
If not installed:
# Homebrew (macOS/Linux)
brew install rtk-ai/tap/rtk
# Cargo (all platforms)
cargo install rtk
# When user requests high-verbosity command:
1. Acknowledge request
2. Suggest RTK optimization:
"I'll use `rtk git log` to reduce token usage by ~92%"
3. Execute RTK command
4. Track savings (optional):
"Saved ~13K tokens (baseline: 14K, RTK: 1K)"
Optional: Track cumulative savings across session:
# At session end
rtk gain # Shows total token savings for session (SQLite-backed)
Enable via CLAUDE.md:
## Token Optimization
Use RTK (Rust Token Killer) for high-verbosity commands:
- git operations (log, status, diff)
- package managers (pnpm, npm)
- build tools (cargo, go)
- test frameworks (vitest, pytest)
- file finding and reading
Based on real-world testing:
git log: 13,994 chars → 1,076 chars (92.3% reduction)git status: 100 chars → 24 chars (76.0% reduction)find: 780 chars → 185 chars (76.3% reduction)git diff: 15,815 chars → 6,982 chars (55.9% reduction)read file: 163,587 chars → 61,339 chars (62.5% reduction)Average: 72.6% token reduction
Use RTK for: git workflows, file operations, test frameworks, build tools, package managers Skip RTK for: small outputs, quick exploration, interactive commands
docs/resource-evaluations/rtk-evaluation.mdexamples/claude-md/rtk-optimized.md