Skip to content

0.1.0

Choose a tag to compare

@dsebastien dsebastien released this 20 Nov 19:39
· 6 commits to main since this release

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_flag and list_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 flags sits above the prompt while the list holds items. Type 0 alone in an empty prompt to open the pane, or bind a real chord in ~/.claude/keybindings.json.
  • /flags toggles the pane. /flags copy, list, add, done, dismiss, reopen and clear cover the rest.
  • c copies the open items as a markdown checklist, a copies 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.