
Ljg card
Turns text into PNG cards, long reads, full-text layouts, comics or whiteboards
Ljg card is an open-source agent skill for design and media. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- TypeScript
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 7.8K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Ljg card
This skill converts pasted text, URLs or local files into PNG images. It offers four output styles selected by a flag: a long reading card, a source-faithful full-text layout that leaves the original wording untouched, a comic storyboard, and a whiteboard-style argument diagram. Typography is produced with HTML and CSS, and the agent renders the page to an image with a bundled Playwright-based capture script.
For the long-card and whiteboard modes the agent first works out the reader's goal and the chain from concrete cases to results, then optionally generates a few supporting illustrations. The full-text mode generates no images and verifies that the ordered text blocks match the source using a checker script. Before rendering, the workflow requires a task-specific temporary directory and image checks.
The skill expects the source text or URL and a working image generation tool for the image-based modes. Scripts are written in TypeScript and run with Bun, and Chromium must be installed for screenshots. Fonts are taken from locally installed system fonts, with no remote downloads.
When your agent uses it
Content caster (铸). Transforms text into PNG through precise HTML typography and, when the mold needs it, generated raster imagery. Four molds: -l (default) long reading card, -f source-faithful full text, -c comic, -w whiteboard. USE WHEN user says '铸', 'cast', '做成图', '做成卡片', '做成海报', '原文排版', '全文卡片', '漫画', or '白板'.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs TypeScript scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- Includes binary files(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 24 files (540 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the ljg-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add lijigang/ljg-skills
/plugin install ljg-skills@ljg-skillsOr copy only this skill to ~/.claude/skills/ljg-card:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lijigang/ljg-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ljg-card &&
cp -R "$tmp/skills/ljg-card" ~/.claude/skills/ljg-card &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/ljg-card inside it instead.
Copy the skill folder to ~/.agents/skills/ljg-card to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lijigang/ljg-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ljg-card &&
cp -R "$tmp/skills/ljg-card" ~/.agents/skills/ljg-card &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/ljg-card inside it instead.
Copy the skill folder to ~/.cursor/skills/ljg-card to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lijigang/ljg-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ljg-card &&
cp -R "$tmp/skills/ljg-card" ~/.cursor/skills/ljg-card &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/ljg-card inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/lijigang/ljg-skills.git --path skills/ljg-cardOr copy the folder to ~/.gemini/skills/ljg-card yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/ljg-card:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lijigang/ljg-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ljg-card &&
cp -R "$tmp/skills/ljg-card" ~/.copilot/skills/ljg-card &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/ljg-card inside it instead.
Get the folder:
git clone --depth 1 https://github.com/lijigang/ljg-skills.gitThen copy ljg-skills/skills/ljg-card into your agent's skills folder as ljg-card. Agents that support SKILL.md read one folder per skill.
What it does
- Four output molds
- Choose a long reading card, full-text layout, comic or whiteboard using a flag.
- Source-faithful full text
- Lays out original text without rewriting, checked against an ordered block ledger.
- HTML typography rendering
- Places all readable text in HTML and CSS, then captures a PNG with Playwright.
- Argument and concept mapping
- Builds a logic ledger that connects cases, criteria and results for explanations.
- Image generation guidance
- Defines a shared protocol for generated illustrations and checks each asset.
- Visual quality checks
- Requires full-page and overlapping slice review before delivering the image.
Good for
- Turn a research paper into a long illustrated reading card
- Lay out an article as a full-length PNG without changing its wording
- Convert a technical explanation into a short comic storyboard
- Make a whiteboard-style diagram of an argument from a document
- Create a poster-style PNG from pasted notes
Ljg card FAQ
What does the skill need to run?
It needs Bun to run its TypeScript scripts, Chromium installed through Playwright for screenshots, and a current image generation tool for the image-based modes.
Does Ljg card change the original text in full-text mode?
No. The full-text mode keeps the source wording, generates no images, and uses a verification script that fails if text is changed, reordered or dropped.
How do I trigger each style?
Use the flags -l (default long card), -f (full text), -c (comic) or -w (whiteboard), or say phrases such as cast, make a card or comic.
Which fonts does Ljg card use?
It prefers a locally installed KingHwa_OldSong font and falls back to system Chinese serif and sans fonts. It does not download fonts.
How do I install Ljg card in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/ljg-card to use it in all your projects, or to .claude/skills/ljg-card in one project. Or install the ljg-skills plugin, which includes it: /plugin marketplace add lijigang/ljg-skills, then /plugin install ljg-skills@ljg-skills.
Does Ljg card run scripts?
Yes. It runs TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Ljg card?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Ljg card?
The closest alternatives to Ljg card are Canvas design, Lead knowledge animation, Render an avatar, Deckify and Screen recording.
Where this comes from
- Description: from the skill's own SKILL.md.
More from lijigang/ljg-skills

Finds a vivid analogy that maps a relationship from a familiar scene onto your topic
- Open source
- 7.8K GitHub stars
- Productivity

Scans yesterday's AI chats for a thinking blind spot and pairs it with a WeRead chapter
- Open source
- 7.8K GitHub stars
- Productivity

Explains a whole book's threads, turns and ending for readers who have not read it
- Open source
- 7.8K GitHub stars
- Productivity

Turns a business description into a nine-block Business Model Canvas card
- Open source
- 7.8K GitHub stars
- Productivity

Builds annotated classical Chinese chapter sheets with word notes and a chapter reading
- Open source
- 7.8K GitHub stars
- Files and documents

Maps the hard, soft and self-imposed constraints that shape a domain, role or debate
- Open source
- 7.8K GitHub stars
- Productivity







