← Back to Skills Marketplace
ckpxgfnksd-max

https://github.com/ckpxgfnksd-max/prompt-compressor-openclaw

by ckpxgfnksd-max · GitHub ↗ · v0.2.0 · MIT-0
cross-platform ✓ Security Clean
259
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install prompt-token-saver
Description
Saves 20-40% of LLM tokens by teaching the agent to write compressed responses, compressed memory logs, and compressed pre-compaction summaries. Works via SO...
Usage Guidance
This skill appears to do exactly what it says: add compression rules to your agent and optionally install a local hook. Before installing, back up your existing SOUL.md and manually review soul-snippet.md so you understand the global behavioral changes (it removes greetings/hedging and shortens phrasing). If you enable the handler.js hook later, only copy it into ~/.openclaw/hooks and enable hooks if you trust the code — the hook runs locally and does not contact external services, but it will transform messages before the LLM sees them (which can change intent or tone). No credentials or network access are requested by this skill.
Capability Analysis
Type: OpenClaw Skill Name: prompt-token-saver Version: 0.2.0 The 'prompt-token-saver' skill is a utility designed to reduce LLM token consumption by enforcing concise communication and data logging. It achieves this through a JavaScript hook (handler.js) that uses regex to strip filler words from user input and by providing instructions (soul-snippet.md) to be appended to the agent's core SOUL.md file. The code and instructions are transparent, align with the stated purpose of token efficiency, and show no signs of malicious intent, data exfiltration, or harmful prompt injection.
Capability Assessment
Purpose & Capability
Name/description claim token savings via compressed outputs and compressed memory; the package contains a SOUL snippet to append to ~/.openclaw/SOUL.md and an optional local handler.js hook that implements regex-based compression — all items relate directly to the stated purpose. No unrelated env vars, binaries, or external services are requested.
Instruction Scope
SKILL.md instructs you to append soul-snippet.md to SOUL.md (global agent instructions) and to run /new. That is expected for this capability, but it changes the agent's global behavior across sessions — you should review the snippet before appending. The snippet explicitly protects code, URLs, API keys, and numbers from compression, which aligns with its purpose.
Install Mechanism
No installer or remote downloads; installation is manual append of a local file or optional copying handler.js into ~/.openclaw/hooks. No network fetches or archive extraction are used — low install risk.
Credentials
The skill requires no environment variables, no credentials, and no config paths beyond the SOUL.md and optional ~/.openclaw/hooks directory it documents — these are proportionate to a skill that modifies agent instructions or installs a local hook.
Persistence & Privilege
The primary persistence mechanism is appending text to SOUL.md (persistent agent policy). always is false and the skill does not demand elevated system privileges, but appending to SOUL.md will permanently change agent behavior until edited — back up SOUL.md before installing. The handler.js hook is optional and local; enabling it requires writing to ~/.openclaw/hooks and running openclaw hooks enable.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install prompt-token-saver
  3. After installation, invoke the skill by name or use /prompt-token-saver
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.2.0
- 154 compression rules optimized through 300+ evolutionary variants - Scored 96.3% on a 24-test benchmark - Architecture research (217 variants) evaluated hooks, proxies, plugins, and SOUL.md approaches - SOUL.md won for Clawdbot v2026.1.x: zero deps, zero config, two-command install
Metadata
Slug prompt-token-saver
Version 0.2.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is https://github.com/ckpxgfnksd-max/prompt-compressor-openclaw?

Saves 20-40% of LLM tokens by teaching the agent to write compressed responses, compressed memory logs, and compressed pre-compaction summaries. Works via SO... It is an AI Agent Skill for Claude Code / OpenClaw, with 259 downloads so far.

How do I install https://github.com/ckpxgfnksd-max/prompt-compressor-openclaw?

Run "/install prompt-token-saver" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is https://github.com/ckpxgfnksd-max/prompt-compressor-openclaw free?

Yes, https://github.com/ckpxgfnksd-max/prompt-compressor-openclaw is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does https://github.com/ckpxgfnksd-max/prompt-compressor-openclaw support?

https://github.com/ckpxgfnksd-max/prompt-compressor-openclaw is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created https://github.com/ckpxgfnksd-max/prompt-compressor-openclaw?

It is built and maintained by ckpxgfnksd-max (@ckpxgfnksd-max); the current version is v0.2.0.

💬 Comments