Session Flags
Session Flags is a Claude Code mod that keeps track of what Claude flags during a session: the questions it asks you, the issues it spots but doesn’t fix, the warnings, and the follow-ups.
Without it, those items end up in the scrollback, between tool calls and diffs. When the session ends, you scroll back through the transcript to find what still needs your attention, and it’s easy to miss one. Session Flags puts them in a side pane instead, as a checklist that you can resolve, that cleans itself up, and that you can copy as markdown.
│ 2 open · 1 done
│ c: copy a: copy all h: hide done q: close x: clear done
│
│ ? Questions
│ ✓ ✕ ⧉ F3 Fix the two parser issues now, or just track them?
│ ! Issues
│ ✓ ✕ ⧉ F1 Race in cache invalidation
│ src/cache.ts:42
│ ↺ ⧉ F2 Missing null check (fixed with a test)
│
│ Add: note (start with ? ! ~ > for question, issue, warning, follow-up)
Key features
- Claude logs the items itself: the mod gives Claude three tools (
flag,resolve_flagandlist_flags). These are structured tool calls, so nothing depends on how Claude phrases its answers. They never ask for permission. - Trailing questions are caught: when Claude ends an answer with a question it didn’t flag, the question goes into the list, and your next prompt marks it as answered.
- Dismissed question dialogs stay open: if you dismiss one of Claude’s question dialogs without answering, its questions wait for you in the list.
- Your own items: type a note into the pane, or run
/flags add. - A checklist that cleans itself up: items are open, handled or dismissed. Resolved items fade, then disappear after 30 minutes (you can change that).
- Copy as markdown: copy the open items, everything, or a single item, ready to paste into a task, an issue or a pull request.
- A badge and a shortcut: a badge above the prompt shows the number of open flags. Type
0in an empty prompt, or bind a real shortcut, to open the pane. - One list per session: the list survives reloads and comes back with
/resume.
Quick start
-
Install the mod from its own marketplace (requires Claude Code v2.1.287 or later):
/plugin install session-flags --marketplace dsebastien/session-flags - Work as usual. When Claude flags something, a badge such as
0: ⚑ 2 open flagsappears above the prompt. - Type
0alone in an empty prompt, or run/flags, to open the pane. - Resolve items with
✓(handled) or✕(dismissed), and presscto copy the open ones as markdown.
The other ways to install, the commands and the keyboard shortcut are in Usage. The options are in Configuration.
Read Tips before you rely on it: Claude does not always call the flag tool on its own, and that page explains what helps.
About
Created by Sébastien Dubois. Session Flags is open source, under the MIT license.
News & support
To stay up to date about this mod, Claude Code, AI, personal knowledge management and note-taking:
- Subscribe to my newsletter
- Subscribe to my YouTube channel
- Join the Knowii community and learn to organize your notes and put your knowledge to work, together with fellow knowledge workers
If this mod is useful to you, here are the best ways to support my work ❤️: