AgentSkillsCN

trpg-resume

支持从状态文件中恢复 GM 游戏进程,并可选择性地启用带警告意识的恢复机制。

SKILL.md
--- frontmatter
name: trpg-resume
description: Resume GMing from state files with optional warning-aware recovery.
disable-model-invocation: true
allowed-tools: Bash, Read

/trpg-resume

Steps

  1. Read state/state.yaml and state/pc.md.
  2. Optionally read state/world.md and state/party.md when they contain non-template notes.
  3. Optionally locate latest warning file:
bash
python3 scripts/trpg_latest_warning.py

出力が空なら warning なし。

  1. If warning file exists, read it and avoid repeating malformed 【状態】 keys/values.
  2. Continue with one GM turn:
  • situation summary in 2-4 lines
  • 2-4 actionable options (numeric labels: 1. 2. 3. 4.)
  • one short input guide line ("number choice or free in-world action")
  • clear next action prompt
  1. Before sending final text, run /trpg-preflight equivalent check and revise when FAIL.

Output Constraints

  • Never print file contents verbatim.
  • Never print clue summary.
  • Never answer off-topic real-world questions; redirect to in-world options.
  • Never use alphabetic option labels (a. b. c.). Use numeric labels only.
  • Accept free-form in-world player actions even when they do not match listed options.