chore(workspace): add rtk rules for antigravity
This commit is contained in:
parent
e6f8414817
commit
f989898a18
32
.agents/rules/antigravity-rtk-rules.md
Normal file
32
.agents/rules/antigravity-rtk-rules.md
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
# RTK - Rust Token Killer (Google Antigravity)
|
||||||
|
|
||||||
|
**Usage**: Token-optimized CLI proxy for shell commands.
|
||||||
|
|
||||||
|
## Rule
|
||||||
|
|
||||||
|
Always prefix shell commands with `rtk` to minimize token consumption.
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
rtk git status
|
||||||
|
rtk cargo test
|
||||||
|
rtk ls src/
|
||||||
|
rtk grep "pattern" src/
|
||||||
|
rtk find "*.rs" .
|
||||||
|
rtk docker ps
|
||||||
|
rtk gh pr list
|
||||||
|
```
|
||||||
|
|
||||||
|
## Meta Commands
|
||||||
|
|
||||||
|
```bash
|
||||||
|
rtk gain # Show token savings
|
||||||
|
rtk gain --history # Command history with savings
|
||||||
|
rtk discover # Find missed RTK opportunities
|
||||||
|
rtk proxy <cmd> # Run raw (no filtering, for debugging)
|
||||||
|
```
|
||||||
|
|
||||||
|
## Why
|
||||||
|
|
||||||
|
RTK filters and compresses command output before it reaches the LLM context, saving 60-90% tokens on common operations. Always use `rtk <cmd>` instead of raw commands.
|
||||||
Loading…
Reference in a new issue