rtk
SHA-256CLIエージェントは、一般的な開発コマンドのLLMトークンの消費を60〜90%削減します。
スマートダウンロード
Download 版をダウンロード
v0.40.0 · 3.9 MB
AI開発ツールのトークンは、コマンドの出力を自動的に圧縮し、トークンを80%節約します。
主な機能
- 「インテリジェントフィルタコマンド出力、メモ、空白、サンプルコードを取り除く」、「ディレクトリ/タイプで類似の結果を分類する」、「冗長情報を切断し、重要なコンテンツを保持する」、「ログ行と統計を繰り返す」、「C Claude Code、Copilot、Gemini CLIなどのAIツールに自動的に統合」、「 git、テスト、構築、コードチェック、Docker、kubectl、AWS CLIなどの100以上のコマンドをサポート」
できないこと
- •rtk は shell で実行されたコマンドにのみ適用され、C Claude Code の Read、Grep、Glob などの AI ツールの内蔵ツールは自動的にハックされず、rtk read、rtk grep などのコマンドを手動で使用する必要があります。さらに、crates.io には同名のプロジェクト 'Rust Type Kit' があり、インストール後に rtk gain エラーが実行され、パッケージが間違っていることを示す場合、 git をインストールする必要があります。Windows ユーザーは WSL を使用して完全なハックシステムのサポートを受けることをお勧めします。
使用例
- [「AIコードアシスタントを使用する際にトークンの消費とコストを大幅に削減する」、「CI/CDパイプラインでテストログの出力を最適化し、LLM処理の騒音を減らす」]
詳細説明
rtk は高性能な CLI エージェントで、Clod Code、Copilot、Gemini CLI などの AI 開発ツールと shell コマンドの間で、出力が LLM コンテンツに到達する前にフィルタリングおよび圧縮され、通常 60-90% のトークン消費量を削減します。Rust は単二進化ファイル構築でゼロ依存で、Git、Test Runner、コードチェックツール、マネージャー、Docker、kubectl、AWS CLI を含む 100 を超える一般的なコマンドをサポートします。 スマートなフィルタリング、グループ、カット、および分解の 4 つの戦略で、10 ミリ秒未満のコストであなたの仕事の流れに透
タグ
はじめ方
ソフトウェアをインストール
ディストリビューションに合ったパッケージをインストール(dpkg / rpm / AppImage)
「Homebrew を使用してインストール:brew install rtk」、「またはスピードインストールスクリプトを実行する:curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh, sh」、「インストール認証:rtk --version バージョン番号を表示するべき」、「AI ツールのイニシアチブ:rtk init -g (Claude Code / Copilot デフォルト)」、「AI ツールを再起動すると自動的にトークンを節約できます」
- 「Homebrew を使用してインストール:brew install rtk」、「またはスピードインストールスクリプトを実行する:curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh, sh」、「インストール認証:rtk --version バージョン番号を表示するべき」、「AI ツールのイニシアチブ:rtk init -g (Claude Code / Copilot デフォルト)」、「AI ツールを再起動すると自動的にトークンを節約できます」
最新のリリースノート
## [0.40.0](https://github.com/rtk-ai/rtk/compare/v0.39.0...v0.40.0) (2026-05-13)
### Features
* **gradlew:** Gradle support for Android/Kotlin developers ([833026b](https://github.com/rtk-ai/rtk/commit/833026b893822be4e1c64d22d640e979cd9eff51))
* **hermes:** add Hermes Agent support via rtk init --agent hermes ([55f998d](https://github.com/rtk-ai/rtk/commit/55f998d08cd80ece970fe5e61eaae3533512288b))
* **hooks:** add transparent_prefixes config for wrapper commands ([998f1ee](https://github.com/rtk-ai/rtk/commit/998f1ee0a3cf8d73ea0d6d87c121117f351e4992))
* **init:** add --dry-run flag to preview changes without writing ([172ec54](https://github.com/rtk-ai/rtk/commit/172ec54580ddb0d737ef3e3be8a075eaeeb0a01b))
### Bug Fixes
* **cicd:** pr-target clean msg + git app token ([e4c3ed7](https://github.com/rtk-ai/rtk/commit/e4c3ed7d889ede726df7986ade94a4714c7c7f99))
* **cicd:** set release-please target-branch to master [skip ci] ([0c6a838](https://github.com/rtk-ai/rtk/commit/0c6a838594e87346b67bd13c092b8a46a783af87))
* correct ARCHITECTURE.md path in README links ([2a41e03](https://github.com/rtk-ai/rtk/commit/2a41e039903049543aa6c69482747eddcce9ee5a))
* don't inject -json for go test -bench runs ([380a7c9](https://github.com/rtk-ai/rtk/commit/380a7c9f1189fafe7d0b878b3821a720ac6ab4b2))
* **dotnet:** format build/test/restore output sections ([106305b](https://github.com/rtk-ai/rtk/commit/106305b1978ad5fdd47139d3543cfa53a5e8172e))
* **dotnet:** format warnings section in build/test/restore outputs ([c5245d7](https://github.com/rtk-ai/rtk/commit/c5245d74fafc066072615d804c27d5c2892db7d9))
* **dotnet:** move build/test/restore status line to the bottom ([ed161b0](https://github.com/rtk-ai/rtk/commit/ed161b0a33a2a784bb933792501aa2747b0df3c3)), closes [#1574](https://github.com/rtk-ai/rtk/issues/1574)
* **gradlew:** use resolved_command for system gradle fallback ([9e3a5ae](https://github.com/rtk-ai/rtk/commit/9e3a5ae68d4adc3d7fc374f36235cb5164e6efc8))
* **hooks:** address transparent prefix review ([fdf0ed0](https://github.com/rtk-ai/rtk/commit/fdf0ed0b597f1ebdc96a2793df2725a1e62bc65c))
* **hooks:** compose env and transparent prefixes ([b234bc6](https://github.com/rtk-ai/rtk/commit/b234bc6db1ab301334412409a4cfd67fe99c58f0))
* **hooks:** make Cursor preToolUse rewrites work and stay visible ([f00977a](https://github.com/rtk-ai/rtk/commit/f00977aa338ce6bafe8df69c271679951310b045))
* minor code cleanup, avoid duplicating logic ([20cac8a](https://github.com/rtk-ai/rtk/commit/20cac8a4e7c2b7e0e2675dbcab4fbd0fb1ad79ed))
* new rewite_command test call after rebase ([5cfb8e1](https://github.com/rtk-ai/rtk/commit/5cfb8e1d2bdf85d60633868cb420aba9a7b923f4))
SHA-256 チェックサム確認済み
GitHub 公式 Release ページから抽出されたチェックサム
SHA256 チェックサム
a75d210a445874106bc16da2b4efba01d36d297afa33ec134728f2d5f42ef5afこのチェックサムは GitHub Release ページから抽出されたものです。ダウンロード後にファイルの整合性を確認してください。
本プラットフォーム上のすべての SHA-256 チェックサムは、プロジェクトの公式 GitHub Release ページから抽出されたもので、一切の改変はありません。GitHub Releases ページで独自に検証できます。
オープンソースの透明性
GitHub ソースを見るアンインストール情報
Homebrew でインストールした場合、brew uninstall rtk を実行し、スクリプトでインストールした場合、 ~/.local/bin/rtk ファイルを削除し、shell プロファイルから関連する環境変数を削除します。Cargo でインストールした場合、 cargo uninstall rtk を実行します。最後に、AI ツールのハックプロファイル (例えば .bashrc または .zshrc) から rtk 初期化の行を削除します。
追加の依存関係なし
ダウンロード後すぐに使用可能。追加のランタイムは不要です。