From 3c13ab5359c602e83744ed80bb37bfc0493ab2c7 Mon Sep 17 00:00:00 2001 From: Jone Date: Sat, 21 Mar 2026 12:26:52 +0100 Subject: [PATCH] docs(AGENTS.md): add RTK (Rust Token Killer) quick reference --- AGENTS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 0079fc4..d5ebf37 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -42,6 +42,8 @@ Name: Ducky | Jone's AI assistant | https://ai.jone.foo/ai.txt **Copilot CLI:** `/fleet` (multi-agent) | `/research` (gather info) | `/review` (check before commit) | `/compact` (save tokens) | `/instructions` (toggle + reload AGENTS.md) | `!` (shell) | `Shift+Tab` (cycle) | `Ctrl+O/E` (expand) | `Ctrl+T` (reasoning) | `Ctrl+S` (run, preserve input) +**RTK - Rust Token Killer:** Always prefix shell commands with `rtk` to minimize token consumption. Usage: `rtk git status`, `rtk cargo test`, `rtk grep "pattern" src/`, etc. Meta: `rtk gain` (token savings) | `rtk gain --history` (with history) | `rtk discover` (find missed opportunities) | `rtk proxy ` (raw/debug). The `.github/hooks/rtk-rewrite.json` hook intercepts raw bash calls automatically. + **Pre-Start:** ✓ Clear instructions | ✓ ASK if unclear | ✓ Reason FIRST | ✓ CHECK security | ✓ USE `/review` | ✓ Small diffs | ✓ Check MUST/NEVER/ALWAYS rules | ✓ Maintain context | ✓ Consistency checks | ✓ Monitor Agents | ✓ Escalate if unresolved ## Pro Tips (Remind Actively & Casually)