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

article-summary-card文章摘要卡

Agent Skill

article-summary-card 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,151

周安装

219

GitHub Stars

公开资料未说明

下载量

1,805
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install article-summary-card

简介

将文章或网页汇总为导出为 JSON、Markdown、HTML 和 PNG 的结构化包,并具有一致的布局和标记。

SKILL.md

name
article-summary-card
description
Use when the user wants a webpage, article, markdown, or pasted text summarized in the current session and exported as a reusable bundle. Stable workflow: extract article text, do a two-round session summary with tags, then render the final JSON into Markdown, HTML, and PNG.
metadata
openclaw
requires
bins

Article Summary Card

Turn an article into a concise summary bundle.

When to use

  • Summarize a webpage or article and deliver the result as an image.
  • Convert long text into a reusable set of outputs: JSON, Markdown, HTML, PNG.
  • Produce repeatable summary cards with a consistent layout and predictable sizing.

Runtime Requirements

  • python3
  • curl
  • Chrome or Chromium for headless screenshots
  • Python package: Pillow

If Chrome is not installed at the default path, adjust the browser candidate list in scripts/render_card.py.

Workflow

  1. Read the input article from a URL or local file.
  2. Extract the title and article body; remove obvious page chrome when possible.
  3. In the current session, run two prompt rounds:

- Round 1: create a summary plan that decides how the article should be divided into sections. - Round 1 must also generate 3 to 8 short tags for the article. - Round 2: write the final summary JSON according to that plan.

  1. Use the unified renderer to export the final summary JSON as Markdown, HTML, and PNG.
  2. Verify the outputs exist and have a reasonable size.

Commands

Extract article text for the session workflow:

python3 article-summary-card/scripts/extract_article.py \
  --url 'https://example.com/article' \
  --out output/article-input.json

The extracted JSON contains:

  • title
  • source
  • article_text

Then in the current session:

  • Use references/prompts/plan-system.md and references/prompts/plan-user.md to design the summary structure.
  • Use references/prompts/summary-system.md and references/prompts/summary-user.md to write the final summary JSON.
  • Include tags in the final summary JSON and show them at the end of the rendered card and Markdown output.

Preferred final export:

python3 article-summary-card/scripts/render_outputs.py \
  --summary output/article-summary.json \
  --out-stem output/article-summary

This produces:

  • output/article-summary.md
  • output/article-summary.html
  • output/article-summary.png

Optional lower-level renderers:

python3 article-summary-card/scripts/render_markdown.py --summary output/article-summary.json --out output/article-summary.md
python3 article-summary-card/scripts/render_card.py --summary output/article-summary.json --out output/article-summary.png

Adjust styles in:

article-summary-card/assets/templates/mobile-card.css

The renderer keeps HTML and CSS separate:

article-summary-card/assets/templates/mobile-card.html
article-summary-card/assets/templates/mobile-card.css

The size system is based on a 375px design width multiplied by SCREEN_RATIO in CSS and Python.

Optional helper: generate a local heuristic draft JSON when you want a quick bootstrap, but do not treat it as the preferred path for high-quality output:

python3 article-summary-card/scripts/summarize_article.py \
  --url 'https://example.com/article' \
  --out output/article-summary-draft.json \
  --mode heuristic

For final output, replace or rewrite that draft in-session and then use render_outputs.py. summarize_article.py is a compatibility helper, not the main summarizer.

Cross-Platform Adapters

  • Codex

- Native entrypoint is this skill folder itself: article-summary-card/SKILL.md - Optional UI metadata: article-summary-card/agents/openai.yaml

  • Claude Code

- Project slash command: .claude/commands/article-summary-card.md - Usage pattern: /article-summary-card <url-or-file> [output-stem]

  • OpenClaw

- OpenClaw uses skill folders containing SKILL.md, so this same directory is portable. - Install helper:

python3 article-summary-card/scripts/install_openclaw.py

- Default destination: ~/.openclaw/workspace/skills/article-summary-card

Notes

  • This skill prefers deterministic rendering over image-generation models so long Chinese text stays accurate.
  • The preferred summarizer is the current session model, not an API call inside Python.
  • Summary instructions are intentionally extracted into references/prompts/ so they can be revised without editing Python code.
  • Cross-platform portability comes from keeping one shared skill core and only adding thin platform entrypoints.
  • If a site is hard to extract, inspect the HTML and add a site-specific extraction rule in scripts/summarize_article.py.
  • For very long articles, keep the summary short enough to fit on one card. If it still overflows, shorten section points before re-rendering.
  • summarize_article.py no longer performs LLM calls; it only generates a heuristic draft JSON.
  • When DOM height measurement succeeds, the renderer trusts that height and skips whitespace auto-cropping to avoid cutting off low-contrast tags or footer content.
  • The renderer uses overscan-then-crop for long screenshots to avoid incomplete bottom rendering in headless Chrome.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

87.64%
按下载量换算1,582

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills