Xpersona
C

Character Manager

CLAWHUB · Unverified

小说角色管理工具。创建、编辑、查询角色档案,支持角色关系网络、情感弧光、动机追踪。Use when: Architect 代理在 Phase 3 需要创建角色档案、管理角色关系、追踪角色成长轨迹。 Skill: Character Manager Owner: yuzhihui886 Summary: 小说角色管理工具。创建、编辑、查询角色档案,支持角色关系网络、情感弧光、动机追踪。Use when: Architect 代理在 Phase 3 需要创建角色档案、管理角色关系、追踪角色成长轨迹。 Tags: latest:1.0.4 Version history: v1.0.4 | 2026-04-01T05:39:39.854Z | user 修复:添加 requirements.txt 和 character_design.md,添加安全警告 v1.0.3 | 2026-04-01T05:26:07.769Z | user 代码质量验证 v1.0.2 | 2026-04-01T05:05:22.731Z | user Bug 修复 v1.0.1 | 2026-04-01T04:58:26.453Z | user 代码

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s171q47tfc9tb8mpczgympghws83jcja:character-manager
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-yuzhihui886-character-manager/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

44,197 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: character-manager
description: "小说角色管理工具。创建、编辑、查询角色档案,支持角色关系网络、情感弧光、动机追踪。Use when: Architect 代理在 Phase 3 需要创建角色档案、管理角色关系、追踪角色成长轨迹。"
---

# Character Manager - 角色管理工具

创建、编辑、查询角色档案的工具,支持角色关系网络、情感弧光、动机追踪。专为 AutoNovel Writer v5.0 设计,由 Architect 代理在 Phase 3 使用。

## 快速开始

```bash
cd ~/.openclaw/workspace/skills/character-manager

# 安装依赖
pip3 install -r requirements.txt --user

# 创建新角色
python3 scripts/manage_characters.py create --name "林风" --role "主角" --output characters/linfeng.yml

# 查看角色列表
python3 scripts/manage_characters.py list --project ./my-novel

# 查询角色关系
python3 scripts/manage_characters.py query --name "林风" --relation "盟友"

# 导出角色档案
python3 scripts/manage_characters.py export --project ./my-novel --output characters_export.md
```

## 安全说明

**重要**: `--project` 参数用于指定项目目录,工具会读取和写入该目录中的 YAML 文件。

**安全建议**:
- ✅ 仅指向小说项目目录(如 `./my-novel`)
- ✅ 使用相对路径或工作区内的绝对路径
- ❌ 不要指向系统目录(如 `/etc`, `/home`, `~/.ssh`)
- ❌ 不要指向包含敏感数据的目录

**示例**:
```bash
# ✅ 安全
python3 scripts/manage_characters.py list --project ./my-novel
python3 scripts/manage_characters.py export --project /home/user/workspace/novels/my-book

# ❌ 危险 - 不要这样做
python3 scripts/manage_characters.py list --project /etc
python3 scripts/manage_characters.py list --project ~/.ssh
```

## 命令行选项

| 选项 | 说明 | 必填 |
|------|------|------|
| `create` | 创建新角色档案 | - |
| `list` | 列出所有角色 | - |
| `query` | 查询角色信息 | - |
| `update` | 更新角色档案 | - |
| `delete` | 删除角色档案 | - |
| `export` | 导出角色档案 | - |
| `--name` | 角色名称 | create/query/update |
| `--role` | 角色类型(主角/配角/反派) | create |
| `--project` | 项目目录 | list/export |
| `--output` | 输出文件路径 | create/export |

## 角色档案结构

```yaml
# characters/linfeng.yml
name: 林风
role: 主角
age: 16
gender: 男

# 外貌特征
appearance:
  height: 175
  build: 清瘦
  features:
    - 剑眉星目
    - 气质出尘
  clothing_style: 朴素青衣

# 性格特征
personality:
  traits:
    - 坚韧不拔
    - 重情重义
    - 聪明机智
  flaws:
    - 有时冲动
    - 不愿示弱
  mbti: ENFP

# 背景故事
background:
  origin: 青石镇普通少年
  family: 父母早逝,与爷爷相依为命
  key_events:
    - chapter: 1
      event: 获得神秘玉佩传承
    - chapter: 10
      event: 加入青云宗

# 能力体系
abilities:
  cultivation:
    current_realm: 练气三层
    max_realm: 未知
    skills:
      - 基础剑法
      - 青木诀
  special:
    - 玉佩空间
    - 快速学习

# 人际关系
relationships:
  - name: 苏媚
    type: 女主角
    status: 暧昧
    description: 青云宗圣女,对林风有好感
  - name: 萧炎
    type: 竞争对手
    status: 亦敌亦友
    description: 同门师兄,天赋异禀

# 情感弧光
emotional_arc:
  start: 平凡少年,渴望力量
  midpoint: 发现身世之谜,陷入迷茫
  end: 接受使命,成长为强者

# 动机追踪
motivation:
  surface_goal: 成为强者,保护重要的人
  deep_goal: 寻找父母失踪真相
  internal_conflict: 力量与本心的平衡
```

## 支持的角色类型

| 类型 | 说明 | 示例 |
|------|------|------|
| **主角** | 故事核心人物 | 林风 |
| **女主角** | 感情线核心 | 苏媚 |
| **重要配角** | 推动剧情的关键配角 | 导师、盟友 |
| **配角** | 一般配角 | 同门、路人 |
| **反派** | 对立面角色 | 宿敌、BOSS |
| **中立** | 立场不明确的角色 | 商人、情报贩子 |

## 关系类型

| 类型 | 说明 |
|------|------|
| 盟友 | 站在主角一方的角色 |
| 敌人 | 对立面角色 |
| 竞争对手 | 亦敌亦友的关系 |
| 师徒 | 师傅/徒弟关系 |
| 亲人 | 父母、兄弟姐妹 |
| 暧昧 | 感情线未明确 |
| 恋人 | 确定的恋爱关系 |

## 使用场景 (V5 流水线)

| 阶段 | 代理 | 输入 | 输出 |
|------|------|-

_meta.json

{
  "ownerId": "kn7bdv1mf6fcp7w1y4b3tzghms81taa2",
  "slug": "character-manager",
  "version": "1.0.4",
  "publishedAt": 1775021979854
}

references/character_design.md

# 角色设计指南

基于 AutoNovel Writer v5.0 项目规划的角色设计最佳实践。

---

## 📖 角色设计原则

### 1. 角色弧光 (Character Arc)

每个主要角色都应该有清晰的成长轨迹:

```
初始状态 → 催化剂反应 → 适应期 → 中点转折 → 低谷期 → 领悟期 → 最终状态
```

### 2. 动机层次 (Motivation Layers)

| 层次 | 说明 | 示例 |
|------|------|------|
| **表面目标** | 角色声称想要的 | "我要成为最强者" |
| **深层目标** | 角色真正想要的 | "我要保护家人" |
| **内心冲突** | 阻碍角色的内在问题 | "力量与本心的平衡" |

### 3. 关系网络 (Relationship Web)

每个角色应该与其他角色有明确的关系:

```yaml
relationships:
  - name: 苏媚
    type: 女主角
    status: 暧昧
    description: 青云宗圣女,对林风有好感
    conflict: 身份差距
    arc: 陌生→相识→暧昧→恋人
```

---

## 🎭 角色类型模板

### 主角模板

```yaml
name: 林风
role: 主角
age: 16
gender: 男

# 核心特征
core_traits:
  - 坚韧不拔
  - 重情重义
  
# 致命弱点
fatal_flaw: 有时冲动

# 角色弧光
arc:
  start: 平凡少年,渴望力量
  midpoint: 发现身世之谜,陷入迷茫
  end: 接受使命,成长为强者

# 动机
motivation:
  surface_goal: 成为强者,保护重要的人
  deep_goal: 寻找父母失踪真相
  internal_conflict: 力量与本心的平衡
```

### 女主角模板

```yaml
name: 苏媚
role: 女主角
age: 17
gender: 女

# 独立目标(不依附于主角)
independent_goal: 成为宗门宗主

# 与主角的关系弧光
relationship_arc:
  - 阶段:初识
    态度:好奇
  - 阶段:相知
    态度:欣赏
  - 阶段:相爱
    态度:坚定

# 个人成长线
personal_arc: 圣女→宗主→道侣
```

### 反派模板

```yaml
name: 魂天帝
role: 反派
age: 未知
gender: 男

# 反派不是纯粹的恶
motivation:
  surface_goal: 统治世界
  deep_goal: 复活逝去的爱人
  justification: "为了她,我可以牺牲一切"

# 与主角的镜像关系
mirror_to_hero:
  - 相同点:都愿意为所爱的人牺牲
  - 不同点:主角选择守护,反派选择毁灭

# 悲剧性
tragedy: 曾经也是正义之士,因爱生恨
```

---

## 📊 角色一致性检查清单

### 创建角色时检查

- [ ] 角色有明确的表面目标和深层目标
- [ ] 角色有至少一个致命弱点
- [ ] 角色有清晰的成长弧光
- [ ] 角色与其他角色有明确关系
- [ ] 角色的行为符合其性格特征
- [ ] 角色有独立的动机(不依附他人)

### 更新角色时检查

- [ ] 新增事件与已有背景不冲突
- [ ] 角色成长符合弧光规划
- [ ] 关系变化有合理铺垫
- [ ] 动机变化有触发事件

---

## 🎯 常见角色设计错误

### ❌ 错误 1: 角色过于完美

```yaml
# 错误示例
traits:
  - 聪明
  - 勇敢
  - 善良
  - 帅气
  - 富有
# 没有弱点,角色不真实
```

```yaml
# 正确示例
traits:
  - 聪明(但有时过于自信)
  - 勇敢(但有时冲动)
  - 善良(但有时优柔寡断)
flaws:
  - 不愿示弱
  - 对敌人过于仁慈
```

### ❌ 错误 2: 角色弧光缺失

```yaml
# 错误示例
arc:
  start: 平凡少年
  end: 平凡少年  # 没有成长!
```

```yaml
# 正确示例
arc:
  start: 平凡少年,渴望力量
  midpoint: 发现身世之谜,陷入迷茫
  end: 接受使命,成长为强者
```

### ❌ 错误 3: 关系网络单薄

```yaml
# 错误示例
relationships:
  - name: 苏媚
    type: 女主角
    # 没有其他关系!
```

```yaml
# 正确示例
relationships:
  - name: 苏媚
    type: 女主角
    status: 暧昧
  - name: 萧炎
    type: 竞争对手
    status: 亦敌亦友
  - name: 药老
    type: 导师
    status: 师徒情深
```

---

## 📚 参考资源

- 《故事》- 罗伯特·麦基
- 《人物》- 罗伯特·麦基
- 《作家之旅》- 克里斯托弗·沃格勒
- 《 Save the Cat!》- Blake Snyder

---

**Version**: 1.0.0  
**基于**: AutoNovel Writer v5.0 项目规划

skill-card.md

## Description:

Character Manager helps agents create, edit, query, validate, and export novel character profiles with relationship networks, emotional arcs, and motivation tracking.

This skill is ready for commercial/non-commercial use.

## Publisher:

[yuzhihui886](https://clawhub.ai/user/yuzhihui886)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and writing agents use this skill during novel-planning workflows to create structured YAML character profiles, manage character relationships, track character growth, and export profiles for review.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The local CLI can recursively read YAML files from any directory supplied with --project.

Mitigation: Run it only against a dedicated novel workspace and avoid system or sensitive directories.

Risk: The CLI can overwrite or delete files at paths supplied with --output, especially when --force is used.

Mitigation: Review target paths before execution, avoid --force unless the file is confirmed, and keep backups for character files.

Risk: Dependencies are installed from requirements.txt and are not pinned to exact versions.

Mitigation: Prefer a virtual environment and review dependency versions before installation.

## Reference(s):

- [Character Manager on ClawHub](https://clawhub.ai/yuzhihui886/skills/character-manager)
- [Character Design Guide](references/character_design.md)

## Skill Output:

**Output Type(s):** [Guidance, Shell commands, Configuration, Files, Markdown]

**Output Format:** [Markdown guidance with inline shell commands, YAML character profiles, and optional Markdown exports]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Uses YAML character files and local filesystem paths supplied by the agent or user.]

## Skill Version(s):

1.0.4 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

characters/huntian.yml

name: 魂天帝
role: 反派
created_at: '2026-04-01T13:03:31.476465'
updated_at: '2026-04-01T13:03:31.476510'

Sponsored

Ads related to Character Manager and adjacent AI workflows.