add-rtk

Install and configure the rtk token-compression proxy for Bash tool interactions.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/tharunramagiri/bookoraaagent --skill add-rtk-tharunramagiri
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-rtk
Source: https://github.com/tharunramagiri/bookoraaagent/tree/main/.claude/skills/add-rtk
Command: npx skills add https://github.com/tharunramagiri/bookoraaagent --skill add-rtk-tharunramagiri

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) components.

What problem does it solve?

This skill addresses the high token consumption associated with frequent Bash tool calls in AI agents by introducing a transparent CLI proxy that filters and compresses command output.

Core Features & Use Cases

  • Token Efficiency: Reduces token usage by 60–90% for common development commands like git, cargo, and docker.
  • Transparent Integration: Hooks into the agent container via Claude Code PreToolUse, requiring no manual intervention after setup.
  • Use Case: If your agent frequently runs long-running build or test commands, this skill intercepts the output to ensure only essential information is sent to the LLM, significantly lowering costs and latency.

Quick Start

Run the add-rtk skill to install the proxy binary and configure your agent group for optimized command execution.

Frequently Asked Questions about add-rtk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce token consumption from frequent Bash tool calls in my AI agent?

You can reduce token consumption by installing a transparent CLI proxy that filters and compresses command output, cutting token usage by 60–90% for common development commands like git, cargo, and docker.

How does a token-compression proxy work with containerized agent environments?

The proxy works by mounting host binaries into isolated containers and injecting PreToolUse hooks, ensuring only essential command output is sent to the LLM to lower costs and latency.

Do I need jq to set up the rtk token-optimization proxy?

Yes, jq is required as a dependency to install the proxy binary and configure your agent group for optimized command execution.

Can I optimize Bash command execution in containers without manual intervention?

Yes, once configured via Claude Code PreToolUse hooks, the proxy transparently intercepts long-running build or test commands, requiring no manual intervention after setup.

What's the best way to lower LLM latency for agents running long build commands?

The best way is to filter command output through a specialized CLI proxy that intercepts build commands, ensuring only essential information is sent to the LLM to significantly lower latency.

Are there limitations to using a Bash output proxy for containerized agents?

The proxy is limited to optimizing common development commands within containerized agent environments and requires the jq dependency and host binary mounting to function correctly.