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 kreek/consult --skill async-systemsgit clone --depth 1 https://github.com/kreek/consultWrote 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/kreek/consult/async-systems)<a href="https://agentmods.dev/skills/kreek/consult/async-systems"><img src="https://agentmods.dev/badge/skills/kreek/consult/async-systems/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/kreek/consult/async-systems"><img src="https://agentmods.dev/badge/skills/kreek/consult/async-systems.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.00027 | $0.01046 |
| Opus 5.5 | $0.00011 | $0.00418 |
| Sonnet 5.5 | $0.00005 | $0.00209 |
| Haiku 4.5 | $0.00003 | $0.00105 |
Grade A, and why
async-systems 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 1mo 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 — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Async Systems
Iron Law
EVERY ASYNC BOUNDARY NAMES ITS CONTRACT, OWNER, LIFETIME, BACKPRESSURE, AND FAILURE SEMANTICS.
When to Use
- Designing or reviewing async execution, cross-process message contracts, background work, live updates, streams, brokers, ordering, and backpressure.
- Investigating races, deadlocks, stuck tasks, starvation, retry exhaustion, dead jobs, lag, poison messages, or delivery issues.
When NOT to Use
- Request/response API design; use
api. - Remote-call timeout and retry policy; use
error-handling. - Metrics, alerts, runbooks; use
observability. - Transaction isolation; use
database.
Rules
- For user-facing live updates, start with polling, SSE, or WebSockets. Escalate to Kafka, Kinesis, or Redis Streams only after naming the requirement the simpler transport cannot meet: independent replay, long retention, audit history, offline catch-up, multi-service fanout, consumer-group scaling, partitioned throughput, or durable recovery. Record that requirement with the choice.
- Immutable data crosses async boundaries; mutable state has one owning scope. Job payloads carry stable identifiers and immutable inputs, never live session, request, or thread-local state.
- Every spawned task belongs to a scope that cancels, awaits, or supervises it, with a deterministic shutdown path.
- Every queue, channel, pool, stream, and buffer has a bound and an overflow policy. Blocking work cannot starve latency-sensitive work.
- Locks are an escape hatch: short, globally ordered, and never held across I/O, awaits, or user callbacks.
- Retried jobs and stream consumers are idempotent, deduplicated, or marked
non-retryable with a reason. Retry policy itself belongs to
error-handling. - Cross-process jobs, events, and stream records are versioned contracts,
with the schema kept in a versioned source of truth. Route contracts that
independently deployed participants or retained messages bind to through
contract-first. - Every running consumer version can read every message version that a running producer emits or that is still queued, retained, or replayable. A registry's compatibility mode must enforce this. Delivery guarantee, ordering key, retention, replay, ack/offset, DLQ, and poison-message handling are explicit for streams.
- Silent async failure is a bug. Exhausted jobs, lag, dropped events, and dead work have visible signals and tests.
What ships with it
2 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.
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.
- 1mo ago Changed · +2 tokens per session 777f91014204
- 2mo ago Changed · +7 lines · +2 tokens per session 9f7ad5a09dfb
- 2mo ago Changed · -62 lines 115a81e77585
- 3mo ago First seen · 142 lines · 23 tokens per session scan A 2165e803a3f1
async-systems is a skill published in the GitHub repository kreek/consult (1 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 1,046 once invoked, about $0.0001 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-08-31.
async-systems compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| async-systemskreek/consult | Skill | 1 | 1mo ago | MIT | A | 27 | Codex |
| contractsramboz/jig | Skill | 6 | 5d ago | MIT | A | 163 | Claude Code |
| build-falco-web-appgaelic-ghost/socket | Skill | 11 | 3mo ago | Apache-2.0 | A | 42 | Claude Code |
| build-giraffe-web-appgaelic-ghost/socket | Skill | 11 | 3mo ago | Apache-2.0 | A | 43 | Claude Code |
| build-oxpecker-web-appgaelic-ghost/socket | Skill | 11 | 3mo ago | Apache-2.0 | A | 44 | Claude Code |
| swift-openapi-client-workflowgaelic-ghost/socket | Skill | 11 | 3mo ago | Apache-2.0 | A | 73 | Claude Code, Codex |
| aspnet-core-service-workflowgaelic-ghost/socket | Skill | 11 | 3mo ago | Apache-2.0 | A | 45 | Claude Code |