tapcanvas-generate-scene-references

tapcanvas-generate-scene-references is a skill for Claude Code from anymouschina/TapCanvas. It costs 117 tokens per session (2,896 once invoked), scanned A, original, MIT.

A lightweight coordinator for finding the scenes and characters in a chapter that need stable visual reference assets. It passes each item to the authoritative scene-card or character-card process and records the result on the project canvas.

In plain words
What is it for?
Use it to organise scene and character reference assets for a chapter. It helps compare existing canvas items, add missing nodes, and finalise the allowed canvas changes.
Why use it?
It avoids duplicating scene and character design rules and prevents text placeholders from being presented as generated images. It also checks existing project and canvas records before adding items.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to organise scene and character reference assets for a chapter. It helps compare existing canvas items, add missing nodes, and finalise the allowed canvas changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anymouschina/tapcanvas/tapcanvas-generate-scene-references
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 anymouschina/TapCanvas --skill tapcanvas-generate-scene-references
Clone the repo
git clone --depth 1 https://github.com/anymouschina/TapCanvas

Made for: Claude Code.

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 tapcanvas-generate-scene-references

README.md
[![agentmods](https://agentmods.dev/badge/skills/anymouschina/tapcanvas/tapcanvas-generate-scene-references/github.svg)](https://agentmods.dev/skills/anymouschina/tapcanvas/tapcanvas-generate-scene-references)
Your own site
<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.

agentmods 80×15 button for tapcanvas-generate-scene-references

Your own site · 80×15
<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>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,896 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.00117 $0.02896
Opus 5.5 $0.00047 $0.01158
Sonnet 5.5 $0.00023 $0.00579
Haiku 4.5 $0.00012 $0.00290

Measured 1mo ago against content hash e6319fd58d8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 2 executable files (test/build-fixture-fresh.mjs, test/build-fixture.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

apps/agents-cli/skills/tapcanvas-generate-scene-references/SKILL.md · 197 lines

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 只做五件事:

  1. 读取当前章节、项目和画布事实;
  2. 识别本章需要稳定视觉资产的 canonical 场景与角色;
  3. 用结构化身份和真实 ID 做差量对账;
  4. 把场景逐项交给 tapcanvas-scene-card,把人物及群体视觉参考逐项交给 tapcanvas-character-card;
  5. 逐项提交实际生图,保留真实节点与任务回执,核对完整资产清单。

场景空间设计、材质生态、去同质化、灯光设计与 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 身份卡。

Read the full file on GitHub · 197 lines

Files

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.

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. 1mo ago Changed · +6 lines · +6 tokens per session e6319fd58d8e
  2. 2mo ago Changed · -3 lines d63d42c42101
  3. 2mo ago First seen · 194 lines · 111 tokens per session scan A c73cbd881a94

Subscribe to this mod's changes

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.

Related

tapcanvas-generate-scene-references compared with skills from other repositories

tapcanvas-generate-scene-references next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tapcanvas-generate-scene-referencesanymouschina/TapCanvasSkill7388d agoMITA117Claude Code
dramakexixihhhh/ai-short-drama-skillSkill128yesterdayMITA279Claude Code, Codex
last30Dayschaitanyagiri/munder-difflinSkill10k2d agoMITA83Claude Code
thisWeekchaitanyagiri/munder-difflinSkill10k2d agoMITA77Claude Code
short-drama-storyboardzenstory-ai/drama-skillsSkill5.3k4d agoMITA102Codex
md-fetch-summarizechaitanyagiri/munder-difflinSkill10k2d agoMITA93Claude Code
social-postHao0321/claude-skill-social-postSkill9148d agoMITA119Codex