Use QueueBox with coding agents
Copy page
This guide shows you how to set up a coding agent, such as Claude Code or Cursor, to write application code for QueueBox. The agent gets two sources of facts: the docs as plain Markdown, and the QueueBox skill.
| Part | What the agent gets |
|---|---|
llms.txt and the .md pages |
The full docs as plain Markdown. |
| The QueueBox skill | A short file of rules for outbox rows, queuebox.yml, pull clients and idempotent consumers. |
Give the agent the docs
Section titled “Give the agent the docs”The docs site publishes its pages as plain text for language models:
| URL | Content |
|---|---|
| /llms.txt | The index. It lists each page with the URL of its Markdown copy. |
| /llms-full.txt | All pages in one Markdown file. |
| /llms-small.txt | All pages in a compact form, for a small context window. |
Each page also has a Markdown copy. Add .md to the path of the page. For example, /reference/configuration.md is the Markdown copy of the configuration reference.
The Copy page menu at the top of each page has four entries:
| Entry | Effect |
|---|---|
| Copy as Markdown | Puts the Markdown of the page on the clipboard. Paste it into a chat or an agent prompt. |
| View as Markdown | Opens the .md copy of the page. |
| Open in Claude | Opens a Claude chat that reads the page. |
| Open in ChatGPT | Opens a ChatGPT chat that reads the page. |
Install the skill
Section titled “Install the skill”The skill is one file: skills/queuebox/SKILL.md. Its description tells the agent when to load it: when code writes outbox rows, consumes the inbox, receives a delivery, or changes queuebox.yml. The skill links to llms-full.txt for the detail.
The QueueBox repository is a Claude Code plugin marketplace with one plugin, queuebox. Run these two commands in a Claude Code session:
/plugin marketplace add alternayte/queuebox/plugin install queuebox@queueboxThe plugin ships the skill. To get a newer version of the skill, run claude plugin marketplace update queuebox in a shell.
The skills CLI reads the skills/ directory of the repository and installs the skill for the agents that it detects:
npx skills add alternayte/queueboxAdd --list to see the skills in the repository without an install. Run npx skills update to get a newer version.
Copy the file into the skills directory of your repository. Claude Code finds a skill in .claude/skills/<name>/SKILL.md:
mkdir -p .claude/skills/queueboxcurl -fsSL https://raw.githubusercontent.com/alternayte/queuebox/main/skills/queuebox/SKILL.md \ -o .claude/skills/queuebox/SKILL.mdCommit the file, so that each person on the team gets the same rules. Copy the file again to get a newer version.
Cursor reads rules from .cursor/rules/. Copy the skill into a rule file:
mkdir -p .cursor/rulescurl -fsSL https://raw.githubusercontent.com/alternayte/queuebox/main/skills/queuebox/SKILL.md \ -o .cursor/rules/queuebox.mdcCursor reads the description in the front matter of the file. It attaches the rule when a request matches the description.
Many agents read AGENTS.md in the root of the repository. Add a line to it that points to the skill:
For code that uses QueueBox, read skills/queuebox/SKILL.md first.Put the file at that path with one of the other methods. For an agent without AGENTS.md support, add the content of SKILL.md to its instructions file.
What the skill covers
Section titled “What the skill covers”The skill holds the rules that an agent needs most often. The docs hold the full detail.
| Section | Content |
|---|---|
| Write an outbox row | The required columns topic and payload, the optional columns, the order per key, headers, scheduled_at and max_attempts. It has an insert for Postgres and for SQL Server, with [key] in brackets on SQL Server. |
| queuebox.yml | database, sources, destinations, routes and transforms, with a complete example that the QueueBox loader accepts. |
| Consume the inbox | Push through the relay or pull with a client. It names the Go, TypeScript and C# packages, their core calls and the handler rules. |
| Idempotent consumers | Deduplication on X-Message-Id for direct outbox traffic and on x-idempotency-key for relay traffic. |
| Do not | The mistakes to avoid. For example, a write to a column that QueueBox owns, an insert outside the business transaction, or a dependency on order across keys. |