punchcard-presence
v1.0.8
Published
Punchcard Discord Rich Presence and local AI usage tracking for Claude Code and Codex
Maintainers
Readme
Punchcard
Punchcard is a completely free, lightweight Discord Rich Presence for your Agentic Development Environments (ADEs). No API key, account, or setup is required. It shows when you are working with an ADE, how many agents are active, and how many tokens you have used.
Installing
Requires Node.js 18 or newer and the Discord desktop app.
Punchcard supports Windows, macOS, and headless Linux desktop sessions. macOS uses a native AppKit menu-bar item and a user LaunchAgent; see the macOS support guide for platform details and troubleshooting checks.
npm install -g punchcard-presenceIf you would prefer to use an agent or AI, paste this:
Read https://github.com/TheFysionX/punchcard and install Punchcard.Punchcard starts automatically after installation.
Supported platforms
- Codex
- Claude
Support for more ADEs is planned for the immediate future.
Features
- Discord Rich Presence for Codex, Claude, or both at once
- Active main-task, sidechat, Claude workflow, Deep Research, and subagent count
- Daily and weekly token usage
- Optional profile link on the Discord token line
- Automatic Discord reconnection
- Self-healing Windows tray and daemon, plus native macOS menu-bar controls and login startup
- Local-first tracking of usage and activity
Commands
Punchcard starts automatically. These are the only commands most people may need:
| Command | Description |
| --- | --- |
| punchcard on | Enable and start Punchcard |
| punchcard off | Stop Punchcard and remove its startup entry and Claude hooks |
| punchcard quit | Close Punchcard without changing the Start with Windows setting |
| punchcard connect | Open Discord if needed and reconnect Punchcard |
| punchcard status | View the current connection, agent, and usage status |
| punchcard restart | Restart the daemon and tray |
| punchcard tray --show | Open the Windows tray panel or macOS menu-bar item |
| punchcard help | Show command-line help |
Advanced Metrics
Advanced Metrics is optional, disabled by default, and distributed separately from the core presence package.
Open Punchcard from the Windows tray or macOS menu bar and click the More Metrics checkbox highlighted below.
Punchcard installs punchcard-advanced-metrics in the background. Once connected, click View profile to open your dashboard. The companion package is maintained separately and is not part of this repository.
After More Metrics is enabled, Punchcard shows a nested Show my profile in my status checkbox. It is off by default. Enabling it makes the token line in Discord clickable and sends people to your Punchcard profile. When it is off, Punchcard does not include a profile URL in the Discord activity.
To disable Advanced Metrics, clear the More Metrics checkbox in the mini dashboard.
Punchcard is independent and is not affiliated with Anthropic, OpenAI, or Discord. Released under the MIT License.
Privacy · Security · Contributing · Support
