Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/medalsoftchina/workcopilot/doa-imagenpx skills add medalsoftchina/workcopilot --skill doa-imagegit clone --depth 1 https://github.com/medalsoftchina/workcopilotWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/medalsoftchina/workcopilot/doa-image)<a href="https://agentmods.dev/skills/medalsoftchina/workcopilot/doa-image"><img src="https://agentmods.dev/badge/skills/medalsoftchina/workcopilot/doa-image.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00106 | $0.01302 |
| Opus 5 | $0.00053 | $0.00651 |
| Sonnet 5 | $0.00021 | $0.00260 |
| Haiku 4.5 | $0.00011 | $0.00130 |
Grade A, and why
doa-image scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HTML Beautiful Page → Image
将用户提供的内容(文字、数据、攻略等)生成一张格式精美、排版现代、配色雅致的 HTML 页面,用户确认后将其转为高清 PNG 长图。
When to Use
- 需要把文字内容变成精美可视化页面
- 生成旅游攻略、活动日程、项目简报等长图
- 制作信息图表、清单、排行榜等
- 任何需要 "内容 → 精美HTML → 图片" 的场景
Design Principles
风格自动匹配
根据内容主题自动选择最合适的视觉风格:
| 内容类型 | 推荐风格 | 配色方向 |
|---|---|---|
| 旅游/自然 | 清新自然 | 绿色系、蓝绿色系 |
| 商务/报告 | 专业简约 | 深蓝、灰色系 |
| 美食/生活 | 温暖雅致 | 暖橙、米色系 |
| 科技/产品 | 现代极简 | 深色 + 亮色点缀 |
| 节日/庆祝 | 活泼明快 | 红金、多彩 |
| 文化/历史 | 古典雅致 | 褐色、墨绿 |
通用设计规范
- 字体:优先使用
Noto Serif SC(标题)+Noto Sans SC(正文),通过 Google Fonts 引入 - 布局:最大宽度 960px 居中,卡片式布局,圆角 + 柔和阴影
- 间距:充足留白,section 间距 40-48px,卡片内边距 24-32px
- 配色:使用 CSS 变量统一管理,主色 + 辅色 + 背景 + 文字色
- 响应式:添加
@media (max-width: 600px)适配移动端 - 装饰:适度使用 emoji 增强表达,避免过度堆砌
- Hero 区:渐变背景 + 标题 + 副标题 + 关键信息,营造视觉焦点
HTML 结构模板
Hero 区(渐变背景 + 标题)
├── 总览/概要(grid 卡片)
├── 主体内容(分节卡片 + 时间线/列表)
├── 补充信息(grid 网格展示)
├── 数据/表格(简洁表格)
├── 提示/备注(tip 卡片网格)
└── 页脚(点睛之笔)
Procedure
Step 1: 理解需求
- 确认用户要生成的内容主题
- 如果内容不够充分,主动询问补充细节
- 确定视觉风格偏好(或自动匹配)
Step 2: 生成 HTML
- 创建单文件 HTML(CSS 内联在
<style>中) - 遵循上述设计规范
- 文件名使用中文描述性名称,如
湖州五一旅游攻略.html - 输出目录:
output/{内容描述性名称}/(每次新任务创建独立子文件夹)
Step 3: 用户确认
- 提示用户在浏览器中预览 HTML
- 等待用户确认或提出修改意见
- 如需修改,迭代调整后再次确认
Step 4: 转为图片
用户确认后,使用 html2image + Edge/Chrome 浏览器将 HTML 截图为 PNG。
生成转换脚本并执行:
import os
from html2image import Html2Image
# 自动查找浏览器
for p in [
r"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe",
r"C:\Program Files\Microsoft\Edge\Application\msedge.exe",
r"C:\Program Files\Google\Chrome\Application\chrome.exe",
r"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe",
]:
if os.path.exists(p):
browser_path = p
break
hti = Html2Image(
browser_executable=browser_path,
output_path="<输出目录>",
custom_flags=["--no-sandbox", "--disable-gpu", "--hide-scrollbars"],
)
hti.screenshot(
html_file="<HTML文件路径>",
save_as="<输出文件名>.png",
size=(1080, <根据内容估算高度>),
)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 120 lines · 106 tokens per session scan A af8813c82a79
doa-image is a skill published in the GitHub repository medalsoftchina/workcopilot (4 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 106 tokens to every session and 1,302 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
frontend-slides
Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.
goose-graphics
Portable visual skill pack for the Agent Skills ecosystem (Claude Code, Claude Desktop, Claude Cowork, Claude Design, Goose, Cursor, Codex). Discovers community-published styles + formats via the gooseworks CLI, runs an extract-style workflow on reference images, and exports rendered PNGs via Playwright.
create-chatgpt-mockup
Render pixel-accurate ChatGPT mobile (iOS) screen mockups in light mode from a thread JSON. Supports user text bubbles, user image attachments, assistant markdown prose, citation chips, the OpenAI spiral logo, the Apps-SDK GPT chip in the composer, and three header styles (model-tag, plain title, "Get Plus"). Fixed…
create-workflow-diagram
Create FigJam/Miro-style workflow diagrams as high-quality PNG images from plain-text workflow descriptions. Renders beautiful HTML diagrams with connected nodes, arrows, and labels, then screenshots them for sharing.
create-imessage-mockup
Render pixel-accurate iMessage screenshot mockups (DM or group) from a thread JSON. Supports minimal, with-keyboard, and full iPhone 15 Pro frame variants. Outputs HTML + PNG.
create-apple-notes-mockup
Render pixel-accurate Apple Notes (iPhone, light mode) screenshot mockups from a JSON note spec. Outputs HTML + PNG at the iPhone 16/15 Pro native 1180×2556. Supports paragraphs, images, checklists, dividers, autocorrect underline, smart quotes, and an optional iOS keyboard chrome overlay used by the parent video-ad…