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 SparkElf/deepseek-harness-plus --skill artifact-app-authoringgit clone --depth 1 https://github.com/SparkElf/deepseek-harness-plusWrote 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/sparkelf/deepseek-harness-plus/artifact-app-authoring)<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/artifact-app-authoring"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/artifact-app-authoring/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/sparkelf/deepseek-harness-plus/artifact-app-authoring"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/artifact-app-authoring.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.00064 | $0.02610 |
| Opus 5.5 | $0.00026 | $0.01044 |
| Sonnet 5.5 | $0.00013 | $0.00522 |
| Haiku 4.5 | $0.00006 | $0.00261 |
Grade A, and why
artifact-app-authoring 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 4d 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 — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
驾驶舱(Artifact App)制作
用户要把一个数据资源做成驾驶舱、大屏或看板时用本技能。你只写「内容区」:模板负责布局、视觉和运行时,插件 host 负责注入 ECharts、SDK、CSP 和 token。
一、什么时候用
- 根据资源做驾驶舱 / 大屏 / 看板 / 经营盘
- 把这个资源做成可视化
- 更新这个驾驶舱 / 加一个图表 / 改一个指标
- 用某个模板做一个驾驶舱
不适用:纯问数取数(用 dataops-query);只是要一张静态图(用图表工具)。
二、硬规则
- 先选模板,不要从零写 HTML。 先
artifact_template_list,按业务场景选一个;再artifact_template_get拿骨架和data-slot契约。 - 只填
data-slot。 不改window.artifactApp运行时,不删 required markers,不改模板的布局与 CSS 变量。 - HTML 写到固定目录:
/workspace/artifact-apps/<slug>.html,文件头必须有<meta name="artifact-app" content="cockpit">, 建议同时写<meta name="artifact-app-template" content="<templateId>@<version>">。 - 取数统一走运行时:
- 表:
artifactApp.query({ sources, sql, maxRows }),sources必须是[{ resourceRef, alias }](不是字符串数组); - 已登记 API:
artifactApp.callApi({ operationRef, args }); - 自定义请求:
artifactApp.fetch('/api/...')。 HTML 里不写 token,不手写Authorization。
- 表:
- 轮询统一用
artifactApp.every(intervalMs, fn),不要自己写setInterval/setTimeout。 - 图表用
artifactApp.chart(el, option);使用全局echarts,不要引 CDN。 - 状态用
artifactApp.ui.loading/empty/error/noPermission;403 用artifactApp.requestAccess(resourceRef)。 - 格式化用
artifactApp.format.number/percent/currency/date;配置从artifactApp.config读;启动时调artifactApp.ready()。 - 发布必须用户明确确认。 先让用户看到预览,问「确认发布吗?」;只有用户明确说「发布 / 确认」后才调用
cockpit_publish。
二·补、组件参考库(component_search / component_read)
- 先判断模板能否覆盖。 如果模板里已经把这个图表、地图或交互控件实现得很好,直接在模板实现上改数据/文案/样式,没有必要再查组件库。
- 只有当「模板中没有该组件、或模板里的实现达不到需求,且你自己不确定怎么写」时,才调用
component_search(按 tags/能力/关键词)检索,再用component_read读参考实现。 - 还没选模板时不要查组件库——先
artifact_template_list看模板库。 - 组件是参考代码,不是可实例化模板:不要把组件 id 当
template_id传给cockpit_publish/cockpit_preview。 - 改造模板已有组件时,优先在模板实现上改,不要整段替换。
三、禁止
- 直接
fetch('/api/...')、手写Authorization、读取或打印 token。 - 用
setInterval/setTimeout做轮询。 - 访问
window.parent、localStorage、sessionStorage、document.cookie、indexedDB。 - 外链
script/img/font/ CDN /@import url(http...)。 - 把 token、内网 IP、数据库名写进 HTML。
- 删除或改写
window.artifactApp、data-slot标记、模板的 required markers。 - 写
/workspace/artifact-apps/之外的文件。 - 调 auth、用户 / 角色 / 部门管理、工作区生命周期接口。
- 未经用户确认调
cockpit_publish/cockpit_delete/cockpit_grant。
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.
- 4d ago First seen · 166 lines · 64 tokens per session scan A 56a9af010bd0
artifact-app-authoring is a skill published in the GitHub repository SparkElf/deepseek-harness-plus (1 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 2,610 once invoked, about $0.0003 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-11-26.
artifact-app-authoring compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| artifact-app-authoringSparkElf/deepseek-harness-plus | Skill | 1 | today | MIT | A | 64 | Claude Code, Codex |
| dsh-tui-guideccch1mneyyy/dsh-TUI | Skill | 8.4k | today | MIT | A | 41 | Claude Code, Codex |
| visual-acceptancehuiliyi37/Tianshu-harness | Skill | 1.4k | 3d ago | Apache-2.0 | A | 89 | Claude Code, Codex |
| design-prototypehuiliyi37/Tianshu-harness | Skill | 1.4k | 3d ago | Apache-2.0 | A | 28 | Claude Code |
| frontend-designitmisx/deepx-code | Skill | 394 | 13d ago | MIT | A | 88 | Claude Code, Codex |
| accessibility-reviewsandbaseai/sandbase-skills | Skill | 213 | 7d ago | Apache-2.0 | A | 37 | Claude Code |
| video-template-frame-glitch-titlesandbaseai/sandbase-skills | Skill | 213 | 7d ago | Apache-2.0 | A | 46 | Claude Code |