Agent SkillsZJU-REAL/Easel › skill-profile-manager

skill-profile-manager

GitHub

管理账号画像全生命周期,支持创建、编辑六维字段、记忆更新、切换、导出及对比功能。通过解析用户意图路由至对应操作,维护画像数据一致性。

skills/openclaw/skill-profile-manager/SKILL.md ZJU-REAL/Easel

Trigger Scenarios

新建/编辑/更新/切换/导出/对比画像 写进画像记忆

Install

npx skills add ZJU-REAL/Easel --skill skill-profile-manager -g -y
More Options

Non-standard path

npx skills add https://github.com/ZJU-REAL/Easel/tree/main/skills/openclaw/skill-profile-manager -g -y

Use without installing

npx skills use ZJU-REAL/Easel@skill-profile-manager

指定 Agent (Claude Code)

npx skills add ZJU-REAL/Easel --skill skill-profile-manager -a claude-code -g -y

安装 repo 全部 skill

npx skills add ZJU-REAL/Easel --all -g -y

预览 repo 内 skill

npx skills add ZJU-REAL/Easel --list

SKILL.md

Frontmatter
{
    "name": "skill-profile-manager",
    "layer": "general",
    "description": "管理账号画像全生命周期:创建空白画像、编辑六维字段、更新记忆、切换、导出和对比。 当用户说“新建\/编辑\/更新\/切换\/导出\/对比画像、写进画像记忆”时使用。 首次从社媒数据生成画像用 skill-profile-builder;只提炼语言风格用 skill-voice-builder;品牌首次入驻引导用 skill-brand-onboarding。\n"
}

账号画像管理器

创建、编辑、记忆更新、导出、对比 — 画像的全生命周期管理

输入

字段 必填 说明
action 操作类型:create / edit / memory-update / export / diff / list / switch
profile_name 视操作 画像名称(create 时必填,list 时不需要)
field 要编辑的文件:identity / style / audience / platforms / preferences / memory
content 要写入的内容(edit / memory-update 时使用)
profile_b 第二个画像名称(diff 操作时必填)
data_source 记忆更新的数据来源:用户口述 / 数据报告 / 帖子反馈

输出

create 操作

输出新画像目录结构确认:

## 画像创建完成

**画像名称**: {profile_name}
**目录**: profiles/{profile_name}/

### 已创建文件
| 文件 | 状态 | 说明 |
|------|------|------|
| identity.md | ✅ 已填写 | 定位、差异化、内容方向 |
| style.md | ✅ 已填写 | 语气、开头结构、视觉风格 |
| audience.md | ✅ 已填写 | 人口统计、兴趣、痛点 |
| platforms.md | ⬜ 待补充 | 平台账号、内容格式 |
| preferences.md | ⬜ 待补充 | 合规规则、红线 |
| memory.md | ⬜ 空 | 将随使用积累 |

diff 操作

输出两个画像的逐文件对比表:

## 画像对比:{profile_a} vs {profile_b}

| 维度 | {profile_a} | {profile_b} | 差异摘要 |
|------|-------------|-------------|----------|
| 定位 | ... | ... | ... |
| 风格 | ... | ... | ... |
| 受众 | ... | ... | ... |
| 平台 | ... | ... | ... |
| 偏好 | ... | ... | ... |

list 操作

## 当前画像列表

| 画像 | 完整度 | 最后更新 | 记忆条数 |
|------|--------|----------|----------|
| 科技数码达人 | 85% | 2026-07-15 | 12 |
| 搞笑整活博主 | 60% | 2026-07-10 | 3 |

执行步骤

操作路由

  1. 解析用户意图:从用户输入识别 action 类型
    • "创建画像" / "新建账号" → create
    • "编辑画像" / "改一下画像" → edit
    • "写进画像" / "画像记忆" / "记住这个" → memory-update
    • "导出画像" → export
    • "画像对比" / "两个画像比较" → diff
    • "有哪些画像" / "画像列表" → list
    • "切换画像" / "用另一个画像" → switch

create 流程

  1. 检查画像是否已存在:读取 profiles/ 目录,确认同名画像不存在
  2. 复制模板:将 profiles/_template/ 复制为 profiles/{profile_name}/
  3. 引导填写核心信息:依次向用户提问,收集以下信息
    • identity.md:你是谁?做什么内容?和别人有什么不同?
    • style.md:你的语言风格是什么?正式/轻松/搞笑?常用口头禅?
    • audience.md:你的目标受众是谁?年龄、兴趣、痛点?
  4. 写入文件:将收集到的信息按模板格式写入对应文件
  5. 提示后续:告知用户可后续补充 platforms.md 和 preferences.md

edit 流程

  1. 定位文件:根据 field 参数确定要编辑的文件路径 profiles/{profile_name}/{field}.md
  2. 读取当前内容:展示该文件的当前内容给用户确认
  3. 应用修改:根据用户指示修改指定字段,保持文件其他部分不变
  4. 确认变更:输出修改前后的 diff 摘要

memory-update 流程

  1. 读取现有记忆:读取 profiles/{profile_name}/memory.md
  2. 格式化新记忆条目:按以下格式追加
    ### {日期} — {来源标签}
    - 发现:{具体发现}
    - 行动建议:{可执行的建议}
    
  3. 去重检查:与已有记忆条目比对,避免重复记录
  4. 追加写入:将新条目追加到 memory.md 末尾

export 流程

  1. 汇总画像:读取画像目录下所有 .md 文件
  2. 生成摘要卡片:合并为一份结构化的画像摘要(Markdown 格式)
  3. 输出到 outputs/:保存为 outputs/<画像名-导出日期>/profile-export.md

diff 流程

  1. 读取两个画像:分别读取 profiles/{profile_a}/profiles/{profile_b}/ 下所有文件
  2. 逐维度对比:按 identity / style / audience / platforms / preferences 五个维度对比
  3. 生成差异表:输出结构化对比表,高亮关键差异点

list 流程

  1. 扫描 profiles/ 目录:列出所有子目录(排除 _template
  2. 计算完整度:检查每个画像的 6 个文件是否有实质内容(非空非模板)
  3. 输出列表:按完整度排序输出

Profile 感知

这个 SKILL 本身就是 Profile 的管理工具:

  • 有 Profile 上下文时:默认操作当前激活的画像,edit / memory-update 不需要再指定 profile_name
  • 无 Profile 上下文时:list 操作展示所有可用画像,其他操作必须显式指定 profile_name
  • 首次使用时:如果 profiles/ 目录下没有任何画像(只有 _template),自动进入 create 流程

自研溯源与参考项目见同目录 EASEL-META.md

Version History

  • 69c5928 Current 2026-09-08 17:38

Same Skill Collection

skills/openclaw/ai-image-gen/SKILL.md
skills/openclaw/ai-music/SKILL.md
skills/openclaw/ai-video-gen/SKILL.md
skills/openclaw/asset-manager/SKILL.md
skills/openclaw/audio-denoise/SKILL.md
skills/openclaw/audio-editing/SKILL.md
skills/openclaw/audio-mix/SKILL.md
skills/openclaw/audio-visualizer/SKILL.md
skills/openclaw/auto-short-video/SKILL.md
skills/openclaw/auto-subtitle/SKILL.md
skills/openclaw/batch-process/SKILL.md
skills/openclaw/beat-sync-video/SKILL.md
skills/openclaw/card-design/SKILL.md
skills/openclaw/card-quote/SKILL.md
skills/openclaw/card-xiaohongshu/SKILL.md
skills/openclaw/chart-visualization/SKILL.md
skills/openclaw/clipify/SKILL.md
skills/openclaw/comparison-card/SKILL.md
skills/openclaw/copywriting/SKILL.md
skills/openclaw/data-report/SKILL.md
skills/openclaw/doc-convert/SKILL.md
skills/openclaw/ecom-details-image/SKILL.md
skills/openclaw/green-screen/SKILL.md
skills/openclaw/image-editing/SKILL.md
skills/openclaw/image-enhance/SKILL.md
skills/openclaw/infographic/SKILL.md
skills/openclaw/meme-generator/SKILL.md
skills/openclaw/mindmap/SKILL.md
skills/openclaw/multi-voice-dubbing/SKILL.md
skills/openclaw/novel-writer/SKILL.md
skills/openclaw/paper-explainer/SKILL.md
skills/openclaw/post-formatter/SKILL.md
skills/openclaw/poster-hero/SKILL.md
skills/openclaw/remove-bg/SKILL.md
skills/openclaw/roi-calculator/SKILL.md
skills/openclaw/short-drama/SKILL.md
skills/openclaw/skill-account-diagnosis/SKILL.md
skills/openclaw/skill-algorithm-updates/SKILL.md
skills/openclaw/skill-article-outline/SKILL.md
skills/openclaw/skill-audience-profiler/SKILL.md
skills/openclaw/skill-bilibili-upload/SKILL.md
skills/openclaw/skill-brand-onboarding/SKILL.md
skills/openclaw/skill-campaign-planner/SKILL.md
skills/openclaw/skill-carousel-planner/SKILL.md
skills/openclaw/skill-channels-upload/SKILL.md
skills/openclaw/skill-collab-proposal/SKILL.md
skills/openclaw/skill-comment-insights/SKILL.md
skills/openclaw/skill-community-ops/SKILL.md
skills/openclaw/skill-competitor-analysis/SKILL.md
skills/openclaw/skill-content-calendar-log/SKILL.md

Metadata

Files
0
Version
dbbe350
Hash
69227dbb
Indexed
2026-09-08 17:38

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-14 02:00
浙ICP备14020137号-1 $Гость$