infocard

infocard is a skill for Claude Code from renky1025/agent-skills. It costs 212 tokens per session (2,919 once invoked), scanned A, original, MIT.

A tool that turns a web page or supplied text into a customizable information-card image. It chooses a visual layout from the content and can produce Chinese, English, or bilingual cards.

In plain words
What is it for?
Use it to make concept explainers, quote cards, and structured knowledge cards with selectable themes, widths, and output names.
Why use it?
It converts dense written information into a shareable image while preserving the source, key points, explanations, and important data.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Claude Code.

Good fit Use it to make concept explainers, quote cards, and structured knowledge cards with selectable themes, widths, and output names.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/renky1025/agent-skills/infocard
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add renky1025/agent-skills --skill infocard
Clone the repo
git clone --depth 1 https://github.com/renky1025/agent-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for infocard

README.md
[![agentmods](https://agentmods.dev/badge/skills/renky1025/agent-skills/infocard/github.svg)](https://agentmods.dev/skills/renky1025/agent-skills/infocard)
Your own site
<a href="https://agentmods.dev/skills/renky1025/agent-skills/infocard"><img src="https://agentmods.dev/badge/skills/renky1025/agent-skills/infocard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for infocard

Your own site · 80×15
<a href="https://agentmods.dev/skills/renky1025/agent-skills/infocard"><img src="https://agentmods.dev/badge/skills/renky1025/agent-skills/infocard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 212 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,919 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 61
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00212 $0.02919
Opus 5.5 $0.00085 $0.01168
Sonnet 5.5 $0.00042 $0.00584
Haiku 4.5 $0.00021 $0.00292

Measured 23d ago against content hash 4d7744145ff8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

infocard scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/capture_dsh.js, scripts/capture.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Exa MCP / Camoufox;通用用 `curl -s "https://r.jina.ai/<URL>"` 或 WebFetch。文本输入跳过本步。
infocard/SKILL.md · 151 lines

How it starts

The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.

infocard: 智能信息卡片生成器

没有"默认布局":先读懂内容,再让视觉形式从内容的思想形状中长出来。

Purpose

把 URL 或纯文本转成一张(或双语两张)可交付的信息卡片 PNG。技能不套固定模板,而是先理解原文的 思想形状(密度 / 结构 / 情绪),据此选择版式、配色与图形,再用无头浏览器按 .card 边界截图到 ~/Downloads/infocard-img/。

When to Use

  • 用户要把一篇文章 / 一条推文 / 一个链接 / 一段文本做成图片卡片。
  • 用户要概念图、科普长图、金句卡、产品发布卡、版本对比卡、benchmark 数据卡。
  • 触发词:信息卡片、知识卡片、概念图、科普长图、金句卡、发布卡、对比卡、做成卡片、卡片配图、 infocard、knowledge card、concept card、turn this article into an image card。

When NOT to Use

  • 用户要咨询 / 研报 / PPT 封面质感 -> 交给 mckinsey-cover。
  • 用户要摄影质感、写实、产品实拍图 -> 交给 image-design。
  • 用户要工程化规格出图、透明底素材、UI 原型、角色一致性 -> 交给 spec-image。
  • 用户只要文字摘要、明确不要图片 -> 直接回答,不要出图。

Workflow

  1. 解析输入:首个非 -- 的 token 为输入;http(s):// 开头为 URL,否则为文本。参数取 --theme/--width/--output/--lang,缺省见 description,--output 缺省时自动提取文件名。
  2. 获取内容:URL -> Twitter/X 用 twitter tweet <URL>;GitHub 用 gh 或 Jina;微信公众号用 Exa MCP / Camoufox;通用用 curl -s "https://r.jina.ai/<URL>" 或 WebFetch。文本输入跳过本步。
  3. 提取元信息并定模式:标题(≤15 字)、副标题(≤30 字)、来源、核心要点、金句(<25 字)、数据; 归入概念解说 / 金句 / 密集知识三类模式之一。
  4. 三维判断(含内部自检):定密度(留白)、结构(版式)、情绪(主题);产品/对比类另列核心 优势、对比数值、规格参数;确认密度 / 结构 / 情绪 / 锚点 / 配色互相自洽。
  5. 选主题与版式:按 ## Decision Rules 选定 --theme,再读该主题的布局规范。
  6. 语言:auto 按原文生成单语(中文占比 >50% 判中文);zh/en/both 跨语言时必须走 /translate-polisher,严禁直译;术语/品牌名(Claude Code、HTML、MCP…)与难译短语 (one-shot、intent alignment)保留英文。
  7. 生成 HTML:遵守 ## Constraints 的骨架与硬规则。单语写 /tmp/infocard_{name}.html; 双语先译后写,分别 _zh.html / _en.html。
  8. 截图:按 ## Scripts 的 capture.js 调用方式执行。
  9. 展示:用 present_files 展示生成的 PNG。

Decision Rules

--theme 缺省 = editorial。长文/专访/报告/知识图谱 -> editorial;产品/模型发布、版本对比、 benchmark -> dashboard;科普、概念解析、知识长图、方法论图解 -> knowledge;其余按情绪映射 (沉思 -> slate/indigo,锐利 -> coral/sunset,温暖/科研 -> forest,技术 -> purple, 优雅 -> guofeng)。完整对照表见 references/content-modes.md。

  • 主题已定 -> 只读 references/theme-palettes.md 中对应那一节,取 CSS 变量原值。
  • 主题为 editorial(默认)-> 读 references/editorial-layout.md。
  • 主题为 dashboard -> 读 references/dashboard-layout.md。
  • 主题为 knowledge -> 读 references/knowledge-layout.md。
  • 判定内容模式、密度与结构 -> 读 references/content-modes.md。
  • 生成 HTML 需要图标 -> 读 references/svg-icon-sprite.md 取 <symbol> 与图标映射。
  • 用户想预览主题配色 -> 展示 assets/theme_colorcards.png;需要卡片骨架 -> 参考 assets/template.html(legacy,body 含 padding/100vh,capture.js 会清除;只借结构与配色)。

Read the full file on GitHub · 151 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago Changed · -73 lines · +95 tokens per session 4d7744145ff8
  2. 1mo ago First seen · 224 lines · 117 tokens per session scan A 6e86e0f13a7a

Subscribe to this mod's changes

infocard is a skill published in the GitHub repository renky1025/agent-skills (11 stars, last pushed 7d ago), licensed MIT. It adds 212 tokens to every session and 2,919 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

edgeone skill scanner

A local static scanner that checks agent-skill files for security risks before they are installed or used. Static analysis examines files without running them.

Tencent/AI-Infra-Guard · 148 tokens

babysit

Use when a user asks to babysit, monitor, keep checking, keep an eye on, or report when a pull request, CI run, ticket, deployment, or other changing target reaches an outcome.

kirodotdev/KiroCrew · 45 tokens

rubber-duck

Adversarial "rubber duck" review that turns explaining-out-loud into a hallucination check. The main session is the PRESENTER (it did the work — a design doc, investigation, or analysis — and holds the real reasoning) and reconstructs the topic to a LISTENER — a spawned subagent pinned to a DIFFERENT-vendor model that…

kirodotdev/KiroCrew · 161 tokens

project-wiki

A system for creating and maintaining a project wiki: a set of organized documents that explain a software project's plans, rules, references, and progress.

GeminiLight/MindOS · 63 tokens

mindos-zh

A local knowledge-base assistant for storing and finding decisions, meeting notes, procedures, troubleshooting lessons, and preferences across conversations and coding agents. It works only with the MindOS knowledge base.

GeminiLight/MindOS · 490 tokens

mindos

MindOS: local knowledge assistant & shared KB. Keeps decisions, notes, SOPs, debugging lessons, research findings, preferences across sessions/agents. Core: save notes, search KB, organize files, run workflows, review, append CSV, hand off context, distill lessons. NOT for app source or paths outside KB. Triggers…

GeminiLight/MindOS · 136 tokens