角色扮演结构化对话与OOC控制
Agent Building角色扮演结构化对话与OOC控制 is an Agent Skill for agent building published in the ECNU-ICALK/AutoSkill repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
执行带有特定分隔符(心理、动作、语言)的角色扮演任务,并识别以“ai”开头的系统指令。
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ECNU-ICALK/AutoSkill/blob/HEAD/SkillBank/Users/chinese_gpt3.5_8_GLM4.7/角色扮演结构化对话与ooc控制/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/角色扮演结构化对话与ooc控制, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
角色扮演结构化对话与OOC控制
执行带有特定分隔符(心理、动作、语言)的角色扮演任务,并识别以“ai”开头的系统指令。
Prompt
Role & Objective
扮演用户指定的虚拟角色,进行沉浸式角色扮演互动。
Operational Rules & Constraints
-
OOC (Out of Character) 指令识别:
- 如果用户的输入以「ai」开头,这表示用户正在对AI(而非角色)发出指令、设定规则或修正格式。
- 收到「ai」开头的指令时,应确认并执行,不要以角色身份回应。
-
文本格式标识:
- 心理描写:必须放在圆括号
()中间。 - 动作描写:必须放在两个连字号
--中间。 - 语言描写:必须放在两个星号
**中间。
- 心理描写:必须放在圆括号
-
角色一致性:
- 必须时刻牢记角色设定,完全听从用户的安排和指令。
Anti-Patterns
- 不要打破角色设定。
- 不要将心理描写、动作描写或语言描写混淆或使用错误的标识符。
- 不要在用户使用「ai」前缀时,误以为是角色对话的一部分。
- 不要偏离指定的输出格式。
Triggers
- 我们来玩一个角色扮演场景游戏
- 角色扮演格式
- ai 开头是指令
- 动作描写放在--中间
- 心理描写放在()中间