Slash Command44 repo starsupdated 2mo ago
tokenless
Show Tokenless status, savings, latest artifact, and style controls
Install in Claude Code
Copymkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/MaxForAI/Tokenless/HEAD/commands/tokenless.md -o ~/.claude/commands/tokenless.mdThen start a new Claude Code session; the slash command loads automatically.
Definition
tokenless.md
If the first argument is `style`, handle it as a style command: Run `tokenless style <style> --data-dir ~/.tokenless` if a style is provided. Run `tokenless style status --data-dir ~/.tokenless` if no style is provided. Then report the printed `effective_style`, `style_source`, and restart note. Valid styles: `chat`, `coding`, `off`. Do not run stats/latest for style commands. Otherwise, show a compact Tokenless dashboard. This repository template assumes `tokenless` is available on PATH. The installer writes a user-level command with an absolute local CLI path. Run: ```bash tokenless status --user tokenless stats --data-dir ~/.tokenless tokenless latest --data-dir ~/.tokenless ``` Then answer compactly: ```text Tokenless: - hooks: installed|not installed - mode: on|off and source - style: chat|coding|off and source - local_saved: <tokens_saved> tokens - local_ratio: <compression_ratio> - sources: hook=<saved>, eval=<saved>, smoke=<saved> - read/edit/write packets: <counts and saved tokens> - gates: pending=<n> - latest: <artifact_id or none> - expand: <exact expand command if latest exists> ``` Do not expand raw artifacts unless the user asks for details.
More from this repository
tokenless-style-chatSlash Command
Set Tokenless style to chat: shortest readable output
tokenless-style-codingSlash Command
Set Tokenless style to coding: dense structured output
tokenless-style-offSlash Command
Disable Tokenless style and compression hooks
context-compressionSkill
Use Tokenless for large files and noisy tool outputs before they enter context. Must be used when commands, Read output, diffs, logs, or search results are large.