@@ -16,7 +16,7 @@ tags: [guide, reference, workflows, agents, hooks, mcp, security]
1616
1717**Last updated**: January 2026
1818
19- **Version**: 3.33.0
19+ **Version**: 3.33.1
2020
2121---
2222
@@ -5034,7 +5034,7 @@ The `.claude/` folder is your project's Claude Code directory for memory, settin
50345034| Personal preferences | `CLAUDE.md` | ❌ Gitignore |
50355035| Personal permissions | `settings.local.json` | ❌ Gitignore |
50365036
5037- ### 3.33.0 Version Control & Backup
5037+ ### 3.33.1 Version Control & Backup
50385038
50395039**Problem**: Without version control, losing your Claude Code configuration means hours of manual reconfiguration across agents, skills, hooks, and MCP servers.
50405040
@@ -15977,10 +15977,10 @@ cargo install rtk
1597715977curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/main/install.sh | bash
1597815978
1597915979# Verify installation
15980- rtk --version # v0.16 .0+
15980+ rtk --version # v0.28 .0+
1598115981```
1598215982
15983- **Proven Token Savings (Benchmarked on v0.2.0 ):**
15983+ **Proven Token Savings (Benchmarked on real output ):**
1598415984
1598515985| Command | Baseline | RTK | Reduction |
1598615986|---------|----------|-----|-----------|
@@ -15993,7 +15993,7 @@ rtk --version # v0.16.0+
1599315993
1599415994**Average: 60-90% token reduction depending on commands**
1599515995
15996- **Key Features (v0.16 .0):**
15996+ **Key Features (v0.28 .0):**
1599715997
1599815998```bash
1599915999# Git operations
@@ -16008,23 +16008,44 @@ rtk prisma migrate status # Migration status filtered
1600816008
1600916009# Python
1601016010rtk python pytest # Python test output condensed
16011+ rtk mypy # Type errors grouped by file
1601116012
1601216013# Go
1601316014rtk go test # Go test results filtered
1601416015
1601516016# Rust
1601616017rtk cargo test # Cargo test output condensed
16018+ rtk cargo nextest # cargo-nextest failures-only output
1601716019rtk cargo build # Build output filtered
1601816020rtk cargo clippy # Lints grouped by severity
1601916021
16020- # Project Setup & Learning
16021- rtk init # Initialize RTK in a project (hook-first install)
16022+ # Cloud & Database
16023+ rtk aws # AWS CLI output filtered
16024+ rtk psql # psql query results condensed
16025+ rtk docker # Docker output condensed
16026+ rtk docker compose # docker compose support
16027+
16028+ # Version control (extra)
16029+ rtk gt # Graphite CLI support
16030+
16031+ # File & Text Utilities
1602216032rtk tree # Project structure condensed
16033+ rtk wc # Compact word/line/byte counts
16034+ rtk read file.ts # File contents condensed
16035+
16036+ # Project Setup & Learning
16037+ rtk init # Initialize RTK with hook auto-install
16038+ rtk init --global # Install hook globally (settings.json auto-patch)
1602316039rtk learn # Interactive RTK learning
1602416040
1602516041# Analytics
1602616042rtk gain # Token savings dashboard (SQLite tracking)
16043+ rtk gain -p # Per-project token savings breakdown
1602716044rtk discover # Find missed optimization opportunities
16045+
16046+ # Hook & Config Management
16047+ rtk rewrite <cmd> # Single source of truth for hook rewrites
16048+ rtk verify # Validate TOML filter rules
1602816049```
1602916050
1603016051**Real-World Impact:**
@@ -16036,11 +16057,30 @@ rtk discover # Find missed optimization opportunities
1603616057- Savings: 109K tokens (72.6% reduction)
1603716058```
1603816059
16060+ **TOML Filter DSL (v0.28.0 — add filters without writing Rust):**
16061+
16062+ RTK now supports a declarative filter engine via TOML config. You can add custom output filters for any command without touching Rust code.
16063+
16064+ ```toml
16065+ # .rtk/filters.toml (project-local) or ~/.config/rtk/filters.toml (user-global)
16066+
16067+ [[filters]]
16068+ match_command = "my-build-tool"
16069+ strip_lines_matching = "^(DEBUG|TRACE|INFO):"
16070+ max_lines = 50
16071+ ```
16072+
16073+ Lookup chain: `.rtk/filters.toml` (project) → `~/.config/rtk/filters.toml` (global) → 33 built-in filters (brew, poetry, dotnet, swift, uv, tofu, ansible, helm, etc.)
16074+
16075+ Available primitives: `strip_ansi`, `replace`, `match_output`, `strip/keep_lines_matching`, `truncate_lines_at`, `head/tail_lines`, `max_lines`, `on_empty`
16076+
16077+ Debug: `RTK_NO_TOML=1` bypasses all TOML filters. `RTK_TOML_DEBUG=1` shows which filter fires.
16078+
1603916079**Integration Strategies:**
1604016080
16041160811. **Hook-first install** (recommended):
1604216082 ```bash
16043- rtk init # Sets up PreToolUse hook automatically
16083+ rtk init --global # Sets up PreToolUse hook + patches settings.json automatically
1604416084 ```
1604516085
16046160862. **CLAUDE.md instruction** (manual wrapper):
@@ -16063,6 +16103,22 @@ rtk discover # Find missed optimization opportunities
1606316103 - PreToolUse hook intercepts bash commands
1606416104 - Applies RTK wrapper when beneficial
1606516105
16106+ **Configuration Options:**
16107+
16108+ ```toml
16109+ # ~/.config/rtk/config.toml
16110+ exclude_commands = ["my-interactive-tool", "fzf"] # Never rewrite these
16111+ ```
16112+
16113+ **Migration Note (v0.25.0+):**
16114+
16115+ After upgrading from v0.24.0 or earlier, run `rtk init --global` to install the new thin-delegator hook. The old hook still works, but won't pick up new command mappings automatically.
16116+
16117+ ```bash
16118+ cargo install rtk # Upgrade binary
16119+ rtk init --global # Replace hook with thin delegator
16120+ ```
16121+
1606616122**Recommendation:**
1606716123
1606816124- ✅ **Use RTK**: Full-stack projects (JS/TS, Rust, Python, Go), testing workflows, analytics
@@ -22810,4 +22866,4 @@ We'll evaluate and add it to this section if it meets quality criteria.
2281022866
2281122867**Contributions**: Issues and PRs welcome.
2281222868
22813- **Last updated**: January 2026 | **Version**: 3.33.0
22869+ **Last updated**: January 2026 | **Version**: 3.33.1
0 commit comments