AGENT SKILL

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
所属仓库
TanNhatCMS/jarvis
最近更新
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

  • rtk only filters presentation noise; it never changes exit codes.
  • If a trimmed section looks suspicious, re-run without rtk on that part.

04 同仓库更多 Skills

TanNhatCMS
TanNhatCMS/jarvis

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.

★ 0
TanNhatCMS
TanNhatCMS/jarvis

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.

★ 0
TanNhatCMS
TanNhatCMS/jarvis

test-driven-development

Use when implementing any feature or bugfix, before writing implementation code

★ 0
TanNhatCMS
TanNhatCMS/jarvis

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

★ 0
TanNhatCMS
TanNhatCMS/jarvis

requesting-code-review

Use when completing tasks, implementing major features, or before merging to verify work meets requirements

★ 0
TanNhatCMS
TanNhatCMS/jarvis

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).

★ 0