rtk-cli

Solid

usar RTK CLI para reduzir tokens em exploração de repositório, git, grep/find e comandos shell verbosos, preservando o sinal técnico relevante

AI & Automation 7 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 78/100

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

Skill Content

# Skill: `rtk-cli` Use RTK quando o gargalo for **ruído de terminal**. A ideia: comprimir output verboso antes de ele virar contexto de agent. > RTK é opcional. Se não estiver instalado, continua com o comando normal. --- ## Trigger - Quando o usuário pedir para economizar tokens. - Quando a task envolver muito `git status`, `git diff`, `git log`, `grep`, `find`, `ls`, `npm test`, `cargo test`, `gh ...`. - Quando a exploração for shell-heavy e o output normal do terminal tende a desperdiçar contexto. - Quando o pedido mencionar explicitamente `rtk`, `RTK CLI`, `Rust Token Killer`. Não ativar para: - comandos interativos; - browser/UI automation; - output que precisa ser preservado verbatim como evidência principal. --- ## Steps 1. Verifique se `rtk` existe no ambiente: `command -v rtk`. 2. Se existir, prefira `rtk read`, `rtk grep`, `rtk find`, `rtk git ...` e `rtk <comando-verbooso>` nas etapas de inspeção/validação. 3. Se não existir, siga normalmente e não bloqueie a task só por isso. 4. Quando um comando exigir a saída crua como evidência, rode sem RTK. 5. Se precisar explicar o padrão ao usuário/time, registre que RTK é um acelerador opcional para reduzir tokens, não uma dependência obrigatória do projeto. --- ## Padrões - Prefira: - `rtk read AGENTS.md` - `rtk grep "pattern" src/` - `rtk find "*.ts" .` - `rtk git status` - `rtk git diff` - `rtk git log -n 10` - `rtk npm test` - Evite RTK em: - `curl` - `playwright` - comandos com prompt ...

Details

Author
wesleysimplicio
Repository
wesleysimplicio/simplicio-mapper
Created
2 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

rtk-token-optimizer

RTK CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Use when running git, cargo, npm, pytest, or any CLI tool inside an AI coding session. Rewrites verbose command outputs to compact summaries before they reach the context window. Supports Antigravity (Gemini), Claude Code, Cursor, Codex, Copilot, and 10+ other agents. Source: https://github.com/rtk-ai/rtk — offline-capable single Rust binary, zero deps.

0 Updated yesterday
williamcorrea23
DevOps & Infrastructure Listed

token-efficiency

Comprehensive token optimization: RTK (Rust Token Killer) command-output compression, efficient file/command strategies, hard model-routing rules (Sonnet 4.6 coders, Opus 4.6 orchestrator, Haiku 4.5 logging), Source-of-Truth keyword framework, hybrid SQLite agent memory with checkpoints, and concise output style. Use this skill whenever running dev CLI commands (git, cargo, npm, pytest, docker), spawning coding subagents, writing logs or agent memory, setting up a project's keyword index, checkpointing, or whenever the user mentions 'rtk', 'token efficiency', 'token savings', 'context bloat', 'model routing', 'checkpoint', 'agent memory', or 'source of truth'. Also use to install/verify RTK or its Claude Code hook.

1 Updated 5 days ago
M4NUSH7
AI & Automation Listed

02-core-rtk-token-proxy-prefix-for-all-commands

CORE — never delete. Trigger before running ANY terminal/shell command (Bash, PowerShell, git, bun, docker, python, anything). RTK is the mandatory token-proxy prefix that compresses verbose command output so it doesn't flood the context window. This skill explains what RTK is, how the prefix works, its limitations, and the exact signals that mean it may be hiding output you need — so you know when (and only when) to drop it.

0 Updated 3 days ago
markkennethbadilla