By duanenielsen
Reports Claude Code session state (working / awaiting input) to a local waybar-topics server so the workspace's waybar button changes color.
Claude Code plugin that reports session state to a local waybar-topics HTTP server, so each waybar workspace button changes color while a session is working or awaiting input.
Five hooks (SessionStart, UserPromptSubmit, Stop, Notification,
SessionEnd) call scripts/notify.py, which POSTs to
http://127.0.0.1:8770/cc/event with:
event — the hook namesession_id — Claude's session UUIDpid — the Claude process PID (the script's parent)cwd — the session's working directoryThe waybar-topics server walks UP from the Claude PID via /proc/<pid>/stat
ppid until it finds an ancestor PID matching a niri window — that resolves
the session to its workspace. Per-workspace state is exposed as a cc-working
or cc-awaiting CSS class on the corresponding waybar topic button.
| Hook | State | Color (default) |
|---|---|---|
SessionStart | awaiting | red #e74c3c |
UserPromptSubmit | working | blue #3498db |
Stop | awaiting | red |
Notification | awaiting | red |
SessionEnd | (removed) | (no class) |
The plugin needs to be discoverable by Claude Code. The simplest route is to
add it as a local plugin path in your Claude Code settings, or symlink it into
~/.claude/plugins/.
WAYBAR_TOPICS_URL env var overrides the server URL (default
http://127.0.0.1:8770).
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimConversation memory for Claude Code — extracts atomic facts from past sessions and exposes semantic search via MCP
npx claudepluginhub duanenielsen/duane-claude-plugins --plugin claude-waybar-statusUltra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Memory compression system for Claude Code - persist context across sessions
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.