sn-infographic
它能做什么
这项技能根据你的文字或笔记,选择版式和风格来制作信息图,然后生成并检查图片。适合需要信息视觉化总结的人。
适用场景
- ✓当你想为一个主题、报告或一组事实制作视觉化总结时。
- ✓当你想制作信息图,并对多次尝试进行质量审查时。
- ✓当你的请求太简短,需要先扩充内容再绘制时。
技能链接
https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-infographic/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请根据这份关于可再生能源增长的报告,用简洁的风格制作一张信息图。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体判断请求内容,必要时加以扩充,生成一个或多个版本,逐一审查,然后返回最佳结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
sn-infographic
Info graphic generation scene skill (tier 1), relying on the sn-image-generate, sn-image-recognize, and sn-text-optimize tools provided by sn-image-base (tier 0).
Features:
- Evaluation of prompt quality (auto mode)
- Prompt expansion (force/auto mode)
- Multiple rounds of image generation and VLM review
- Output the best result based on quality ranking
Input Specification
| Parameter | Type | Default Value | Description |
|---|---|---|---|
user_prompt |
string | Required | Original user request. UTF-8 text; may include Markdown, URLs, or structured data. Length bounded only by the underlying LLM context budget. |
max_rounds |
int | 1 |
Maximum number of generation rounds. Valid range: 1–8. When max_rounds=1, the Step 3 VLM review and the early-termination check are both skipped. |
output_mode |
string | friendly |
friendly: one-line content description + rank=1 single image |
verbose: full quality ranking + timing stats + all images (ordered by rank) |
|||
prompts_expand_mode |
string | auto |
auto: evaluate user_prompt quality first; enter Step 2 expansion only when it falls short |
force: skip evaluation, always execute Step 2 expansion |
|||
disable: skip Step 2, use user_prompt directly as expanded_prompt |
|||
aspect_ratio |
string | inferred (16:9) |
Set by Main Agent when the user states an explicit supported ratio (e.g. 16:9 / 9:16, optionally via 宽高比 / 画面比例 / aspect ratio); otherwise left unset and the Worker infers it in Step 0 from user_prompt (orientation / scene cues) per references/runtime-parameters.md. |
image_size |
string | inferred (2k) |
Set by Main Agent when the user states an explicit size (2k / 4k); otherwise the Worker infers it in Step 0 (currently a single option, 2k). 4k is supported when SN_IMAGE_GEN_MODEL=sensenova-u1.5-lite; other models may reject it and the skill surfaces that error. |
Who extracts what: Main Agent parameter extraction resolves
max_rounds,output_mode,prompts_expand_mode, andaspect_ratio/image_size(each only when the user gives an explicit value).aspect_ratioandimage_sizewithout an explicit value are inferred by the Worker in Step 0.
API Configuration
All API calls in this skill are executed through the sn_agent_runner.py of the sn-image-base skill, with authentication parameters using default values (CLI > environment variables > built-in defaults),无需显式传入。
| Call Type | Tool | Authentication Parameters | Description |
|---|---|---|---|
| LLM | sn-text-optimize (evaluation/expansion) | Default reads SN_TEXT_API_KEY -> SN_CHAT_API_KEY -> SN_API_KEY |
Built-in default points to Sensenova internal network service |
| VLM | sn-image-recognize (image review) | Default reads SN_VISION_API_KEY -> SN_CHAT_API_KEY -> SN_API_KEY |
Built-in default points to Sensenova internal network service |
| Image Generation | sn-image-generate | Default reads SN_IMAGE_GEN_API_KEY -> SN_API_KEY; SN_IMAGE_GEN_API_KEY is only needed for image-specific override |
Uses image generation configuration of sn-image-base |
When encountering MissingApiKeyError or needing to specify a model: pass explicitly via CLI parameters, parameter reference $SN_IMAGE_BASE/references/api_spec.md.
$SN_IMAGE_BASE path explanation: $SN_IMAGE_BASE is the installation directory of the sn-image-base skill (SKILL.md exists).
The agent can locate this path by skill name sn-image-base in the list of installed skills.
Architecture: Main Agent + Worker Agent
This skill uses a two-tier agent architecture:
| Role | Responsibility |
|---|---|
| Main Agent | Receive user request, normalize parameters, send preflight, start Worker, collect results, send text and images to user |
| Worker Agent | Execute the generation pipeline (expand → multiple rounds of generation + review → sort), return structured JSON |
Responsibility Boundaries:
- Worker Agent does not send any messages to the user directly, only returns structured JSON
- Main Agent is responsible for sending all user-visible messages
- Worker Agent's last message must be and only be the JSON string def
常见问题
它最多能运行几轮?
默认一轮,你可以设置最多八轮。
它总是生成多张图片吗?
不是。在友好模式下它返回一张图片,详细模式则会显示所有图片及其排名。
它会检查自己的工作吗?
会。当运行多于一轮时,它会审查每张图片并进行排名。
详情
作者的原始描述
Generates professional infographics with various layout types and visual styles. Analyzes content, recommends layout and style, and generates publication-ready infographics. Use when user asks to create "infographic", "信息图", "visual summary", or "可视化".
热度
- GitHub 星标
- 6.0k
- 排名
- #14463
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
sn-code-video
6.0k教你的智能体使用 Canvas、SVG、Three.js 或 Remotion 制作代码驱动的视频,逐帧检查并导出为 MP4。
sn-image-base
6.0k为其他技能提供底层工具,使用 SenseNova 服务生成图片、识别图片内容并优化文字。
sn-image-doctor
6.0k检查 SenseNova-Skills 是否已安装、Python 包是否齐全、所需 API 密钥是否配置,并把缺失的密钥保存到文件。
sn-image-imitate
6.0k帮你的智能体创建新图片,复制参考图的风格,同时把内容改为符合你要求的画面。