MAX channel for Claude Code

claude-max-messenger-plugin

A Claude Code channel plugin for MAX messenger via Bot API: message the bot and Claude answers from the terminal, with pairing-code access

PluginHigh riskRussian stack

curlysasha/claude-max-messenger-plugin

Install

git clone https://github.com/curlysasha/claude-max-messenger-plugin C:/GIT/claude_max_plugin

Then add extraKnownMarketplaces with a directory source pointing to C:/GIT in ~/.claude/settings.json and enable max@local-plugins in enabledPlugins.

This is third-party code. Review the repository files before installing.

What it does

The plugin connects a Claude Code session to a MAX bot. Messages to the bot arrive in the session, and Claude answers with a reply tool supporting attachments up to 50 MB and can edit a sent message, for example replacing «processing» with the result. Photos from the chat are downloaded and passed to Claude. Access is managed with the /max:configure and /max:access skills: pairing codes, an allowlist and group rules.

Who it is for. Developers with a registered business who want to drive a Claude Code session from their phone via MAX.

Good fit when

  • You want to give the agent a task while away from the computer
  • You want results and files from the agent in a messenger

Not a fit when

  • You have no registered business for the MAX business platform
  • You need message history and chat search: the MAX Bot API does not provide them

Example request

Message to the MAX bot: run the project tests and send me an error summary

Limitations

The bot token is issued only via business.max.ru and requires a registered business. Claude Code channels are in research preview, so the local plugin runs with --dangerously-load-development-channels. The bot only sees messages after startup. The server script runs on Bun. The repository has no license file.

How to disable. Remove max@local-plugins from enabledPlugins in ~/.claude/settings.json, start Claude Code without the channel flag and delete ~/.claude/channels/max/.

Security check

  • Messenger messages drive an agent session with access to your machine
  • Launch requires a flag for unverified development channels
  • The bot token is stored in ~/.claude/channels/max/.env

README in short

The Russian README covers the MAX Bot API capabilities and limits, then seven install steps: cloning, registering a local marketplace, getting a token on the business platform, saving it, launching with the channel flag, pairing and switching to allowlist mode. It lists environment variables and the state directory layout. Access management details are in ACCESS.md.

FAQ

Who can message my agent?

Only paired chats. After pairing the right people, the README recommends /max:access policy allowlist.

Can pairing be approved from a MAX message?

No, the access skill only acts on commands typed in the terminal to guard against prompt injection via chat.

Editors’ pick

Open-source personal AI assistant on your own machine: answers in Telegram, Slack, Discord and WhatsApp, extended with skills and plugins

CLIHigh risk389.7K
Editors’ pick

A self-improving agent from Nous Research with a TUI, messaging gateway, cron jobs and skills it writes itself

CLIHigh risk245.5K
Editors’ pick

An open source coding agent for the terminal and desktop with build and plan modes

CLIHigh risk207.4K
Editors’ pick

Anthropic's coding agent for the terminal, IDE and GitHub: understands your codebase, runs tasks and handles git

CLIHigh risk145K