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 doctor

Free. 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.

skillsMCP serversagentshookspluginsinstructions

One screen for the project: what is installed, what it adds to context, and what to do next.

Preflight desktop overview: skills, MCP servers, detected resources and estimated contextPreflight desktop overview: skills, MCP servers, detected resources and estimated context

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.

How usage is counted · What a share contains

Three ways in

Command line

Scriptable, JSON on stdout, a terminal interface with `preflight ui`.

npx @arhunsaday/preflight doctorCLI reference

Desktop app

Electron for macOS, Windows and Linux, with previews, accounts and teams.

brew install --cask preflightInstall the app

Claude 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