Token导航 LogoToken导航TokenDH.com
效率操作浏览器clawhub未标认证来源可访问clear审计提醒

infocard-skills信息卡技能

Agent Skill

infocard-skills 用于处理图像、截图、视觉识别或图片素材相关工作,适合在 OpenClaw 中需要让 Agent 分析图片、整理视觉素材或辅助图像流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,042

周安装

202

GitHub Stars

公开资料未说明

下载量

1,632
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:infocard-skills(信息卡技能)
来源仓库:https://github.com/shaom/infocard-skills
安装命令:
openclaw skills install infocard-skills
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install infocard-skills

简介

以现代杂志风格生成高密度编辑 HTML 信息卡片。

  • 瑞士国际排版强调简洁与功能性优先设计理念。
  • 自动捕获为指定比例屏幕截图供社交分享使用。
  • 支持自定义颜色方案与字体层级结构配置。infocard-skills 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 输出图像需适配主流平台缩略图显示尺寸要求。

SKILL.md

name
editorial-card-screenshot
description
Generate high-density editorial HTML info cards in a modern magazine and Swiss-international style, then capture them as ratio-specific screenshots. Use when the user provides text or core information and wants: (1) a complete responsive HTML info card, (2) the design to follow the stored editorial prompt, (3) output in fixed visual ratios such as 3:4, 4:3, 1:1, 16:9, 9:16, 2.35:1, 3:1, or 5:2, or (4) both HTML and a rendered PNG cover/card from the same content.
metadata
{"clawdbot":{"requires":{"bins":["google-chrome","chromium","chrome"]}}}

Editorial Card Screenshot

Overview

Turn source text into a compact, high-contrast HTML information card that follows the user's editorial prompt, then render a screenshot in one of the supported aspect ratios.

Always preserve three output stages unless the user explicitly asks to skip one:

  1. Write one sentence judging the information density as high, medium, or low.
  2. Output the complete HTML with embedded CSS.
  3. Self-check that body text remains readable on mobile.

Workflow

1. Analyze Content Density

Choose layout strategy from the content itself:

  • Use "big-character" composition when content is sparse and a single phrase, number, or hook can carry the page.
  • Use a two-column or three-column editorial grid when content is dense and needs stronger hierarchy.
  • Use oversized numbers, heavy rules, tinted blocks, and pull-quote scale to avoid dead space.
  • Do not force dense content into evenly weighted tiles. Build primary blocks, secondary blocks, and lighter supporting blocks.
  • Match structure to content type:

- Ranking / recommendation content: allow asymmetric hero + structured list. - Tutorial / analysis / interpretation content: group into overview, core judgment, interpretation, boundary, and conclusion.

Before compressing content, first change the layout skeleton.

  • Ratio changes should primarily change reading path, hierarchy, and module arrangement.
  • Do not treat ratio changes as a reason to delete content by default.
  • Only compress, group, or summarize when the current ratio cannot hold the content clearly after layout has already been restructured.

2. Apply the Stored Editorial Rules

Use these defaults unless the user overrides them:

  • Import Google Fonts:
  <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@700;900&family=Noto+Sans+SC:wght@400;500;700&family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
  • Keep body text at 18px to 20px on a 900px-wide composition.
  • Keep meta/tag text at 13px minimum.
  • Use compact spacing: container padding 40px to 50px, component gaps 30px to 40px, line-height 1.5 to 1.6.
  • Add visual weight with 4px to 6px accent rules, subtle gray planes, and 4% noise overlays.
  • Favor #f5f3ed or similar warm-paper backgrounds unless the user supplies another palette.
  • Preserve breathing room. Do not shrink outer margins so much that the card loses composure.
  • For title zones, prefer larger line-height and clearer separation from subtitle / summary blocks.
  • In dense right-side modules, reduce font weight slightly so the page stays clear without feeling heavy.
  • Use stronger internal structure inside blocks: subheads, bullets, numbered lines, compare rows, or secondary labels.
  • Avoid equal-weight boxes when the card is dense. At least one module should feel visually heavier than the others.

3. Choose the Right Layout Skeleton

Pick ratio-specific structure before writing final copy.

4:3

  • Best for full analytical spread or ranked lists.
  • Prefer: hero + summary band + dense two-column list + stronger footer.
  • Use one main judgment block before the list so the page does not become a flat wall of 10 equal items.

3:4

  • Keep the same information ambition, but change the reading path.
  • Prefer: title band + insight row + mixed large/small body modules.
  • Use mixed scales: one heavy primary block, one or two medium blocks, and smaller support blocks.
  • Do not let the whole portrait card collapse into a long single column.

1:1

  • Best for ability map, grouped comparison, or balanced editorial overview.
  • Prefer: strong hero + one heavier quadrant + three supporting quadrants + dense footer strip.
  • Square layouts should feel centered and modular, not evenly tiled.

Wide covers (3:1, 5:2, 2.35:1)

  • Reduce paragraph length aggressively.
  • Use fewer but larger blocks, stronger headlines, and short support lines.

4. Build HTML for Rendering

When HTML will be screenshotted, design the page as a fixed-size canvas instead of a responsive webpage:

  • Match the exact pixel dimensions of the selected ratio preset from references/ratios.md.
  • Treat the card as a design board with explicit width and height, not as a fluid 100vw / 100vh layout.
  • Remove browser-default margins with html, body { margin: 0; }.
  • Make the card itself fill the screenshot viewport exactly.
  • Avoid interactions, sticky headers, or long scrolling sections.
  • Use fixed pixel wrappers, for example:
  .frame {
    width: 2000px;
    height: 1500px;
  }

  .card {
    width: 100%;
    height: 100%;
    padding: 48px;
    background: #f5f3ed;
  }

Do not rely on 100vw, 100vh, or responsive container widths as the primary design size for screenshot output.

If the user asks only for HTML, still make the layout screenshot-ready.

Use these structural heuristics when composing the card:

  • Fill the proportion intentionally. Rebalance layout according to width / height instead of scaling one static template.
  • In 4:3 landscape, asymmetric left-right layouts often work best for dense analytical content.
  • In 3:4 portrait, use portrait-friendly mixed grids rather than a single narrow column.
  • Keep title, subtitle, summary, and modules separated by explicit rows or bands so they do not collide.
  • If using numbered modules, keep numbers visually weak enough that they never collide with titles.
  • If a section becomes visually monotonous, introduce contrast through hierarchy changes rather than decorative clutter.
  • Let big modules carry richer copy than small modules. Do not give every block the same amount of text.

5. Capture the Screenshot

Use the bundled shell script when the user wants a PNG output:

./scripts/capture_card.sh input.html output.png 3:4

Supported ratios and render sizes live in references/ratios.md.

The rendering helper requires a local Chrome or Chromium binary. It first respects CHROME_BIN when set, then falls back to common binary names and a macOS Chrome app path.

Before running the script:

  • Save the generated HTML to a local file.
  • Ensure the page is self-contained except for fonts.
  • If you keep the default font imports, rendering will request Google Fonts over the network.
  • Ensure the HTML uses a fixed-size design canvas that matches the chosen ratio preset.
  • Ensure the viewport composition already matches the requested ratio.

6. Ratio Policy

Accept only these ratio presets:

  • 3:4
  • 4:3
  • 1:1
  • 16:9
  • 9:16
  • 2.35:1
  • 3:1
  • 5:2

If the user gives a ratio outside this set, ask them to map it to the nearest supported preset rather than inventing a new one.

Output Contract

When responding to a card-generation request:

  • Start with exactly one sentence describing information density.
  • Then output complete HTML in one code block.
  • If the user also requested an image, state the ratio used and the screenshot command after the HTML.
  • Keep prose short; the HTML is the deliverable.

Resources

references/ratios.md

Open this when you need the exact preset names or capture dimensions.

references/editorial-card-prompt.md

Use this as the canonical prompt spec when the user wants the latest validated editorial-card behavior.

scripts/capture_card.sh

Run this to capture a PNG from a local HTML file using a supported ratio preset. It requires a local Chrome or Chromium binary or an explicit CHROME_BIN override.

assets/card-template.html

Use this as a starting shell when you want a minimal ratio-ready HTML canvas before filling in real content.

Failure Checks

Before finalizing HTML or PNG, explicitly reject the result if any of these happen:

  • The title overlaps, visually collides with, or blocks summary/body content.
  • The title becomes a narrow vertical strip when more horizontal width is available.
  • Dense cards are split into too many equal-weight boxes.
  • Large blocks contain too little copy and read like empty containers.
  • The canvas shows large areas of dead space that could be filled by stronger hierarchy, richer block content, or a heavier main module.
  • The PNG feels meaningfully emptier than the HTML layout intent.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

90.03%
按下载量换算1,469

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills