Article Poster 标志

Article Poster

社区
MagicCube
article-poster

根据文章 URL 或文本内容生成设计精美的信息图海报。当用户提到“article poster”“文章海报”“infographic”“信息图”“make a poster”“生成海报”“visual summary”,或希望将文章/博客转换成便于分享的图片时触发。不适用于一般的海报设计。

Add to TypingMind

概览

发布者MagicCube
代码仓库agentara
技能名称article-poster
星标数
516
复刻数
58
附带文件
3
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 MagicCube 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Article Poster AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/MagicCube/agentara/tree/main/user-home/.claude/skills/article-poster
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MagicCube/agentara.git /tmp/agentara
mkdir -p .claude/skills
cp -r /tmp/agentara/user-home/.claude/skills/article-poster .claude/skills/article-poster
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Article Poster,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Article Poster。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Article Poster 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Article Poster

Converts an article (URL or pasted text) into a beautifully designed infographic poster image.

How It Works

  1. Read the article — Fetch URL via web_fetch or use provided text
  2. Summarize into JSON — Output a compact JSON data structure (see schema below)
  3. Render & screenshot — Run render.py which injects JSON into template.html and screenshots to PNG

This design minimizes token cost: the HTML/CSS template is a static asset (~0 generation tokens). You only generate the JSON content.

Step 1: Read the Article

  • If given a URL: use web_fetch to retrieve content
  • If given textual or image content: use it directly
  • Read and deeply understand the article before summarizing

Step 2: Save Poster Data as JSON

Write the poster data to workspace/outputs/posters/poster_data.json using the Write tool. Do NOT generate a Python script — just write the JSON file directly.

IMPORTANT: Do NOT create a gen_poster.py or any intermediate HTML generation script. render.py handles template injection internally. Your only job is to write poster_data.json.

Follow this schema exactly:

json
{
  "source": "ANTHROPIC ENGINEERING",
  "category": "HARNESS DESIGN",
  "title": "Harness 设计:突破 Agent 编码前沿的关键架构",
  "subtitle": "Anthropic 用一套受 GAN 启发的多智能体架构……核心不是更聪明的单 Agent,而是如何为强模型设计正确的 harness。",
  "layout": "single",
  "sections": [
    {
      "number": 1,
      "color": "brown",
      "title": "为什么简单方案会失效?",
      "cards": [
        {
          "type": "text",
          "heading": "上下文焦虑",
          "body": "上下文一满,模型就会倾向于提前结束工作……"
        },
        {
          "type": "text",
          "heading": "自我评估偏差",
          "body": "让模型评价自己的产出时……"
        }
      ]
    },
    {
      "number": 2,
      "color": "olive",
      "title": "架构核心:生成器 / 评估器分离",
      "cards": [
        {
          "type": "highlight",
          "heading": "受 GAN 启发,但不只是`多加一个 Agent`",
          "body": "Anthropic 把`创造`与`评判`彻底解耦……"
        }
      ]
    },
    {
      "number": 4,
      "color": "teal",
      "title": "全栈开发 V1:三智能体分工",
      "cards": [
        {
          "type": "tags",
          "items": [
            { "tag": "Planner", "text": "把 1-4 句需求扩展成完整产品规格……" },
            { "tag": "Generator", "text": "按 Sprint 逐步实现……" },
            { "tag": "Evaluator", "text": "通过 Playwright 测运行中的应用……" }
          ]
        }
      ]
    },
    {
      "number": 5,
      "color": "amber",
      "title": "架构演进:从复杂到精简",
      "cards": [
        {
          "type": "compare",
          "left": { "heading": "V1:重型评估架构", "body": "单个 DAW 应用约 6 小时 / $200……" },
          "right": { "heading": "V2:Claude 4.6 后减负", "body": "去掉 Sprint、把评估器后置……" }
        }
      ]
    },
    {
      "number": 6,
      "color": "sage",
      "title": "深层方法论",
      "cards": [
        {
          "type": "bullets",
          "items": [
            "**主观质量的可操作化:** 把`这设计好吗`转成`是否符合设计原则`。",
            "**结构化产物传递:** 重置上下文时,用文件而不是对话历史传状态。",
            "**持续压力测试:** 每个组件都编码了对模型能力的假设,而这些假设会随新模型迭代失效。"
          ]
        },
        {
          "type": "callout",
          "label": "关键洞察",
          "body": "评估器是否必要,不取决于`它是不是好设计`,而取决于任务是否仍处在模型能力边界之外。"
        }
      ]
    }
  ]
}

JSON Schema Rules

layout (optional) — Layout mode:

  • "single": Single column layout (default)
  • "double": Two column layout (odd sections left, even sections right)

sections[] — Any number of sections based on content needs. Each section has:

  • number: Display number (1-based)
  • color: One of brown, olive, terracotta, teal, amber, sage, slate, rose
  • title: Section heading (concise, < 20 chars ideal)
  • cards[]: Array of cards. Card types:
typefieldsdescription
textheading, bodySimple card with title + paragraph
highlightheading, bodyCard with colored left border accent
tagsitems[{tag, text}]Labeled tag + description list (like Planner/Generator/Evaluator)
compareleft{heading,body}, right{heading,body}Side-by-side comparison boxes
bulletsitems[]Bullet list (supports bold: prefix)
calloutlabel, bodyHighlighted callout box with label badge

Content Guidelines

  • Language: Match the user's language. Default Chinese for Chinese users.
  • Conciseness: Each body should be 1-3 sentences. This is a poster, not a blog.
  • Bold keywords: Use **keyword** for emphasis in body text.
  • Section count: Use as many sections as needed to cover the content effectively (typically 3-10).
  • Layout: Choose "single" for focused content or "double" for side-by-side comparison.
  • Chinese punctuation: Use full-width punctuation for Chinese content (,、。:!?"").

Width Selection

Choose width based on layout:

  • narrow (1080px): Single column, mobile-friendly
  • medium (1200px): Single or double column, balanced (DEFAULT)
  • wide (1600px): Double column, desktop-optimized

Height adjusts automatically based on content.

Step 3: Render to PNG

Run render.py with the exact flags below — do NOT guess flags, do NOT use --input or --width:

bash
cd /Users/henry/.agentara/workspace/outputs/posters && \
python3 /Users/henry/.agentara/.claude/skills/article-poster/render.py \
  --data poster_data.json \
  --output poster.png \
  --ratio medium

Valid flags: --data (JSON file path), --output (PNG path), --ratio (narrow|medium|wide). Never use: --input, --width, --template unless you have a specific reason.

If Playwright is not installed, present the poster.html generated by render.py to the user for manual screenshot.

Token Budget

The entire generation cost is just the JSON (~300-600 tokens). The template HTML (~8KB) and render script are static assets loaded from disk — zero generation tokens. This makes the skill extremely efficient compared to generating full HTML each time.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Article Poster AI 技能有什么作用?

根据文章 URL 或文本内容生成设计精美的信息图海报。当用户提到“article poster”“文章海报”“infographic”“信息图”“make a poster”“生成海报”“visual summary”,或希望将文章/博客转换成便于分享的图片时触发。不适用于一般的海报设计。

为什么在 TypingMind 中使用 Article Poster?

因为您只需安装一次,就能搭配任何模型使用。Article Poster 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Article Poster?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/MagicCube/agentara/tree/main/user-home/.claude/skills/article-poster。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Article Poster?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Article Poster 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Article Poster 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Article Poster AI 技能免费吗?

MagicCube 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇