Configuration

Session Flags works without any configuration. The defaults below are what you get after installing it.

Options

These are the userConfig fields of the mod.

Option Type Default What it does
bandHotkey text 0 One digit or lowercase letter shown on the badge. Pressing it while the band has focus toggles the pane. A digit also works when you type it alone into an empty prompt. Empty disables it
toggleAction text app:toggleDiffNoiseFilter Claude Code keybinding action whose chord toggles the pane from the prompt. Bind a chord to it in ~/.claude/keybindings.json (see A real shortcut). Empty disables it
cleanupMinutes number 30 Minutes before handled and dismissed items are swept away. 0 keeps them until you clear them
captureTrailingQuestions true/false true Add the question Claude ends an answer with, if it didn’t flag it. Your next prompt marks it handled
toastOnNewFlags true/false true Show a toast when Claude adds items while the pane is closed
nudgeUnflaggedFindings true/false true At the end of a turn, when Claude’s answer reports an issue, a risk, an open question or a follow-up and Claude flagged nothing in that turn, send Claude back once to flag them or to reply “Nothing to flag”. At most once per prompt. See The end-of-turn check

A letter as bandHotkey only works while the band has focus (Ctrl+X Tab moves the focus there). Only digits work straight from an empty prompt, so keep a digit if that’s how you open the pane.

Where to set them

The options belong to the plugin id, which depends on how you installed the mod:

Installed with Plugin id
The marketplace (/plugin install) session-flags@session-flags
--plugin-dir or CLAUDE_CODE_PLUGIN_DIRS session-flags@inline

To see the options and which ones you’ve set, run this in your shell:

claude plugin configure session-flags@inline

Inside Claude Code, /plugin configure <plugin id> opens the configuration dialog.

Claude Code saves the values under pluginConfigs in your user settings, ~/.claude/settings.json. You can also write them there by hand:

{
  "pluginConfigs": {
    "session-flags@inline": {
      "options": {
        "bandHotkey": "9",
        "cleanupMinutes": 60,
        "captureTrailingQuestions": false
      }
    }
  }
}

Use session-flags@session-flags as the key for a marketplace install. Claude Code only reads pluginConfigs from your user (or managed) settings, never from a project’s settings files.

Storage and cleanup

The list belongs to a session. It’s saved in the mod’s $.store, under ~/.claude/plugins/store/, after every change. So it survives reloads, and it comes back with /resume. /clear starts a new session, with an empty list; the previous list stays saved with its session, and /resume brings it back.

Two cleanups run on their own:

What When
Handled and dismissed items Swept cleanupMinutes after they were resolved (checked once a minute). 0 turns this off
Lists of old sessions Deleted once nobody has touched them for 14 days (checked a few seconds after a session starts)

To empty the list yourself, use x in the pane or /flags clear (resolved items only), or /flags clear all (everything).