복사한 프롬프트를 코드 에이전트에게 입력하면, 에이전트가 모든 설치 작업을 진행합니다!
프롬프트 복사 & 붙여넣기
아래 설치 프롬프트를 복사해서 Claude Code 또는 Codex에 붙여넣으세요. 어느 쪽에 붙여넣어도 두 에이전트 모두 설정됩니다.
Google 로그인
설치 중 브라우저가 자동으로 열립니다. Google 계정으로 로그인하면 이 기기가 내 계정에 연결됩니다.
끝. 이후는 자동 동기화
에이전트 응답이 끝날 때마다 토큰 사용량이 자동으로 수집·동기화됩니다. 대시보드에서 바로 확인하세요.
Install the Countoken local token usage tracker on this machine. First detect the OS, then follow these steps in order using the matching command. AGENT_BIN means ~/.countoken/bin/token-agent on macOS/Linux and & "$env:USERPROFILE\.countoken\bin\token-agent.exe" in PowerShell on Windows. 1. Run the install script: - macOS/Linux: curl -fsSL https://countoken.com/install.sh | bash - Windows (PowerShell): irm https://countoken.com/install.ps1 | iex This installs the token-agent binary and hook script under ~/.countoken, and registers a Stop hook for Claude Code (~/.claude/settings.json) and Codex (~/.codex/config.toml). Existing settings are preserved via merge, and re-running is idempotent. 2. Log in (run with a command timeout of at least 6 minutes): AGENT_BIN login This command opens a browser automatically and blocks until login completes. When you start it, tell me to complete the Google login in the browser. If the browser does not open, show me the URL the command printed. 3. Verify the install: AGENT_BIN inspect --quiet, and if it succeeds, AGENT_BIN sync --quiet If both succeed, report "install complete" with a short summary of the device info printed by the login step. 4. Open the dashboard: Open https://countoken.com/ in the browser (`open https://countoken.com/` on macOS, `xdg-open https://countoken.com/` on Linux, `Start-Process https://countoken.com/` on Windows) so I can see my synced token usage right away. Important: never print or store the contents of ~/.countoken/auth.json, access tokens, or any other secret values.
바이너리와 hook을 설치하고 Google 로그인 한 번이면 끝. macOS, Linux & Windows 지원.