Tips and troubleshooting

Claude doesn’t flag on its own

Claude does not always call the flag tool by itself, even though the tool’s description tells it when to. In a test session in October 2026, Claude was asked to review a few things and find what was wrong. It reported 13 issues and 1 open question in its answers, and called flag zero times. It only flagged them, all at once, after the question “why didn’t you flag this?”. Claude treated its answer as the deliverable and never thought of the pane.

Since version 0.2.0, the end-of-turn check handles most of this: when an answer reports findings and Claude flagged nothing, the mod sends Claude back once to flag them. It works from words in the answer, so a finding written in neutral words can still slip through, and a word such as “risk” can trigger a false alarm that costs one short exchange.

What else helps:

  • Ask. “Flag what you found” at the end of a review turns the findings into items in one call.
  • Add a rule to your CLAUDE.md or AGENTS.md. It’s an instruction too, so it can still be skipped, but it puts flagging in front of Claude in every session. An example follows below.
  • Count on the captures that don’t need Claude. The trailing question of an answer and the questions of a dismissed question dialog go into the list whether Claude remembers the tool or not.

A rule you can add to ~/.claude/CLAUDE.md (every project) or to a project’s CLAUDE.md or AGENTS.md:

## Session flags

When the session-flags tools are available, record every question you ask me, every
issue or risk you notice but don't fix, every warning and every follow-up with the
`flag` tool, in the same turn you mention it. Resolve items with `resolve_flag` as soon
as they're settled. Before you finish a task, call `list_flags` and resolve what you settled.

Keep it short. A long rule in a long file gets diluted.

Get more out of the list

  • Copy before you move on. Press c (open items) or a (everything) and paste the checklist into your task note, issue or pull request before you close the session. Resolved items disappear after 30 minutes by default.
  • Give Claude the ids. “F2 is fine, dismiss it” or “fix F1 and F3” is enough: Claude sees the ids through list_flags and resolves them with resolve_flag.
  • Add your own items. Anything you want to come back to during the session fits in the list: /flags add >Update the changelog adds a follow-up.
  • Keep resolved items longer when you review a session at the end: set cleanupMinutes to 0 and clear them yourself with x.

Troubleshooting

The chord does nothing

Check these, in order:

  1. The badge or the pane must be on screen. The chord reaches the mod only through their buttons, so it works only while the list holds at least one item. To open an empty list, use /flags.
  2. The chord must be bound. app:toggleDiffNoiseFilter is unbound by default. Add it to ~/.claude/keybindings.json as shown in A real shortcut.
  3. The action must be free. Session Flags relies on Claude Code not handling app:toggleDiffNoiseFilter itself, which is the case while its built-in diff mod is enabled (the default). If you use that action, or turned the diff mod off, set toggleAction to another action you don’t use, and bind your chord to that one.
  4. toggleAction must not be empty. An empty value turns the chord off.

The badge hotkey does nothing

The digit works only when you type it alone into an empty prompt. A letter works only while the band has focus (Ctrl+X Tab). And there’s no badge, so no hotkey, while the list is empty. If you set bandHotkey to an empty value, there’s no hotkey at all.

The pane takes too much room

In a wide fullscreen terminal, the pane is a sidebar next to the transcript. In a narrow terminal, or when Claude Code doesn’t run fullscreen, it sits above the prompt and takes rows from the transcript. To keep it small:

  • Press h to hide the resolved items, or x to clear them
  • Lower cleanupMinutes, so resolved items go away sooner
  • Close the pane with q or Esc when you don’t need it: the badge stays and tells you how many items are open

Long locations are cut in the middle to fit the width; the copied markdown always has them in full.

A question that needs no answer got captured

The trailing-question capture adds the last paragraph of an answer when it ends with a question mark, including rhetorical ones. Your next prompt marks it handled anyway. Press ✕ to dismiss it right away, or set captureTrailingQuestions to false if you’d rather rely on Claude and on your own items.

The list is empty after /clear

/clear starts a new session, and each session has its own list. The previous list is still saved: /resume that session to get it back. Lists of sessions nobody touched for 14 days are deleted.

Developing the mod

Run Claude Code on your clone with hot reload on save:

claude --plugin-dir .      # live, with hot reload on save
claude plugin validate .   # what Claude Code reads from the mod
claude plugin test         # the tests in tests/

The list is saved in the mod’s store after every change, so the items are still there after a reload.

Claude Code writes type declarations for your version into .claude-plugin/types/ when it loads the mod. tsc -p . --noEmit type-checks the tests against them.