← All questions

What is /rescan for?

It reads back over the conversation — what you said, what Claude thought while working — and files anything that never made it into a file. A shortened version runs inside /close as a safety net, but you can run /rescan yourself at any moment.

The reason to run it mid-session is that /close is too late for some things. If you've been freewheeling in a /plan session, running /rescan sweeps what was said into captures right then — so they can be processed in that same session and be cleared to run in time for your very next /build.

It also reads Claude's own working-out, not just your messages, so ideas that came up while Claude was actually working with your project get filed rather than lost.

What it finds is routed by where it belongs: work still to do becomes a capture, while something that already happened is added to this session's record as a marked tail. That second half is what makes /rescan the one-word way to record work you did after /close. In a planning chat it also says, per item, whether that item is worth processing now and why — it bears on work already cleared, it settles in one turn, or it changes an entry already in the queue — and recommends filing the rest for later; your answer still decides.

Two limits worth knowing. It reaches only as far back as Claude can still see in the conversation. And it stops at the last /rescan in that chat, so running it twice doesn't comb the same ground again.