Litho is a Rust-based AI documentation generator that analyzes a codebase and produces architecture documentation in the C4 model format. Developers, architects, and technical leads use it to create and maintain diagrams and code-level documentation, while the catalogue provides skills for working with the project.
Borrowing it
Nothing to install: this file belongs to sopaco/deepwiki-rs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sopaco/deepwiki-rs/main/.agents/skills/rtk-skill/SKILL.mdgit clone --depth 1 https://github.com/sopaco/deepwiki-rsWrote 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.
[](https://agentmods.dev/skills/sopaco/deepwiki-rs/rtk-skill)<a href="https://agentmods.dev/skills/sopaco/deepwiki-rs/rtk-skill"><img src="https://agentmods.dev/badge/skills/sopaco/deepwiki-rs/rtk-skill/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.
<a href="https://agentmods.dev/skills/sopaco/deepwiki-rs/rtk-skill"><img src="https://agentmods.dev/badge/skills/sopaco/deepwiki-rs/rtk-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.01760 |
| Opus 5.5 | $0.00021 | $0.00704 |
| Sonnet 5.5 | $0.00011 | $0.00352 |
| Haiku 4.5 | $0.00005 | $0.00176 |
Grade A, and why
rtk-skill 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 1mo ago.
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- rtk-skill — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RTK Skill (Rust Token Killer)
RTK is a CLI proxy that filters and compresses command output before it reaches the LLM (typically 60–90% token savings).
Resolve the RTK command (read first)
Use conventional paths only — never machine-specific absolute paths like /Users/... or C:\Users\....
On Windows, tools deploy to %USERPROFILE%\.terrain\bin\ (also written as ~/.terrain/bin/ in Git Bash / PowerShell 7+). Binaries use .exe extensions; PATHEXT resolves rtk → rtk.exe.
| Priority | Command prefix | When |
|---|---|---|
| 1 | ~/.terrain/bin/rtk |
Terrain env integration or desktop app (see existence check below) |
| 2 | bunx @terrain-ai/rtk |
No Terrain install; needs network once |
| 3 | npx @terrain-ai/rtk |
Same as bunx if Bun unavailable |
Optional manifest (local, gitignored): .terrain/env/agent-tools.json — same ~/.terrain/bin/… conventions.
Existence check (cross-platform):
| Shell | Check |
|---|---|
| bash / zsh / Git Bash | [ -x ~/.terrain/bin/rtk ] || [ -x ~/.terrain/bin/rtk.exe ] |
| PowerShell | Test-Path "$HOME\.terrain\bin\rtk.exe" |
| cmd | if exist "%USERPROFILE%\.terrain\bin\rtk.exe" |
Shell rules:
- Invoke as
~/.terrain/bin/rtk <cmd>— tilde expands at word start in bash/zsh/Git Bash/PowerShell 7+. - Do not
export RTK="$(jq -r .rtk …)"then"$RTK"— quoted variables do not expand~. - Do not assume bare
rtkis on PATH.
Example (pick one prefix per session after the existence check):
# bash / Git Bash
if [ -x ~/.terrain/bin/rtk ] || [ -x ~/.terrain/bin/rtk.exe ]; then
PREFIX=~/.terrain/bin/rtk
else
PREFIX="bunx @terrain-ai/rtk"
fi
$PREFIX git status
# PowerShell
$PREFIX = if (Test-Path "$HOME\.terrain\bin\rtk.exe") { "$HOME\.terrain\bin\rtk.exe" } else { "bunx @terrain-ai/rtk" }
& $PREFIX git status
Verify:
~/.terrain/bin/rtk gain || bunx @terrain-ai/rtk gain
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.
- 1mo ago First seen · 214 lines · 53 tokens per session scan A df03475370c1
rtk-skill is a skill published in the GitHub repository sopaco/deepwiki-rs (3,143 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 1,760 once invoked, about $0.0002 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-09-15.
Other skills, from other repositories
codex-sync
Operate dsh-codex-sync from this session — preview and import Codex chats, toggle Skills/MCP/import settings, check MCP mirror health, install the reverse MCP bridge.
modlens
Plug-in vision for text-only models. Hard rule: when a file path or URL with an image extension (.png, .jpg, .jpeg, .webp, .gif, .heic, .heif) appears anywhere in the conversation (typed by the user, injected as a [Image: source: ] line, or inside a tag) and you cannot see that image's content, run this skill on it…
dsh-tui-guide
Use when the user asks about dsh-tui itself (usage, shortcuts, config, themes, migration, VS Code). Load before answering; skip for normal coding tasks.
claude-automation-recommender
Recommend Claude Code automations (hooks, subagents, skills, plugins, MCP) and review an existing setup.
cherry-computer
Drive native apps via Computer Use: open, inspect, type, click, screenshot. Needs OS permissions; respect user stop.
daily-report
Compile timestamped conversation logs, agent sessions, IM messages, collaborative documents, meeting notes, task records, and similar OpenViking materials into concise, evidence-grounded daily reports. Use with ov compile when the user asks for a daily work report, end-of-day digest, 日报, or reports for one or more…