← 返回
未分类

pixelmsg

Render HTML templates to pixel-perfect PNG image cards using Playwright and send them as rich image messages — instead of plain text. Use this skill whenever...
使用 Playwright 将 HTML 模板渲染为像素级完美的 PNG 图片卡片,并以富图消息形式发送,替代纯文本。在需要时使用此技能。
clarence-g clarence-g 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 276
下载
💾 0
安装
1
版本
#latest

概述

pixelmsg Skill

When to Use

Any time a visual card beats a plain-text reply:

  • Weather forecasts / ambient info cards
  • GitHub Trending, repo stats, contribution charts
  • Todo / task boards with progress
  • Daily / weekly digest or report
  • Data dashboards and stat summaries
  • Announcements, notifications, styled quotes

Step 1 — Pick a Template or Write Your Own

Check existing templates first. The templates/ directory in this skill's

root has production-ready options. Use one as-is or as a starting point whenever

it fits — don't rewrite from scratch if a template already covers the use case.

TemplateBest forStyle
---------
templates/weather.htmlGeneric weather card, any cityGlassmorphism
templates/shanghai-weather.htmlLive Shanghai weather (Open-Meteo)Glassmorphism
templates/github-trending.htmlTop-10 GitHub Trending listDark Premium
templates/github-stats.htmlGitHub user profile / statsDark Premium
templates/todolist.htmlCategorized todo list with progressBrand Color

Use an existing template when: the content type maps directly (weather → weather.html, trending repos → github-trending.html).

Write a new template when: the content type is unique, or the required data doesn't fit cleanly into an existing template's structure. New templates go in templates/ and follow the Design System below.


Step 2 — Write or Customize the HTML

Rules for any template:

  • Use Alpine.js and Tailwind CSS via CDN — no build step
  • Wrap all content in one root element:
  • Inline all data — no external API calls at render time (hardcode the values)
  • Use