Skip to content

Codebase map

A map that admits how stale it is

Your agent works from a picture of your repo. FlowKy for Claude Code rebuilds its own map at every session start, and one line tells you and Claude when the map committed by the VS Code extension is behind HEAD, or when HEAD moves during the session. Silent otherwise.

Get FlowKy free

No card · Your agent, your plan

SessionStart hook · git-aware

You know this one

It learned your structure sixty commits ago

Nothing tells the agent that. Nothing tells you either, until it edits a file that moved last Tuesday — with complete confidence, because a stale map reads exactly like a fresh one.

How it works

  1. Mapped from the repo itself

    The VS Code extension maps the tree, symbols and import graph; FlowKy for Claude Code writes a short map of the stack, entry points, commands and key folders. Both are generated from the repository, not described by hand.

  2. Checked against HEAD at session start

    A session-start hook compares the committed map with the current commit. When it is behind, one line says by how many commits and which folders changed, before work begins; when HEAD moves during the session, a line says so too. Silent otherwise, and no line in a git worktree.

  3. Refreshing is one command

    “Your map is 14 commits old” is actionable in a way “maps go stale” never is. One command rebuilds it from the code as it stands.

Fair questions

Is this another thing to keep updated?
FlowKy for Claude Code rebuilds its own map at every session start. The map the VS Code extension committed is measured against HEAD, and a line says when it is behind: you refresh it when the number bothers you. A map that cannot say it is out of date reads exactly like a fresh one.
Which agents can read it?
The map is files on disk, so any agent that reads your repository can use it; the skill format is Claude Code’s.
Get FlowKy free

No card · Your agent, your plan

Also in FlowKy for Claude Code