rtk-rewriteRTK rewrite plugin for OpenClaw. Intercepts exec tool calls and delegates rewrites to rtk rewrite to reduce token usage while preserving command intent.
Install via ClawdBot CLI:
clawdbot install luw2007/rtk-rewriteGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Calls external URL not in known-safe list
https://github.com/rtk-ai/rtkUses known external API (expected, informational)
raw.githubusercontent.comAudited Apr 16, 2026 · audit v1.0
Generated Mar 22, 2026
DevOps engineers frequently run complex shell commands for infrastructure management. This plugin intercepts exec tool calls and rewrites commands to be more token-efficient while preserving intent, reducing API costs for automated workflows. It's particularly useful in CI/CD pipelines where multiple exec commands are processed.
Data scientists and engineers use OpenClaw to generate and execute data processing commands. The plugin rewrites these commands to be more concise, saving tokens during script generation while maintaining the original functionality. This optimizes resource usage in data transformation and ETL processes.
System administrators rely on OpenClaw for automating server maintenance tasks through exec commands. The plugin reduces token consumption by rewriting lengthy system commands into more efficient versions, making automated administration more cost-effective for organizations managing multiple servers.
Developers use OpenClaw to generate environment setup commands for new projects. The plugin intercepts these exec calls and provides rewritten versions that accomplish the same setup with fewer tokens, reducing costs during development environment configuration and onboarding processes.
Companies offering AI-powered development tools can integrate this plugin as a premium feature that reduces their customers' API token consumption. By lowering operational costs for users, they can charge a subscription fee while providing tangible savings, creating a win-win revenue model.
DevOps platform providers can bundle this plugin with their enterprise offerings to help large organizations optimize AI-assisted automation costs. The token savings become significant at scale, allowing providers to charge enterprise licensing fees based on estimated cost reductions.
Consulting firms can offer specialized services to implement and customize this plugin for organizations using OpenClaw in production workflows. This includes configuration, audit log setup, and integration with existing systems, creating revenue through professional services.
💬 Integration Tip
Ensure rtk is properly installed and accessible in PATH before enabling the plugin, and verify functionality with simple test commands like 'rtk rewrite "git status"' to confirm the integration works correctly.
Scored Apr 19, 2026
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Meta-skill for AI agent self-improvement. Analyzes runtime logs to detect error patterns, regressions, and inefficiencies, then generates structured improvem...
Automatically assess task complexity and adjust reasoning level. Triggers on every user message to evaluate whether extended thinking (reasoning mode) would improve response quality. Use this as a pre-processing step before answering complex questions.
AI Agent 設定同優化助手 - Prompt Engineering、Task Decomposition、Agent Loop設計
Automatically recover working context after session compaction or when continuation is implied but context is missing. Works across Discord, Slack, Telegram,...
Navigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure.