artifact-app-authoring

artifact-app-authoring is a skill for Claude Code, Codex from SparkElf/deepseek-harness-plus. It costs 64 tokens per session (2,610 once invoked), scanned A, original, MIT.

A guide for turning a saved data resource into a dashboard, large display, or business board. It uses a template and fills defined content areas while the host supplies data access, charts, permissions, and runtime services.

In plain words
What is it for?
Use it to create or update a dashboard, add charts or metrics, query registered data resources, call registered APIs, show loading or error states, and request access when a user lacks permission.
Why use it?
It avoids rebuilding layout and data-access plumbing from scratch and keeps credentials out of the page. It also requires user approval before a dashboard is published.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or update a dashboard, add charts or metrics, query registered data resources, call registered APIs, show loading or error states, and request access when a user lacks permission.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sparkelf/deepseek-harness-plus/artifact-app-authoring
Install

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.

Any agent
npx skills add SparkElf/deepseek-harness-plus --skill artifact-app-authoring
Clone the repo
git clone --depth 1 https://github.com/SparkElf/deepseek-harness-plus

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for artifact-app-authoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/artifact-app-authoring/github.svg)](https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/artifact-app-authoring)
Your own site
<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.

agentmods 80×15 button for artifact-app-authoring

Your own site · 80×15
<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>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,610 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 4d ago against content hash 56a9af010bd0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

downstream/packages/plugins/artifact-app/skills/artifact-app-authoring/SKILL.md · 166 lines

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);只是要一张静态图(用图表工具)。

二、硬规则

  1. 先选模板,不要从零写 HTML。 先 artifact_template_list,按业务场景选一个;再 artifact_template_get 拿骨架和 data-slot 契约。
  2. 只填 data-slot。 不改 window.artifactApp 运行时,不删 required markers,不改模板的布局与 CSS 变量。
  3. HTML 写到固定目录:/workspace/artifact-apps/<slug>.html,文件头必须有 <meta name="artifact-app" content="cockpit">, 建议同时写 <meta name="artifact-app-template" content="<templateId>@<version>">。
  4. 取数统一走运行时:
    • 表:artifactApp.query({ sources, sql, maxRows }),sources 必须是 [{ resourceRef, alias }](不是字符串数组);
    • 已登记 API:artifactApp.callApi({ operationRef, args });
    • 自定义请求:artifactApp.fetch('/api/...')。 HTML 里不写 token,不手写 Authorization。
  5. 轮询统一用 artifactApp.every(intervalMs, fn),不要自己写 setInterval / setTimeout。
  6. 图表用 artifactApp.chart(el, option);使用全局 echarts,不要引 CDN。
  7. 状态用 artifactApp.ui.loading/empty/error/noPermission;403 用 artifactApp.requestAccess(resourceRef)。
  8. 格式化用 artifactApp.format.number/percent/currency/date;配置从 artifactApp.config 读;启动时调 artifactApp.ready()。
  9. 发布必须用户明确确认。 先让用户看到预览,问「确认发布吗?」;只有用户明确说「发布 / 确认」后才调用 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。

Read the full file on GitHub · 166 lines

Changes

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.

  1. 4d ago First seen · 166 lines · 64 tokens per session scan A 56a9af010bd0

Subscribe to this mod's changes

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.

Related

artifact-app-authoring compared with skills from other repositories

artifact-app-authoring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
artifact-app-authoringSparkElf/deepseek-harness-plusSkill1todayMITA64Claude Code, Codex
dsh-tui-guideccch1mneyyy/dsh-TUISkill8.4ktodayMITA41Claude Code, Codex
visual-acceptancehuiliyi37/Tianshu-harnessSkill1.4k3d agoApache-2.0A89Claude Code, Codex
design-prototypehuiliyi37/Tianshu-harnessSkill1.4k3d agoApache-2.0A28Claude Code
frontend-designitmisx/deepx-codeSkill39413d agoMITA88Claude Code, Codex
accessibility-reviewsandbaseai/sandbase-skillsSkill2137d agoApache-2.0A37Claude Code
video-template-frame-glitch-titlesandbaseai/sandbase-skillsSkill2137d agoApache-2.0A46Claude Code