{"data":{"slug":"rtk-ai-rtk","name":"rtk","tagline":"CLI proxy reducing LLM token consumption on common dev commands","github_url":"https://github.com/rtk-ai/rtk","owner":"rtk-ai","repo":"rtk","owner_avatar_url":"https://avatars.githubusercontent.com/u/258253854?v=4","primary_language":"Rust","stars":80871,"forks":5129,"topics":["agentic-coding","ai-coding","anthropic","claude-code","cli","command-line-tool","cost-reduction","developer-tools","llm","open-source","productivity","rust","token-optimization"],"archived":false,"github_pushed_at":"2026-09-18T00:31:31+00:00","maintenance_label":"Very active","stars_delta_30d":4624,"url":"https://www.graphcanon.com/tools/rtk-ai-rtk","markdown_url":"https://www.graphcanon.com/tools/rtk-ai-rtk.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/rtk-ai-rtk","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=rtk-ai-rtk","description":"CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies","homepage_url":"https://www.rtk-ai.app","license":"Apache-2.0","open_issues":1642,"watchers":219,"ai_summary":"rtk is a command-line tool written in Rust that optimizes token usage for various AI development tools, reducing consumption by 60-90% on common commands.","readme_excerpt":"### Quick Install (Linux/macOS)\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh\n```\n\n> Installs to `~/.local/bin`. Add to PATH if needed:\n> ```bash\n> echo 'export PATH=\"$HOME/.local/bin:$PATH\"' >> ~/.bashrc  # or ~/.zshrc\n> ```\n\n---\n\n### Verify Installation\n\n```bash\nrtk --version   # Should show \"rtk 0.28.2\"\nrtk gain        # Should show the savings dashboard\n```\n\n> **Name collision warning**: Another project named \"rtk\" (Rust Type Kit) exists on crates.io. If `rtk gain` fails, you have the wrong package. Use `cargo install --git` above instead.\n\n---\n\n# 1. Install for your AI tool\nrtk init -g                     # Claude Code / Copilot (default)\nrtk init -g --gemini            # Gemini CLI\nrtk init -g --codex             # Codex (OpenAI)\nrtk init -g --agent cursor      # Cursor\nrtk init -g --agent windsurf    # Windsurf\nrtk init --agent cline          # Cline / Roo Code\nrtk init --agent kilocode       # Kilo Code\nrtk init --agent antigravity    # Google Antigravity\nrtk init --agent kimi           # Kimi AI\nrtk init -g --agent pi          # Pi\nrtk init --agent omp            # Oh My Pi (OMP)\nrtk init --agent hermes         # Hermes\nrtk init -g --agent droid       # Factory Droid\n\n---\n\n### Infrastructure as Code\n```bash\nrtk pulumi preview              # Strip header/URL/duration noise\nrtk pulumi up                   # Compact apply output\nrtk pulumi destroy              # Compact destroy output\nrtk pulumi refresh              # Drift summary\nrtk pulumi stack                # Stack metadata (strips owner/timestamps)\n```\n\n---\n\n### Native Windows (manual install)\n\nPrefer [`winget`](#winget-windows) if you can — it handles PATH for you.\n\n```powershell\n\n---\n\n## License\n\nApache License 2.0 - see [LICENSE](LICENSE) for details.","github_created_at":"2026-01-22T16:54:16+00:00","created_at":"2026-07-07T17:30:48.988016+00:00","updated_at":"2026-09-20T04:32:05.78233+00:00","categories":[{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"}],"tags":[{"slug":"agentic-coding","name":"agentic-coding"},{"slug":"ai-coding","name":"ai-coding"},{"slug":"anthropic","name":"anthropic"},{"slug":"claude-code","name":"claude-code"},{"slug":"cli","name":"cli"},{"slug":"command-line-tool","name":"command-line-tool"},{"slug":"cost-reduction","name":"cost-reduction"},{"slug":"llm","name":"llm"}],"trust":{"provenance":{"is_fork":false,"github_id":1139971460,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-09-18T08:36:44.014Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":30,"days_since_push":0,"last_release_at":"2026-09-18T00:31:31Z","stars_delta_30d":4624,"open_issues_delta_30d":-331},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-09-18T08:36:46.260Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-09-18T08:36:42.912Z"},"languages":{"value":["rust"],"source":"github.language","observed_at":"2026-09-18T08:36:42.912Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-09-18T08:36:42.912Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["When you need to reduce token consumption on common development commands, as rtk can cut usage by 60-90%.","If you are working with AI development tools like Claude Code, Copilot, Codex, or others listed, and want to streamline and optimize your command-line interactions.","For developers who use infrastructure as code tools like Pulumi and want to get more compact and noise-free output from commands such as `pulumi preview`, `pulumi up`, and `pulumi destroy`."],"when_not_to_use":["If you are already using a different tool named 'rtk' (such as Rust Type Kit), as there might be a name collision that could cause confusion or errors.","When you are working in an environment where Rust binaries are not supported or where you cannot add a binary to your PATH.","If your development workflow does not involve AI-assisted coding or infrastructure as code tools, as rtk's optimizations are specifically tailored for these use cases."],"source":"enrich:decision_facts","observed_at":"2026-09-18T11:06:46.701Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"rtk is a CLI proxy tool written in Rust that optimizes token usage for various AI development tools, reducing consumption by 60-90% on common commands."}]}}