Skip to content
cccskills
FreePublished on GitHub

immortal-skill

通用数字永生框架:从聊天记录、社交媒体、文档等多平台数据中蒸馏任何人的数字分身——支持自己、同事、导师、亲人、伴侣/前任、朋友、公众人物 7 种角色模板,接入国内外 12+ 数据平台。

The English summary is being prepared. Showing the original description.

See how to install

Files included (80)

  • SKILL.md5.7 KB
  • .gitignore92 B
  • assets/persona-plaza.png112.4 KB
  • collectors/__init__.py508 B
  • collectors/base.py3.7 KB
  • collectors/dingtalk.py6.6 KB
  • collectors/discord.py4.5 KB
  • collectors/email_collector.py6.5 KB
  • collectors/feishu.py10.0 KB
  • collectors/imessage.py4.3 KB
  • collectors/manual.py5.0 KB
  • collectors/slack.py4.4 KB
  • collectors/social_archive.py6.3 KB
  • collectors/telegram.py5.5 KB
  • collectors/twitter.py5.7 KB
  • collectors/wechat.py6.6 KB
  • collectors/whatsapp.py4.8 KB
  • distill-protocol-skill/kit/protocol_gen.py2.7 KB
  • distill-protocol-skill/README.md9.0 KB
  • distill-protocol-skill/recipes/protocol-flow.md317 B
  • distill-protocol-skill/SKILL.md2.6 KB
  • distill-protocol-skill/templates/LICENSE-DISTILL.template.md426 B
  • distill-protocol-skill/templates/robots-snippet.txt131 B
  • distill-shield-skill/kit/shield_gen.py1.6 KB
  • distill-shield-skill/README.md9.7 KB
  • distill-shield-skill/recipes/shield-flow.md390 B
  • distill-shield-skill/SKILL.md2.7 KB
  • docs/PLATFORM-GUIDE.md5.4 KB
  • docs/references.md636 B
  • docs/RESEARCH.md6.7 KB
  • examples/li-gong-demo/conflicts.md404 B
  • examples/li-gong-demo/interaction.md2.1 KB
  • examples/li-gong-demo/manifest.json508 B
  • examples/li-gong-demo/procedure.md2.6 KB
  • examples/li-gong-demo/SKILL.md1.2 KB
  • examples/mentor-demo/conflicts.md439 B
  • examples/mentor-demo/interaction.md1.7 KB
  • examples/mentor-demo/manifest.json598 B
  • examples/mentor-demo/memory.md1.8 KB
  • examples/mentor-demo/personality.md2.2 KB
  • examples/mentor-demo/procedure.md1.5 KB
  • examples/mentor-demo/SKILL.md1.2 KB
  • examples/self-demo/conflicts.md443 B
  • examples/self-demo/interaction.md1.6 KB
  • examples/self-demo/manifest.json589 B
  • examples/self-demo/memory.md1.8 KB
  • examples/self-demo/personality.md2.4 KB
  • examples/self-demo/procedure.md1.8 KB
  • examples/self-demo/SKILL.md1.2 KB
  • FOR_AI.md2.4 KB
  • kit/immortal_cli.py9.4 KB
  • kit/manifest_tool.py5.2 KB
  • kit/version_tool.py6.6 KB
  • LICENSE1.1 KB
  • personas/_base.md1.7 KB
  • personas/colleague.md1.6 KB
  • personas/family.md2.5 KB
  • personas/friend.md2.0 KB
  • personas/mentor.md2.0 KB
  • personas/partner.md2.5 KB
  • personas/public-figure.md3.0 KB
  • personas/self.md2.5 KB
  • prompts/correction-handler.md1.4 KB
  • prompts/interaction-extractor.md2.0 KB
  • prompts/memory-extractor.md2.8 KB
  • prompts/personality-extractor.md3.2 KB
  • prompts/procedural-extractor.md2.1 KB
  • prompts/skill-assembler.md2.7 KB
  • README.md19.2 KB
  • recipes/intake-protocol.md3.8 KB
  • recipes/interaction-mining.md2.5 KB
  • recipes/memory-mining.md2.7 KB
  • recipes/merge-policy.md2.6 KB
  • recipes/output-contract.md2.6 KB
  • recipes/personality-mining.md3.0 KB
  • recipes/procedural-mining.md2.3 KB
  • steamer-skill/examples/README.md200 B
  • steamer-skill/README.md9.4 KB
  • steamer-skill/recipes/steamer-flow.md814 B
  • steamer-skill/SKILL.md2.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

数字永生

语言

根据用户第一条消息的语言,全程使用同一语言。

何时激活

  • 用户要「蒸馏 XX」「做数字分身」「保留 TA 的方式/记忆」「让 AI 像 XX 一样」。
  • 用户提供关于某人的材料,希望生成可加载的 Agent Skill 包。

核心理念

选择角色 → 多平台采集 → 分维度提取(procedure / interaction / memory / personality)→ 证据分级 → 冲突合并 → 输出符合 Agent Skills 的技能目录。

路径约定

  • 本 Skill 根目录记为 {baseDir}。
  • 生成物默认写入 ./skills/immortals/<slug>/。
  • slug:小写字母、数字、连字符,与最终 SKILL.md 的 name 一致。

操作顺序

Phase 0:选择角色模板

向用户询问蒸馏对象的角色,读取对应模板:

你想蒸馏谁?

  [1] 🪞 自己(全维度数字分身)
  [2] 🏢 同事(工作方式与沟通风格)
  [3] 🎓 导师/Mentor(教学方式与指导智慧)
  [4] 🏠 亲人(家族记忆与生活智慧)
  [5] 💕 伴侣/前任(关系记忆与互动模式)
  [6] 🤝 朋友(友谊互动与共同经历)
  [7] 🌐 公众人物(公开方法论)

读取 {baseDir}/personas/<选择>.md 了解该角色的特有维度与要求。 同时读取 {baseDir}/personas/_base.md 了解通用维度。

Phase 1:伦理确认

根据角色模板中的伦理要求,在收集材料前告知用户。不同角色的伦理侧重:

  • 同事/导师:限团队内部对齐与培训
  • 亲人(已故):确认其他家人是否应知情
  • 伴侣/前任:确认目的是正面回忆;严格脱敏
  • 公众人物:仅限公开资料;须有可追溯的公开出处
  • 自己:注意聊天中他人发言的脱敏

Phase 2:收集材料

读取 {baseDir}/recipes/intake-protocol.md,按角色类型确定数据源。

提供以下采集方式:

材料怎么提供?

  [A] 自动采集(推荐)
      飞书 / 钉钉 / Slack / Discord / Telegram / Email
      → 扫描频道 → 拉取消息

  [B] 本地数据库
      微信(需第三方导出或本地 SQLite)
      iMessage(macOS,需 Full Disk Access)

  [C] 归档文件
      WhatsApp 导出 / Twitter/X 归档 / Google Takeout
      Facebook 数据下载 / 微博导出

  [D] 上传/粘贴文件
      PDF / JSON / CSV / Markdown / 纯文本

  [E] 直接粘贴文字

可混用多种方式。

自动采集使用统一 CLI:

python3 {baseDir}/kit/immortal_cli.py collect --platform <平台> [选项]

详见 {baseDir}/docs/PLATFORM-GUIDE.md。

Phase 3:分维度提取

根据角色模板确定所需维度,按需加载对应 Prompt:

维度PromptRecipe适用角色
程序性prompts/procedural-extractor.mdrecipes/procedural-mining.md同事、导师、自己、公众人物
互动性prompts/interaction-extractor.mdrecipes/interaction-mining.md所有
记忆prompts/memory-extractor.mdrecipes/memory-mining.md自己、亲人、伴侣、朋友、导师、公众人物
性格prompts/personality-extractor.mdrecipes/personality-mining.md所有(同事仅工作相关)

每条输出标注证据级别:verbatim / artifact / impression。

参考 {baseDir}/examples/ 下的示例查看产出物格式。

Phase 4:合并与冲突处理

读取 {baseDir}/recipes/merge-policy.md,执行证据分级合并。矛盾项写入 conflicts.md。

Phase 5:初始化目录并写入

python3 {baseDir}/kit/manifest_tool.py init --slug <slug> --base ./skills/immortals --persona <角色>

用 Write 工具写入各维度文件,然后读取 {baseDir}/prompts/skill-assembler.md 生成 SKILL.md。

Phase 6:封包登记

python3 {baseDir}/kit/manifest_tool.py stamp --slug <slug> --base ./skills/immortals --sources "<来源>"

Phase 7:告知用户

  • 生成路径与加载方式
  • 证据覆盖度统计
  • 各维度的局限性提示

追加材料(进化)

python3 {baseDir}/kit/version_tool.py snapshot --slug <slug> --base ./skills/immortals --note "追加前"

然后按 Phase 2-6 增量更新。

用户纠正

先快照,再读取 {baseDir}/prompts/correction-handler.md 处理。

版本管理

python3 {baseDir}/kit/version_tool.py list --slug <slug> --base ./skills/immortals
python3 {baseDir}/kit/version_tool.py rollback --slug <slug> --base ./skills/immortals --tag <快照>

不做的事

  • 不复制任何第三方仓库的脚本或提示词。
  • 不把通用常识当成被蒸馏者的个人特色。
  • 不模拟公众人物的私人对话。
  • 不用于跟踪、骚扰或欺骗。

自检清单

  • name 与目录名一致且符合命名规则。
  • 各维度文件中 verbatim + artifact 占比是否达标?
  • impression 是否隔离到专属区?
  • conflicts.md 是否反映了真矛盾?
  • 伦理声明是否与角色匹配?
  • SKILL.md 正文 < 100 行?

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

蒸馏陈韵的全维度数字分身:产品设计方法、沟通风格、人生经历与价值观。仅用于个人备份与辅助回忆,非对外冒充。

The English summary is being prepared. Showing the original description.

agenmod/immortal-skill1.1KUpdated Apr 15, 2026

蒸馏协议:为个人数字资料生成人类可读条款与机器可读 manifest;戏称「牛马保护法」仅为传播梗,非法律意见。

The English summary is being prepared. Showing the original description.

agenmod/immortal-skill1.1KUpdated Apr 15, 2026

Distill Shield:为个人移交资料包生成 Canary 与可选加固策略,提高未授权蒸馏成本;仅适用于有权处置的数据。

The English summary is being prepared. Showing the original description.

agenmod/immortal-skill1.1KUpdated Apr 15, 2026

模拟李工(后端工程师)在架构评审、发布流程、跨团队对齐场景下的工作方式与沟通边界。用于团队内部对齐与培训。

The English summary is being prepared. Showing the original description.

agenmod/immortal-skill1.1KUpdated Apr 15, 2026

蒸笼:蒸馏任何人的叙事入口——对齐数字永生引擎,强调生活化「蒸」与公开方法论顾问场景;委托上级 kit/personas 执行。

The English summary is being prepared. Showing the original description.

agenmod/immortal-skill1.1KUpdated Apr 15, 2026

蒸馏王老师的指导方式与核心教诲。用于延续导师的教学智慧与指导风格,辅助学习与回顾。

The English summary is being prepared. Showing the original description.

agenmod/immortal-skill1.1KUpdated Apr 15, 2026

See all skills by agenmod

Report a problem with this skill