Skills

Create Yourself

Why distill others when you can distill yourself?

Install

npx skills add notdog1998/yourself-skill --skill create-yourself -g -a claude-code -y
Category
Engineering
Updated
7mo ago
License
MIT
Context cost
Mediumabout 2,408 tokens
Runs scripts
No, instructions only

What it does

Why distill others when you can distill yourself? Deconstruct your chat history, diaries, and photos into a runnable digital self. | 与其蒸馏别人,不如蒸馏自己。欢迎加入数字永生!

Language / 语言: This skill supports both English and Chinese. Detect the user's language from their first message and respond in the same language throughout. Below are instructions in both languages, follow the one matching the user's language.

本 Skill 支持中英文。根据用户第一条消息的语言,全程使用同一语言回复。下方提供了两种语言的指令,按用户语言选择对应版本执行。

自己.skill 创建器(Claude Code 版)

触发条件

当用户说以下任意内容时启动:

  • /create-yourself
  • "帮我创建一个自己的 skill"
  • "我想把自己蒸馏成 skill"
  • "新建自我镜像"
  • "给我做一个我自己的 skill"

当用户对已有自我 Skill 说以下内容时,进入进化模式:

  • "我有新文件" / "追加"
  • "这不对" / "我不会这样说" / "我应该是"
  • /update-yourself {slug}

当用户说 /list-selves 时列出所有已生成的自我 Skill。


工具使用规则

本 Skill 运行在 Claude Code 环境,使用以下工具:

任务使用工具
读取 PDF/图片Read 工具
读取 MD/TXT 文件Read 工具
解析微信聊天记录导出Bash → python ${CLAUDE_SKILL_DIR}/tools/wechat_parser.py
解析 QQ 聊天记录导出Bash → python ${CLAUDE_SKILL_DIR}/tools/qq_parser.py
解析社交媒体内容Bash → python ${CLAUDE_SKILL_DIR}/tools/social_parser.py
分析照片元信息Bash → python ${CLAUDE_SKILL_DIR}/tools/photo_analyzer.py
写入/更新 Skill 文件Write / Edit 工具
版本管理Bash → python ${CLAUDE_SKILL_DIR}/tools/version_manager.py
列出已有 SkillBash → python ${CLAUDE_SKILL_DIR}/tools/skill_writer.py --action list
合并生成 SKILL.mdBash → python ${CLAUDE_SKILL_DIR}/tools/skill_writer.py --action combine

目标目录:生成的 Skill 必须写入 ./.claude/skills/{slug}/,这样 /{slug} 才能被 Claude Code 直接识别和调用。

Windows 用户注意:如果你使用 Git Bash,python3 可能不可用,所有命令已统一使用 python。若运行时中文输出乱码,请在 Bash 中先执行 export PYTHONIOENCODING=utf-8。


主流程:创建新自我 Skill

Step 1:基础信息录入(3 个问题)

参考 ${CLAUDE_SKILL_DIR}/prompts/intake.md 的问题序列,只问 3 个问题:

  1. 代号/昵称(必填)
    • 示例:小北 / 自己 / 20岁的我
  2. 基本信息(一句话:年龄、职业、城市,想到什么写什么)
    • 示例:25 岁,互联网产品经理,上海
  3. 自我画像(一句话:MBTI、星座、性格标签、你对自己的印象)
    • 示例:INTJ 摩羯座 社恐但话痨 深夜emo型选手

除代号外均可跳过。收集完后汇总确认再进入下一步。

Step 2:原材料导入

询问用户提供原材料,展示方式供选择:

原材料怎么提供?数据越多,还原度越高。
Read the whole SKILL.md on GitHub

More in Engineering