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
CODEBLOCK0
Or from stdin:
CODEBLOCK1
Parameters
| Parameter | Type | Required | Description |
|---|
| INLINECODE0 / INLINECODE1 | string | Yes* | The paper abstract text to analyze |
| INLINECODE2 / INLINECODE3 |
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
CODEBLOCK2
Example 2: With Style Preference
CODEBLOCK3
Example 3: JSON Output for Integration
CODEBLOCK4
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
CODEBLOCK5
┌─────────────────────────────────┐
│ [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.
CODEBLOCK8
Technical Details
The Skill uses NLP techniques to:
- 1. 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
CODEBLOCK9
Evaluation Criteria
Success Metrics
- - [ ] Successfully executes main functionality
- [ ] Output meets quality standards
- [ ] Handles edge cases gracefully
- [ ] Performance is acceptable
Test Cases
- 1. 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
图形摘要向导
本技能分析学术论文摘要,并生成图形摘要布局建议,包括元素建议、视觉排列以及适用于Midjourney和DALL-E的AI艺术提示。
使用方法
bash
python scripts/main.py --abstract 在此输入您的论文摘要文本
或通过标准输入:
bash
cat abstract.txt | python scripts/main.py
参数
| 参数 | 类型 | 必填 | 描述 |
|---|
| --abstract / -a | 字符串 | 是* | 待分析的论文摘要文本 |
| --style / -s |
字符串 | 否 | 视觉风格偏好(科学/简约/多彩/草图) |
| --format / -f | 字符串 | 否 | 输出格式(json/markdown/text),默认:markdown |
| --output / -o | 字符串 | 否 | 输出文件路径(默认:标准输出) |
*如果未通过标准输入提供输入,则为必填项
示例
示例1:基本用法
bash
python scripts/main.py -a 我们提出了一种新颖的深度学习蛋白质结构预测方法,该方法结合了Transformer架构与几何约束。我们的方法在CASP14基准测试中达到了最先进的准确率。
示例2:指定风格偏好
bash
python scripts/main.py -a abstract.txt -s scientific -o layout.md
示例3:JSON输出用于集成
bash
python scripts/main.py -a $(cat abstract.txt) -f json > result.json
输出格式
本技能生成的结构化分析包括:
1. 提取的关键概念
- - 核心研究主题
- 使用的方法/技术
- 关键发现/结果
- 意义
2. 视觉元素建议
3. AI艺术提示
- - Midjourney提示:针对Midjourney v6优化
- DALL-E提示:针对DALL-E 3优化
4. 布局蓝图
示例输出
markdown
图形摘要建议
摘要总结
主题:深度学习蛋白质结构预测
方法:Transformer + 几何约束
结果:CASP14最先进准确率
关键概念
视觉元素
| 元素 | 符号 | 位置 | 颜色 |
|---|
| 核心概念 | 大脑 + DNA | 中心 | 蓝色 |
| 方法 |
神经网络 | 左侧 | 紫色 |
| 结果 | 奖杯/图表 | 右侧 | 金色 |
布局建议
┌─────────────────────────────────┐
│ [标题/概念] │
│ 🧬🤖 │
├──────────┬──────────┬───────────┤
│ 输入 │ 处理 │ 输出 │
│ 📥 │ ⚙️ │ 📈 │
└──────────┴──────────┴───────────┘
AI艺术提示
Midjourney
科学图形摘要,蛋白质结构预测与神经网络,3D分子结构由发光的神经网络节点连接,蓝紫色渐变背景,简洁极简风格,学术期刊风格,高质量 --ar 16:9 --v 6
DALL-E
为关于使用深度学习进行蛋白质结构预测的研究论文绘制一幅简洁的科学插图。中心展示一个3D蛋白质结构,周围环绕抽象的神经网络连接。采用专业的蓝白配色方案,带有细微渐变。包含代表数据流的几何形状。现代、极简的学术风格,适合Nature或Science期刊封面。
技术细节
本技能使用NLP技术:
- 1. 提取命名实体(方法、材料、概念)
- 识别研究动作和结果
- 将概念映射到视觉表示
- 生成适合风格的提示
依赖项
- - Python 3.8+
- OpenAI API(可选,用于增强分析)
- 标准库:re, json, argparse, sys
许可证
MIT许可证 - OpenClaw技能集的一部分
风险评估
| 风险指标 | 评估 | 级别 |
|---|
| 代码执行 | 本地执行Python/R脚本 | 中 |
| 网络访问 |
无外部API调用 | 低 |
| 文件系统访问 | 读取输入文件,写入输出文件 | 中 |
| 指令篡改 | 标准提示指南 | 低 |
| 数据泄露 | 输出文件保存到工作区 | 低 |
安全检查清单
- - [ ] 无硬编码凭据或API密钥
- [ ] 无未授权的文件系统访问(../)
- [ ] 输出不暴露敏感信息
- [ ] 已实施提示注入保护
- [ ] 输入文件路径已验证(无../遍历)
- [ ] 输出目录限制在工作区内
- [ ] 脚本在沙盒环境中执行
- [ ] 错误消息已清理(不暴露堆栈跟踪)
- [ ] 依赖项已审计
前置条件
bash
Python依赖项
pip install -r requirements.txt
评估标准
成功指标
- - [ ] 成功执行主要功能
- [ ] 输出达到质量标准
- [ ] 优雅处理边缘情况
- [ ] 性能可接受
测试用例
- 1. 基本功能:标准输入 → 预期输出
- 边缘情况:无效输入 → 优雅的错误处理
- 性能:大数据集 → 可接受的处理时间
生命周期状态
- - 当前阶段:草稿
- 下次审核日期:2026-03-06
- 已知问题:无
- 计划改进:
- 性能优化
- 额外功能支持