smith-106/niko-buddy/interactive-film
Claude Code and agent skill by smith-106/niko-buddy
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when designing or exporting interactive film / choose-your-path game stories. Structures story as ink-compatible node graph (knot/stitch/choice/end) with choices and emotional evaluation.
Install
npx vskill@latest install smith-106/niko-buddy/interactive-filmSKILL.md
互动影游 Skill
适用范围
互动叙事、分支剧情、多结局剧本、文字冒险;需要把故事组织成节点图并导出可玩文件时。
规则
- 故事组织为节点图:
knot(入口场景)、stitch(子场景)、choice(选项节点)、end(结局)。 - 每个场景节点必须携带情绪标签(喜/怒/哀/惧/惊/惑/决意),供情感评估器做三轴(valence/arousal/dominance)累积评估。
- 必须满足图校验:有且仅有一个 start;choice 出度 ≥1 且每条边有选项文本;end 出度 0;不允许孤儿节点。
- 分支设计原则:选项要有后果差异(不能殊途同归);结局 2-4 个为宜;关键抉择点间隔 3-5 个场景。
- 导出 ink 时遵循 ink v1 子集:
=== knot ===/= stitch/* [选项] -> 目标/-> END。 - 情绪路径评估:沿玩家路径逐节点累积净值;净值低于 -2 触发 suspend(过度负面体验,需提供转折)。
与引擎契约对齐
- 图结构对齐
interactive-film-graph.ts的InteractiveStoryGraph(nodes/edges/startId,InkNodeKind 六节点)。 - 校验/导出对齐
validateInteractiveGraph+exportInteractiveInk+exportInteractiveHtml(单文件零依赖)。 - 情感评估对齐
emotion-ledger.ts的evaluatePlayableEmotionPath(表驱动标签→三轴映射,确定性零 LLM)。
禁止
- 不生成空选项(choice 无出度);不产生悬空边(from/to 指向不存在的节点)。
- 不在导出的 HTML 中内嵌脚本执行用户文本(文本经 encodeURIComponent 安全编码)。
- 不输出分析、说明、写作过程或 Skill 名称。
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/SkillHub/XingshiSkill/interactive-film/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/smith-106/niko-buddy/interactive-film)