Docshot — Design skill for Claude Code
CLI tool to convert documentation into terminal-style images for efficient Claude context usage.
How to install Docshot
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open johnlindquist/docshot and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Docshot does
CLI tool to convert documentation into terminal-style images for efficient Claude context usage.
Alternatives in Design
- Claude Powerline — by Owloops - A vim-style powerline statusline for Claude Code with real-time usage tracking, git integration 940 ★
- Design Dna — Turn reference UIs (images, screenshots, URLs) into quantified Design DNA JSON—tokens, qualitative style, visu 624 ★
- Cship — ⚡ A beautiful, fully customizable statusline for Claude Code - Starship-style TOML config, themeable colours 416 ★
README
docshot
**Convert documentation into terminal-style images for efficient Claude context usage**
Reduce your Claude context token usage by 56-73% while maintaining 89-97% accuracy! Based on comprehensive experiments showing that documentation stored as images uses significantly fewer tokens than raw text.
Why Use This?
When working with Claude Code or Claude API, you often need to provide large documentation files as context. This can quickly consume your token budget. Our experiments show:
- Medium Density (recommended): 67% token reduction with 97% accuracy ⭐
- High Density: 73.5% token reduction with 91% accuracy
- Low Density: 56% token reduction with 89% accuracy
Installation
# Clone or copy this directory
cd docshot
# Install dependencies with bun (required)
bun install
**Note:** This project requires Bun runtime. If you don't have it installed:
curl -fsSL https://bun.sh/install | bash
Usage
Basic Workflow
**1. Convert documentation to images:**
# Single file
bun run dev convert path/to/documentation.md
# Multiple files with glob patterns
bun run dev convert "docs/**/*.md"
This creates a `docshot` folder with your documentation split into terminal-style images.
**2. Load into Claude Code:**
bun run dev load docshot
This shows you exactly what to paste into Claude Code to load the images.
**Or directly in Claude Code:**
Review all images in docshot/
Process Multiple Files
# Convert all markdown files in a directory
bun run dev convert "docs/**/*.md"
# Convert specific patterns
bun run dev convert "src/**/*.{md,txt}"
# Files are organized in subdirectories by name
# docshot/
# ├── README/
# │ ├── page_001.png
# │ └── page_002.png
# └── API_Guide/
# ├── page_001.png
# └── page_002.png
Specify Output Directory
bun run dev convert docs.md --output my-images
Choose Density
``
Related Skills
Cyuneo Agent Monitor
VS Code extension: see each Claude Code and Codex agent's status, current step and context usage in a terminal
TokenUsage2
A live, btop-style terminal dashboard for developers to track Claude Code, Codex CLI, and OpenCode token usage
Component Docs
Auto-generate component documentation from Figma — props, variants, usage guidelines, spacing specs, and code
Style Guide
Generate comprehensive design system documentation including colors, typography, spacing, components, and usag
AIBattery
A battery style usage meter for Claude Code. Rate limits, context health, and token usage in your macOS menu b
Codachi
New Tamagotchi-style statusline pet that grows with context usage, shows cache hit rate and burn speed
Related Agents
Style Inspector
Development standards auditor. Enforces /dev quality standards: no hardcoding, naming conventions, venv usage,
Frontend Architect
Use this agent when you need to build user interfaces or frontend components, convert mockups/wireframes/desig
Tui UX
Terminal-UI (TUI) UX expert. Validates TUI work by rendering it to light/dark images offline (and driving it o