Repository navigation
Releases
0.2.0
Claude gets a second chance to flag what it found
Claude doesn't always call flag on its own. In an October test it reported 13 issues and 1 open question in its answers and flagged none of them. Session Flags now checks every answer at the end of the turn. When the answer reports something you may need to track (an issue left unfixed, a risk, a check not done, a follow-up) and Claude flagged nothing during that turn, the mod sends Claude back once: flag each item, or reply "Nothing to flag".
- At most once per prompt of yours, never for a subagent, and never when Claude already flagged something in the turn.
- Words inside code blocks don't count.
- Claude Code shows the moment as "stop hook problem · ctrl+o to see". That's its usual label when a Stop hook sends Claude back.
- Turn it off with the new
nudgeUnflaggedFindingsoption.
Fixed
- A subagent that started during your turn reset what the mod knew about that turn, so a question Claude had already flagged could be captured a second time from the end of its answer.
Also new
- The mod has an icon, for the plugin directory.
- GitHub Actions validates the mod and runs its tests on every push, and every Monday against the latest Claude Code release.
0.1.0
The first public release of Session Flags, under the MIT license.
What Claude flags stays in one list
During a session, Claude asks questions, spots issues it doesn't fix, warns you about side effects and leaves follow-ups. Session Flags collects them in a side pane, as a checklist, so they no longer get lost in the scrollback.
Items get into the list in four ways:
- Claude's tools: the mod gives Claude
flag,resolve_flagandlist_flags. These are structured tool calls, so nothing depends on parsing Claude's prose, and they never ask for permission. - Trailing questions: 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. You can turn this off.
- Dismissed question dialogs: if you dismiss one of Claude's question dialogs without answering, its questions stay open in the list.
- Your own items: type into the pane's field or run
/flags add. A leading?,!,~or>makes it a question, an issue, a warning or a follow-up.
The pane, the badge and the commands
- The pane groups the items by kind. Resolve each one with
✓(handled) or✕(dismissed), reopen it with↺, or copy it with⧉. - A badge such as
0: ⚑ 2 open flagssits above the prompt while the list holds items. Type0alone in an empty prompt to open the pane, or bind a real chord in~/.claude/keybindings.json. /flagstoggles the pane./flags copy,list,add,done,dismiss,reopenandclearcover the rest.ccopies the open items as a markdown checklist,acopies everything, ready to paste into a task, an issue or a pull request.
One list per session, cleaned up for you
The list is saved for its session, so it survives reloads and comes back with /resume. Handled and dismissed items are swept away 30 minutes after they were resolved (configurable), and lists of sessions nobody touched for 14 days are deleted.
Install
/plugin install session-flags --marketplace dsebastien/session-flags
Requires Claude Code v2.1.287 or later. Tested with v2.1.329. The other ways to install are in Usage.
Known limit
Claude does not always call the flag tool on its own. In a test session, it reported 13 issues and 1 open question in its answers and flagged none of them until it was asked why. Ask it to "flag what you found", or add a rule to your CLAUDE.md or AGENTS.md. The trailing-question and dismissed-dialog captures work whether Claude remembers the tool or not. See Tips.