有时候,当你在 Claude Code 里完成了一些复杂的事情,你可能想把这个 session 总结保存下来,稍后可以浏览或者分享。
你可以用下面的这个提示词让 Claude Code 来创建一个 skill 将会话保存到 Planet:
Create a Claude Code skill called `/save-session` that saves the current session summary as a Planet article. One planet per project, one article per session. If the article already exists, update it.
Planet API docs: https://raw.githubusercontent.com/Planetable/Planet/refs/heads/main/Technotes/API.md
然后你可以用这种方式来告诉 Claude Code 如何映射:
planet server url: http://127.0.0.1:8086
planet uuid for this project: 6A10E06A-C77E-4D43-B96F-4F870ACF7005
Planet UUID 可以右键 Copy UUID 获得。
然后就可以在需要的时候将会话总结保存进 Planet 稍后浏览或者分享了。
或者也可以用这里已经创建好的 skill 文件:
https://github.com/Planetable/Planet/tree/main/tools/claude-code-skill
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.