Agent Skills › MODSetter/SurfSense › infographic

infographic

GitHub

基于用户选定风格,生成事实性信息图。通过编写Markdown内容调用图像模型生成PNG,验证无误后保存,支持单次修复与原地修订。

docker/sandbox/skills/infographic/SKILL.md MODSetter/SurfSense

Trigger Scenarios

用户请求生成信息图或可视化图表 需要将文本数据转换为图片格式的信息图

Install

npx skills add MODSetter/SurfSense --skill infographic -g -y
More Options

Non-standard path

npx skills add https://github.com/MODSetter/SurfSense/tree/main/docker/sandbox/skills/infographic -g -y

Use without installing

npx skills use MODSetter/SurfSense@infographic

指定 Agent (Claude Code)

npx skills add MODSetter/SurfSense --skill infographic -a claude-code -g -y

安装 repo 全部 skill

npx skills add MODSetter/SurfSense --all -g -y

预览 repo 内 skill

npx skills add MODSetter/SurfSense --list

SKILL.md

Frontmatter
{
    "name": "infographic",
    "description": "Create a factual, image-model-generated infographic through the unified artifact workflow."
}

Infographics

The user has already selected a trusted visual-style preset. Use the infographic_selection_token returned with these instructions exactly as provided. Do not call generate_image, invent a style, or rewrite the selected style.

Author the factual contract

Create clear canonical Markdown with one H1 title and H2 headings as the factual source for the image model. Preserve factual accuracy, resolve conflicting or unsupported claims, and include the context that matters to the user. Let the image model decide how to summarize and compose the material in the selected visual style.

Generate

Call the existing execute tool once with:

execute(
  language="infographic",
  code_or_command="<exact canonical Markdown>",
  infographic_selection_token="<trusted token>",
  output_path="/workspace/<slug>.png",
  output_constraints="<audience constraints when applicable>"
)

The backend invokes the configured image model, normalizes one bounded PNG, and writes the exact Markdown companion at /workspace/<slug>.md. Do not edit the PNG or Markdown after generation.

Verify, repair once, and save

Call:

verify_artifact(
  path="/workspace/<slug>.png",
  format="infographic",
  markdown_path="/workspace/<slug>.md"
)

If verification fails, pass all findings together to exactly one more execute(language="infographic", repair_findings=[...]) call with the same Markdown, token, and output path, then verify again. If any blocker remains, stop and explain it. Do not loop or save.

After verification returns status="verified", call:

save_artifact(
  path="/workspace/<slug>.png",
  title="...",
  markdown_representation="<exact contents of /workspace/<slug>.md>"
)

Only save_artifact makes the infographic durable. Sandbox files and provider URLs are transient.

Revisions

Start an in-place revision with load_artifact_for_revision. Pass change_infographic_style=True only if the user asked for a different visual style. Do not list presets.

Version History

  • 014e47a Current 2026-09-23 08:23

Same Skill Collection

.agents/skills/codebase-design/SKILL.md
.agents/skills/migrate-radix-to-base/SKILL.md
.agents/skills/shadcn/SKILL.md
.agents/skills/tdd/SKILL.md
.agents/skills/translate/SKILL.md
.cursor/skills/alert-manager/SKILL.md
.cursor/skills/animation-vocabulary/SKILL.md
.cursor/skills/backlink-analyzer/SKILL.md
.cursor/skills/competitor-analysis/SKILL.md
.cursor/skills/content-gap-analysis/SKILL.md
.cursor/skills/content-quality-auditor/SKILL.md
.cursor/skills/content-refresher/SKILL.md
.cursor/skills/domain-authority-auditor/SKILL.md
.cursor/skills/emil-design-eng/SKILL.md
.cursor/skills/entity-optimizer/SKILL.md
.cursor/skills/frontend-design/SKILL.md
.cursor/skills/geo-content-optimizer/SKILL.md
.cursor/skills/improve-codebase-architecture/SKILL.md
.cursor/skills/internal-linking-optimizer/SKILL.md
.cursor/skills/keyword-research/SKILL.md
.cursor/skills/memory-management/SKILL.md
.cursor/skills/meta-tags-optimizer/SKILL.md
.cursor/skills/on-page-seo-auditor/SKILL.md
.cursor/skills/performance-reporter/SKILL.md
.cursor/skills/python-patterns/SKILL.md
.cursor/skills/rank-tracker/SKILL.md
.cursor/skills/review-animations/SKILL.md
.cursor/skills/schema-markup-generator/SKILL.md
.cursor/skills/seo-content-writer/SKILL.md
.cursor/skills/serp-analysis/SKILL.md
.cursor/skills/shadcn/SKILL.md
.cursor/skills/system-architecture/SKILL.md
.cursor/skills/tdd/SKILL.md
.cursor/skills/technical-seo-checker/SKILL.md
.cursor/skills/ugc-brief/SKILL.md
.cursor/skills/vercel-react-best-practices/SKILL.md
.cursor/skills/web-design-guidelines/SKILL.md
docker/sandbox/skills/docx/SKILL.md
docker/sandbox/skills/flashcards/SKILL.md
docker/sandbox/skills/html/SKILL.md
docker/sandbox/skills/mindmap/SKILL.md
docker/sandbox/skills/pdf/SKILL.md
docker/sandbox/skills/pptx/SKILL.md
docker/sandbox/skills/quiz/SKILL.md
docker/sandbox/skills/video/SKILL.md
docker/sandbox/skills/xlsx/SKILL.md
.agents/skills/frontend-workflow/SKILL.md
.cursor/skills/playwright-testing/SKILL.md

Metadata

Files
0
Version
176aed2
Hash
8883f304
Indexed
2026-09-23 08:23

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 10:12
浙ICP备14020137号-1