Skill QR Card
Create a styled QR card (SVG or PNG) that users can scan to install a skill instantly.
Workflow
- Collect inputs
- skill slug (required)
- display title (optional)
- target payload mode: install command / ClawHub URL / README URL
- Generate QR card
- Use
scripts/generate_qr_card.js.
- Use
- Return output files
- SVG (always)
- PNG (optional if ImageMagick
convertis available)
- Share result
- Send generated image path directly.
Commands
- Basic:
node scripts/generate_qr_card.js --slug skill-feed
- Custom title + mode:
node scripts/generate_qr_card.js --slug skill-feed --title "SkillFeed" --mode install
- Custom output:
node scripts/generate_qr_card.js --slug skill-feed --out ./images/skillfeed-card.svg
Modes
install(default): QR payload =clawhub install <slug>clawhub: QR payload =https://clawhub.ai/<slug>github: QR payload =https://github.com/<owner>/<repo>(requires--github)
Output
MEDIA:./images/<file>.svgline is printed for quick sharing.- Optional PNG is generated when system has
convertinstalled.
References
- Styling and payload conventions:
references/design-guidelines.md