Rtk Token Saver
Use rtk to reduce token usage from common shell, git, search, file-reading, test, build, and lint commands while preserving raw-output fallbacks when exact o... Skill: Rtk Token Saver Owner: clarezoe Summary: Use rtk to reduce token usage from common shell, git, search, file-reading, test, build, and lint commands while preserving raw-output fallbacks when exact o... Tags: cli:1.0.2, developer-tools:1.0.2, latest:1.0.2, shell-output:1.0.2, token-savings:1.0.2 Version history: v1.0.2 | 2026-06-09T13:22:01.729Z | user Add OpenCode, Kiro, Devin, Codex, Cursor, and Windsurf skil
Rank
62
Safety
84
Downloads
1.1k
Updated
Oct 11, 2026
Version
1.0.2
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · observed Oct 11, 2026
- Latest release
- 1.0.2release · observed Jun 9, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s178sk484g47vwcbvvfcjpftfx8461fz:rtk-token-saver- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-clarezoe-rtk-token-saver/snapshot"
Documentation
CLAWHUB
14,798 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: "rtk-token-saver"
description: "Use rtk to reduce token usage from common shell, git, search, file-reading, test, build, and lint commands while preserving raw-output fallbacks when exact output is required."
license: "MIT"
metadata: {"version":"1.0.2","category":"developer-tools","triggers":["rtk","reduce tokens","large command output","compact shell output","token savings"],"license":"MIT","tags":["developer-tools","token-savings","shell-output","cli"],"hermes":{"tags":["developer-tools","token-savings","shell-output","cli"]}}
---
# RTK Token Saver
Use this skill when a task involves shell commands that may produce large output, especially repository inspection, git history, diffs, search, file reading, tests, linting, builds, logs, containers, or package manager output.
RTK is a CLI proxy that filters and compresses command output before it enters the agent context. Prefer RTK when compact output is enough to make the next decision. Use raw commands when exact bytes, full JSON, full logs, cryptographic material, or complete unmodified output is required.
## Activation Rules
Use RTK by default for:
- Directory listings and tree-like exploration.
- Git status, diffs, logs, pull, push, and GitHub CLI summaries.
- Search commands across large repositories.
- Reading large files when a concise view is sufficient.
- Test, lint, typecheck, and build commands where failures are the main signal.
- Docker, Kubernetes, AWS, package manager, and log output that may be noisy.
Do not use RTK when:
- The user explicitly asks for raw or complete output.
- The next step requires exact formatting, exact bytes, or complete structured data.
- A command output will be parsed programmatically by another command.
- Security-sensitive values may be exposed; avoid reading secrets at all.
- RTK is not installed or the relevant RTK wrapper fails. Fall back to the native command and keep output scoped.
## Install and Verify
Before relying on RTK, check whether it is available:
```bash
which rtk
rtk --version
rtk gain
```
If RTK is missing, do not install it silently. Report that RTK is unavailable and run the native command with the narrowest safe scope.
## Command Mapping
### Repository and File Exploration
Prefer:
```bash
rtk ls .
rtk find "*.ts" .
rtk read path/to/file.ts
rtk read path/to/file.ts -l aggressive
rtk smart path/to/file.ts
```
Instead of broad raw commands such as:
```bash
ls -laR .
find . -type f
cat path/to/large-file.ts
```
### Search
Prefer:
```bash
rtk grep "pattern" .
rtk grep "functionName" src
```
Use native grep, ripgrep, or repository search tools when exact match behavior, line ranges, or complete output is required.
### Git
Prefer:
```bash
rtk git status
rtk git diff
rtk git diff --stat
rtk git log -n 10
rtk gh pr list
rtk gh pr view 42
```
Use raw git commands when applying patches, generating exact diffs for review, or feeding output into another tool.
### Tests, Lint, Typecheck, and Build
Prefer RTK wrapp_meta.json
{
"ownerId": "kn71ntcwxg33gv53ryabqt0vw981g9my",
"slug": "rtk-token-saver",
"version": "1.0.2",
"publishedAt": 1781011321729
}skill-card.md
## Description: Use rtk to reduce token usage from common shell, git, search, file-reading, test, build, and lint commands while preserving raw-output fallbacks when exact output is required. This skill is ready for commercial/non-commercial use. ## Publisher: [clarezoe](https://clawhub.ai/user/clarezoe) ### License/Terms of Use: MIT-0 ## Use Case: Developers and engineers use this skill to choose compact RTK-wrapped shell commands for repository inspection, search, git operations, tests, builds, linting, logs, and related CLI workflows. It also guides when to fall back to native commands for exact output or sensitive operations. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The local rtk CLI may be untrusted or unsuitable for commands involving credentials or high-impact systems. Mitigation: Verify the local rtk CLI before relying on it, and use native commands when handling secrets or when exact output is required. Risk: Compact command output may omit details needed for a correct decision. Mitigation: Rerun the smallest relevant native command when RTK output is insufficient for validation or debugging. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/clarezoe/skills/rtk-token-saver) ## Skill Output: **Output Type(s):** [Guidance, Shell commands] **Output Format:** [Markdown with inline bash code blocks] **Output Parameters:** [1D] **Other Properties Related to Output:** [May recommend native-command fallbacks when exact output, complete structured data, or secret handling is required.] ## Skill Version(s): 1.0.2 (source: server release evidence and skill metadata) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/clarezoe/skills/rtk-token-saver",
"sourceUrl": "https://clawhub.ai/clarezoe/skills/rtk-token-saver",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T06:56:25.992Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-clarezoe-rtk-token-saver/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-clarezoe-rtk-token-saver/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T06:56:25.992Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/clarezoe/rtk-token-saver",
"sourceUrl": "https://clawhub.ai/clarezoe/rtk-token-saver",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T06:56:25.992Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.2",
"href": "https://clawhub.ai/clarezoe/rtk-token-saver",
"sourceUrl": "https://clawhub.ai/clarezoe/rtk-token-saver",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-06-09T13:22:01.729Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-clarezoe-rtk-token-saver/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-clarezoe-rtk-token-saver/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.2",
"description": "Add OpenCode, Kiro, Devin, Codex, Cursor, and Windsurf skill compatibility",
"href": "https://clawhub.ai/clarezoe/rtk-token-saver",
"sourceUrl": "https://clawhub.ai/clarezoe/rtk-token-saver",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-06-09T13:22:01.729Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
