Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
lijigang avatar

Ljg Card

  • 6.3k installs
  • 6.7k repo stars
  • Updated August 4, 2026
  • lijigang/ljg-skills

ljg-card is a content caster skill that transforms text or URLs into PNG visuals using seven HTML template molds and Playwright capture.

About

The ljg-card skill (铸) transforms source content into polished PNG visual deliverables using seven selectable molds. Default -l renders a 1080px-wide long reading card; -i builds content-driven infographics; -m splits material into 1080x1440 multi-cards; -v produces editorial sketchnotes tracing problem, failure, pivot, insight, and naming; -c outputs manga-style black-and-white comics; -w draws marker whiteboard diagrams with structured boxes and arrows; -b creates 1080x1440 big-font attachment cards with weathered stone styling for Xiaohongshu posts. Input arrives from WebFetch URLs, pasted text, or Read file paths. Before any mold, agents Read references/taste.md to enforce anti-AI-slop rules: no Inter fonts, pure black fills, three-column cards, centered hero layouts, hollow AI copy, or fake data. HTML templates render through node assets/capture.js with Playwright Chromium, saving titled PNGs to ~/Downloads/. Optional {{SOURCE_LINE}} footers credit authors on applicable molds. Replaces ljg-cards and ljg-infograph. Invoke when users say 铸, cast, 做成图, sketchnote, comic, whiteboard, or 小红书卡片.

  • Seven molds: long card, infograph, multi-card, sketchnote, comic, whiteboard, and big-font attachment.
  • Accepts URL WebFetch, pasted text, or Read file paths with title-based PNG filenames.
  • references/taste.md enforces anti-AI visual quality rules across every mold.
  • Playwright capture.js renders HTML templates to ~/Downloads/ at 1080px width.
  • Optional {{SOURCE_LINE}} footer credits content sources on supported molds.

Ljg Card by the numbers

  • 6,344 all-time installs (skills.sh)
  • +99 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #96 of 1,335 Generative Media skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

ljg-card capabilities & compatibility

Capabilities
seven visual molds with flag specific html templ · url, paste, and file path content ingestion · playwright chromium png capture via assets/captu · taste.md anti ai slop quality enforcement · optional source attribution footer on supported · title based png naming up to 20 characters
Works with
playwright · chrome
Use cases
image generation · copywriting · marketing · presentations
Platforms
macOS · Linux · WSL
Runs
Runs locally
Pricing
Free
From the docs

What ljg-card says it does

将内容铸成可见的形态。内容进去,PNG 出来。模具决定形状。
SKILL.md
Content caster (铸). Transforms content into PNG visuals.
SKILL.md
反 AI 生成痕迹——禁 Inter 字体、禁纯黑、禁三等分卡片、禁居中 Hero、禁 AI 文案腔、禁假数据。
SKILL.md
npx skills add https://github.com/lijigang/ljg-skills --skill ljg-card

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs6.3k
repo stars6.7k
Security audit2 / 3 scanners passed
Last updatedAugust 4, 2026
Repositorylijigang/ljg-skills

How do I turn an article, note, or URL into a polished reading card, infographic, sketchnote, comic, or Xiaohongshu attachment image?

Cast URLs or text into PNG reading cards, infographics, sketchnotes, comics, whiteboards, or Xiaohongshu attachment visuals via seven molds.

Who is it for?

Creators converting long-form content into visual cards, infographics, sketchnotes, comics, or Xiaohongshu attachments.

Skip if: Skip when output must stay plain text, Org-mode, Denote, or ASCII-only per L0 constraints.

When should I use this skill?

User says 铸, cast, 做成图, 做成卡片, sketchnote, comic, whiteboard, big fonts, or 小红书卡片.

What you get

A titled PNG file in ~/Downloads/ rendered from the chosen mold with taste.md quality guardrails applied.

  • PNG file saved to ~/Downloads/ named from content title, rendered in the selected layout mode

By the numbers

  • 7 layout modes available (-l, -i, -m, -v, -c, -w, -b)
  • Multi-card and big-font modes output at fixed 1080x1440 pixels
  • Filename capped at 20 characters derived from content

Files

SKILL.mdMarkdownGitHub ↗

ljg-card: 铸

将内容铸成可见的形态。内容进去,PNG 出来。模具决定形状。

参数

参数模具尺寸说明
-l(默认)长图1080 x auto单张阅读卡,内容自动撑高
-i信息图1080 x auto内容驱动的自适应视觉布局
-m多卡1080 x 1440自动切分为多张阅读卡片
-v视觉笔记1080 x auto编辑式杂志专题:问题→失败→转折→顿悟→命名(6 layout 模具 / 4 字族对比 / 探案档案细节)
-c漫画1080 x auto日式黑白漫画风格,动态选择漫画家视觉语言
-w白板1080 x auto白板马克笔风格,结构化框图+箭头+彩色标记
-b大字1080 x 1440碑刻大字 + 和紙 + 外阴影,小红书附件风格(单句/短段)

约束

本 skill 输出为视觉文件(PNG),不适用 L0 中的 Org-mode、Denote 和 ASCII-only 规范。

共享基础

获取内容

  • URL --> WebFetch 获取
  • 粘贴文本 --> 直接使用
  • 文件路径 --> Read 获取

文件命名

从内容提取标题或核心思想作为 {name}(中文直接用,去标点,≤ 20 字符)。

截图工具

node assets/capture.js <html> <png> <width> <height> [fullpage]

从 skill 根目录运行。依赖 skill 根目录下的 node_modules/ 中的 playwright。如报错:

npm install playwright && npx playwright install chromium

Footer

  • 左侧:logo + 李继刚(已硬编码在模板中)
  • 右侧:内容来源(可选)——有明确来源时显示(如作者名、arxiv ID、网站名等),无来源时留空。使用 {{SOURCE_LINE}} 变量:有来源时填 <span class="info-source">来源文字</span>,否则空字符串。适用于 -l-i-v-c-w 模具(-m 多卡无 footer,不适用)。

交付

1. 报告文件路径

品味准则

所有模具共享。执行任何模具前,先 Read references/taste.md,作为视觉质量底线贯穿全流程。

核心:反 AI 生成痕迹——禁 Inter 字体、禁纯黑、禁三等分卡片、禁居中 Hero、禁 AI 文案腔、禁假数据。

执行

根据参数选择模具,Read references/taste.md + 对应的 mode 文件,按步骤执行:

-l(默认):长图

Read references/mode-long.md,按其步骤执行。

模板:assets/long_template.html

-i:信息图

Read references/mode-infograph.md,按其步骤执行。

模板:assets/infograph_template.html

-m:多卡

Read references/mode-poster.md,按其步骤执行。

模板:assets/poster_template.html

-v:视觉笔记

Read references/mode-sketchnote.md,按其步骤执行。

模板:assets/sketchnote_template.html

-c:漫画

Read references/mode-comic.md,按其步骤执行。

模板:assets/comic_template.html

-w:白板

Read references/mode-whiteboard.md,按其步骤执行。

模板:assets/whiteboard_template.html

-b:大字

Read references/mode-big.md,按其步骤执行。

模板:assets/big_template.html

Related skills

FAQ

Which mold should I pick?

Use -l for long reading cards, -i for infographics, -m for multi-card splits, -v for editorial sketchnotes, -c for manga comics, -w for whiteboards, and -b for Xiaohongshu big-font attachments.

Where do PNG files save?

Rendered PNGs land in ~/Downloads/ with filenames derived from the content title or core idea, trimmed to 20 characters.

What must I read before rendering?

Read references/taste.md plus the mode file for your flag before executing any mold to avoid AI-generated visual slop.

Is Ljg Card safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.