# Ljg card

> Ljg card is an open-source agent skill for design and media. Turns text into PNG cards, long reads, full-text layouts, comics or whiteboards. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/lijigang/ljg-skills/tree/master/skills/ljg-card
- **Repository:** https://github.com/lijigang/ljg-skills
- **GitHub stars:** 7,834
- **License:** MIT
- **Skill name:** ljg-card
- **Collection:** https://github.com/lijigang/ljg-skills
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-12-01

## About

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 '白板'.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs TypeScript scripts](https://github.com/lijigang/ljg-skills/tree/HEAD/skills/ljg-card)
- [No network calls found in its scripts](https://github.com/lijigang/ljg-skills/tree/HEAD/skills/ljg-card)
- [Includes binary files](https://github.com/lijigang/ljg-skills/tree/HEAD/skills/ljg-card)
- [License: MIT](https://github.com/lijigang/ljg-skills/tree/HEAD/skills/ljg-card)

## Features

- **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

## Install

### Claude Code

This skill ships in the `ljg-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add lijigang/ljg-skills
/plugin install ljg-skills@ljg-skills
```

Or copy only this skill to `~/.claude/skills/ljg-card`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/ljg-card` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/ljg-card` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/lijigang/ljg-skills.git --path skills/ljg-card
```

Or copy the folder to `~/.gemini/skills/ljg-card` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ljg-card`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/lijigang/ljg-skills.git
```

Then 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.

## 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.

## Alternatives

- [Canvas design](https://ai-powered.com/skills/canvas-design): Canvas design is a free agent skill for design and media.
- [Lead knowledge animation](https://ai-powered.com/skills/lead-knowledge-animation): Lead knowledge animation is an open-source agent skill for design and media.
- [Render an avatar](https://ai-powered.com/skills/render-an-avatar): Render an avatar is an open-source agent skill for design and media.
- [Deckify](https://ai-powered.com/skills/deckify): Deckify is an open-source agent skill for design and media.
- [Screen recording](https://ai-powered.com/skills/screen-recording): Screen recording is an open-source agent skill for design and media.
- [Comic strip](https://ai-powered.com/skills/comic-strip): Comic strip is an open-source agent skill for design and media.
- [PPTX](https://ai-powered.com/skills/pptx): PPTX is a free agent skill for files and documents.
- [Tastemaker](https://ai-powered.com/skills/tastemaker-codeswithroh): Tastemaker is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/ljg-card
