Individual skill
tavern2agent
用户提供 SillyTavern 角色卡(PNG/JSON)并要求转换、迁移、移植到 pi coding agent 时使用;覆盖纯 prompt、世界书、MVU、骰子、战斗、好感度、经济、隐藏信息、多 agent 场景。
SKILL.md
Source commit 601b1c3f447ae5472e7bc5b59fc17771129293c1
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 119
- Repository last updated
- Jul 11, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
.gitignoreasset · 29 bytesLICENSEasset · 1,065 bytesREADME.mddoc · 5,689 bytesREADME_ZH.mddoc · 4,893 bytesSKILL.mdcore · 11,825 bytesSKILL.mdcore · 11,825 bytesSKILL.mdcore · 11,825 bytesdocs/developing-cards.mddoc · 2,639 bytesdocs/epistemic-audit-2026-07.mddoc · 12,047 bytesdocs/tooling.mddoc · 1,713 bytesreferences/card-ir.mddoc · 4,034 bytesreferences/codeact.mddoc · 3,280 bytesreferences/data-layer.mddoc · 4,517 bytesreferences/decision-tree.mddoc · 4,799 bytesreferences/design-principles.mddoc · 4,241 bytesreferences/engineering-discipline.mddoc · 6,556 bytesreferences/event-packs.mddoc · 5,141 bytesreferences/evented-runtime.mddoc · 8,481 bytesreferences/multi-agent-architecture.mddoc · 11,682 bytesreferences/mvu-mapping.mddoc · 9,569 bytesreferences/pi-integration.mddoc · 7,297 bytesreferences/prompt-composition.mddoc · 10,119 bytesreferences/script-analysis.mddoc · 2,499 bytesreferences/setup.mddoc · 2,534 bytesreferences/state-schema-migrations.mddoc · 2,771 bytesreferences/storytelling.mddoc · 1,314 bytesreferences/tool-abstraction.mddoc · 21,580 bytesreferences/ts-engine.mddoc · 8,816 bytesreferences/two-pass-rendering.mddoc · 11,692 bytesreferences/validation.mddoc · 13,485 bytesscripts/extract_card.pyruns · 9,752 bytesscripts/get_entry.pyruns · 2,087 bytesscripts/list_entries.pyruns · 3,242 bytesscripts/start.shruns · 3,784 bytes
Read excerpt
# Tavern → Agent
把 SillyTavern 卡编译成 pi-native 互动叙事 runtime。还原作者想做的游戏:prompt 描述世界,领域事件改变世界,engine/reducer 维护正确性,session 保存存档。不复刻 ST 宏、COT、JSON Patch、HTML 状态栏,不把状态栏字段搬进 `patch_state`。
## 开工
1. 解包卡片,确认输出目录。目录存在时先问:覆盖、增量、另建?
2. 先读 `references/evented-runtime.md`、`references/card-ir.md`、`references/event-packs.md`、`references/design-principles.md`。
3. 全量审计 `data` 字段、世界书、TH scripts、regex scripts、开场白。
4. 先输出或草拟 `world-data/card-ir.json`;不要直接从原卡文本生成代码。
5. 从 IR 形成 Runtime Plan:archetype、event packs、state roots、visibility policy、fact sources、tool surface、subagent roles、prompt modules、validation plan。
6. 写代码前先给用户看 Runtime Plan;复杂卡还要给 state schema、event catalog、reducer/API 清单、事实源边界和子代理边界。
增量更新:先看 `git log -20` + `git diff`。只改本次需求相关文件;不碰 `sessions/`、`runtime/`、`.pi/agent/`。