一键导入
encounter-manager
Resolves one encounter beat with strict state-update and append-only logging discipline.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Resolves one encounter beat with strict state-update and append-only logging discipline.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Manages durable campaign state, round progression, and session handoffs for a multiplayer chat RPG.
Creates a canonical character sheet and exports it into the shared campaign tree.
| name | encounter_manager |
| description | Resolves one encounter beat with strict state-update and append-only logging discipline. |
Own the active scene loop for one campaign beat.
This skill handles:
This skill does not handle:
Use shared campaign state, not skill-local state.
Required files:
workspace/state/campaigns/<campaign_id>/active/encounter_request.jsonworkspace/state/campaigns/<campaign_id>/active/raw_player_messages.mdworkspace/state/campaigns/<campaign_id>/active/optional_rolls.jsonworkspace/state/campaigns/<campaign_id>/active/scene.jsonworkspace/state/campaigns/<campaign_id>/active/normalized_actions.jsonworkspace/state/campaigns/<campaign_id>/logs/event-log.jsonlRead policy from workspace/rules/core-policy.md.
Every uncertain turn must follow:
STATE READROLLSTATE UPDATEEVENT LOG APPENDCHAT OUTPUTIf step 3 or step 4 fails, the beat is not resolved.
Each beat must identify:
Before normalization, classify each message as:
ooc_chatooc_commandic_actionOnly ic_action becomes a normalized encounter action.
Track:
beat_countbeat_capmust_escalate_atmust_resolve_byIf beat cap is exceeded, force a resolution or cliffhanger.
campaign_id is ambiguous, stop and ask.workspace/rules/core-policy.md.scripts/bootstrap_state.py
Initializes shared active encounter files.scripts/validate_state.py
Validates shared active encounter files.scripts/prepare_encounter.py
Normalizes actions and refreshes active scene state.scripts/resolve_encounter.py
Resolves one beat and appends event records.