rtk
Trim noisy dev-command output (git diff, tsc, test logs) before it fills agent context, using the rtk binary. Use when a command's output is long and repetitive — saves 60-90% tokens. Do NOT use when another tool or gate parses the raw output.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- rtk
- description
- Trim noisy dev-command output (git diff, tsc, test logs) before it fills agent context, using the rtk binary. Use when a command's output is long and repetitive — saves 60-90% tokens. Do NOT use when another tool or gate parses the raw output.
03 SKILL.md 正文
<!-- Attribution: concept from rtk-ai/rtk (Apache-2.0) — "Rust Token Killer". This is a thin JARVIS wrapper skill; the rtk binary is a separate install. -->
rtk — Trim Command Output
rtk is a small Rust binary that filters repetitive dev-tool output
(timestamps, progress bars, duplicate warnings) before it reaches the model.
Install
Binary: https://github.com/rtk-ai/rtk/releases — place in ~/workspace/bin/
(Apache-2.0). No cargo needed.
~/workspace/bin/rtk --version
Usage
Prefix noisy read-only commands:
~/workspace/bin/rtk git diff
~/workspace/bin/rtk git status
~/workspace/bin/rtk tsc --noEmit
~/workspace/bin/rtk pytest -q
When NOT to use
- The output feeds another program or gate (build-check parsing, JSON extraction, test-count assertions) — those need the raw bytes.
- The output is already short.
- You need exact line numbers/byte offsets for a downstream edit — verify against the real file afterwards.
Notes
rtkonly filters presentation noise; it never changes exit codes.- If a trimmed section looks suspicious, re-run without
rtkon that part.
04 同仓库更多 Skills
web-scrape
Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open/fetch fails on JS-heavy pages, or when you need clean markdown/structured extraction from a site. Requires FIRECRAWL_API_KEY.
design-taste-frontend
tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML/CSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, "AI-made", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
requesting-code-review
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).