Pi
Install and update
Section titled “Install and update”pi install git:github.com/alexgreensh/token-optimizer# Or test a local checkout:pi install ./pipi update --extensionsThe root package manifest loads only the Pi extension; it does not auto-load the other runtime skills.
Verify before enabling
Section titled “Verify before enabling”Inside Pi:
/token-optimizer/token-optimizer doctor/token-optimizer enableThe extension starts off. Continuity and archiving require their own opt-ins even after measurement is enabled. See Pi capabilities and limits before enabling either, especially for sensitive outputs.
Uninstall
Section titled “Uninstall”/token-optimizer disable/token-optimizer purge allPurge is optional: it removes extension-managed data, not Pi session history. Then remove the same source you installed:
pi remove git:github.com/alexgreensh/token-optimizer# If installed from a local checkout instead:pi remove ./piPi uses TOKEN_OPTIMIZER_PI_HOME as the complete data directory (default ~/.pi/agent/token-optimizer), not the Python runtime selector. See Configuration.
