Function
Analyze the relationships between characters in a story, identify relationship types and characteristics, and describe their development process and changes.
Use Cases
- Deeply understand the character relationship network in a story.
- Analyze the role of character relationships in driving the plot.
- Provide a relationship perspective for character development.
- Provide relationship support for plot design.
Core Steps
- Identify Characters: Identify all major characters in the story.
- Analyze Relationships: Analyze the types and characteristics of relationships between characters.
- Classify and Organize: Classify and organize character relationships.
- Describe Characteristics: Describe the specific characteristics of character relationships.
- Analyze Changes: Analyze the development process and changes of character relationships.
Input Requirements
- A complete story text containing character relationship information.
- The character relationships to be analyzed can be specified (optional).
- Recommended text length: 500 characters or more.
Output Format
【人物关系分析】
一、关系网络概览
- 主要人物列表:[人物列表]
- 关系类型统计:[各类关系数量]
二、主要人物关系详解
【关系1:人物A ↔ 人物B】
- 关系类型:[亲情/友情/爱情/敌对/师徒/同事等]
- 关系特点:[关系的特点描述]
- 关系发展过程:[关系如何发展变化]
- 关系变化原因:[导致变化的原因]
- 关系对故事的影响:[如何影响情节发展]
【关系2:人物A ↔ 人物C】
...
三、人物关系图谱
- 中心人物:[谁是关系的中心]
- 次级人物:[次要人物关系]
- 边缘人物:[边缘人物关系]
四、人物关系变化轨迹
- 初始状态:[故事开始时的关系]
- 中间变化:[关系如何变化]
- 最终状态:[故事结束时的关系]
Constraints
- Strictly base the analysis on the provided story text; do not create content on your own.
- Ensure the accuracy and completeness of character relationship identification.
- The description of the character relationship development process should be logically clear and well-organized.
Examples
Please refer to {baseDir}/references/examples.md for detailed examples. This file contains character relationship analysis reports and analysis explanations for various story types (such as romance, workplace, family, etc.).
Detailed Documentation
Refer to the {baseDir}/references/ directory for more documentation:
guide.md- Complete character relationship analysis guideexamples.md- Analysis examples for more scenarios
Version History
| Version | Date | Changes |
|---|---|---|
| 2.1.0 | 2026-01-11 | Optimized the description field to make it more concise and compliant with imperative language conventions; changed the model to opus; optimized the descriptions of Function, Use Cases, Core Steps, Input Requirements, and Output Format to better comply with imperative language conventions; added Constraints, Examples, and Detailed Documentation sections. |
| 2.0.0 | 2026-01-11 | Refactored according to official specifications; added allowed-tools (Read) and model fields |
| 1.0.0 | 2026-01-10 | Initial version |