# Bitrix Background Jobs

> CAgent, addBackgroundJob, Messenger brokers/queues. Use for deferred and async processing.

- Skill: `bxmaximum/bitrix-background-jobs` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add bxmaximum/bitrix-background-jobs`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bxmaximum/bitrix-background-jobs/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: bxmaximum (https://skillmd.com/u/bxmaximum)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/bxmaximum/bitrix-background-jobs

---


# Background Tasks in Bitrix

Baseline: **main 23.0+**. Features newer than baseline are marked **Since**.

Progressive disclosure: open **only** the rule files that match the task. Do not read every `rules/*.md`.

## How to use

1. Identify the layer the task touches.
2. Open the matching `rules/*.md` below.
3. Prefer framework-native Bitrix patterns over custom abstractions.


## Choose a rule file

### When to read `rules/agents.md`

Read `rules/agents.md` (`CAgent agents`) when the task involves:

- Agents (`CAgent`)

### When to read `rules/background-job.md`

Read `rules/background-job.md` (`Application::addBackgroundJob`) when the task involves:

- `Application::addBackgroundJob()`

### When to read `rules/messenger.md`

Read `rules/messenger.md` (`Messenger queues`) when the task involves:

- Messenger (Message Queues)
- When to Choose What
- Checklist

## Checklist

- [ ] Opened only the rule file(s) needed for this task.
- [ ] Followed DI / `/local/` / security canons from `AGENTS.md`.

