For Claude Code, Codex and Cursor
See and fix your
AI coding setup.
Preflight is the check you run before the session starts: what is installed, what it costs in context, and the smallest change that makes it better.
npx @arhunsaday/preflight doctorFree. Runs on your machine. macOS, Windows and Linux.
What you will see
The desktop app shows the same engine as the command line. Every write opens a preview first and applies only when you confirm it.
One screen for the project: what is installed, what it adds to context, and what to do next.








What it does
Doctor
Unused context, effort level, overlapping skills, global MCP servers that belong to one project, CLAUDE.md lint. Each finding names the smallest fix.
Context map
A treemap of the instruction text your setup can load, by resource, scope and agent. Estimates are labelled as estimates.
Usage and cache
Tokens, cache hit rate and an estimated cost per session, skill, project and day, read from your local transcripts.
Loadouts and profiles
Compose sets of resources, switch profiles, and see the diff before anything is written. Every change can be rolled back.
Discovery
Search the bundled catalogue, the MCP registry, skills.sh and GitHub. Inspect what a resource contains and asks for before you add it.
Sharing by link
Publish a setup, send a link, preview it as a diff on the other side. Payloads that contain credentials are rejected.
Teams
Sign in with GitHub or Google, create a team, invite people and publish shares to it. Local use never needs an account.
Claude Code, Codex, Cursor
Native adapters for the three. A resource type an agent cannot hold stays inspectable and is marked as catalogued only.
Local first
Inventory, Doctor, the context map and usage statistics are computed on your computer from your own files and transcripts. Nothing leaves the machine. Sign-in, sharing and teams are optional, and a share is only published when you publish it.
Three ways in
Command line
Scriptable, JSON on stdout, a terminal interface with `preflight ui`.
npx @arhunsaday/preflight doctorCLI referenceDesktop app
Electron for macOS, Windows and Linux, with previews, accounts and teams.
brew install --cask preflightInstall the appClaude Code plugin
Lets Claude run Doctor and the context map for you, and ask before it applies a change.
/plugin install preflight@arhun-pluginsPlugin marketplace