cratis-rtk

cratis-rtk is a skill for Claude Code from Cratis/AI. It costs 37 tokens per session (560 once invoked), scanned A, original, MIT.

A guide for using rtk, a command wrapper that shortens readable terminal output while preserving the original command's errors and exit status. It explains when to use the wrapper and when exact raw output is required.

In plain words
What is it for?
Use it before Git, search, build, test, lint, or package-manager commands to choose readable or exact output, retry wrapped failures, and avoid filtering evidence from checks.
Why use it?
Long terminal output can hide the information a coding agent needs, while careless filtering can hide failures. These rules keep diagnostics and test results trustworthy.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event.

Good fit Use it before Git, search, build, test, lint, or package-manager commands to choose readable or exact output, retry wrapped failures, and avoid filtering evidence from checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cratis/ai/cratis-rtk
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Cratis/AI --skill cratis-rtk
Clone the repo
git clone --depth 1 https://github.com/Cratis/AI

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cratis-rtk

README.md
[![agentmods](https://agentmods.dev/badge/skills/cratis/ai/cratis-rtk/github.svg)](https://agentmods.dev/skills/cratis/ai/cratis-rtk)
Your own site
<a href="https://agentmods.dev/skills/cratis/ai/cratis-rtk"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-rtk/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cratis-rtk

Your own site · 80×15
<a href="https://agentmods.dev/skills/cratis/ai/cratis-rtk"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-rtk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 560 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00560
Opus 5.5 $0.00015 $0.00224
Sonnet 5.5 $0.00007 $0.00112
Haiku 4.5 $0.00004 $0.00056

Measured today against content hash fa27aea75082, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cratis-rtk scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cratis/ai/skills/cratis-rtk/SKILL.md · 53 lines

How it starts

The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Token-optimized commands

Exact output and real exit codes win over compression. A wrapper is not verification and never expands authority.

  1. If command -v rtk finds nothing, use normal tools; do not install it or block work.
  2. For human-readable output, let the configured PreToolUse hook rewrite Bash commands (for example git status → rtk git status). Without that hook, prefix each supported command, including each command in an && chain.
  3. For parsed output, exact paths/content/Git state, structured diagnostics or output that decides the next action, use the native command when no hook rewrites it; otherwise use rtk proxy <cmd>. Never sacrifice the producer's exit status.
  4. If a wrapped inspection fails or hides the error, retry it with raw output. Before retrying an effectful command, verify whether its first attempt took effect and whether a retry is authorized.
  5. Keep native commands in scripts, hooks and CI; do not add rtk to them.

Examples:

rtk git status
rtk proxy git diff --cached
rtk proxy git status --porcelain

For builds, lint and specs use the repository's authorized gate command. Do not pipe a build or test into grep, sort, head or tail as gate evidence. A filtered zero-error summary is not a successful check.

Check rtk --help for supported commands on the installed binary; use the native command when there is no wrapper.

Built-in tools and audits

A Bash-only hook does not wrap native file-reading or search tools. For broad exploration use rtk read, rtk grep or rtk find in the terminal to reduce output. For small, precise reads and exact replacement text, use the built-in file tools: rtk can filter away the line needed for an edit. Raw output remains mandatory whenever it drives an operation.

Use rtk gain to inspect savings and rtk discover to find missed compression in supported shell-tool history. These are optimization aids, not quality-gate evidence. Setup is a human responsibility.

Read the full file on GitHub · 53 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · -7 lines · -8 tokens per session fa27aea75082
  2. 1mo ago Changed · -28 tokens per session c8350b6b02be
  3. 1mo ago First seen · 60 lines · 73 tokens per session scan A 1900d33fa11e

Subscribe to this mod's changes

cratis-rtk is a skill published in the GitHub repository Cratis/AI (4 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 560 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.

Related

cratis-rtk compared with skills from other repositories

cratis-rtk next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cratis-rtkCratis/AISkill4todayMITA37Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code