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 skills add chuancyzhang/deepseek-cowork --skill visualizegit clone --depth 1 https://github.com/chuancyzhang/deepseek-coworkWrote 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/chuancyzhang/deepseek-cowork/visualize)<a href="https://agentmods.dev/skills/chuancyzhang/deepseek-cowork/visualize"><img src="https://agentmods.dev/badge/skills/chuancyzhang/deepseek-cowork/visualize/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/chuancyzhang/deepseek-cowork/visualize"><img src="https://agentmods.dev/badge/skills/chuancyzhang/deepseek-cowork/visualize.svg" alt="Reviewed on agentmods" width="80" 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.00027 | $0.00908 |
| Opus 5.5 | $0.00011 | $0.00363 |
| Sonnet 5.5 | $0.00005 | $0.00182 |
| Haiku 4.5 | $0.00003 | $0.00091 |
Grade A, and why
visualize 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 1mo 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.
What it actually says
Visualize
仅在交互视图能明显改善理解、比较或探索时使用本插件。静态结构能用普通 Markdown 或 Mermaid 说明时,不要生成内联可视化。
Workflow
- 使用
run_visualization_python读取当前工作区数据、计算、聚合和抽样。 - Python 代码必须从环境变量
COWORK_VISUALIZATION_DIR获取输出目录,并在其中写入一个 ASCII 小写连字符命名的.html文件。 - 文件只能是 HTML Fragment;不要包含
doctype、html、head或body。 - 调用
finalize_inline_visualization校验并发布该文件。 - 把工具返回的
directive原样单独放在最终回复中需要显示交互视图的位置。不要把它放进代码块或 Markdown 链接。 - 修改已有视图时重新生成文件并再次发布,不覆盖已发布版本。
Fragment contract
- 总大小必须小于 2 MB。大数据应先聚合、分箱、抽样、降低精度或删除未使用字段。
- 根元素必须有唯一
id,脚本必须通过该 ID 获取根节点。 - 使用字面 HTML 和真实换行;不要把
\\"或\\n留在最终文件中。 - 交互数据应内联。禁止
fetch、XHR、WebSocket、表单提交和运行时本地文件访问。 - 优先使用原生 HTML、SVG、Canvas、CSS 和内联 JavaScript。标准 SVG/XML 命名空间 URI 不属于网络资源,可以正常使用。
- 仅在确有必要时加载静态外部资源,并使用版本固定的 HTTPS URL。允许的 CDN 为
cdnjs.cloudflare.com、esm.sh、cdn.jsdelivr.net、unpkg.com、fonts.googleapis.com、fonts.gstatic.com和fonts.bunny.net;其他来源会在发布时被拒绝。 - 禁止
fetch、XHR、WebSocket、表单提交和运行时本地文件访问;外部资源加载或 CSP 拦截失败会直接显示错误,不能把空白图表当作成功结果。 - 使用
--background、--foreground、--muted-foreground、--border、--accent、--primary和--viz-series-*主题变量;不要硬编码浅色或深色背景。 - 填满可用对话宽度,默认按 736px 设计并支持 320px;避免固定外宽、横向滚动、
position: fixed和 viewport-height 布局。 - 使用原生
button、input、select、textarea,提供标签、键盘操作和 SVG<title>/<desc>。 - 每个选择、筛选或参数变化都必须真实更新视图。生成后检查所有查询元素存在且 JavaScript 无未定义变量。
State
需要在历史会话中恢复筛选或选择时:
const saved = await window.cowork.loadState();
// apply saved values before the first render
window.cowork.saveState({ selectedId, filters });
只保存展示状态。不要保存密码、文件内容、凭据或超过 64 KB 的数据。
Output
最终回复仅保留必要的简短说明和发布工具返回的指令,例如:
::cowork-inline-vis{file="customer-explorer-a1b2c3d4.html"}
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 62 lines · 27 tokens per session scan A eed13e754dec
visualize is a skill published in the GitHub repository chuancyzhang/deepseek-cowork (18 stars, last pushed today), licensed Apache-2.0. It adds 27 tokens to every session and 908 once invoked, about $0.0001 per session on Opus 5.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-30.
Other skills, from other repositories
webgl-holographic-foil
A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
html-ppt-taste-brutalist
16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
glance-canonical-layouts
Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).
accessibility
Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.