sn-infographic
できること
このスキルは、テキストやメモから、レイアウトとスタイルを選んでインフォグラフィックを作ります。画像を生成して確認し、情報の視覚的な要約がほしい人のためのものです。
使う場面
- ✓テーマ、レポート、事実の集まりの視覚的な要約がほしいとき。
- ✓品質を確認した複数の案の中から、インフォグラフィックを作ってほしいとき。
- ✓依頼が短すぎて、描く前に広げる必要があるとき。
スキルのリンク
https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-infographic/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。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
よくある質問
何ラウンドまで実行できますか?
初期設定は1ラウンドで、最大8ラウンドまで設定できます。
必ず複数の画像が出ますか?
いいえ。フレンドリーモードでは1枚を返し、詳細モードではすべてを順位付きで表示します。
自分の作業を確認しますか?
はい。複数のラウンドが実行される場合、各画像を確認して順位を付けます。
詳細
作者による元の説明
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.0kCanvas、SVG、Three.js、Remotionでコードから動画を作り、フレームごとに確認してMP4で書き出す方法をエージェントに教えます。
sn-image-base
6.0k他のSenseNovaスキルのために、SenseNovaのサービスを使って画像生成、画像内容の認識、テキストの最適化を行う基本ツールを提供します。
sn-image-doctor
6.0kSenseNova-Skillsの設定がインストールされ、Pythonパッケージがあり、必要なAPIキーがそろっているかを確認し、不足しているキーをファイルに保存します。
sn-image-imitate
6.0k参考画像のスタイルをまねた新しい画像を作り、依頼に合うように内容を変えるようエージェントを支援します。