A Claude Code skill that creates beautiful digital artifacts. Tell it what you need — a report, a brief, a presentation, an infographic, or even an image — and Ink figures out the format and makes it stunning.
You need a beautiful document. You don't have time to open Figma, learn LaTeX, or wrestle with Google Slides formatting for an hour. You just want to describe what you need and get something that looks like a designer made it.
You: "Make me a one-pager summarizing our Q1 results"
/ink detects: brief format
|
v
Reads the Ink design system (base-styles.css)
|
v
Generates self-contained HTML with embedded CSS
|
v
Opens in browser --> Cmd+P --> Save as PDF
For images, Ink routes through Google's Gemini API (optional, ~$0.04/image):
You: "Generate a hero image for my landing page"
/ink detects: image format
|
v
Enhances your prompt with quality keywords
|
v
Generates via Gemini 2.5 Flash
|
v
Saves PNG to output/
| Type | Best For | Output |
|---|---|---|
| Report | PRDs, specs, analyses, multi-page docs | Cover page, TOC, section numbering, headers/footers |
| Brief | One-pagers, executive summaries | Concise single-page, key metrics strip, recommendation boxes |
| Infographic | Data presentations, dashboards | Stat callouts, metric cards, timeline elements, accent bars |
| Presentation | Stakeholder decks, team presentations | Slide-per-page layout, title slides, section dividers |
| Image | Hero graphics, illustrations, banners | PNG via Gemini API (optional) |
Every document is built on a cohesive design system with one-variable theming:
- One accent color — Change
--ink-accentand everything re-themes - 8px spacing grid — Consistent rhythm across all layouts
- Print-optimized typography — 11-point scale from 36pt titles to 7.5pt annotations
- Card-based components — Stats, metrics, callouts, timelines, progress bars
- US Letter output — Optimized
@pagerules with proper margins
Edit templates/base-styles.css:
:root {
--ink-accent: #2563EB; /* Change this one color */
--brand-name: "Document"; /* Footer text */
--brand-show: block; /* Set to 'none' to hide */
}Ink can generate images using Google's Gemini API. This is entirely optional — Ink works great for documents without it.
Setup:
- Get a free API key at Google AI Studio
- Set it:
export GOOGLE_API_KEY="your-key"
Cost: ~$0.04 per image via gemini-2.5-flash-image
If no key is configured, Ink will offer to create a styled document instead.
Drop the skill into your skills directory:
# Clone to your skills folder
git clone https://github.com/hurleywgly/ink.git ~/.claude/skills/ink
# Or copy manually
cp -r ink/ ~/.claude/skills/ink/Then use it:
You: "Make me a report about X"
You: "Create a brief summarizing Y"
You: "/ink generate an infographic of our metrics"
The Ink design system (CSS + HTML templates) works anywhere. The SKILL.md is optimized for Claude Code but the patterns are transferable to any LLM that can generate HTML.
ink/
├── SKILL.md # Skill definition
├── templates/
│ ├── base-styles.css # Ink design system (shared CSS)
│ ├── report-template.html # Report HTML skeleton
│ ├── brief-template.html # Brief HTML skeleton
│ ├── infographic-template.html # Infographic HTML skeleton
│ └── presentation-template.html # Presentation HTML skeleton
└── examples/
└── (screenshots of generated output)
- Generous whitespace — Let content breathe
- Accent bar as punctuation — Solid accent in 1-2 places, never as background fill
- Typography hierarchy — Title 0 only on covers, body at 10.5pt for print
- Dark-on-light — Near-black text on white, accent blue for highlights
- Card-based data — Stats and metrics in 20px-radius cards
- Print density — Never waste a page on a heading and whitespace
MIT