cc-discord-presence

Reviewed at commit 5cc0017

Caution: Downloads a prebuilt daemon from GitHub releases into ~/.claude/bin and runs it at every session start, without a checksum check.

Sends data to Discord (through your local Discord app)

Discord Rich Presence for Claude Code - Show your session on Discord

Made by
tsanva
What we checked

Shows your Claude Code session on Discord (project folder, model, cost, session time and context size) through a small background program that it downloads from the project's GitHub releases and starts with each session. It writes a status file in ~/.claude and stops the program when the last session ends.

Review details

Static review of the source at the pinned commit; not run. Delta review of the changes since 2a94133; the rest carries over from the review at that commit. The function-hook module (session.start, prompt.submit, tool.call, turn.complete, session.end) writes session id, cwd, project root, model, cost, duration and context tokens to ~/.claude/discord-presence-module.json using $.fs.write, and blanks it at session end. plugin.json also registers shell hooks: SessionStart runs scripts/start.sh, which downloads cc-discord-presence-<os>-<arch> from https://github.com/tsanva/cc-discord-presence/releases/download/ with curl or wget, stores it in ~/.claude/bin and starts it hidden in the background (PowerShell on Windows, nohup elsewhere); it re-downloads when the pinned version changes. SessionEnd runs scripts/stop.sh, which stops the daemon when the last session ends and can fall back to pkill -f cc-discord-presence. What changed: the pinned release version moves from v1.0.5 to v1.0.6 in start.sh and start.ps1, so the new binary is downloaded and replaces the running one; the Windows scripts now only treat a PID as the daemon when the process name starts with cc-discord-presence (a safer stop), and the Windows daemon's stderr goes to a separate .err log file. The downloaded release binary itself is not covered by this review and there is no checksum or signature check; the README describes the download and the daemon's Go source is in the same repository.

What it uses
  • Reads your prompts: yes
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: yes
  • Calls the model (uses tokens): no
  • Sends data over the network: yes
  • Stores data: yes
  • Shows something on screen: no
Hooked events
Made this mod? Add a badge to your README

modsforClaude badge for cc-discord-presence

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/cc-discord-presence.svg)](https://modsforclaude.com/mods/cc-discord-presence/)

← All mods