Skip to content
Back to skills

Token Saver Config

ASecurity

Configure and diagnose token-saver compression settings. Use when the user asks about adjusting compression levels, checking processor status, debugging hook issues, or reviewing savings statistics.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agentspythongodockerawsterraformdebugginggitdatabase

Works with

  • cli

Security analysis

A100/100

Scanned September 19, 2026

npx -y skills add hybridlabor-api/aos --skill token-saver-config --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Token Saver Config?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Token Saver Config
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hybridlabor-api-token-saver-config-aos/badge)](https://www.skillsdirectory.com/skills/hybridlabor-api-token-saver-config-aos)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: token-saver-config
description: "Configure and diagnose token-saver compression settings. Use when the user asks about adjusting compression levels, checking processor status, debugging hook issues, or reviewing savings statistics."
---

# Heimdall Token Saver Configuration & Diagnostics

## Check Status
Run `token-saver stats` to see compression statistics for the current and all sessions.

## Configuration
Token-saver config is stored in `~/.token-saver/config.json`. Available settings:
- `min_lines`: minimum output lines to trigger compression (default: 5)
- `min_chars`: minimum output chars to trigger compression (default: 200)
- `chars_per_token`: ratio for token estimation (default: 3.5)
- `wrap_timeout`: max seconds for command execution (default: 30)

To modify: `token-saver config set min_lines 10`

## Debug Mode
Set `TOKEN_SAVER_DEBUG=true` environment variable to enable debug logging to `~/.token-saver/hook.log`.

## Supported Processors
Token-saver includes processors for: git, gh (GitHub CLI), docker, kubectl, terraform, npm/pip/cargo, test runners (pytest, jest, go test), linters (eslint, ruff, pylint), build tools, cloud CLIs (aws, gcloud, az), database queries, file listings, file content, environment/system info, network tools (curl, wget), and search (grep, find, ripgrep).

## Troubleshooting
If compression isn't working:
1. Check that `python3` is available in your PATH
2. Run `TOKEN_SAVER_DEBUG=true` then trigger a compressible command
3. Check `~/.token-saver/hook.log` for errors
4. Verify with: `echo "test" | python3 "${CLAUDE_PLUGIN_ROOT}/scripts/hook_pretool.py"`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…