Bitrix24 Open Lines chatbot skill

bitrix24-open-lines-bot

A Claude Code skill with real-portal-verified imbot.v2 and imopenlines details: bot registration, the event contract, and handoff to an operator

Skill

Low risk

We rate an entry low when it mostly gives the agent instructions and reference material.

Why this level

  • Only reference knowledge for the agent; the skill itself makes no requests
All reasons and checks
Russian stack

soajv/bitrix24-openlines-skill

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/bitrix24-open-lines-bot

Detects the agents on your machine, checks the risk and pins the version.

Other ways to install

Run in a terminal in the project folder

npx skills add soajv/bitrix24-openlines-skill --skill bitrix24-open-lines-bot -a claude-code -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 9c72ab2
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/soajv/bitrix24-openlines-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/bitrix24-open-lines-bot/
git -C "$tmp" checkout 9c72ab227517aeae393be22068f6fe39d3dd8bad
mkdir -p .claude/skills
cp -R "$tmp/skills/bitrix24-open-lines-bot" .claude/skills/bitrix24-open-lines-bot

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

npx skills add soajv/bitrix24-openlines-skill --skill bitrix24-open-lines-bot -a cursor -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 9c72ab2
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/soajv/bitrix24-openlines-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/bitrix24-open-lines-bot/
git -C "$tmp" checkout 9c72ab227517aeae393be22068f6fe39d3dd8bad
mkdir -p .agents/skills
cp -R "$tmp/skills/bitrix24-open-lines-bot" .agents/skills/bitrix24-open-lines-bot

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

npx skills add soajv/bitrix24-openlines-skill --skill bitrix24-open-lines-bot -a github-copilot -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 9c72ab2
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/soajv/bitrix24-openlines-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/bitrix24-open-lines-bot/
git -C "$tmp" checkout 9c72ab227517aeae393be22068f6fe39d3dd8bad
mkdir -p .github/skills
cp -R "$tmp/skills/bitrix24-open-lines-bot" .github/skills/bitrix24-open-lines-bot

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

npx skills add soajv/bitrix24-openlines-skill --skill bitrix24-open-lines-bot -a codex -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 9c72ab2
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/soajv/bitrix24-openlines-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/bitrix24-open-lines-bot/
git -C "$tmp" checkout 9c72ab227517aeae393be22068f6fe39d3dd8bad
mkdir -p .agents/skills
cp -R "$tmp/skills/bitrix24-open-lines-bot" .agents/skills/bitrix24-open-lines-bot

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

npx skills add soajv/bitrix24-openlines-skill --skill bitrix24-open-lines-bot -a gemini-cli -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 9c72ab2
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/soajv/bitrix24-openlines-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/bitrix24-open-lines-bot/
git -C "$tmp" checkout 9c72ab227517aeae393be22068f6fe39d3dd8bad
mkdir -p .agents/skills
cp -R "$tmp/skills/bitrix24-open-lines-bot" .agents/skills/bitrix24-open-lines-bot

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/soajv/bitrix24-openlines-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/bitrix24-open-lines-bot/
git -C "$tmp" checkout 9c72ab227517aeae393be22068f6fe39d3dd8bad
mkdir -p .devin/skills
cp -R "$tmp/skills/bitrix24-open-lines-bot" .devin/skills/bitrix24-open-lines-bot

Commands for macOS and Linux, on Windows run them in Git Bash.

Formerly Windsurf.

Run in a terminal in the project folder

npx skills add soajv/bitrix24-openlines-skill --skill bitrix24-open-lines-bot -a cline -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 9c72ab2
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/soajv/bitrix24-openlines-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/bitrix24-open-lines-bot/
git -C "$tmp" checkout 9c72ab227517aeae393be22068f6fe39d3dd8bad
mkdir -p .cline/skills
cp -R "$tmp/skills/bitrix24-open-lines-bot" .cline/skills/bitrix24-open-lines-bot

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

npx skills add soajv/bitrix24-openlines-skill --skill bitrix24-open-lines-bot -a roo -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 9c72ab2
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/soajv/bitrix24-openlines-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/bitrix24-open-lines-bot/
git -C "$tmp" checkout 9c72ab227517aeae393be22068f6fe39d3dd8bad
mkdir -p .roo/skills
cp -R "$tmp/skills/bitrix24-open-lines-bot" .roo/skills/bitrix24-open-lines-bot

Commands for macOS and Linux, on Windows run them in Git Bash.

A fork of Roo Code, same .roo folders.

Run in a terminal in the project folder

npx skills add soajv/bitrix24-openlines-skill --skill bitrix24-open-lines-bot -a opencode -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 9c72ab2
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/soajv/bitrix24-openlines-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/bitrix24-open-lines-bot/
git -C "$tmp" checkout 9c72ab227517aeae393be22068f6fe39d3dd8bad
mkdir -p .agents/skills
cp -R "$tmp/skills/bitrix24-open-lines-bot" .agents/skills/bitrix24-open-lines-bot

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/soajv/bitrix24-openlines-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/bitrix24-open-lines-bot/
git -C "$tmp" checkout 9c72ab227517aeae393be22068f6fe39d3dd8bad
mkdir -p .agents/skills
cp -R "$tmp/skills/bitrix24-open-lines-bot" .agents/skills/bitrix24-open-lines-bot

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/soajv/bitrix24-openlines-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/bitrix24-open-lines-bot/
git -C "$tmp" checkout 9c72ab227517aeae393be22068f6fe39d3dd8bad
mkdir -p .agents/skills
cp -R "$tmp/skills/bitrix24-open-lines-bot" .agents/skills/bitrix24-open-lines-bot

Commands for macOS and Linux, on Windows run them in Git Bash.

You will need: Node.js

Checked against the repository on Sep 25, 2026, commit 9c72ab2.

Text for your agent

Copy or symlink the skills/bitrix24-open-lines-bot folder from soajv/bitrix24-openlines-skill into your Claude Code skills directory alongside the related bitrix24-rest-api skill, and load it before working on an Open Lines chatbot.

Other ways from the author
git clone https://github.com/soajv/bitrix24-openlines-skill.git && cp -r bitrix24-openlines-skill/skills/bitrix24-open-lines-bot ~/.claude/skills/

Copy the skill folder into your Claude Code skills directory.

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

What it does

The skill gives an agent the knowledge to embed a chatbot into an already-existing Bitrix24 Open Line via imbot.v2.Bot.register, rather than registering a new channel type through imconnector, which needs an OAuth app and rejects webhook auth with WRONG_AUTH_TYPE. It explains why imopenlines.config.update with WELCOME_BOT_ID does not attach a bot to the line, since that is a separate, older greeting feature. It covers the real nested registration response shape, how to make it idempotent across restarts, the ONIMBOTV2MESSAGEADD incoming event contract with its auth.application_token check, and the calls to reply and hand a session off to an operator.

Who it is for. For developers building a chatbot inside a Bitrix24 Open Line with the help of an AI agent.

Good fit when

  • You are embedding a bot into an already-configured Open Line
  • You are confused why WELCOME_BOT_ID does not attach the bot to the line
  • You need the imbot.v2 event contract and operator handoff

Not a fit when

  • You need to register a brand-new channel or connector type: that needs a full OAuth app
  • You need general Bitrix24 auth basics: there is a related foundational skill for that

Example request

Register a bot in a Bitrix24 Open Line via imbot.v2 and set up handing the dialog off to an operator

Limitations

This is a knowledge file for an agent, not a ready bot or library; the repo has no bot code of its own. It relies on the related bitrix24-rest-api skill for basic auth. The facts are dated September 2026 and were verified against one real portal.

How to disable. Delete the skills/bitrix24-open-lines-bot folder from your agent's skills directory.

Security check

  • Only reference knowledge for the agent; the skill itself makes no requests

README in short

The README explains this is a knowledge file, not a bot framework, and covers two integration paths for Open Lines: a bot inside an existing line via imbot.v2, or a new channel type via imconnector. It lists the WELCOME_BOT_ID trap, the real registration response shape, safe zero-side-effect ways to check webhook permissions, the event contract and reply/handoff calls, and a generic pattern for wiring the flow into an LLM conversation loop.

SKILL.md

---
name: bitrix24-open-lines-bot
description: How to build a chatbot that answers inside an existing Bitrix24 Open Line — registration via imbot.v2, the incoming event contract, replying, and handing off to a human operator. Load this before building or debugging the Bitrix24 text-channel sales agent.
---

# Bitrix24 Open Lines chatbot

Source: official Bitrix24 REST API docs, verified Sep 2026. See bitrix24-rest-api skill first for general auth and retry conventions this builds on.

## The two integration paths — pick the right one

- A bot that answers inside an already-existing Open Line — register via imbot.v2.Bot.register with isSupportOpenline: true. This is almost certainly what is meant by a text agent in Open Lines.
- A brand-new channel type — requires imconnector.register plus imconnector.activate and imconnector.connector.data.set. Heavier, and not needed just to add an AI responder to an existing line.

Confirmed empirically: the entire imconnector.* family rejects inbound-webhook auth outright with WRONG_AUTH_TYPE.

FAQ

Can I add a new channel with just a webhook?

No, the whole imconnector.* group rejects webhook auth with WRONG_AUTH_TYPE; you need a full OAuth app or manual setup in the UI.

Why doesn't the bot respond after setting WELCOME_BOT_ID?

Because that is a separate, older greeting feature that never fires ONIMBOTV2MESSAGEADD; you need imbot.v2.Bot.register with isSupportOpenline.

Official

Salesforce's official DX MCP server: work with orgs, metadata, data, users and Apex tests from your agent

MCP serverHigh risk483Repository stars
Official

Yandex's official skill set: catalog, prices, stock, orders, storefront and a weekly checkup for a Yandex Kit store, through Claude Code or Codex

PluginHigh riskRussian stackNo VPN needed28Repository stars
Editors’ pick

Full 65-operation YouGile API coverage with configurable permissions, write confirmation and a shared company rate limit

MCP serverHigh riskRussian stackNo VPN needed

Bitrix24 portal MCP server

MCP-сервер портала Битрикс24

Official

Bitrix24's official per-portal MCP: an external agent uses OAuth or a token to read and change tasks, deals, meetings and mail

MCP serverHigh riskRussian stackNo VPN needed
Foxx AIBitrix24 Open Lines chatbot skill

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.