token-monitor-setup

Install and configure the Token Monitor SessionEnd hook for Claude Code.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/figulazmi/token-monitor --skill token-monitor-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: token-monitor-setup
Source: https://github.com/figulazmi/token-monitor/tree/main/.agents/skills/token-monitor-setup
Command: npx skills add https://github.com/figulazmi/token-monitor --skill token-monitor-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Install and configure the Token Monitor SessionEnd hook for Claude Code so token usage is automatically logged to your dashboard after each session.

Core Features & Use Cases

  • Cross-platform installation for Windows, macOS, and Linux.
  • Automatically patches Claude settings and deploys the auto-logger hook.
  • Verifies API connectivity and provides a post-install dashboard workflow.

Quick Start

Run the cross-platform installer to install the hook and configure API connectivity.

Frequently Asked Questions about token-monitor-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install a SessionEnd hook for Claude Code to log token usage?

To install a SessionEnd hook for Claude Code, run the cross-platform installer which automatically patches Claude settings and deploys the auto-logger. This ensures token usage is automatically logged to your dashboard after each session ends.

Does the Claude Code token monitor installer work on Windows, macOS, and Linux?

Yes, the Claude Code token monitor installer supports cross-platform installation across Windows, macOS, and Linux environments. It handles repository setup, installer execution, and API connectivity verification regardless of your operating system.

How does the token monitor hook verify API connectivity after installation?

The token monitor hook verifies API connectivity by running an install script that patches configuration settings and validates API health. It provides a post-install dashboard workflow while automatically detecting your Claude status to ensure proper setup.

What happens to my Claude Code settings when I set up the token monitor?

When setting up the token monitor, the installer automatically patches your Claude Code settings to deploy the auto-logger hook. This configuration change enables token usage data to be sent directly to your dashboard after each session.

Do I need to manually configure anything to log token usage in Claude Code?

No manual configuration is needed to log token usage in Claude Code. The installer automatically patches your settings, deploys the SessionEnd hook, and validates API health, handling the entire repository setup and configuration process for you.