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 anymouschina/TapCanvas --skill tapcanvas-generate-scene-referencesgit clone --depth 1 https://github.com/anymouschina/TapCanvasWrote 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/anymouschina/tapcanvas/tapcanvas-generate-scene-references)<a href="https://agentmods.dev/skills/anymouschina/tapcanvas/tapcanvas-generate-scene-references"><img src="https://agentmods.dev/badge/skills/anymouschina/tapcanvas/tapcanvas-generate-scene-references/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/anymouschina/tapcanvas/tapcanvas-generate-scene-references"><img src="https://agentmods.dev/badge/skills/anymouschina/tapcanvas/tapcanvas-generate-scene-references.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.00117 | $0.02896 |
| Opus 5.5 | $0.00047 | $0.01158 |
| Sonnet 5.5 | $0.00023 | $0.00579 |
| Haiku 4.5 | $0.00012 | $0.00290 |
Grade A, and why
tapcanvas-generate-scene-references 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.
How it starts
The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TapCanvas Generate Scene References
单一职责
本 Skill 只做五件事:
- 读取当前章节、项目和画布事实;
- 识别本章需要稳定视觉资产的 canonical 场景与角色;
- 用结构化身份和真实 ID 做差量对账;
- 把场景逐项交给
tapcanvas-scene-card,把人物及群体视觉参考逐项交给tapcanvas-character-card; - 逐项提交实际生图,保留真实节点与任务回执,核对完整资产清单。
场景空间设计、材质生态、去同质化、灯光设计与 prompt 只来自 tapcanvas-scene-card;角色与群演视觉设计、资产投入判断、身份板、状态派生与 prompt 只来自 tapcanvas-character-card。本 Skill 不得修改两者编译结果,只补 sourceNodeId、chapterId、chapterTitle、creationStage 和画布布局字段。
输出工具合同
通过 tapcanvas-api 的当前工具目录发现并读取 schema,使用 tapcanvas_image_generate_to_canvas 提交实际图片。不得要求已退役的 add_node / finalize,不能把创建占位节点当作图片交付。
由 Agent 根据章节建立本轮资产清单与真实复用证据,每完成一个独立资产的设计即可提交,不必等其余提示词全部写完。互不依赖的资产可同轮并发;有视觉依赖的资产等待前置真实图片就绪。单张受理只覆盖该项,继续处理剩余清单。已受理项用原 taskId 对账,不重复生成;已有成功资产保留。用户明确只要占位或提示词时才只落节点。
结束前核对清单每项的复用证据、受理回执或未执行原因。提交完成与图片完成分别报告,已受理的媒体不在主对话中反复轮询。
1. 读取真实上下文
需要读取用户真实项目、画布、节点或素材时,只通过 tapcanvas-api。至少取得:
sourceTextNodeId、chapterId、章节标题和全文/视频脚本;- 当前画布节点的
id/kind/referenceType/roleName/ensembleTitle/characterRoleNames/sceneName/characterAssetRole/sceneAssetRole/stateKey/stateVersionId/status; - 可复用素材的 node/material/version ID 与确认状态;
- 当前 project style lock;
- 当前启用图片模型、规格和账号偏好。
禁止从 label、prompt、URL、节点位置、连线或旧 productionLayer 猜角色/场景身份。
2. 识别本章资产清单
由 agent 直接理解章节语义,列出:
- 场景清单:每个需要跨镜复用空间身份的 canonical setting;同一地点只有在空间状态或光相需要独立复用时才新增 variant。
- 人物与群体清单:读取本轮已给定人物、群体组成、出镜用途与既有身份来源,交
tapcanvas-character-card判断单人卡、群体选角参考、证据帧或状态版本的资产表达;没有稳定视觉复用需求的背景人群不强制建单体角色卡。用户明确要群演参考或冻结合同要求群体真实图时,不因匿名而漏项。
不得使用关键词表、正则、固定数量、字数档位、主角/配角枚举或 top-N 截断做语义选择。工具单批上限只允许拆批,不得丢弃清单项。
3. 结构化差量对账
当前画布已覆盖的唯一判据:
- 人物:
referenceType=character、精确roleName、正确characterAssetRole,并有 ready/approved 的 canonical node/material/version ID; - 场景:
referenceType=scene、精确sceneName、正确sceneAssetRole,并有 ready/approved 的 canonical node/material/version ID。 - 群体:
referenceType=ensemble、精确ensembleTitle、已核对的实际成员/组成及真实就绪 node/material/version ID;characterRoleNames仅列真实有名成员。群像不替代任何单人的 canonical 身份卡。
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 Changed · +6 lines · +6 tokens per session e6319fd58d8e
- 2mo ago Changed · -3 lines d63d42c42101
- 2mo ago First seen · 194 lines · 111 tokens per session scan A c73cbd881a94
tapcanvas-generate-scene-references is a skill published in the GitHub repository anymouschina/TapCanvas (738 stars, last pushed 8d ago), licensed MIT. It adds 117 tokens to every session and 2,896 once invoked, about $0.0005 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-09-21.
tapcanvas-generate-scene-references compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tapcanvas-generate-scene-referencesanymouschina/TapCanvas | Skill | 738 | 8d ago | MIT | A | 117 | Claude Code |
| dramakexixihhhh/ai-short-drama-skill | Skill | 128 | yesterday | MIT | A | 279 | Claude Code, Codex |
| last30Dayschaitanyagiri/munder-difflin | Skill | 10k | 2d ago | MIT | A | 83 | Claude Code |
| thisWeekchaitanyagiri/munder-difflin | Skill | 10k | 2d ago | MIT | A | 77 | Claude Code |
| short-drama-storyboardzenstory-ai/drama-skills | Skill | 5.3k | 4d ago | MIT | A | 102 | Codex |
| md-fetch-summarizechaitanyagiri/munder-difflin | Skill | 10k | 2d ago | MIT | A | 93 | Claude Code |
| social-postHao0321/claude-skill-social-post | Skill | 914 | 8d ago | MIT | A | 119 | Codex |