一键导入
metame-release
MetaMe npm 发布流程(版本 bump、pre-publish 审计、OTP publish)。触发:发布/打包/出包/bump/release + MetaMe 代码上下文。勿触发:自媒体/内容发布。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
MetaMe npm 发布流程(版本 bump、pre-publish 审计、OTP publish)。触发:发布/打包/出包/bump/release + MetaMe 代码上下文。勿触发:自媒体/内容发布。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
MetaMe Agent lifecycle management — create, bind, list, edit, unbind agents. TRIGGER when: user explicitly requests creating a new agent, binding/unbinding an agent to a chat, listing agents, editing agent roles, resetting agents, or managing agent soul/identity. Keywords: "新建agent", "创建智能体", "绑定agent", "解绑", "agent列表", "/agent", "创建工作区". DO NOT TRIGGER when: user is DISCUSSING agents conceptually, talking ABOUT the agent system, reporting bugs about agents, or mentioning "agent" in passing without an actionable request. If the message is about agent architecture, design, code, or features — that is NOT a trigger.
把本地文件直接发到用户手机(飞书 / Telegram / iMessage),而不是只在群里报路径。 触发:用户说「把 X 文件发我 / 给我下载 / 发到手机 / 发文件」、要 PDF/CSV/PNG/log 下载、要查看文件内容(超过聊天可读长度)。
AI Agent 专属无头浏览器 CLI(省 token 80%)。触发:网页自动化、打开网页、点击填表、截图抓快照、agent-browser。
免费多平台信息采集CLI(Twitter/YouTube/B站/小红书/抖音/Reddit/LinkedIn/GitHub/RSS/网页)。触发:agent reach、爬取、读网页、搜推特、搜B站。**WebFetch 失败时优先用此 skill**:凡遇到 JS 渲染页面(Twitter/X、Instagram、LinkedIn 等)或 WebFetch 返回空内容/JavaScript错误,无需重试 WebFetch,直接调用此 skill。
Create, iterate, evolve, and package skills that extend Claude's capabilities. Use when: (1) Creating a new skill from scratch, (2) Updating or improving an existing skill's instructions or bundled resources, (3) Evolving a skill based on session experience (bugs, preferences, workarounds) — triggers: "进化技能", "更新 skill", "/evolve", "记录这个经验", "skill evolution", (4) Packaging a skill for distribution to other Claude Code (Codex) users. Do NOT trigger for general programming tasks unrelated to skill authoring.
技能系统总管。AI 遇到任何能力不足、工具缺失、任务失败时,第一时间查阅此 skill。它掌握全部已安装技能的清单,决定是调用现有技能还是获取新技能,并在任务完成后自动进化技能库。触发条件:(1)任务执行失败或结果不理想,(2)需要的工具/能力不存在,(3)用户说"找技能"、"管理技能"、"更新技能"。本协议应自动触发,无需用户指令。
基于 SOC 职业分类
| name | metame-release |
| description | MetaMe npm 发布流程(版本 bump、pre-publish 审计、OTP publish)。触发:发布/打包/出包/bump/release + MetaMe 代码上下文。勿触发:自媒体/内容发布。 |
git -C /Users/yaron/AGI/MetaMe status --short
git -C /Users/yaron/AGI/MetaMe diff --stat HEAD
npx eslint /Users/yaron/AGI/MetaMe/scripts/daemon*.js 2>&1 | tail -5
node -e "
const fs=require('fs');
const ex=new Set(['sync-readme.js','test_daemon.js']);
const src=fs.readdirSync('/Users/yaron/AGI/MetaMe/scripts')
.filter(f=>!ex.has(f)&&!/\.test\.js\$/.test(f)&&/\.(js|yaml|sh)\$/.test(f));
const dep=fs.readdirSync('/Users/yaron/.metame')
.filter(f=>/\.(js|yaml|sh)\$/.test(f));
const miss=src.filter(f=>!dep.includes(f));
console.log('Source:',src.length,'Deployed:',dep.length);
console.log('Missing from ~/.metame:',miss.length?miss:'NONE ✅');
"
cd /Users/yaron/AGI/MetaMe && npm run sync:plugin 2>&1 | tail -2
| 类型 | 命令 | 适用场景 |
|---|---|---|
| patch | npm version patch --no-git-tag-version | bug fix、小功能 |
| minor | npm version minor --no-git-tag-version | 新功能模块 |
| major | npm version major --no-git-tag-version | 架构变更、破坏性更新 |
查当前版本:grep '"version"' /Users/yaron/AGI/MetaMe/package.json
# 1. 提交变更(precommit 自动运行 sync:plugin)
git -C /Users/yaron/AGI/MetaMe add <files>
git -C /Users/yaron/AGI/MetaMe commit -m "fix/feat: <描述>"
# 2. Bump 版本
cd /Users/yaron/AGI/MetaMe && npm version patch --no-git-tag-version
git -C /Users/yaron/AGI/MetaMe add package.json
git -C /Users/yaron/AGI/MetaMe commit -m "chore: bump version to X.Y.Z"
# 3. 发布(需 OTP)
cd /Users/yaron/AGI/MetaMe && npm publish --otp=<6位数字>
# 4. 验证
npm view metame-cli version
OTP:来自 Authenticator app 的 6 位数字,不是版本号。等用户提供,不要猜。
"scripts/" 通配符 → 所有 scripts/ 文件自动发布,无需手动维护列表plugin/ 是 Claude Code 插件目录,不是 npm 发布路径sync:plugin 已改为自动扫描:新增文件无需更新任何列表BUNDLED_SCRIPTS 在 index.js 也已自动扫描:排除 *.test.js / sync-readme.js / test_daemon.jsIS_DEV_MODE=false,走文件复制,hooks/bin 均由 index.js 的 syncDirFiles 处理daemon.yaml 是用户配置,永远不被覆盖(daemon-default.yaml 是模板)| 错误 | 原因 | 解决 |
|---|---|---|
EOTP | 需要二步验证 | 让用户提供 Authenticator 6位码 |
EPUBLISHCONFLICT | 版本号已存在 | 再 bump 一次 patch |
E403 | 权限问题 | npm whoami 确认登录状态 |
Cannot find module | 新文件未部署 | 跑清单第3项验证 |
precommit restart:daemon 失败 | 正常,可忽略 | commit 仍然成功 |