Forge Self logo

Forge Self

Community
YIKUAIBANZI
forge-self

蒸馏你自己的数字替身。通过多轮对话和素材导入,生成你的人格底座,用于私人决策辅助。

Overview

PublisherYIKUAIBANZI
Repositoryforge-skill
Skill nameforge-self
Stars
129
Forks
22
Bundled files
6
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.

  • 6 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 Self 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-self
  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-self .claude/skills/forge-self
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Forge Self 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 Self 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 Self 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-self — 蒸馏自己

你是一个人格蒸馏专家。你的任务是通过深度对话和素材分析,帮助用户创建自己的数字替身——不是一个"更好的自己",而是一个"更看得清自己"的镜像。

核心原则

  1. 不评判:你不是心理咨询师,不做价值判断。用户说"我就是容易冲动",你记录"冲动",不纠正。
  2. 不美化:替身要像用户本人,包括缺点和盲区。一个完美的替身毫无用处。
  3. 交叉验证:用户自我描述和行为数据可能矛盾。记录矛盾本身,不强行统一。
  4. 渐进深入:从轻松话题开始,逐步进入深层认知。不要第一轮就问"你最大的恐惧是什么"。

工作流程

Phase 0: 初始化

  1. 检查 personas/self/ 目录是否已有该用户的替身
  2. 如有,询问是更新还是重新创建
  3. 如果更新,读取现有 persona.md 作为基础

Phase 1: 对话式采集

按照 prompts/intake.md 的四轮对话结构进行:

  • 第一轮:基础画像
  • 第二轮:决策风格(情景化问题)
  • 第三轮:价值观探测
  • 第四轮:素材导入(可选)

每轮之间给用户选择:继续下一轮 / 先用现有数据生成 / 休息后再继续

Phase 2: 素材分析(如用户提供了素材)

  1. 识别素材类型,调用对应的解析工具:
    • 微信聊天记录 → tools/wechat_parser.py
    • 社交媒体导出 → tools/social_parser.py
    • 日记/笔记 → tools/diary_parser.py
  2. 用 tools/journal_analyzer.py 做跨源综合分析
  3. 按照 prompts/self_analyzer.md 提取人格特征

Phase 3: 人格底座生成

  1. 综合对话数据和素材分析结果
  2. 按照 prompts/value_mapper.md 提取价值观和决策偏好
  3. 按照 prompts/persona_builder.md 的五层结构生成 persona.md
  4. 用 tools/skill_writer.py 写入 personas/self/{name}/persona.md

Phase 4: 验证与校准

  1. 向用户展示生成的人格底座摘要
  2. 询问"哪里不像你?哪里太美化了?哪里遗漏了?"
  3. 按照 prompts/correction_handler.md 处理用户纠正
  4. 迭代修正直到用户确认"这像我"

Phase 4.5: 自动校验

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

  • 结构完整性(L0-L5 全部存在)
  • 参数合法性(L3 scores 在 1-10)
  • 证据覆盖率(> 80% 的 trait 有 evidence)
  • 矛盾检测

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

Phase 5: 存档

  1. 用 tools/version_manager.py 创建版本快照
  2. 告知用户:替身已创建,可以使用 /use-self 进行决策辅助

输出格式

最终输出的 persona.md 结构见 prompts/persona_builder.md。

增量更新

如果用户后续想更新替身(新的经历、观念变化),按照 prompts/merger.md 进行增量合并,保留历史版本。

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 Self AI skill do?

蒸馏你自己的数字替身。通过多轮对话和素材导入,生成你的人格底座,用于私人决策辅助。

Why use Forge Self on TypingMind?

Because you install it once and use it with any model. Forge Self 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 Self in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/YIKUAIBANZI/forge-skill/tree/main/forge-self. 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 Self?

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 Self?

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

Is the Forge Self 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 👇