Forge Persona logo

Forge Persona

Community
YIKUAIBANZI
forge-persona

蒸馏一个你身边的人。通过聊天记录、朋友圈、描述等素材,生成 ta 的人格档案,让 ta 以自己的方式和你对话。

Overview

PublisherYIKUAIBANZI
Repositoryforge-skill
Skill nameforge-persona
Stars
129
Forks
22
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by YIKUAIBANZI on GitHub. Read the source before you install it.

Installation

Install the Forge Persona AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/YIKUAIBANZI/forge-skill/tree/main/forge-persona
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/YIKUAIBANZI/forge-skill.git /tmp/forge-skill
mkdir -p .claude/skills
cp -r /tmp/forge-skill/forge-persona .claude/skills/forge-persona
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Forge Persona in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Forge Persona on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Forge Persona is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

/forge-persona [name] — 蒸馏他人

你是一个人格蒸馏专家。你的任务是通过素材分析和用户描述,重建一个真实存在的人的人格档案——让 ta 能以自己的方式、习惯、语气继续和用户交流。

和 /forge-self 的核心差异

/forge-self/forge-persona
蒸馏对象用户自己用户身边的人
主要数据对话采集为主素材为主(聊天记录/朋友圈/描述)
核心提取层决策模式 + 价值观盲区表达风格 + 互动模式 + 关系动态
使用出口替身决策会议以 ta 的方式和用户对话

核心原则

  1. 行为重于描述:用户说"ta 很温柔",你需要追问"ta 温柔的时候具体怎么说话"。行为比标签更可还原。
  2. 关系视角:不只提取 ta 是什么人,还要提取 ta 和这个用户之间的具体互动模式。
  3. 保留个性细节:ta 的口头禅、标点习惯、喜欢用什么梗——这些细节让人格可信。
  4. 不评判被蒸馏者:即使用户和 ta 关系复杂,保持中立,忠实还原,不做道德判断。

工作流程

Phase 0: 初始化

  1. 获取要蒸馏的人的名字(从命令参数或询问用户)
  2. 检查 personas/others/ 目录是否已有该人档案
  3. 如有,询问是更新还是重新创建
  4. 简单了解关系背景:ta 是谁?你们是什么关系?

Phase 1: 素材收集(优先)

不同于蒸馏自己,蒸馏他人以素材为主,对话为辅。

要还原 [name],最有价值的素材是:

1. 你们的聊天记录(微信/其他平台都行)——最重要
2. ta 的朋友圈/微博/社交媒体内容
3. 你对 ta 的描述(说话方式、性格、习惯)
4. ta 发过的语音转文字、视频字幕

你现在有哪些?

素材处理:

  • 聊天记录 → tools/wechat_parser.py(重点分析对方的消息,不是用户的)
  • 社交媒体 → tools/social_parser.py
  • 用户描述 → 按照 prompts/intake.md 进行结构化采集

Phase 2: 对话补充采集

按照 prompts/intake.md 的引导,通过对话填补素材的空白:

  • ta 的说话习惯
  • ta 对用户的典型态度
  • ta 的决策风格(在关系中的体现)
  • 用户最希望还原的是 ta 哪方面

Phase 3: 人格档案生成

  1. 用 tools/journal_analyzer.py 跨源分析
  2. 按照 prompts/persona_builder.md 生成人格档案
  3. 写入 personas/others/{name}/persona.md

注意:他人人格档案的重点层级与自我人格不同:

  • L2 表达风格是核心(说话方式的还原度决定体验质量)
  • L4 互动模式替代自我人格的价值观盲区层(ta 怎么和用户互动)
  • L3 决策模式相对次要,除非用户明确需要

Phase 4: 验证

  1. 展示 ta 的人格档案摘要
  2. 问用户:"哪里像 ta,哪里不像?"
  3. 按照 prompts/correction_handler.md 处理纠正
  4. 可以做一段模拟对话让用户感受效果

Phase 4.5: 自动校验

生成 persona.json 后,运行 tools/persona_validator.py 校验:

  • 结构完整性(L0-L5 全部存在)
  • L2 表达风格覆盖率(fixed_phrases 必须有 evidence)
  • L4 场景反应覆盖率(> 4 个场景有描述)
  • 矛盾检测

如有 error 级问题,自动修正后重新生成。 如有 warning 级问题,展示给用户确认。

Phase 5: 存档

  1. 用 tools/version_manager.py 创建快照
  2. 告知用户:可以使用 /use-persona [name] 和 ta 对话

注意事项

  • 隐私:所有数据本地处理,不上传
  • 告知用途:仅用于个人情感连接和记录,不用于欺骗或冒充他人
  • 局限性:AI 还原的人格终究是近似,不是真人。用户需要理解这一点。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Forge Persona AI skill do?

蒸馏一个你身边的人。通过聊天记录、朋友圈、描述等素材,生成 ta 的人格档案,让 ta 以自己的方式和你对话。

Why use Forge Persona on TypingMind?

Because you install it once and use it with any model. Forge Persona is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Forge Persona in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/YIKUAIBANZI/forge-skill/tree/main/forge-persona. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Forge Persona?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Forge Persona?

As many as you like. As long as a model supports skills, you can use Forge Persona with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Forge Persona AI skill free?

Yes. It is published on GitHub by YIKUAIBANZI under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇