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 agentmods add skills/sopaco/deepwiki-rs/ai-contextnpx skills add sopaco/deepwiki-rs --skill ai-contextgit 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/ai-context)<a href="https://agentmods.dev/skills/sopaco/deepwiki-rs/ai-context"><img src="https://agentmods.dev/badge/skills/sopaco/deepwiki-rs/ai-context.svg" alt="Measured on agentmods" 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.00067 | $0.01070 |
| Opus 5 | $0.00034 | $0.00535 |
| Sonnet 5 | $0.00013 | $0.00214 |
| Haiku 4.5 | $0.00007 | $0.00107 |
Grade A, and why
ai-context 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 6d 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 — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI Context — Litho (deepwiki-rs)
This skill provides pre-generated project knowledge to help you understand the project faster and work more effectively.
🎯 When to Activate This Skill
Activate immediately when:
- Starting a new coding session in this project
- You need to understand "why something is designed this way"
- User asks about project architecture, design decisions, or constraints
Refer to specific sections when:
- Encountering unexpected behavior or errors →
DYNAMICS.md - Planning structural changes →
references/DECISIONS.md - Need high-level overview →
references/PROJECT-ESSENCE.md - Need component relationships →
references/ARCHITECTURE.md
Do NOT activate when:
- Simple code edits with clear context
- User requests are purely mechanical (rename, format, etc.)
- You already have sufficient context from recent conversation
📁 Knowledge Tiers
This skill organizes knowledge by stability — how frequently the knowledge changes:
| Tier | File | Stability | Update Frequency |
|---|---|---|---|
| Tier 0 | PROJECT-ESSENCE.md |
High | Quarterly / Major version |
| Tier 1 | ARCHITECTURE.md |
Medium | Monthly / Sprint |
| Tier 2 | DECISIONS.md |
Low | Per decision change |
| Tier 3 | DYNAMICS.md |
Dynamic | As needed (issues, incidents) |
Reading Order (Recommended)
1. PROJECT-ESSENCE.md ← Start here (1-2 min read)
2. ARCHITECTURE.md ← If working across components
3. DECISIONS.md ← If changing established patterns
4. DYNAMICS.md ← If something feels wrong
🔧 How to Use This Knowledge
1. Session Start Protocol
□ Read PROJECT-ESSENCE.md (always)
□ Scan DYNAMICS.md for active issues
□ Read ARCHITECTURE.md if working across subprojects
□ Proceed with dynamic code exploration
2. Dynamic Code Exploration
This knowledge is a starting point, not a replacement for reading code:
- Use
grepandfind_pathto locate actual implementations - Verify knowledge against current code state
- Update knowledge if you find drift (see Maintenance section)
What ships with it
5 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.
- 6d ago First seen · 139 lines · 67 tokens per session scan A 964c186e07c6
ai-context is a skill published in the GitHub repository sopaco/deepwiki-rs (1,714 stars, last pushed 22d ago), licensed MIT. It adds 67 tokens to every session and 1,070 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
code-review-context
Codex maintains a context (history of messages) that is sent to the model in inference requests.
mem0-tour
Browses all stored memories grouped by category with full content display. Use when reviewing all project memories, exploring stored knowledge, onboarding to a project, or getting an overview of captured decisions, conventions, and learnings.
mem0-vercel-ai-sdk
Mem0 provider for Vercel AI SDK (@mem0/vercel-ai-provider). TRIGGER when: user mentions "vercel ai sdk", "@mem0/vercel-ai-provider", "createMem0", "retrieveMemories", "addMemories", "getMemories", "searchMemories", "mem0 vercel", "AI SDK provider", "AI SDK memory", or is using generateText/streamText with mem0. Also…
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.
peek
Searches memories and displays compact one-liner results, or looks up a specific memory by ID. Use for quick memory lookups, checking if a decision was recorded, resolving [mem0:id] citations, or browsing memories without full category detail.
mine
Mine a project or conversation into your MemPalace — extract and store memories for later retrieval.