Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add j4flmao/agent-skills --skill transactional-outboxgit clone --depth 1 https://github.com/j4flmao/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/j4flmao/agent-skills/transactional-outbox)<a href="https://agentmods.dev/skills/j4flmao/agent-skills/transactional-outbox"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/transactional-outbox/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/transactional-outbox"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/transactional-outbox.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00136 | $0.04539 |
| Opus 5 | $0.00068 | $0.02269 |
| Sonnet 5 | $0.00027 | $0.00908 |
| Haiku 4.5 | $0.00014 | $0.00454 |
Grade A, and why
backend-transactional-outbox scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 563 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Backend Transactional Outbox
Purpose
Guarantee reliable event publication by writing events to an outbox table within the same database transaction as the business operation, then publishing them via a separate message relay process.
Agent Protocol
Trigger
Exact user phrases: "outbox", "transactional outbox", "outbox pattern", "reliable event publishing", "dual write", "CDC outbox", "message relay", "publish events", "exactly-once publish", "debezium outbox".
Input Context
- Database technology (PostgreSQL, MySQL, SQL Server, etc.).
- Message broker (Kafka, RabbitMQ, SQS, etc.).
- Whether dual-write (DB + broker) is a current problem.
- Current event publishing mechanism.
Output Artifact
Outbox implementation design as text. No file unless requested.
Response Format
Outbox table: {table schema}
Write strategy: {same transaction|CDC}
Relay: {polling|CDC|transaction log}
Delivery: {at-least-once|exactly-once}
Consumer dedup: {key and storage}
Completion Criteria
- Outbox table created in the same database as business data.
- Business operation and outbox insert are in the same DB transaction.
- Message relay process is separate from the application.
- Outbox records are deleted or marked processed after successful publish.
- Relay handles failures with retry and backoff.
- Consumers are idempotent (handle duplicate deliveries).
- Monitoring in place for outbox backlog.
Max Response Length
15 lines for design. 8 lines for table schema.
Decision Tree
Relay Strategy
What throughput do you need?
├── Low to moderate (<1000 events/sec), want simplicity
│ └── Polling relay — periodic SQL query for unprocessed rows
├── High throughput (>1000 events/sec), need near real-time
│ └── CDC relay (Debezium) — tail the WAL, no polling overhead
└── Moderate throughput, want logical replication, no extra infra
└── PostgreSQL LISTEN/NOTIFY + polling as fallback
When to Use Outbox Pattern
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/deduplication-idempotency.md 3.1 KB
- references/message-relay-strategies.md 3.1 KB
- references/outbox-advanced-scenarios.md 5.5 KB
- references/outbox-alternatives.md 5.9 KB
- references/outbox-deployment.md 9.6 KB
- references/outbox-implementation.md 5.1 KB
- references/outbox-implementations.md 3.3 KB
- references/outbox-monitoring.md 2.9 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 563 lines · 136 tokens per session scan A d4b6d77c9948
backend-transactional-outbox is a skill published in the GitHub repository j4flmao/agent-skills (23 stars, last pushed 5d ago), licensed MIT. It adds 136 tokens to every session and 4,539 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
Event-Driven Semantics & Delivery Guarantees
Ensure event-driven designs specify delivery guarantees, ordering, idempotency, schema evolution, and replay/backfill strategy.
flow.cascading-on-demand
The Cascading-on-Demand (CoD) CRUD optimization pattern for extremely snappy rendering and highly efficient data/permission queries in the Kylrix ecosystem. Use when designing CRUD, access-control logic, or real-time application rendering.
system.server-sdk-action
Server Actions vs Admin SDK patterns for privileged TablesDB mutations.
note.decoupled-sdk
Deep dive into the platform-agnostic Notes SDK structure. Explains the injection pattern, isolation of database queries, and modular mock compatibility.
schema-mismatch-audit
Procedure for aligning database schema mismatches where client code attempts to push fields missing in Appwrite config and production.
flow.realtime-input-rxdb-sync
Realtime form/input sync through RxDB local copy before Appwrite confirm.