session-bookmarks
Reviewed
at commit 36f76db
Explicit bookmarks for Claude Code sessions you want to come back to. /bm saves one, /bm open lists them with a copyable resume command.
0 upvotes
Log in to upvote or save- Made by
- Prompt Advisers
- Pinned commit
-
36f76db2eaace816c651a0c1ad3e6cb46f770432 - What we checked
-
Adds /bm to save a bookmark of the current session (title, note, project, git branch, session id, transcript path) so you can copy a resume command later. When you give no note it sends a short digest of the conversation to Haiku on your own account to write a title. Bookmarks are kept in a JSON file in ~/.claude/bookmarks; nothing goes over the network.
Review details
Static review of the source at the pinned commit; not run. Registers a /bm command, two tools (bookmark_session, find_bookmarks, whose tool.call events it answers itself, only for its own tools), and hooks session.start, command.run, tool.call and ui.render (Bookmarks pane with Resume and Delete buttons; delete asks first). Saving uses $.session.id/cwd/messages, runs git rev-parse for the branch, and checks whether the transcript file under ~/.claude/projects exists (existence checks and a directory listing only, transcript content is never read). Without a title or note it calls $.model.complete with a clipped digest (about 4000 characters) of recent prompts and replies, model alias haiku by default, kept in memory only. Bookmarks go to ~/.claude/bookmarks/bookmarks.json, or the userConfig bookmarksFile or SESSION_BOOKMARKS_FILE path, written to a temp file then moved with mv, chmod 600 and 700 for the default folder; a corrupt file is copied aside. Resume copies a quoted 'cd <dir> && claude --resume <id>' to the clipboard; it never runs it. Reads env HOME, CLAUDE_CONFIG_DIR and SESSION_BOOKMARKS_FILE only.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: yes
- Blocks or changes tool calls: no
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): yes
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/session-bookmarks/)