{"_id":"@catcuts-skills/handover","_rev":"7-a9efbcb044451ba4298c01e3744fe507","name":"@catcuts-skills/handover","dist-tags":{"latest":"1.0.7"},"versions":{"1.0.0":{"name":"@catcuts-skills/handover","version":"1.0.0","keywords":["claude-code","skill","handover","session-management","context-transfer"],"author":{"name":"catcuts"},"license":"MIT","_id":"@catcuts-skills/handover@1.0.0","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"homepage":"https://github.com/catcuts/agent-skills#readme","bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"dist":{"shasum":"eab28d67a069bf0a006d422f8278118570f90bb8","tarball":"https://registry.npmjs.org/@catcuts-skills/handover/-/handover-1.0.0.tgz","fileCount":6,"integrity":"sha512-fzIAcWJkSGdPWNa1Ei/4yj6mk49WZt9ir85eeEThzrd8UeN2zJ5BDYNoi+I5Vu9vv8SiUNepawdeSG0Anjc46g==","signatures":[{"sig":"MEUCIQCUODpkETRBTRkhtPe0QVDiGWQrMoPVKsF7mJtLs30z5gIgDlJI18EInAuR3mABGAbgp/sXJViO5R8rxOnyxz+EQHw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12379},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"61aa3632bbb54f8ba6d2119e50a1e2fd5bb059b8","scripts":{"lint":"echo 'Add your linting commands here'","test":"node scripts/install-skill.js --dry-run","postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js","install:local":"node scripts/install-skill.js --local","install:global":"node scripts/install-skill.js --global"},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"repository":{"url":"git+https://github.com/catcuts/agent-skills.git","type":"git","directory":"skills/handover"},"_npmVersion":"10.9.3","description":"跨会话工作交接工具。支持归档当前进度和恢复历史进度两个模式。","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"optionalDependencies":{"add-skill":"^1.0.29"},"_npmOperationalInternal":{"tmp":"tmp/handover_1.0.0_1769412119008_0.8064255298494347","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@catcuts-skills/handover","version":"1.0.1","keywords":["claude-code","skill","handover","session-management","context-transfer"],"author":{"name":"catcuts"},"license":"MIT","_id":"@catcuts-skills/handover@1.0.1","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"homepage":"https://github.com/catcuts/agent-skills#readme","bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"dist":{"shasum":"d06f2b5de16622f68b16aff015f98a3a243ed44f","tarball":"https://registry.npmjs.org/@catcuts-skills/handover/-/handover-1.0.1.tgz","fileCount":6,"integrity":"sha512-jI/NGVkhZcsXcp1yxDJVNlAqDPLkLA5WHfsg5yNpERmKzaDJgV2jnO88+fGlk0vOjCRBHqCiWCMHv5N912gTOw==","signatures":[{"sig":"MEQCIBFT742+zxnIBCn4s1ZLhfancuPzt60ZHtS9EUFgQAdIAiBlcopMayVUuK19gUh6sAu6sKfP9zhCOVDqTm/b9PUjVw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12351},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"eb921609f5ca883089ef2fcc753ea0c9db1ba632","scripts":{"lint":"echo 'Add your linting commands here'","test":"node scripts/install-skill.js --dry-run","postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js","install:local":"node scripts/install-skill.js --local","install:global":"node scripts/install-skill.js --global"},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"repository":{"url":"git+https://github.com/catcuts/agent-skills.git","type":"git","directory":"skills/handover"},"_npmVersion":"10.9.3","description":"跨会话工作交接工具。支持归档当前进度和恢复历史进度两个模式。","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"optionalDependencies":{"add-skill":"^1.0.29"},"_npmOperationalInternal":{"tmp":"tmp/handover_1.0.1_1769413581556_0.7440111239011864","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@catcuts-skills/handover","version":"1.0.2","keywords":["claude-code","skill","handover","session-management","context-transfer"],"author":{"name":"catcuts"},"license":"MIT","_id":"@catcuts-skills/handover@1.0.2","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/handover#readme","bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"dist":{"shasum":"6c603a70821970adddc54f565b00a3f09d786f79","tarball":"https://registry.npmjs.org/@catcuts-skills/handover/-/handover-1.0.2.tgz","fileCount":7,"integrity":"sha512-7k6wY6zbKotEevcThh2F0YjROhnvB9e9dxvk5D+n4Zt4v8YheksxAxTHMxpxzjHlYhcKun31egg5bUdBF0yMsw==","signatures":[{"sig":"MEUCICm1zsYT8gplBMP9Y8YDhebFxtcDCNTEkJ/LKCrlm3VTAiEAvnemXLYtTq528jDr+fl+bbibV+agpzTKZlFlPma8FAw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14731},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"c686a89382925fb5ad665df8e950fc21f756b269","scripts":{"lint":"echo 'Add your linting commands here'","test":"node scripts/install-skill.js --dry-run","postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js","install:local":"node scripts/install-skill.js --local","install:global":"node scripts/install-skill.js --global"},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"repository":{"url":"git+https://github.com/catcuts/agent-skills.git","type":"git","directory":"skills/handover"},"_npmVersion":"10.9.3","description":"跨会话工作交接工具。支持归档当前进度和恢复历史进度两个模式。","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"optionalDependencies":{"add-skill":"^1.0.29"},"_npmOperationalInternal":{"tmp":"tmp/handover_1.0.2_1769416918543_0.5516979208296722","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@catcuts-skills/handover","version":"1.0.4","keywords":["claude-code","skill","handover","session-management","context-transfer"],"author":{"name":"catcuts"},"license":"MIT","_id":"@catcuts-skills/handover@1.0.4","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/handover#readme","bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"dist":{"shasum":"6e48d8917832206bc258c2e9a60fd0f5a3e4dacb","tarball":"https://registry.npmjs.org/@catcuts-skills/handover/-/handover-1.0.4.tgz","fileCount":7,"integrity":"sha512-ie0Ywts62mGYqCozfz208HmoKcJgrvqbgZaWA3E8Ljab4XP5WqU8v/21iswr+QlX0HITUTs7fyMRcBn0gNi9QQ==","signatures":[{"sig":"MEYCIQDnJ9eVMss8A0P7F/gCb+c3v1+LIQTet7zuFCbkwA7C9gIhAK96VxTVbOpIGQ4wHp+Z8fYAvZqNPchvGezSk/sjdWAo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21260},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"fd3b60f992911cb457525c7e2f7a19f2383032f3","scripts":{"lint":"echo 'Add your linting commands here'","test":"node scripts/install-skill.js --dry-run","postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js","install:local":"node scripts/install-skill.js --local","install:global":"node scripts/install-skill.js --global"},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"repository":{"url":"git+https://github.com/catcuts/agent-skills.git","type":"git","directory":"skills/handover"},"_npmVersion":"10.9.3","description":"跨会话工作交接工具。支持归档当前进度和恢复历史进度两个模式。","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"optionalDependencies":{"skills":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/handover_1.0.4_1769528649520_0.791878410916729","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@catcuts-skills/handover","version":"1.0.5","keywords":["claude-code","skill","handover","session-management","context-transfer"],"author":{"name":"catcuts"},"license":"MIT","_id":"@catcuts-skills/handover@1.0.5","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/handover#readme","bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"dist":{"shasum":"3a5db3abb95997936a51a29892be94d92aac5d9c","tarball":"https://registry.npmjs.org/@catcuts-skills/handover/-/handover-1.0.5.tgz","fileCount":7,"integrity":"sha512-q45YHr5wE/NkqQdBBsspMj7ywrWXTEm4PUogzpXiBpXhLYvBB7jt2qlfaowKP7n6fMFf4ugUyeZPkRj2z+EZSg==","signatures":[{"sig":"MEUCIAPVvz9OhrbWQdsLwqlXJACOHfRv9z7tsxkvYm8hf0t+AiEAuQzPjd9o44a/DHgQ5MEGawhya86WMrrT7DDJna7yemk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21266},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"639628483997006a60a91e269c67e6dd36526415","scripts":{"lint":"echo 'Add your linting commands here'","test":"node scripts/install-skill.js --dry-run","postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js","install:local":"node scripts/install-skill.js --local","install:global":"node scripts/install-skill.js --global"},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"repository":{"url":"git+https://github.com/catcuts/agent-skills.git","type":"git","directory":"skills/handover"},"_npmVersion":"10.9.3","description":"跨会话工作交接工具。支持归档当前进度和恢复历史进度两个模式。","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"optionalDependencies":{"skills":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/handover_1.0.5_1769566542334_0.731652502074992","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@catcuts-skills/handover","version":"1.0.6","keywords":["claude-code","skill","handover","session-management","context-transfer"],"author":{"name":"catcuts"},"license":"MIT","_id":"@catcuts-skills/handover@1.0.6","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/handover#readme","bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"dist":{"shasum":"acf98c42c1cc2549427c28c5ba899aa14bbcea23","tarball":"https://registry.npmjs.org/@catcuts-skills/handover/-/handover-1.0.6.tgz","fileCount":7,"integrity":"sha512-I8mPOL+rJJGEbNdQXj+EXUzi86XMyhpN1XKJvsK4Z3CMp7LxtmqD4ZXztDO6Bil33sUsE8ViuzN2+JQamhrVjw==","signatures":[{"sig":"MEYCIQCQ4l4dYMvWVt66p5agslVpCAvFG4N9H8TGEiVEXDD+iQIhAN2DqYSXPgl0n4h+jrScqaBhFGWJi/Uo1RIEseXcGrEd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21260},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"cd4a5f70e409005397df87bcc90393bf31f2d2f5","scripts":{"lint":"echo 'Add your linting commands here'","test":"node scripts/install-skill.js --dry-run","postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js","install:local":"node scripts/install-skill.js --local","install:global":"node scripts/install-skill.js --global"},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"repository":{"url":"git+https://github.com/catcuts/agent-skills.git","type":"git","directory":"skills/handover"},"_npmVersion":"10.9.3","description":"跨会话工作交接工具。支持归档当前进度和恢复历史进度两个模式。","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"optionalDependencies":{"skills":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/handover_1.0.6_1769584371986_0.5499841319242385","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@catcuts-skills/handover","version":"1.0.7","description":"跨会话工作交接工具。支持归档当前进度和恢复历史进度两个模式。","main":"index.js","scripts":{"postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js","test":"node scripts/install-skill.js --dry-run","install:global":"node scripts/install-skill.js --global","install:local":"node scripts/install-skill.js --local","lint":"echo 'Add your linting commands here'"},"keywords":["claude-code","skill","handover","session-management","context-transfer"],"author":{"name":"catcuts"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/catcuts/agent-skills.git","directory":"skills/handover"},"bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/handover#readme","engines":{"node":">=18.0.0"},"_id":"@catcuts-skills/handover@1.0.7","gitHead":"4604bdedb0c2f9d563d4870eeb55e94f17d706ec","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-dvP1qdwxQy4ql4rC7ipzzQItP8mwAIEnuaRH6meNihFZMui+AzwD9BynaDv9bAaEv1EAbZcY5uIlDQOYtdQNtg==","shasum":"69876a12133281179fce0350fbf3b8be1f5e2378","tarball":"https://registry.npmjs.org/@catcuts-skills/handover/-/handover-1.0.7.tgz","fileCount":7,"unpackedSize":21267,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEx2uM8EgWnRYRuYlGUW3WwLT4hVAWcLkB0dQNo/YWmxAiEAn6qFZUlVVCqchl0ikicSQ6rGWERA/KeZ6wvZYGseWqQ="}]},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"directories":{},"maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/handover_1.0.7_1769594130917_0.03388208776437862"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-26T07:21:58.900Z","modified":"2026-01-28T09:55:31.205Z","1.0.0":"2026-01-26T07:21:59.147Z","1.0.1":"2026-01-26T07:46:21.689Z","1.0.2":"2026-01-26T08:41:58.679Z","1.0.4":"2026-01-27T15:44:09.673Z","1.0.5":"2026-01-28T02:15:42.486Z","1.0.6":"2026-01-28T07:12:52.153Z","1.0.7":"2026-01-28T09:55:31.068Z"},"bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"author":{"name":"catcuts"},"license":"MIT","homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/handover#readme","keywords":["claude-code","skill","handover","session-management","context-transfer"],"repository":{"type":"git","url":"git+https://github.com/catcuts/agent-skills.git","directory":"skills/handover"},"description":"跨会话工作交接工具。支持归档当前进度和恢复历史进度两个模式。","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"readme":"# Handover Skill\n\n跨会话工作交接工具，支持 AI Agent 工作状态的保存与恢复。\n\n## 功能\n\n- **导出模式**：保存当前会话的工作状态到本地存档\n- **恢复模式**：从历史存档中恢复工作状态\n\n## 安装\n\n### 自动安装（推荐）\n\n安装本 npm 包时会自动将 skill 注册到 Opencode、Claude Code、Codex、Cursor 及其他 [23 个工具](https://github.com/vercel-labs/add-skill?tab=readme-ov-file#supported-agents)。感谢 [Vercel 开源的 skills 管理工具](https://github.com/vercel-labs/skills)🌹\n\n```bash\n# 全局安装（默认）\nnpm install -g @catcuts-skills/handover\n\n# 项目级安装\nSKILL_SCOPE=LOCAL npm install @catcuts-skills/handover\n```\n\n**环境变量 `SKILL_SCOPE`**:\n\n- `GLOBAL`（默认）: 安装到用户目录 `~/.claude/skills/handover`\n- `LOCAL`: 安装到项目目录 `.claude/skills/handover`\n\n### 手动安装\n\n如果自动安装失败,可以手动运行：\n\n```bash\n# 全局安装\nnpx skills . -a claude-code -g -y\n\n# 项目级安装\nnpx skills . -a claude-code -y\n```\n\n### 测试安装\n\n运行测试以验证安装配置（不会实际安装）：\n\n```bash\nnpm test\n```\n\n### 卸载\n\n**重要**：由于 npm 的限制，全局卸载时 preuninstall hook 可能不会执行。请按照以下步骤正确卸载：\n\n#### 方式 1：使用 npm scripts（推荐）\n\n```bash\n# 全局卸载\nnpm run uninstall:global\nnpm uninstall -g @catcuts-skills/handover\n\n# 项目级卸载\nnpm run uninstall:local\nnpm uninstall @catcuts-skills/handover\n```\n\n#### 方式 2：手动清理（如果方式 1 失败）\n\n```bash\n# 1. 清理技能文件\nrm -rf ~/.claude/skills/handover\nrm -rf ~/.agents/skills/handover\n\n# 2. 卸载 npm 包\nnpm uninstall -g @catcuts-skills/handover\n```\n\n**Windows PowerShell**:\n```powershell\n# 1. 清理技能文件\nRemove-Item -Recurse -Force \"$env:USERPROFILE\\.claude\\skills\\handover\"\nRemove-Item -Recurse -Force \"$env:USERPROFILE\\.agents\\skills\\handover\"\n\n# 2. 卸载 npm 包\nnpm uninstall -g @catcuts-skills/handover\n```\n\n#### 为什么需要两步？\n\nnpm 的 `preuninstall` hook 在全局卸载时**不保证被执行**，这是 npm 的已知限制。因此需要先手动清理技能文件，再卸载 npm 包。\n\n## 使用\n\n**导出工作状态：**\n\n```\n请帮我交接当前工作\n```\n\n**恢复工作状态：**\n\n```\n请接手之前的 xx 工作\n```\n\n## 技术细节\n\n- 存档保存在项目根目录的 `.handover/` 中\n- 使用 Vercel 的 `add-skill` 工具进行安装管理\n\n### 安装路径\n\n**全局安装 (SKILL_SCOPE=GLOBAL)**:\n\n- 实际存储: `~/.agents/skills/handover/`\n- Claude Code 链接: `~/.claude/skills/handover/` (符号链接)\n\n**项目级安装 (SKILL_SCOPE=LOCAL)**:\n\n- 实际存储: `.agents/skills/handover/`\n- Claude Code 链接: `.claude/skills/handover/` (符号链接)\n\n### 系统要求\n\n- Node.js >= 18.0.0\n\n## 开发\n\n本技能基于 [agent-skill-npm-boilerplate](https://github.com/catcuts/agent-skill-npm-boilerplate) 开发。\n","readmeFilename":"README.md"}