Claude Code 세션을 Discord에 올렸는데, 이제 한 줄로 된 플러그인입니다.

작성자

카테고리:

← 피드로
DEV Community · Charlie Archer Simmons · 2026-06-17 개발(SW)
Cover image for I put my Claude Code sessions on Discord — and now it's a one-line plugin

Charlie Archer Simmons

About 7,000 developers install a little tool of mine every month. It has 7 GitHub stars. I think about that gap a lot — but it also means thousands of these cards are quietly running in Discord right now, which is the whole point.

It’s called claude-rpc, and as of today you can install it from inside Claude Code itself.

What it is

claude-rpc is a small Node daemon that takes the lifecycle events Claude Code already fires — session start, each tool call, token counts — and turns them into a live Discord Rich Presence card on your profile: current model, project, what tool is running, plus lifetime stats. Your friends see what you’re building; you get a year heatmap of your own work.

It’s free, open source, and has zero runtime dependencies — the Discord IPC client is hand-rolled, so the entire supply chain fits in a single review.

The new part: a Claude Code plugin

Two lines, in the editor:

/plugin marketplace add rar-file/claude-rpc
/plugin install claude-rpc@claude-rpc

Enter fullscreen mode Exit fullscreen mode

The card shows up on your next session. That’s it.

The plugin itself is deliberately thin — one SessionStart hook that runs the same installer you’d run by hand (npx claude-rpc@latest setup) once, in the background, then gets out of the way. Claude Code measures it at ~0 tokens of context per session. The real package still does the real work: wiring hooks, holding Discord’s local socket, starting at login.

It’s now the fifth way to install the same tool — npx, a curl one-liner, Homebrew, a Windows exe, and now this — so pick whatever fits your setup.

How it actually works

No magic: 5 hooks, one small state file, and a daemon that holds Discord’s local socket. No polling, no network calls, no telemetry you didn’t opt into. If you want to read it, start with src/discord-ipc.js.

Try it

Built solo, on weekends. If one of those 7,000 cards ends up being yours, a GitHub star is the cheapest possible way to tell me it’s working.

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다