Skillware adds prompt_rewriter for deterministic token compression in Claude API agent loops

✍️ OpenClawRadar📅 Published: March 25, 2026🔗 Source
Skillware adds prompt_rewriter for deterministic token compression in Claude API agent loops
Ad

Skillware has added a prompt_rewriter skill that reduces Claude API costs in agentic loops by compressing prompts before sending them to the LLM. The middleware uses heuristic compression to cut token usage by 50-80% while maintaining deterministic behavior across iterations.

How it works

The tool operates as middleware that sits between your agent and the Claude API. It applies aggressive compression to prompts before they're sent to the LLM, ensuring you only pay for the signal and not the noise. Because the compression is deterministic, agent behavior remains stable across loops.

Compression levels

  • Low: Normalizes whitespace
  • Medium: Strips conversational fillers (please, ensure, etc.)
  • High: Aggressively removes stop-words and non-essential punctuation

The tool addresses the problem of runaway costs in iterative agent loops where massive context windows lead to massive bills. It's open-source and available on GitHub, with the developer looking for more skills, feedback, ideas, and contributions.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

Research Team-in-a-Box Framework for Claude Code Using Multi-Agent Architecture
Tools

Research Team-in-a-Box Framework for Claude Code Using Multi-Agent Architecture

A developer created a multi-agent research framework for Claude Code that uses Opus 4.6 to coordinate specialized agents through a plugin called research-clab. The framework unfolds via a guided Q&A process and includes 11 skills, agent definitions, and structured directories for managing complex research projects.

OpenClawRadar
Qwen 3.5 Chat Template Release with 21 Bug Fixes for Agent Workflows
Tools

Qwen 3.5 Chat Template Release with 21 Bug Fixes for Agent Workflows

A developer has released a fixed chat template for Qwen 3.5 models, addressing 21 bugs including tool calling crashes, parallel call separation, and agent loop stability. It's a drop-in replacement tested on llama.cpp, Open WebUI, vLLM, and other platforms.

OpenClawRadar
Claude's Code Dashboard Tracks 19M+ AI-Generated Commits on GitHub
Tools

Claude's Code Dashboard Tracks 19M+ AI-Generated Commits on GitHub

A developer built a dashboard tracking over 19 million commits generated by Claude Code on GitHub public repositories, showing TypeScript (35.3%), Python (19.2%), and JavaScript (10.3%) as the top languages. The system uses Next.js with Recharts and PostgreSQL, with an ETL pipeline that works around GitHub's API rate limits.

OpenClawRadar
JetBrains Introduces Plugin for Modern Go Code with AI Agents Junie and Claude Code
Tools

JetBrains Introduces Plugin for Modern Go Code with AI Agents Junie and Claude Code

JetBrains has released a plugin for AI agents Junie and Claude Code, enhancing their ability to generate modern Go code by adhering to the latest Go features and best practices.

OpenClawRadar