Agent skill

Immortal Skill

by agenmod in agenmod/immortal-skill

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

MITAuto-check passed

Install Immortal Skill

skills CLI
$ npx skills add agenmod/immortal-skill --skill immortal-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install agenmod/immortal-skill immortal-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
immortal-skill
GitHub stars
1.1k
Token cost
~927 tokens
SKILL.md length
149 words
Files
75 (incl. assets)
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 8 steps: :选择角色模板 → :伦理确认 → :收集材料 → …
  • Tasks that involve Messaging and chat bots
  • SKILL.md covers 语言, 何时激活, 核心理念 and 路径约定, plus 6 more sections
  • Runs Python scripts from its folder; calls python3

What it does

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

Its SKILL.md is about 930 tokens, which your agent loads only when the skill is triggered. The skill folder holds 76 other files, including assets (for example `FOR_AI.md`, `README.md` and `collectors/__init__.py`).

The repository describes itself as: ♾️ 开源数字永生框架 — 从聊天记录蒸馏任何人的七维数字分身。支持微信/飞书/iMessage/Telegram等12+平台,7种角色模板,对齐 OpenClaw Soul Spec 标准。一行指令让你的AI学会蒸馏。 The licence is MIT.

When your agent uses it

  • Tasks that involve Messaging and chat bots

Example prompts

  • “/immortal-skill”

Requirements

  • Python 3

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. :选择角色模板
  2. :伦理确认
  3. :收集材料
  4. :分维度提取
  5. :合并与冲突处理
  6. :初始化目录并写入
  7. :封包登记
  8. :告知用户

What it can do on your machine

Read from SKILL.md and the folder at commit cdab91b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Immortal Skill loads about 927 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 149 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~927

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from agenmod/immortal-skill at commit cdab91b, republished under its MIT licence (© agenmod). 149 words, ~927 tokens.

Download SKILL.mdSave it as .claude/skills/immortal-skill/SKILL.md (or your agent's skills folder). This skill also uses 74 other files; get the full folder from GitHub.
name
immortal-skill
description
通用数字永生框架:从聊天记录、社交媒体、文档等多平台数据中蒸馏任何人的数字分身——支持自己、同事、导师、亲人、伴侣/前任、朋友、公众人物 7 种角色模板,接入国内外 12+ 数据平台。
license
MIT
metadata.kit_version
2
metadata.personas
self, colleague, mentor, family, partner, friend, public-figure
metadata.platforms
feishu, dingtalk, wechat, imessage, telegram, whatsapp, slack, discord, email, twitter, social-archive, manual

数字永生

语言

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

何时激活

  • 用户要「蒸馏 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:

bash
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:初始化目录并写入
bash
python3 {baseDir}/kit/manifest_tool.py init --slug <slug> --base ./skills/immortals --persona <角色>

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

Phase 6:封包登记
bash
python3 {baseDir}/kit/manifest_tool.py stamp --slug <slug> --base ./skills/immortals --sources "<来源>"
Phase 7:告知用户
  • 生成路径与加载方式
  • 证据覆盖度统计
  • 各维度的局限性提示

追加材料(进化)

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

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

用户纠正

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

版本管理

bash
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 行?

© agenmod, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 74 other files (assets) in the repository root of agenmod/immortal-skill.

  • SKILL.md
  • .gitignore
  • FOR_AI.md
  • LICENSE
  • README.md
  • assets/persona-plaza.png
  • collectors/__init__.py
  • collectors/base.py
  • collectors/dingtalk.py
  • collectors/discord.py
  • collectors/email_collector.py
  • collectors/feishu.py
  • collectors/imessage.py
  • collectors/manual.py
  • collectors/slack.py
  • collectors/social_archive.py
  • collectors/telegram.py
  • collectors/twitter.py
  • collectors/wechat.py
  • … and 56 more

Open the folder on GitHubat commit cdab91b

Compare with similar skills

Immortal Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Immortal Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Immortal Skill this skillagenmod/immortal-skill1.1k—~927Automated safety check: PassMIT
Slack Browser Automationvercel-labs/agent-browser44k1 repos~2.1kAutomated safety check: PassApache-2.0
Gzh Designisjiamu/gzh-design-skill3.9k1 repos~2.2kAutomated safety check: PassAGPL-3.0
Feishu Docopenclaw/openclaw392k—~516Automated safety check: PassMIT
LangBot Plugin Developmentlangbot-app/LangBot18k—~3.9kAutomated safety check: PassApache-2.0
Rowboat Spaces Team Chatrowboatlabs/rowboat18k—~1.2kAutomated safety check: PassApache-2.0

Similar skills

  • Slack Browser Automation

    vercel-labs/agent-browser

    Official

    Drives the Slack web app with the agent-browser CLI to check unread channels, search, read channel details and extract information, with screenshots as evidence.

    44k GitHub starsUsed in 1 repo~2.1k tokens
    Productivity & AutomationAuto-check passed
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-check passed
  • Feishu Doc

    openclaw/openclaw

    Feishu document read/write workflows. An agent skill from openclaw/openclaw.

    392k GitHub stars~516 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • LangBot Plugin Development

    langbot-app/LangBot

    Guides building, debugging and testing LangBot plugins: components, SDK calls, README and locale rules, SDK pitfalls and WebSocket-based testing.

    18k GitHub stars~3.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Rowboat Spaces Team Chat

    rowboatlabs/rowboat

    Sets the rules for an agent working inside Rowboat Spaces: reply in the thread you were asked in, mention people and agents correctly and hand off work without loops.

    18k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Md2wechat

    geekjourneyx/md2wechat-skill

    Convert Markdown to WeChat Official Account HTML. An agent skill from geekjourneyx/md2wechat-skill.

    3.7k GitHub stars~3.8k tokensUpdated 15 days ago
    Media & CreativeAuto-check passed

More from agenmod/immortal-skill

  • Distill Protocol

    agenmod/immortal-skill

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

    1.1k GitHub stars~423 tokensUpdated 5 mo ago
    Auto-check passed
  • Distill Shield

    agenmod/immortal-skill

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

    1.1k GitHub stars~408 tokensUpdated 5 mo ago
    Auto-check passed
  • Steamer

    agenmod/immortal-skill

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

    1.1k GitHub stars~401 tokensUpdated 5 mo ago
    Auto-check passed

Questions about Immortal Skill

What does Immortal Skill do?

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

When should I use Immortal Skill?

Immortal Skill fits situations like: tasks that involve Messaging and chat bots.

How do I install Immortal Skill in Claude Code?

Run `npx skills add agenmod/immortal-skill --skill immortal-skill -a claude-code`. Or copy the skill folder (the agenmod/immortal-skill repository) into .claude/skills/immortal-skill in your project. Claude Code loads it when a task matches its description.

How do I install Immortal Skill in Codex?

Run `npx skills add agenmod/immortal-skill --skill immortal-skill -a codex`. Or copy the skill folder (the agenmod/immortal-skill repository) into .agents/skills/immortal-skill in your project. Codex loads it when a task matches its description.

Can I use Immortal Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agenmod/immortal-skill --skill immortal-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/immortal-skill, .gemini/skills/immortal-skill, .github/skills/immortal-skill and .opencode/skills/immortal-skill in your project.

What does Immortal Skill need to run?

Going by SKILL.md and its folder, Immortal Skill needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Immortal Skill access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Immortal Skill safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Immortal Skill use?

Immortal Skill is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Immortal Skill use?

About 927 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Immortal Skill?

Skills that share tags, products or a category with Immortal Skill: Slack Browser Automation (vercel-labs/agent-browser, 44k stars), Gzh Design (isjiamu/gzh-design-skill, 3.9k stars), Feishu Doc (openclaw/openclaw, 392k stars) and LangBot Plugin Development (langbot-app/LangBot, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Immortal Skill?

agenmod (a GitHub user) maintains it in agenmod/immortal-skill, which has 1,077 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on April 15, 2026.

Source: agenmod/immortal-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.