document-illustrator
Skill by op7418
Creates illustrations for documents, articles and notes. It analyzes the content, groups key points into themes, and generates one image per theme in one of three styles, with an optional cover image. Useful for writers and creators who need matching visuals.
Install document-illustrator
Built from the published package, never by AI.
git clone --depth 1 https://github.com/op7418/Document-illustrator-skill /tmp/Document-illustrator-skill && mkdir -p ~/.claude/skills && cp -r /tmp/Document-illustrator-skill ~/.claude/skills/document-illustratorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/op7418/Document-illustrator-skill /tmp/Document-illustrator-skill && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Document-illustrator-skill ~/.gemini/antigravity-cli/skills/document-illustratorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install document-illustrator in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Document Illustrator is a skill for Claude that creates illustrations from the content of a document. Claude reads the full file, works out its structure and key points, and groups them into themes. Each theme gets one image in a chosen style: gradient glass cards, ticket style, or vector illustration. Users can pick a 16:9 or 3:4 aspect ratio and choose whether to add a cover image that summarizes the whole text.
Before any images are made, Claude shows the grouped outline and asks for confirmation. A Python script then calls the Gemini 2.0 Flash Image Preview model, using one API call per image, and saves the files to an images folder next to the document. The skill suits people who write articles, blog posts or notes and want matching visuals without reformatting the source text first.
Written from the project's SKILL.md and checked against it.
What it can do
- Content analysisReads a document in any format and groups its key points into themes.
- Gradient glass cards styleGenerates images in a minimal glassmorphism style with aurora gradients.
- Ticket styleGenerates high-contrast black and white ticket-style images for infographics and timelines.
- Vector illustration styleGenerates flat vector illustrations with uniform black outlines.
- Cover imageCreates an optional cover image that summarizes the whole document.
- Aspect ratio choiceSupports 16:9 landscape and 3:4 portrait, with optional 4K sizes.
- Output to images folderSaves generated PNG files to an images folder beside the document.
What you need
- Python
- pip packages: google-genai, pillow, python-dotenv
- Gemini API key (GEMINI_API_KEY)
- Claude Code
Try asking
- Make illustrations for ~/blog/ai-tools.md in the ticket style
- Create 5 vector illustration images for this article, portrait, with a cover
- Generate document images for these notes, 16:9, no cover image
Good to know
- Each image counts as one API call, so cost grows with the image count.
- Requires a Gemini API key in a .env file or the GEMINI_API_KEY variable.
- Generation can fail due to network problems, API quota, or overly long content.
- The suggested range is 3 to 10 content images.
Security check
B- Allowed to use Write without limitsIn
SKILL.md
Checked automatically: SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteBash(python:*)GlobAskUserQuestion
Alternatives to document-illustrator
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
document-illustrator: common questions
Does it need a specific document format?
No. The source says the skill works with any format, including plain text notes, and does not depend on Markdown headings.
How much does it cost to generate images?
Each image uses one API call to the Gemini model. The source gives no price per call, only that cost rises with the number of images.
Where are the generated images saved?
They are saved to an images folder in the same directory as the document, with names such as cover.png and illustration-01.png.
How do I install document-illustrator?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is document-illustrator free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is document-illustrator safe to use?
It scores 65 of 100. Grades: maintenance D, licence A, quality A. Security check: grade B (allowed to use write without limits). Review the code before you install. How grades work.
What are alternatives to document-illustrator?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
