Local-first desktop app for diagnosing and reducing AI-agent token waste
Token Saver Desktop is a Tauri desktop app with 20 tools, but exhibits critical definition gaps. Most tools lack parameter descriptions entirely (e.g., detect_integrations, scan_local_sessions, detect_strategy_runtimes have empty input schemas {}). Tool descriptions are present but generic (avg ~80 chars, well below the 194-char baseline). No output schemas are documented. Error handling is minimal, tools return Result<T, String> with no recovery guidance. The codebase shows Tauri command registration but no MCP protocol implementation visible.
Acknowledges and removes processed Claude Code hook events
Checks for available application updates using the configured updater
Detects installed AI agent tools (Claude Code, Codex, OpenClaw, Hermes, OpenCode, Cursor) by checking for their configuration directories in the user's home directory
Detects installed strategy runtimes (currently RTK - RTK Token Killer) by checking if they are available on the system PATH and verifying their identity
Disables the Claude Code event connector by removing hooks from Claude Code settings
Disables the Codex history connector
No input schemas visible for 18 of 20 tools. Tools like detect_integrations, scan_local_sessions, detect_strategy_runtimes declare Input: {} with no parameter descriptions.
No output schemas documented. Tools return Rust types (IntegrationDetection, SessionFile, StrategyRuntimeDetection, UpdateCheckResult) but LLMs cannot see the field structure. Agents cannot plan downstream calls or extract required data.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 28 | 2026-07-28+ | v2 |
Disables RTK command rewriting for Claude Code by running RTK's uninstall command
Enables the Claude Code event connector in portable mode by writing the event collector script and configuring Claude Code hooks
Enables the Codex history connector to capture and analyze Codex session history
Enables RTK command rewriting for Claude Code by running RTK's init command with auto-patch
Inspects the status of all agent connectors (Codex and Claude Code) including detection, authorization, capture status, and pending events
Inspects the status of the RTK (RTK Token Killer) adapter including installation status, binary verification, Claude Code configuration, and token savings statistics
Downloads and installs an available application update, then restarts the application
Installs the official RTK (RTK Token Killer) binary and verifies the installation
Opens a Token Saver GitHub Release URL in the default browser. Only allows URLs from the official Token Saver releases page for security
Previews the changes that will be made when setting up RTK for Claude Code
Reads and returns Claude Code hook events that have been captured
Reads and returns RTK token savings statistics
Scans for local session files from AI agents
Synchronizes and imports Codex session history files
Tools are inferred from Tauri #[tauri::command] macros, not explicit MCP tool registration. No MCP protocol implementation visible in source. Transport is UNKNOWN (likely STDIO via Tauri IPC).
Error handling returns bare String errors with no recovery guidance. E.g., 'Could not determine the user home directory' or 'Signed application updates are not configured in this build.' LLMs cannot infer next steps or whether to retry.
Destructive operations (enable_rtk_for_claude, disable_rtk_for_claude, install_app_update) lack confirmation or dry-run support. Agents can trigger irreversible changes without user approval.