abstract-fig
Skill by keros68
Plans, creates and revises editable scientific graphical abstracts, mechanism diagrams, method frameworks and research roadmaps from manuscript content. Built for researchers preparing publication figures, mainly in draw.io.
Install abstract-fig
Built from the published package, never by AI.
git clone --depth 1 https://github.com/keros68/xiaoyu-skill /tmp/xiaoyu-skill && mkdir -p ~/.claude/skills && cp -r /tmp/xiaoyu-skill/skills/abstract-fig ~/.claude/skills/abstract-figRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/keros68/xiaoyu-skill /tmp/xiaoyu-skill && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/xiaoyu-skill/skills/abstract-fig ~/.gemini/antigravity-cli/skills/abstract-figAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
abstract-fig is an agent skill for planning and drawing scientific figures from manuscript content. It covers graphical abstracts, concept and mechanism diagrams, method frameworks, research roadmaps and synthesis figures. The skill first defines the figure's communication task, reading path and module relationships, then selects representations and sources. Draw.io is the default output, with script-generated SVG edited in Inkscape or PowerPoint used when requested or when an established project route calls for them.
The skill keeps the source file editable and delivers a rendered preview. It asks the assistant to use real manuscript evidence and project assets rather than generated stand-ins for measured data. Optional image generation can add illustrations, subject to journal policy. It is aimed at researchers with dense, generic or poorly structured manuscript figures, and at anyone who wants a reference-guided redesign.
Written from the project's SKILL.md and checked against it.
What it can do
- Plan figure contentDefines the communication task, reading path and module relationships before placing boxes.
- Choose representationsMatches observations, methods and conceptual objects to suitable sources and formats.
- Build draw.io figuresAssembles an editable draw.io diagram with text, connectors and structural objects.
- Script-generated SVGSupports SVG built by script and edited in Inkscape when requested or established.
- Inspect draw.io imagesRuns inspect_drawio_images.py to check embedded images in a .drawio file.
- Optional illustrationsCan use an image2 workflow to generate conceptual illustrations when they add explanatory value.
- Quality checkFollows a QA checklist and renders the editable file before handoff when possible.
- Handoff notesLinks the editable source and preview, with instructions for opening the .drawio file in diagrams.net.
What you need
- Python, for the inspect_drawio_images.py script
- draw.io (diagrams.net) to edit the figure
- Inkscape, for the SVG workflow
- image2, only for optional generated illustrations
Try asking
- Plan a graphical abstract for my manuscript from its abstract and results.
- Redesign this dense method figure as an editable draw.io diagram.
- Check the embedded images in my figure.drawio file.
Good to know
- Generated imagery must not replace measured data or quantitative results.
- Check the journal's policy before using generative-AI imagery.
- Large image warnings from the inspect script need visual judgment.
- Rendering in the editor may differ from a separate preview, and this limitation should be stated.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/abstract-fig/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to abstract-fig
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
abstract-fig: common questions
Is the figure output editable?
Yes. Text, connectors and structural objects stay editable in draw.io. Embedded images can be moved, resized or replaced.
Can it create figures from measured data?
Figures with observations should use traceable project imagery or plots built from actual data. Generated illustrations must not stand in for measurements.
Does it handle journal rules on AI images?
It tells users to check the journal's policy first. Where generative-AI imagery is not accepted, generated elements must be replaced before submission.
How do I install abstract-fig?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is abstract-fig free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is abstract-fig safe to use?
It scores 52 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to abstract-fig?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
