Graphical Abstract Wizard
Based on the abstract text of the paper, recommend a suitable layout of icon elements to assist in conceiving the "graphical abstract".
SKILL.md
Graphical Abstract Wizard
This Skill analyzes academic paper abstracts and generates graphical abstract layout recommendations, including element suggestions, visual arrangements, and AI art prompts for Midjourney and DALL-E.
Usage
python scripts/main.py --abstract "Your paper abstract text here"
Or from stdin:
cat abstract.txt | python scripts/main.py
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
--abstract / -a | string | Yes* | The paper abstract text to analyze |
--style / -s | string | No | Visual style preference (scientific/minimal/colorful/sketch) |
--format / -f | string | No | Output format (json/markdown/text), default: markdown |
--output / -o | string | No | Output file path (default: stdout) |
*Required if not providing input via stdin
Examples
Example 1: Basic Usage
python scripts/main.py -a "We propose a novel deep learning approach for protein structure prediction that combines transformer architectures with geometric constraints. Our method achieves state-of-the-art accuracy on CASP14 benchmarks."
Example 2: With Style Preference
python scripts/main.py -a "abstract.txt" -s scientific -o layout.md
Example 3: JSON Output for Integration
python scripts/main.py -a "$(cat abstract.txt)" -f json > result.json
Output Format
The Skill produces a structured analysis including:
1. Key Concepts Extracted
- Core research topic
- Methods/techniques used
- Key findings/results
- Implications
2. Visual Element Recommendations
- Recommended icons/symbols
- Color palette suggestions
- Layout structure
3. AI Art Prompts
- Midjourney Prompt: Optimized for Midjourney v6
- DALL-E Prompt: Optimized for DALL-E 3
4. Layout Blueprint
- Grid-based layout suggestion
- Element positioning
- Flow direction
Example Output
# Graphical Abstract Recommendation
## Abstract Summary
**Topic**: Deep learning protein structure prediction
**Method**: Transformer + Geometric constraints
**Result**: State-of-the-art CASP14 accuracy
## Key Concepts
- 𧬠Protein structures
- π€ Neural networks
- π Accuracy metrics
## Visual Elements
| Element | Symbol | Position | Color |
|---------|--------|----------|-------|
| Core Concept | Brain + DNA | Center | Blue |
| Method | Neural Network | Left | Purple |
| Result | Trophy/Chart | Right | Gold |
## Layout Suggestion
βββββββββββββββββββββββββββββββββββ β [Title/Concept] β β π§¬π€ β ββββββββββββ¬βββββββββββ¬ββββββββββββ€ β Input β Process β Output β β π₯ β βοΈ β π β ββββββββββββ΄βββββββββββ΄ββββββββββββ
## AI Art Prompts
### Midjourney
Scientific graphical abstract, protein structure prediction with neural networks, 3D molecular structures connected by glowing neural network nodes, blue and purple gradient background, clean minimalist style, academic journal style, high quality --ar 16:9 --v 6
### DALL-E
A clean scientific illustration for a research paper about protein structure prediction using deep learning. Show a 3D protein structure in the center surrounded by abstract neural network connections. Use a professional blue and white color scheme with subtle gradients. Include geometric shapes representing data flow. Modern, minimalist academic style suitable for a Nature or Science journal cover.
Technical Details
The Skill uses NLP techniques to:
- Extract named entities (methods, materials, concepts)
- Identify research actions and outcomes
- Map concepts to visual representations
- Generate style-appropriate prompts
Dependencies
- Python 3.8+
- OpenAI API (optional, for enhanced analysis)
- Standard library: re, json, argparse, sys
License
MIT License - Part of OpenClaw Skills Collection
Risk Assessment
| Risk Indicator | Assessment | Level |
|---|---|---|
| Code Execution | Python/R scripts executed locally | Medium |
| Network Access | No external API calls | Low |
| File System Access | Read input files, write output files | Medium |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Output files saved to workspace | Low |
Security Checklist
- No hardcoded credentials or API keys
- No unauthorized file system access (../)
- Output does not expose sensitive information
- Prompt injection protections in place
- Input file paths validated (no ../ traversal)
- Output directory restricted to workspace
- Script execution in sandboxed environment
- Error messages sanitized (no stack traces exposed)
- Dependencies audited
Prerequisites
# Python dependencies
pip install -r requirements.txt
Evaluation Criteria
Success Metrics
- Successfully executes main functionality
- Output meets quality standards
- Handles edge cases gracefully
- Performance is acceptable
Test Cases
- Basic Functionality: Standard input β Expected output
- Edge Case: Invalid input β Graceful error handling
- Performance: Large dataset β Acceptable processing time
Lifecycle Status
- Current Stage: Draft
- Next Review Date: 2026-03-06
- Known Issues: None
- Planned Improvements:
- Performance optimization
- Additional feature support