Find the token leaks in Codex

Codex loads AGENTS.md files and the MCP servers in your Codex config on every run. AgentWitch shows what each one costs, then learns skills and scripts so repeat work costs almost nothing.

  1. 1. Get started

    Sign in to AgentWitch. The app shows one install command for AgentWitch Local. Paste it into Terminal on the computer where you use Codex. No card needed.

  2. 2. Connect your assistant

    Codex runs on your computer, so it connects through AgentWitch Local and can call skills_find and skills_run.

  3. 3. Run the token-leak check

    The check lists what Codex loads on every run and shows the token cost of each item, with the biggest leaks first.

  4. 4. Let skills and scripts take over

    When a job repeats, AgentWitch writes it down as a skill or script. Skills and scripts need no approval. Reports show how many tokens each one saved.

Your files, tokens and run history stay on your computer. Savings are estimates per skill, so the report marks small samples with ≈.