GoForum🌐 V2EX

用 Planet 保存 Claude Code 会话

Livid · 2026-04-06 04:14 · 0 次点赞 · 0 条回复

有时候,当你在 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

https://i.v2ex.co/XQ01L3rw.png

Planet UUID 可以右键 Copy UUID 获得。

然后就可以在需要的时候将会话总结保存进 Planet 稍后浏览或者分享了。


或者也可以用这里已经创建好的 skill 文件:

https://github.com/Planetable/Planet/tree/main/tools/claude-code-skill

0 条回复
添加回复
你还需要 登录 后发表回复

登录后可发帖和回复

登录 注册
主题信息
作者: Livid
发布: 2026-04-06
点赞: 0
回复: 0