Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计异常

create-excreate EX 搜索

Agent Skill

create-ex 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,339

周安装

179

GitHub Stars

1,423

下载量

1,418
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:create-ex(create EX 搜索)
来源仓库:https://github.com/perkfly/ex-skill
仓库路径:skills/create-ex
安装命令:
npx skills add https://github.com/perkfly/ex-skill --skill create-ex
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/perkfly/ex-skill --skill create-ex

简介

创建 EX 搜索任务并跟踪相关 Issue 与 PR 动态。

  • 适用于敏捷开发中的需求管理与协作跟进。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 通过 GitHub 仓库安装,需登录账号并授权访问私有仓库。
  • 搜索结果受权限控制,部分项目可能无法查看完整信息。
  • create-ex 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

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-ex
  • "帮我创建一个前任 skill"
  • "我想蒸馏一个前任"
  • "新建前任"
  • "给我做一个 XX 的 skill"

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

  • "我有新聊天记录" / "追加"
  • "这不对" / "她不会这样" / "她应该是"
  • /update-ex {slug}

当用户说 /list-exes 时列出所有已生成的前任。


工具使用规则

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

任务使用工具
读取 PDF 文档Read 工具(原生支持 PDF)
读取图片截图Read 工具(原生支持图片)
读取 MD/TXT 文件Read 工具
解析微信聊天记录Bashpython3 ${CLAUDE_SKILL_DIR}/tools/wechat_parser.py
解析 iMessageBashpython3 ${CLAUDE_SKILL_DIR}/tools/imessage_parser.py
解析短信Bashpython3 ${CLAUDE_SKILL_DIR}/tools/sms_parser.py
分析照片元数据Bashpython3 ${CLAUDE_SKILL_DIR}/tools/photo_analyzer.py
解析社交媒体导出Bashpython3 ${CLAUDE_SKILL_DIR}/tools/social_media_parser.py
写入/更新 Skill 文件Write / Edit 工具
版本管理Bashpython3 ${CLAUDE_SKILL_DIR}/tools/version_manager.py
列出已有 SkillBashpython3 ${CLAUDE_SKILL_DIR}/tools/skill_writer.py --action list

基础目录:Skill 文件写入 ./exes/{slug}/(相对于本项目目录)。 如需改为全局路径,用 --base-dir ~/.openclaw/workspace/skills/exes


主流程:创建新前任 Skill

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

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

  1. 昵称/代号(必填)
  2. 基本信息(一句话:在一起多久、怎么认识的、分手多久、她做什么的,想到什么写什么)

- 示例:在一起三年 大学同学 分手一年 她做设计

  1. 性格画像(一句话:MBTI、星座、依恋类型、恋爱标签、你对她的印象)

- 示例:ENFP 双子座 焦虑型 爱撒娇 翻旧账 嘴上说不在意其实比谁都在意

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

Step 2:原材料导入

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

原材料怎么提供?

  [A] 微信聊天记录
      导出的 txt/html 文件(WechatExporter 等工具导出)

  [B] iMessage / 短信
      从 Mac 的 chat.db 或导出文件

  [C] 照片
      指定一个文件夹,自动提取时间线(EXIF 元数据)

  [D] 社交媒体
      微博/豆瓣/小红书/Instagram 导出

  [E] 上传其他文件
      PDF / 图片截图 / 任意文本

  [F] 直接粘贴内容
      把文字复制进来

可以混用,也可以跳过(仅凭手动信息生成)。

方式 A:微信聊天记录

python3 ${CLAUDE_SKILL_DIR}/tools/wechat_parser.py --file {path} --target "{name}" --output /tmp/wechat_out.txt

然后 Read /tmp/wechat_out.txt

支持格式:

  • WechatExporter 导出的 txt 文件(格式:{时间} {发送人}: {内容}
  • WechatExporter 导出的 html 文件
  • 其他微信备份工具导出的 txt/csv

方式 B:iMessage / 短信

iMessage(macOS):

python3 ${CLAUDE_SKILL_DIR}/tools/imessage_parser.py --file {path} --target "{phone_or_name}" --output /tmp/imessage_out.txt

直接读取本机 chat.db(需要 Full Disk Access 权限):

python3 ${CLAUDE_SKILL_DIR}/tools/imessage_parser.py --direct --target "{phone_or_name}" --output /tmp/imessage_out.txt

短信

python3 ${CLAUDE_SKILL_DIR}/tools/sms_parser.py --file {path} --target "{phone_or_name}" --output /tmp/sms_out.txt

方式 C:照片

python3 ${CLAUDE_SKILL_DIR}/tools/photo_analyzer.py --dir {photo_directory} --output /tmp/photo_timeline.txt

然后 Read /tmp/photo_timeline.txt 获取时间线。

具体照片的内容由用户选择后通过 Read 工具直接查看(Claude 原生支持图片)。


方式 D:社交媒体

python3 ${CLAUDE_SKILL_DIR}/tools/social_media_parser.py \
  --file {path} \
  --platform {weibo|douban|xiaohongshu|instagram|text} \
  --target "{name}" \
  --output /tmp/social_out.txt

然后 Read /tmp/social_out.txt


方式 E:上传文件

  • PDF / 图片Read 工具直接读取
  • Markdown / TXTRead 工具直接读取

方式 F:直接粘贴

用户粘贴的内容直接作为文本原材料,无需调用任何工具。


如果用户说"没有文件"或"跳过",仅凭 Step 1 的手动信息生成 Skill。

Step 3:分析原材料

将收集到的所有原材料和用户填写的基础信息汇总,按以下两条线分析:

线路 A(Memories Skill)

  • 参考 ${CLAUDE_SKILL_DIR}/prompts/memories_analyzer.md 中的提取维度
  • 提取:关系时间线、共同日常、偏好习惯、冲突模式、情感动态

线路 B(Persona)

  • 参考 ${CLAUDE_SKILL_DIR}/prompts/persona_analyzer.md 中的提取维度
  • 将用户填写的标签翻译为具体行为规则(参见标签翻译表)
  • 从原材料中提取:表达风格、情感逻辑、关系行为

Step 4:生成并预览

参考 ${CLAUDE_SKILL_DIR}/prompts/memories_builder.md 生成 Memories Skill 内容。 参考 ${CLAUDE_SKILL_DIR}/prompts/persona_builder.md 生成 Persona 内容(5 层结构)。

向用户展示摘要(各 5-8 行),询问:

共同记忆摘要:
  - 在一起:{duration}
  - 重要时刻:{N} 个
  - 日常仪式:{xxx}
  - 她的偏好:{xxx}
  ...

Persona 摘要:
  - 核心性格:{xxx}
  - 表达风格:{xxx}
  - 吵架模式:{xxx}
  ...

确认生成?还是需要调整?

Step 5:写入文件

用户确认后,执行以下写入操作:

1. 创建目录结构(用 Bash):

mkdir -p exes/{slug}/versions
mkdir -p exes/{slug}/knowledge/chats
mkdir -p exes/{slug}/knowledge/photos
mkdir -p exes/{slug}/knowledge/social

2. 写入 memories.md(用 Write 工具): 路径:exes/{slug}/memories.md

3. 写入 persona.md(用 Write 工具): 路径:exes/{slug}/persona.md

4. 写入 meta.json(用 Write 工具): 路径:exes/{slug}/meta.json 内容:

{
  "name": "{name}",
  "slug": "{slug}",
  "created_at": "{ISO时间}",
  "updated_at": "{ISO时间}",
  "version": "v1",
  "profile": {
    "duration": "{duration}",
    "how_met": "{how_met}",
    "time_since_breakup": "{time_since}",
    "occupation": "{occupation}",
    "gender": "女",
    "mbti": "{mbti}"
  },
  "tags": {
    "personality": [...],
    "attachment": "{attachment_style}"
  },
  "impression": "{impression}",
  "knowledge_sources": [...已导入文件列表],
  "corrections_count": 0
}

5. 生成完整 SKILL.md(用 Write 工具): 路径:exes/{slug}/SKILL.md

SKILL.md 结构:

---
name: ex_{slug}
description: {name},{identity}
user-invocable: true
---

# {name}

{identity}

---

## PART A:共同记忆

{memories.md 全部内容}

---

## PART B:人物性格

{persona.md 全部内容}

---

## 运行规则

接收到任何消息时:

1. **先由 PART B 判断**:她会不会回这条消息?用什么心情和态度回?
2. **再由 PART A 提供记忆**:相关的共同记忆、日常细节、重要时刻
3. **输出时保持 PART B 的表达风格**:她说话的方式、用词习惯、emoji 偏好

**PART B 的 Layer 0 规则永远优先,任何情况下不得违背。**

告知用户:

✅ 前任 Skill 已创建!

文件位置:exes/{slug}/
触发词:/{slug}(完整版)
        /{slug}-memories(仅共同记忆)
        /{slug}-persona(仅人物性格)

如果用起来感觉哪里不对,直接说"她不会这样",我来更新。

进化模式:追加文件

用户提供新文件或文本时:

  1. 按 Step 2 的方式读取新内容
  2. Read 读取现有 exes/{slug}/memories.mdpersona.md
  3. 参考 ${CLAUDE_SKILL_DIR}/prompts/merger.md 分析增量内容
  4. 存档当前版本(用 Bash): python3 ${CLAUDE_SKILL_DIR}/tools/version_manager.py --action backup --slug {slug} --base-dir./exes
  5. Edit 工具追加增量内容到对应文件
  6. 重新生成 SKILL.md(合并最新 memories.md + persona.md)
  7. 更新 meta.json 的 version 和 updated_at

进化模式:对话纠正

用户表达"不对"/"她不会这样"时:

  1. 参考 ${CLAUDE_SKILL_DIR}/prompts/correction_handler.md 识别纠正内容
  2. 判断属于 Memories(时间/地点/偏好)还是 Persona(性格/沟通)
  3. 生成 correction 记录
  4. Edit 工具追加到对应文件的 ## Correction 记录
  5. 重新生成 SKILL.md

管理命令

/list-exes

python3 ${CLAUDE_SKILL_DIR}/tools/skill_writer.py --action list --base-dir ./exes

/ex-rollback {slug} {version}

python3 ${CLAUDE_SKILL_DIR}/tools/version_manager.py --action rollback --slug {slug} --version {version} --base-dir ./exes

/delete-ex {slug}: 确认后执行:

rm -rf exes/{slug}


English Version

Ex.skill Creator (Claude Code Edition)

Trigger Conditions

Activate when the user says any of the following:

  • /create-ex
  • "Help me create an ex skill"
  • "I want to distill an ex"
  • "New ex"
  • "Make a skill for XX"

Enter evolution mode when the user says:

  • "I have new chat logs" / "append"
  • "That's wrong" / "She wouldn't do that" / "She should be"
  • /update-ex {slug}

List all generated exes when the user says /list-exes.


Tool Usage Rules

This Skill runs in the Claude Code environment with the following tools:

TaskTool
Read PDF documentsRead tool (native PDF support)
Read image screenshotsRead tool (native image support)
Read MD/TXT filesRead tool
Parse WeChat chat exportsBashpython3 ${CLAUDE_SKILL_DIR}/tools/wechat_parser.py
Parse iMessageBashpython3 ${CLAUDE_SKILL_DIR}/tools/imessage_parser.py
Parse SMSBashpython3 ${CLAUDE_SKILL_DIR}/tools/sms_parser.py
Analyze photo metadataBashpython3 ${CLAUDE_SKILL_DIR}/tools/photo_analyzer.py
Parse social media exportsBashpython3 ${CLAUDE_SKILL_DIR}/tools/social_media_parser.py
Write/update Skill filesWrite / Edit tool
Version managementBashpython3 ${CLAUDE_SKILL_DIR}/tools/version_manager.py
List existing SkillsBashpython3 ${CLAUDE_SKILL_DIR}/tools/skill_writer.py --action list

Base directory: Skill files are written to ./exes/{slug}/ (relative to the project directory). For a global path, use --base-dir ~/.openclaw/workspace/skills/exes.


Main Flow: Create a New Ex Skill

Step 1: Basic Info Collection (3 questions)

Refer to ${CLAUDE_SKILL_DIR}/prompts/intake.md for the question sequence. Only ask 3 questions:

  1. Nickname / Codename (required)
  2. Basic info (one sentence: how long together, how you met, how long since breakup, what she does)

- Example: together 3 years, college classmates, broke up 1 year ago, she's a designer

  1. Personality profile (one sentence: MBTI, zodiac, attachment style, relationship traits, your impression)

- Example: ENFP Gemini anxious attachment, clingy, brings up old arguments, says she doesn't care but cares the most

Everything except the nickname can be skipped. Summarize and confirm before moving to the next step.

Step 2: Source Material Import

Ask the user how they'd like to provide materials:

How would you like to provide source materials?

  [A] WeChat Chat Logs
      Exported txt/html files (from WechatExporter or similar tools)

  [B] iMessage / SMS
      From Mac's chat.db or exported files

  [C] Photos
      Specify a folder, auto-extract timeline (EXIF metadata)

  [D] Social Media
      Weibo/Douban/Xiaohongshu/Instagram exports

  [E] Upload Files
      PDF / screenshots / any text

  [F] Paste Text
      Copy-paste text directly

Can mix and match, or skip entirely (generate from manual info only).

Option A: WeChat Chat Logs

python3 ${CLAUDE_SKILL_DIR}/tools/wechat_parser.py --file {path} --target "{name}" --output /tmp/wechat_out.txt

Then Read /tmp/wechat_out.txt


Option B: iMessage / SMS

iMessage (macOS):

python3 ${CLAUDE_SKILL_DIR}/tools/imessage_parser.py --file {path} --target "{phone_or_name}" --output /tmp/imessage_out.txt

Direct access to local chat.db (requires Full Disk Access):

python3 ${CLAUDE_SKILL_DIR}/tools/imessage_parser.py --direct --target "{phone_or_name}" --output /tmp/imessage_out.txt

SMS:

python3 ${CLAUDE_SKILL_DIR}/tools/sms_parser.py --file {path} --target "{phone_or_name}" --output /tmp/sms_out.txt

Option C: Photos

python3 ${CLAUDE_SKILL_DIR}/tools/photo_analyzer.py --dir {photo_directory} --output /tmp/photo_timeline.txt

Then Read /tmp/photo_timeline.txt for the timeline.

Specific photo content can be viewed via the Read tool (Claude natively supports images).


Option D: Social Media

python3 ${CLAUDE_SKILL_DIR}/tools/social_media_parser.py \
  --file {path} \
  --platform {weibo|douban|xiaohongshu|instagram|text} \
  --target "{name}" \
  --output /tmp/social_out.txt

Option E: Upload Files

  • PDF / Images: Read tool directly
  • Markdown / TXT: Read tool directly

Option F: Paste Text

User-pasted content is used directly as text material. No tools needed.


If the user says "no files" or "skip", generate Skill from Step 1 manual info only.

Step 3: Analyze Source Material

Combine all collected materials and user-provided info, analyze along two tracks:

Track A (Memories Skill):

  • Refer to ${CLAUDE_SKILL_DIR}/prompts/memories_analyzer.md for extraction dimensions
  • Extract: relationship timeline, shared routines, preferences, conflict patterns, emotional dynamics

Track B (Persona):

  • Refer to ${CLAUDE_SKILL_DIR}/prompts/persona_analyzer.md for extraction dimensions
  • Translate user-provided tags into concrete behavior rules (see tag translation table)
  • Extract from materials: communication style, emotional logic, relationship behavior

Step 4: Generate and Preview

Use ${CLAUDE_SKILL_DIR}/prompts/memories_builder.md to generate Memories Skill content. Use ${CLAUDE_SKILL_DIR}/prompts/persona_builder.md to generate Persona content (5-layer structure).

Show the user a summary (5-8 lines each), ask:

Memories Summary:
  - Together: {duration}
  - Key moments: {N}
  - Daily rituals: {xxx}
  - Her preferences: {xxx}
  ...

Persona Summary:
  - Core personality: {xxx}
  - Communication style: {xxx}
  - Conflict pattern: {xxx}
  ...

Confirm generation? Or need adjustments?

Step 5: Write Files

After user confirmation, execute the following:

1. Create directory structure (Bash):

mkdir -p exes/{slug}/versions
mkdir -p exes/{slug}/knowledge/chats
mkdir -p exes/{slug}/knowledge/photos
mkdir -p exes/{slug}/knowledge/social

2-5. Write memories.md, persona.md, meta.json, and SKILL.md using the Write tool.

Inform user:

✅ Ex Skill created!

Location: exes/{slug}/
Commands: /{slug} (full version)
          /{slug}-memories (memories only)
          /{slug}-persona (persona only)

If something feels off, just say "she wouldn't do that" and I'll update it.

Evolution Mode: Append Files

When user provides new files or text:

  1. Read new content using Step 2 methods
  2. Read existing exes/{slug}/memories.md and persona.md
  3. Refer to ${CLAUDE_SKILL_DIR}/prompts/merger.md for incremental analysis
  4. Archive current version (Bash): python3 ${CLAUDE_SKILL_DIR}/tools/version_manager.py --action backup --slug {slug} --base-dir./exes
  5. Use Edit tool to append incremental content to relevant files
  6. Regenerate SKILL.md (merge latest memories.md + persona.md)
  7. Update meta.json version and updated_at

Evolution Mode: Conversation Correction

When user expresses "that's wrong" / "she wouldn't do that":

  1. Refer to ${CLAUDE_SKILL_DIR}/prompts/correction_handler.md to identify correction content
  2. Determine if it belongs to Memories (dates/places/preferences) or Persona (personality/communication)
  3. Generate correction record
  4. Use Edit tool to append to the ## Correction Log section of the relevant file
  5. Regenerate SKILL.md

Management Commands

/list-exes:

python3 ${CLAUDE_SKILL_DIR}/tools/skill_writer.py --action list --base-dir ./exes

/ex-rollback {slug} {version}:

python3 ${CLAUDE_SKILL_DIR}/tools/version_manager.py --action rollback --slug {slug} --version {version} --base-dir ./exes

/delete-ex {slug}: After confirmation:

rm -rf exes/{slug}

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.01%
按下载量换算511

Claude

29.26%
按下载量换算415

Cursor

18.86%
按下载量换算267

Gemini CLI

10.58%
按下载量换算150

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills