Screenshot
nexu-io/open-design
Capture desktop, app windows, or pixel regions across OS platforms.
Generate high-density editorial HTML info cards in a modern magazine and Swiss-international style, then capture them as ratio-specific screenshots.
$ npx skills add shaom/infocard-skills --skill editorial-card-screenshot -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install shaom/infocard-skills editorial-card-screenshot --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/shaom/infocard-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/editorial-card-screenshot .claude/skills/editorial-card-screenshot && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "editorial-card-screenshot" agent skill from https://github.com/shaom/infocard-skills/tree/main/skills/editorial-card-screenshot into .claude/skills/editorial-card-screenshot/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "editorial-card-screenshot", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/shaom/infocard-skills/tree/main/skills/editorial-card-screenshotType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add shaom/infocard-skills --skill editorial-card-screenshot -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install shaom/infocard-skills editorial-card-screenshot --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shaom/infocard-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/editorial-card-screenshot .agents/skills/editorial-card-screenshot && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "editorial-card-screenshot" agent skill from https://github.com/shaom/infocard-skills/tree/main/skills/editorial-card-screenshot into .agents/skills/editorial-card-screenshot/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "editorial-card-screenshot", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add shaom/infocard-skills --skill editorial-card-screenshot -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install shaom/infocard-skills editorial-card-screenshot --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shaom/infocard-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/editorial-card-screenshot .cursor/skills/editorial-card-screenshot && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "editorial-card-screenshot" agent skill from https://github.com/shaom/infocard-skills/tree/main/skills/editorial-card-screenshot into .cursor/skills/editorial-card-screenshot/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "editorial-card-screenshot", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/shaom/infocard-skills.git --path skills/editorial-card-screenshot--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add shaom/infocard-skills --skill editorial-card-screenshot -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install shaom/infocard-skills editorial-card-screenshot --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shaom/infocard-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/editorial-card-screenshot .gemini/skills/editorial-card-screenshot && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "editorial-card-screenshot" agent skill from https://github.com/shaom/infocard-skills/tree/main/skills/editorial-card-screenshot into .gemini/skills/editorial-card-screenshot/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "editorial-card-screenshot", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install shaom/infocard-skills editorial-card-screenshotInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add shaom/infocard-skills --skill editorial-card-screenshot -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/shaom/infocard-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/editorial-card-screenshot .github/skills/editorial-card-screenshot && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "editorial-card-screenshot" agent skill from https://github.com/shaom/infocard-skills/tree/main/skills/editorial-card-screenshot into .github/skills/editorial-card-screenshot/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "editorial-card-screenshot", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add shaom/infocard-skills --skill editorial-card-screenshot -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install shaom/infocard-skills editorial-card-screenshot --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shaom/infocard-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/editorial-card-screenshot .opencode/skills/editorial-card-screenshot && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "editorial-card-screenshot" agent skill from https://github.com/shaom/infocard-skills/tree/main/skills/editorial-card-screenshot into .opencode/skills/editorial-card-screenshot/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "editorial-card-screenshot", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
editorial-card-screenshotGenerate high-density editorial HTML info cards in a modern magazine and Swiss-international style, then capture them as ratio-specific screenshots.
Editorial Card Screenshot is an agent skill from shaom/infocard-skills. 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.
Its SKILL.md is about 3.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `references/content-fit.md` and `references/editorial-card-prompt.md`).
The repository describes itself as: Open-source agent skills for generating editorial-style information cards from natural-language input. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e112107. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Shell), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
fonts.googleapis.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Editorial Card Screenshot loads about 3.9k tokens when it runs, and up to ~8.8k if it reads all its reference files. Until then it costs about 123 tokens; SKILL.md has 2,108 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from shaom/infocard-skills at commit e112107, republished under its MIT licence (© shaom). 2,108 words, ~3,879 tokens.
.claude/skills/editorial-card-screenshot/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.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. The goal is not just density but editorial quality: clear hierarchy, strong visual anchors, and screenshot-stable rendering without accidental cropping or dead space.
Always preserve three output stages unless the user explicitly asks to skip one:
Read references/content-fit.md. Inventory semantic units, estimate density, and choose layout strategy from both density and ratio:
Before compressing content, first change the layout skeleton.
Use these defaults unless the user overrides them:
<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">18px to 20px on a 900px-wide composition.13px minimum.40px to 50px, component gaps 30px to 40px, line-height 1.5 to 1.6.4px to 6px accent rules, subtle gray planes, and 4% noise overlays.#f5f3ed or similar warm-paper backgrounds unless the user supplies another palette.Bold: more cover-like, stronger anchors, larger weak-background text, heavier accents.Refined: lighter contrast, quieter accents, more restrained paper-like atmosphere.Hybrid: the recommended default when style is not specified; refined overall with a few bold anchor moments.Pick ratio-specific structure before writing final copy.
4:34:3 a symmetrical two-column newspaper wall from top to bottom.3:41:11:1 as the default skeleton for every card. Pick it only when the output ratio is actually square.3:1, 5:2, 2.35:1)16:99:16When HTML will be screenshotted, design the page as a fixed-size canvas instead of a responsive webpage:
references/ratios.md.width and height, not as a fluid 100vw / 100vh layout.html, body { margin: 0; }..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.
At the same time, preserve basic browser preview behavior:
html, body, and the outer frame should match the target canvas size exactly.Use these structural heuristics when composing the card:
4:3 landscape, asymmetric left-right layouts often work best for dense analytical content.3:4 portrait, use portrait-friendly mixed grids rather than a single narrow column.1fr rows or columns in ways that can create large accidental voids near the footer or push important content to the canvas edge.Use the bundled shell script when the user wants a PNG output:
./scripts/capture_card.sh input.html output.png 3:4Supported 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:
After running the script:
If the screenshot still has bottom whitespace after layout has already been improved:
Accept only these ratio presets:
3:44:31:116:99:162.35:13:15:2If the user gives a ratio outside this set, ask them to map it to the nearest supported preset rather than inventing a new one.
When responding to a card-generation request:
references/ratios.mdOpen this when you need the exact preset names or capture dimensions.
references/editorial-card-prompt.mdUse this as the canonical prompt spec when the user wants the latest validated editorial-card behavior.
references/recommended-skeletons.mdUse this when you want ratio-specific reusable skeletons rather than one-off composition ideas.
references/content-fit.mdOpen this before choosing a skeleton and after rendering. It defines semantic-unit density, ratio capacity, space allocation, and rejection checks for empty or crowded cards.
scripts/capture_card.shRun 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.
scripts/trim_card_bottom.shRun this only as an optional post-process when the user accepts a slightly shorter final image in exchange for removing bottom whitespace.
assets/card-template.htmlUse this as a starting shell when you want a minimal ratio-ready HTML canvas before filling in real content. The template syncs its canvas size to the active viewport during capture, while still falling back to readable normal flow on narrower browser widths.
Before finalizing HTML or PNG, explicitly reject the result if any of these happen:
© shaom, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 7 other files (scripts, references, assets) in skills/editorial-card-screenshot of shaom/infocard-skills.
Open the folder on GitHubat commit e112107
Editorial Card Screenshot next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Editorial Card Screenshot this skillshaom/infocard-skills | 515 | — | ~3.9k | Automated safety check: Pass | MIT | |
| Screenshotnexu-io/open-design | 100k | — | ~291 | Automated safety check: Pass | Apache-2.0 | |
| Info CardLeoYeAI/openclaw-master-skills | 2.2k | — | ~3.1k | Automated safety check: Pass | MIT | |
| Card Xiaohongshunexu-io/open-design | 100k | — | ~402 | Automated safety check: Pass | Apache-2.0 | |
| Token Cardaffaan-m/ECC | 276k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Tabler Screenshot Makertabler/tabler | 42k | — | ~1.3k | Automated safety check: Pass | MIT |
nexu-io/open-design
Capture desktop, app windows, or pixel regions across OS platforms.
LeoYeAI/openclaw-master-skills
生成小红书风格信息卡/知识卡片/海报 PNG 图片。22 种模板:杂志封面(magazine-cover)、科技知识卡(tech-knowledge)、 学术报告(academic-report)、产品功能(product-feature)、品牌调性(brand-mood)、清单打卡(checklist)、金句卡(quote-card)、…
nexu-io/open-design
Xiaohongshu-style knowledge cards, arranged as a swipeable multi-card carousel.
affaan-m/ECC
Render a token-usage stat card from local Claude Code, Codex, Gemini CLI, and OpenCode session logs and commit it into the repository as a file.
tabler/tabler
Makes reproducible screenshots of Tabler components and screens for release notes, the website and social posts, using the repository's screenshots app.
nexu-io/open-design
Luxury dark-editorial HyperFrames template for three-page cinematic storyboards, inspired by haute couture title cards and magazine chapter spreads.
Generate high-density editorial HTML info cards in a modern magazine and Swiss-international style, then capture them as ratio-specific screenshots. Editorial Card Screenshot is an agent skill from shaom/infocard-skills. Generate high-density editorial HTML info cards in a modern magazine and Swiss-international style, then capture them as ratio-specific screenshots.
Editorial Card Screenshot fits situations like: the user provides text; core information and wants:; A complete responsive HTML info card; the design to follow the stored editorial prompt.
Run `npx skills add shaom/infocard-skills --skill editorial-card-screenshot -a claude-code`. Or copy the skill folder (skills/editorial-card-screenshot in shaom/infocard-skills) into .claude/skills/editorial-card-screenshot in your project. Claude Code loads it when a task matches its description.
Run `npx skills add shaom/infocard-skills --skill editorial-card-screenshot -a codex`. Or copy the skill folder (skills/editorial-card-screenshot in shaom/infocard-skills) into .agents/skills/editorial-card-screenshot in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shaom/infocard-skills --skill editorial-card-screenshot -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/editorial-card-screenshot, .gemini/skills/editorial-card-screenshot, .github/skills/editorial-card-screenshot and .opencode/skills/editorial-card-screenshot in your project.
Going by SKILL.md and its folder, Editorial Card Screenshot needs a shell for the scripts in its folder. Our summary lists: A Bash shell.
SKILL.md names 1 domain. In commands or code: fonts.googleapis.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Editorial Card Screenshot is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.9k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.9k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Editorial Card Screenshot: Screenshot (nexu-io/open-design, 100k stars), Info Card (LeoYeAI/openclaw-master-skills, 2.2k stars), Card Xiaohongshu (nexu-io/open-design, 100k stars) and Token Card (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
shaom (a GitHub user) maintains it in shaom/infocard-skills, which has 515 GitHub stars. The repository was last updated on June 13, 2026.
Source: shaom/infocard-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.