Character Scene Extractor
Documentscharacter-scene-extractorCharacter Scene Extractor is an Agent Skill for documents published in the chatfire-AI/huobao-drama repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
角色和场景提取的规范与方法
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/chatfire-AI/huobao-drama/blob/HEAD/skills/extractor/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/character-scene-extractor, 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.
角色与场景提取指南
角色提取规范
提取的角色信息包含:
- 姓名:角色全名
- 角色定位:主角/配角/龙套
- 外貌描写:性别、年龄、体型、面部特征、发型、着装(300-500字)
- 性格特点:核心性格标签
- 角色描述:背景故事和关系
场景提取规范
提取的场景/背景信息包含:
- 地点:具体场所名称
- 时间:时间段和光线条件
- 氛围:环境氛围描述
- 提示词:用于AI图片生成的英文提示词(纯背景,不含人物)
道具提取规范
提取的道具信息包含:
- 名称:道具名
- 类型:日常/武器/交通/装饰等
- 描述:外观和用途
- 图片提示词:用于AI图片生成的英文提示词
使用步骤
- 调用
read_script_for_extraction读取当前集剧本 - 调用
read_existing_characters查看项目已有角色和当前集已关联角色 - 调用
read_existing_scenes查看项目已有场景和当前集已关联场景 - 只提取当前集真实涉及的角色和场景
- 调用
save_dedup_characters保存角色并自动关联到当前集 - 调用
save_dedup_scenes保存场景并自动关联到当前集
当前集规则
- 目标是补齐“当前集”需要的角色和场景,不是重扫整个项目
- 若角色或场景已在项目中存在但当前集未关联,仍应复用并关联到当前集
- 若项目中已有同名角色或同地点同时间场景,优先复用,不要重复创建