Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By zachthedevv0.0.0MITIn 1 marketplace
Discord Rich Presence for Claude Code — project, model, and API cost value
Run automatically on Claude Code events. Claude doesn't decide.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Discord Rich Presence for agentic coding tools. Shows your current project, git branch, model, active tool, and estimated API cost on your Discord profile.
Works with Claude Code out of the box. Designed for contributors to add support for any tool.
| Tool | Status | Install Method |
|---|---|---|
| Claude Code | Supported | Plugin install |
| Cursor | Planned | Manual hooks |
| Windsurf | Planned | Manual hooks |
| Claude Desktop | Planned | Waiting for API |
See clients/ for per-tool setup docs and clients/_template/ to add your own.
claude plugin add zachthedev/agentcord
The daemon binary downloads automatically on first session.
git clone https://github.com/zachthedev/agentcord.git
claude --plugin-dir ./agentcord
Agentcord has two parts: hook scripts that capture session data, and a daemon that publishes it to Discord.
Your coding tool fires hooks on events. Each hook invokes dispatch.ts, which detects the OS and delegates to the matching platform script:
| Event | Script | What it does |
|---|---|---|
SessionStart | postinstall | Verify dependencies, download daemon if missing |
PreToolUse | activity | Write state file with tool context, start daemon if needed |
PostToolUse | activity | Update state after tool execution |
PostToolUseFailure | activity | Update state after tool failure |
Notification | activity | Update state on idle/permission prompts |
UserPromptSubmit | activity | Update state when user sends a message |
Stop | stop | Mark session as stopped |
SessionEnd | sessionend | Clean up session markers, stop daemon if idle |
Platform scripts live in scripts/hooks/unix/ and scripts/hooks/windows/.
The daemon is a single Go binary (~/.agentcord/agentcord) that:
~/.agentcord/state.*.json for changes (filesystem events + polling fallback)Hook scripts write per-client state files named state.{client}.json (e.g. state.claude-code.json). Each file contains session ID, project name, git branch, active tool, and timestamps.
Session markers (sessions/{SESSION_ID}.session) track which sessions are alive. Orphaned markers are cleaned up automatically.
Config lives at ~/.agentcord/config.toml. The daemon generates this file with documented defaults on first run.
[display]
details = "Working on: {project} ({branch})"
state = "{model} · ~${cost} API value"
[display.timestamps]
mode = "session" # "session", "elapsed", or "none"
| Variable | Description |
|---|---|
{project} | Project name |
{branch} | Git branch |
{model} | Model name (:short, :full, :raw) |
{cost} | API cost in USD |
{tokens} | Total tokens (:short, :full) |
{tool} | Current tool (Edit, Bash, Read, etc.) |
{tool_target} | Tool target (:basename, :dir) |
{file} | Active file (:basename, :dir, :ext) |
{agent_state} | thinking, tool, waiting, idle |
{client} | Client display name |
{turns} | Conversation turn count |
{input_tokens} | Input tokens |
{output_tokens} | Output tokens |
{cache_tokens} | Cache tokens |
{git_owner} | Repo owner |
{git_repo} | Repo name |
See config.default.toml for all options with inline documentation.
Agentcord supports multiple tools simultaneously. Each client writes its own state file. The daemon always displays the most recently active session.
Per-client overrides (different icons, different Discord app IDs) are configured via [clients.X] sections:
[clients.cursor]
large_image = "cursor_icon"
large_text = "Cursor"
app_id = "YOUR_CURSOR_APP_ID"
privacy.hide_project_name = trueprivacy.ignore = ["/path/to/secret"] (glob patterns)[[privacy.overrides]] with pattern matching[privacy]
ignore = ["/home/user/work/secret-project"]
[[privacy.overrides]]
pattern = "*/work/*"
hide_project_name = true
hidden_text = "a work project"
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
agentcord@zachthedev is listed by zachthedev/marketplace — review the source before installing
npx claudepluginhub zachthedev/marketplace --plugin agentcordPlugins from other owners that cover similar ground