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.
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.
npx skills add sopaco/deepwiki-rs --skill skill-lithogit 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/skill-litho)<a href="https://agentmods.dev/skills/sopaco/deepwiki-rs/skill-litho"><img src="https://agentmods.dev/badge/skills/sopaco/deepwiki-rs/skill-litho.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.00662 |
| Opus 5 | $0.00026 | $0.00331 |
| Sonnet 5 | $0.00011 | $0.00132 |
| Haiku 4.5 | $0.00005 | $0.00066 |
Grade A, and why
deepwiki-rs 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Litho (deepwiki-rs) - AI-Powered Documentation Generation
Quick Start Guide
Use Litho when you need to:
- Analyze entire codebases and generate architecture documentation
- Create C4 model diagrams (Context, Container, Component, Code)
- Understand complex software systems and module relationships
- Generate comprehensive technical specifications
- Document architecture evolution and design decisions
Core Workflow:
# Basic codebase analysis
deepwiki-rs -p ./src
# Complete C4 documentation with dual models
deepwiki-rs -p ./project --model-efficient gpt5-mini --model-powerful gpt5
Decision Tree
📋 Comprehensive Documentation → Use "Full Litho Workflow"
Generate complete C4 model documentation with architecture diagrams and technical specs.
⚡ Quick Code Analysis → Use "Basic Analysis Mode"
Fast code insights without full documentation pipeline.
🏗️ Architecture Understanding → Use "Advanced C4 Generation"
Deep architectural analysis with detailed component relationships.
🔄 CI/CD Integration → Use "Automated Pipeline"
Continuous documentation generation for development workflows.
Key Capabilities
Multi-Language Support
- Rust, Python, Java, Go, C#, JavaScript/TypeScript
- Any language with recognizable code structure
Documentation Structure
project-docs/
├── 1. Project Overview
├── 2. Architecture Overview
├── 3. Workflow Overview
└── 4. Deep Dive/
├── Topic1.md
└── Topic2.md
Essential Parameters
-p, --path: Source directory-o, --output: Output location (default: ./litho.docs)--model-efficient: Fast model for quick analysis--model-powerful: Capable model for deep analysis--skip-preprocessing: Skip initial scanning phase--skip-research: Skip AI research phase
Advanced Resources
For detailed configuration, troubleshooting, and advanced patterns:
- See configuration.md for comprehensive setup guides
- See examples.md for real-world usage patterns
- See integration.md for CI/CD and automation
- See troubleshooting.md for common issues
What ships with it
6 files 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.
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.
- 8d ago First seen · 88 lines · 53 tokens per session scan A 34936ebb40e0
deepwiki-rs is a skill published in the GitHub repository sopaco/deepwiki-rs (1,715 stars, last pushed 24d ago), licensed MIT. It adds 53 tokens to every session and 662 once invoked, about $0.0003 per session on Opus 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-08-30.
Other skills, from other repositories
skill-creator
Create, install, or update skills in the workspace. Use when (1) installing a skill from a URL or remote source, (2) creating a new skill from scratch, (3) updating or restructuring existing skills. Always use this skill for any skill installation or creation task.
image-generation
Generate or edit images from text prompts. Use when the user asks to create, draw, design, or edit an image, illustration, photo, icon, poster, or any visual content.
knowledge-wiki
Manage the personal knowledge wiki. Use when the user shares articles, documents, or asks to organize knowledge; when a conversation produces insights worth preserving as structured knowledge; or when the user asks about the knowledge base.
screen-ocr-operator
Use when you need to see and operate an Android screen through an OCR/vision model plus ADB. Optimized commander workflow: one model plan, batch ADB execution, minimal round-trips, verify at milestones.
device-shell
Use when you need to execute shell commands on an Android device from a Linux/proot environment. Covers the ADB channel and an optional local Shizuku HTTP shell bridge.
csswitch-external-skill-tools
A routing guide for installing or removing external skills in CSSwitch-managed Claude Science environments. An external skill is an add-on brought in from another source.