rtk CLI proxy
БесплатноБез исполняемых скриптовНе проверенRun shell/dev commands through the rtk CLI proxy so verbose output (ls, tree, git, gh, grep, logs, JSON, docker, tests) is compacted before it reaches the…
от eric2100258 установок в других каталогахОб этом скилле
rtk — output-compacting CLI proxy
rtk wraps normal commands and returns token-optimized output instead of raw text.
Binary: /usr/local/bin/rtk (built from source on this host; see Restore).
Check availability first: rtk --version (expected 0.49.x).
When to use
- Exploring a repo or directory: prefer
rtk ls,rtk tree,rtk find - Reading long files:
rtk read <file> - Git/CI noise:
rtk git status|log|diff,rtk gh pr list - Big logs or test runs:
rtk test <cmd>,rtk err <cmd>,rtk log <file> - JSON dumps:
rtk json <file>(--keys-onlyfor shape only) - Package/dependency listing:
rtk deps,rtk env
Do NOT use it when exact byte-level output matters (diff patches to apply, checksums, signatures, secrets, machine-parsed files). Call the native command instead.
Common patterns
rtk ls /path # compact listing
rtk tree /path # directory tree
rtk read /path/file.py # filtered read
rtk git status # short status
rtk git log -n 10 # compact log
rtk grep "pattern" src/ # grouped/truncated matches
rtk find . -name '*.ts' # compact find tree
rtk test "npm test" # failures only
rtk err "make build" # errors/warnings only
rtk summary "some command" # heuristic 1-2 line summary
rtk <cmd> --help lists flags per subcommand.
Restore after an add-on rebuild
The binary lives in the container filesystem, so a rebuild removes it. Backups:
/config/clawd/bin/rtk (copy of the working binary).
- Try the backup first:
cp /config/clawd/bin/rtk /usr/local/bin/rtk && chmod 755 /usr/local/bin/rtk - If missing, rebuild from source (prebuilt ARM64 releases need GLIBC 2.39; this host is Debian 12 / 2.36, so they fail):
export CARGO_HOME=/config/.cargo RUSTUP_HOME=/config/.rustup
export PATH="$CARGO_HOME/bin:$PATH"
[ -x "$CARGO_HOME/bin/cargo" ] || { curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal; }
git clone --depth 1 --branch develop https://github.com/rtk-ai/rtk.git /tmp/rtk-src
cd /tmp/rtk-src && cargo build --release # ~40 min on this box
cp target/release/rtk /usr/local/bin/rtk && cp target/release/rtk /config/clawd/bin/rtk
Build takes ~45 min on the HA host (rustup download is the slow part).
Notes
- Repo: https://github.com/rtk-ai/rtk (Rust, MIT-ish licenses in repo)
- Version built here: 0.49.0
- Never pipe secrets or tokens through rtk; it summarizes text.
Установить rtk CLI proxy в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл rtk CLI proxy?
Run shell/dev commands through the rtk CLI proxy so verbose output (ls, tree, git, gh, grep, logs, JSON, docker, tests) is compacted before it reaches the model context. Use when a command would produce long output or during exploration of large repos.
Как установить скилл rtk CLI proxy?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rtk CLI proxy запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub