AI Summary当用户对已有群友 Skill 说以下内容时,进入进化模式: 本 Skill 运行在 Claude Code 环境,使用以下工具: 2. 基本信息(一句话:年龄、性别、职业、兴趣爱好,想到什么写什么)
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "pig-skill" skill in my project. Please run this command in my terminal: # Install skill into your project mkdir -p .claude/skills/pig-skill && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/pig-skill/SKILL.md "https://raw.githubusercontent.com/Neko-Suwako/pig-skill/master/SKILL.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Distill a QQ group friend into an AI Skill. Import QQ group chat records, generate Persona, with continuous evolution. | 把QQ群友蒸馏成 AI Skill,导入QQ群聊天记录,生成性格画像,支持持续进化。
Tool Usage Rules
This Skill runs in the Claude Code environment with the following tools: | Task | Tool | |------|------| | Read image screenshots | Read tool (native image support) | | Read MD/TXT files | Read tool | | Parse QQ group chat records | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/qq_chat_parser.py | | Write/update Skill files | Write / Edit tool | | Version management | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/version_manager.py | | List existing Skills | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/skill_writer.py --action list | Base directory: Skill files are written to ./pigs/{slug}/ (relative to the project directory). For a global path, use --base-dir ~/.openclaw/workspace/skills/pigs. ---
触发条件
当用户说以下任意内容时启动: • /pig-skill • "帮我创建一个群友 skill" • "我想蒸馏一个群友" • "新建群友" • "给我做一个 XX 的 skill" 当用户对已有群友 Skill 说以下内容时,进入进化模式: • "我有新文件" / "追加" • "这不对" / "他不会这样" / "他应该是" • /update-pig {slug} 当用户说 /list-pigs 时列出所有已生成的群友。 ---
工具使用规则
本 Skill 运行在 Claude Code 环境,使用以下工具: | 任务 | 使用工具 | |------|--------| | 读取图片截图 | Read 工具(原生支持图片) | | 读取 MD/TXT 文件 | Read 工具 | | 解析 QQ 群聊天记录 | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/qq_chat_parser.py | | 写入/更新 Skill 文件 | Write / Edit 工具 | | 版本管理 | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/version_manager.py | | 列出已有 Skill | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/skill_writer.py --action list | 基础目录:Skill 文件写入 ./pigs/{slug}/(相对于本项目目录)。 如需改为全局路径,用 --base-dir ~/.openclaw/workspace/skills/pigs。 ---
Step 1:基础信息录入(3 个问题)
参考 ${CLAUDE_SKILL_DIR}/prompts/intake.md 的问题序列,只问 3 个问题: • 群友昵称/代号(必填) • 基本信息(一句话:年龄、性别、职业、兴趣爱好,想到什么写什么) • 示例:25岁 男 程序员 喜欢打游戏 • 性格画像(一句话:MBTI、星座、个性标签、印象) • 示例:ENFP 双子座 话痨 爱开玩笑 经常发表情包 除昵称外均可跳过。收集完后汇总确认再进入下一步。
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster