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 garrettw/php-arch-skills --skill reliable-messaginggit clone --depth 1 https://github.com/garrettw/php-arch-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/garrettw/php-arch-skills/reliable-messaging)<a href="https://agentmods.dev/skills/garrettw/php-arch-skills/reliable-messaging"><img src="https://agentmods.dev/badge/skills/garrettw/php-arch-skills/reliable-messaging/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/garrettw/php-arch-skills/reliable-messaging"><img src="https://agentmods.dev/badge/skills/garrettw/php-arch-skills/reliable-messaging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00054 | $0.01468 |
| Opus 5.5 | $0.00022 | $0.00587 |
| Sonnet 5.5 | $0.00011 | $0.00294 |
| Haiku 4.5 | $0.00005 | $0.00147 |
Grade A, and why
reliable-messaging 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 18d 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 — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reliable Messaging in PHP Applications
When to Use Asynchronous Messaging (and When NOT to)
Messaging introduces eventual consistency, operational failure modes, and more difficult debugging. Use it when work can complete independently, a consumer must scale or fail independently, or a bounded-context boundary should be asynchronous. Keep work synchronous when the caller needs an immediate result and one transaction can safely own the operation.
| Use Asynchronous Messaging For | Prefer Synchronous Work For |
|---|---|
| Independent side effects such as notifications or search indexing | A decision that must be returned to the caller immediately |
| Cross-context reactions that can converge eventually | A small same-context workflow with one transaction |
| Work that benefits from independent scaling or failure isolation | A workflow whose intermediate state must remain invisible |
Do not introduce a broker simply to make code appear decoupled. First define what may be delayed, what happens on failure, and how the user or operator can observe the outcome.
Delivery Guarantees
Assume a message can be delivered more than once. Most practical brokers provide at-least-once delivery; a consumer may finish its work and crash before acknowledging the message. "Exactly once" across a database and broker is not a general guarantee. Design for duplicate delivery with idempotent consumers and durable deduplication.
Numbered Workflows
1. Publishing a Message from a Database Transaction
If a state change and a message must agree:
- Write atomically. Persist the aggregate changes and an outbox record in the same database transaction.
- Publish separately. A worker claims unpublished outbox records, publishes them, and marks them delivered only after broker confirmation.
- Expect duplicates. A crash after publish but before marking delivered causes a repeat; consumers must be idempotent.
- Retain and observe. Keep enough delivery state for retries and diagnosis, and define how old outbox rows are archived or removed.
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.
- 18d ago First seen · 86 lines · 54 tokens per session scan A 171529f81c3e
reliable-messaging is a skill published in the GitHub repository garrettw/php-arch-skills (17 stars, last pushed 13d ago), licensed MPL-2.0. It adds 54 tokens to every session and 1,468 once invoked, about $0.0002 per session on Opus 5.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-11-13.
reliable-messaging compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| reliable-messaginggarrettw/php-arch-skills | Skill | 17 | 13d ago | MPL-2.0 | A | 54 | Claude Code, Codex |
| bitrix-console-commandsbxmaximum/bitrix-framework-skills | Skill | 75 | 13d ago | MIT | A | 55 | Claude Code, Codex |
| bitrix-componentsbxmaximum/bitrix-framework-skills | Skill | 75 | 13d ago | MIT | A | 58 | Claude Code, Codex |
| bitrix-http-clientbxmaximum/bitrix-framework-skills | Skill | 75 | 13d ago | MIT | A | 59 | Claude Code, Codex |
| bitrix-request-responsebxmaximum/bitrix-framework-skills | Skill | 75 | 13d ago | MIT | A | 57 | Claude Code, Codex |
| bun-apidmythro/agent-skills | Skill | 7 | 19d ago | MIT | A | 265 | Claude Code, Codex |
| laravelarbazkhan971/godmode | Skill | 35 | 3mo ago | MIT | A | 52 | Claude Code |