mirror of
https://github.com/rtk-ai/rtk.git
synced 2026-09-19 07:33:17 +08:00
7d04b485a7
* feat(init): add Codex CLI support via AGENTS.md + RTK.md workflow Add --codex mode to rtk init for Codex CLI integration using AGENTS.md + RTK.md, while keeping the newer develop init/opencode flow intact. Includes Codex install/show/uninstall handling, ASCII status output, stricter flag validation, and expanded tests for Codex AGENTS lifecycle and patch-mode rejection. Signed-off-by: Zacaria <havesomecode@gmail.com> * docs: fix validation metadata Signed-off-by: Zacaria <havesomecode@gmail.com> --------- Signed-off-by: Zacaria <havesomecode@gmail.com>
33 lines
482 B
Markdown
33 lines
482 B
Markdown
# RTK - Rust Token Killer (Codex CLI)
|
|
|
|
**Usage**: Token-optimized CLI proxy for shell commands.
|
|
|
|
## Rule
|
|
|
|
Always prefix shell commands with `rtk`.
|
|
|
|
Examples:
|
|
|
|
```bash
|
|
rtk git status
|
|
rtk cargo test
|
|
rtk npm run build
|
|
rtk pytest -q
|
|
```
|
|
|
|
## Meta Commands
|
|
|
|
```bash
|
|
rtk gain # Token savings analytics
|
|
rtk gain --history # Recent command savings history
|
|
rtk proxy <cmd> # Run raw command without filtering
|
|
```
|
|
|
|
## Verification
|
|
|
|
```bash
|
|
rtk --version
|
|
rtk gain
|
|
which rtk
|
|
```
|