card-news-generator — Claude Code skill: card creation and setup
card-news-generator is a Claude Code skill that turns a topic and chosen background into square social cards. It lays out short copy as individual visuals.
no license 2 installs ★ 946 updated 2026-06-22
npx skills add bear2u/my-skills --skill card-news-generator -a claude-codeWhat card-news-generator does
Give the skill a topic and a background color; you can also provide a folder of images. It drafts 5–7 cards and runs auto_generator.py to save them as separate PNGs, wrap text, and add a dark layer over image backgrounds. For a single card, it uses generate_card.py.
Images are loaded in alphabetical or numeric order, so arrange filenames in the sequence you want. When the folder has fewer images than cards, the remaining cards use a solid background. JPG, JPEG, PNG, WebP, and BMP are supported. Image-backed cards use white text, so check that it remains legible against your chosen photos.
What it helps with
- draft a themed series of social cards
- use images from a folder as card backgrounds
- fit short copy onto square visuals
- create one card from a title and body
Example prompts for the agent
- Create a card series about Git setup with a beige background.
- Make travel-tip cards using the images in
./travel-images. - Create one card titled “Plan” with text about the next release.
How to install card-news-generator
1Skills CLI (Vercel)
npx skills add bear2u/my-skills --skill card-news-generator -a claude-code2Manually: put the files in place
~/.claude/skills/card-news-generator-v2/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/card-news-generator-v2/
1Skills CLI (Vercel)
npx skills add bear2u/my-skills --skill card-news-generator -a codex2Manually: put the files in place
.agents/skills/card-news-generator-v2/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add bear2u/my-skills --skill card-news-generator -a cursor2Manually: put the files in place
.cursor/skills/card-news-generator-v2/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install bear2u/my-skills backup/card-news-generator-v2/SKILL.md2Manually: put the files in place
.github/skills/card-news-generator-v2/SKILL.md1Skills CLI (Vercel)
npx skills add bear2u/my-skills --skill card-news-generator -a gemini-cli2Platform CLI
gemini skills install https://github.com/bear2u/my-skills --path backup/card-news-generator-v2Manually: put the files in place
.devin/skills/card-news-generator-v2/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add bear2u/my-skills --skill card-news-generator -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about card-news-generator
How do I install card-news-generator in Claude Code?
Run npx skills add bear2u/my-skills --skill card-news-generator-v2 -a claude-code. The skill file is placed at ~/.claude/skills/card-news-generator-v2/SKILL.md.
What does card-news-generator do?
It creates a set of square cards from a topic and saves each card as a PNG. Choose a solid color or supply a folder of background images.
How does the skill choose background images?
It reads files in alphabetical or numeric order. Cards without a matching image use a solid background; supported formats include JPG, JPEG, PNG, WebP, and BMP.