@rizzmo/tokochi-cli
v0.1.7
Published
Feed your Tokochi from local AI coding token usage.
Readme
@rizzmo/tokochi-cli
Connect local Codex, Claude Code, and GitHub Copilot token usage to your Tokochi.
npm install -g @rizzmo/tokochi-cli
tokochi connectThe CLI connects to https://www.tokochi.me by default. The browser handles GitHub authentication and device approval; no token copying is required.
tokochi auto-sync enable --interval 15m
tokochi auto-sync status
tokochi auto-sync disableAutomatic syncing installs a user-level OS job: launchd on macOS, a systemd user timer on Linux, or Task Scheduler on Windows. Each run uploads only new events and exits; no terminal must remain open. The supported interval is 5 minutes to 24 hours.
Manual commands remain available:
tokochi sync
tokochi status
tokochi disconnectOnly event IDs, timestamps, agent/model names, and token counts are uploaded. Prompts and responses remain on the computer. Local token collection is handled by the open-source @rizzmo/tokochi-collectors package.
