By mshogin
Max Messenger channel for Claude Code — messaging bridge for the Russian Max bot platform. Manage pairing/access via /max:access.
Manage Max channel access — approve pairings, edit allowlists. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Max channel.
Set up the Max channel — save the bot token and review access policy. Use when the user pastes a Max bot token, asks to configure Max, asks "how do I set this up" or "who can reach me," or wants to check channel status.
Connect a Max Messenger bot to Claude Code
via the channels mechanism. v0.1.0 — minimal MVP (DM-only, single-user).
Mirrors the architecture of the official claude-channel-telegram plugin
with a Max-specific transport (@maxhub/max-bot-api).
v0.1.0 — minimal MVP. Implements:
@maxhub/max-bot-api (long-polling, single-instance lock)message_created → MCP notifications/claude/channelreply, edit_message, download_attachment/max:access, /max:configurebrew install oven-sh/bun/bun or curl -fsSL https://bun.sh/install | bash)claude plugin marketplace add mshogin/claude-channel-max
claude plugin install max@claude-channel-max
claude /max:configure <your-bot-token>
This writes the token to ~/.claude/channels/max/.env.
claude --channels plugin:max@claude-channel-max
DM your bot in Max. The bot will reply with a pairing code:
Pairing required — run in Claude Code:
/max:access pair <code>
Run that command in your Claude session. The next DM you send the bot will
reach Claude as a <channel source="max" ...> block, and Claude can reply
back via the reply tool.
| Path | Purpose |
|---|---|
~/.claude/channels/max/.env | MAX_BOT_TOKEN=<token> (chmod 600) |
~/.claude/channels/max/access.json | { allowFrom: [user_id], pending: {...} } |
~/.claude/channels/max/server.log | Diagnostic log (rotate manually) |
~/.claude/channels/max/inbox/ | Downloaded attachments |
~/.claude/channels/max/bot.pid | Single-instance lock |
access.json is re-read on every inbound message; .env is read once at
boot.
| Tool | Description |
|---|---|
reply | Send a text message to a chat. Optional reply_to (mid) for threading. |
edit_message | Edit a message the bot previously sent (good for progress updates). |
download_attachment | Fetch an attachment URL into the local inbox. |
All chat IDs are passed as strings (the inbound <channel> block carries them
as chat_id="<int>"). Message IDs are Max's mid strings.
claude-channel-telegram@maxhub/max-bot-api (vs grammy)message_created (vs message:text and friends)bot.api.sendMessageToChat(chatId, text, extra) (vs bot.api.sendMessage)body.attachments[].payload.url — direct HTTP fetch (vs getFile() + https://api.telegram.org/file/...)Derivative of claude-channel-telegram (Apache-2.0). See NOTICE.
Apache-2.0. See LICENSE.
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 claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub mshogin/claude-channel-max --plugin maxMemory compression system for Claude Code - persist context across sessions
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Frontend design skill for UI/UX implementation
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth