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 d4rkNinja/arcforge --skill transactions-consistencygit clone --depth 1 https://github.com/d4rkNinja/arcforgeWrote 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/d4rkninja/arcforge/transactions-consistency)<a href="https://agentmods.dev/skills/d4rkninja/arcforge/transactions-consistency"><img src="https://agentmods.dev/badge/skills/d4rkninja/arcforge/transactions-consistency.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Memory Poisoning · line 10 Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
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.00077 | $0.02607 |
| Opus 5 | $0.00039 | $0.01303 |
| Sonnet 5 | $0.00015 | $0.00521 |
| Haiku 4.5 | $0.00008 | $0.00261 |
Grade A, and why
transactions-consistency 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 4d 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 — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Think Through Transactions & Consistency
Overview
Production guidance for correctness under concurrency and distribution. Each reference paper captures the hazards that pass code review silently: isolation levels that do not mean what their names claim, dual writes that corrupt state, idempotency keys without fingerprints, locks without fencing, and retries that duplicate committed effects.
Core principle: Every invariant needs an enforcement point at an authoritative boundary. A local transaction never makes a remote side effect atomic, and a timeout never proves a rollback.
Domain Law
NO CONCURRENCY OR CONSISTENCY CHANGE WITHOUT:
1. the minimum required primary paper(s) for the mechanism selected from the context table;
2. the invariant, its authoritative owner, and all concurrent writers
named before choosing a control;
3. the paper's pre-change questions
answered, or each open point labeled as an assumption;
4. every applicable MUST mapped to an enforcement point, a test that
forces the interleaving, or a documented exception.
When to Use
Use this skill when thinking through, reviewing, changing, or verifying:
- transaction boundaries, isolation levels, deadlocks, and retry scopes;
- optimistic locking, version columns, compare-and-swap, conditional updates;
- pessimistic locking, advisory locks, mutex/semaphore usage;
- entity state machines, legal transitions, and transition history;
- idempotency keys, request fingerprinting, response replay, dedup scope;
- sagas, compensation, and cross-service workflow consistency;
- consistency model selection (read-committed through serializable, eventual);
- replication topology and read semantics;
- partitioning/sharding keys, resharding, and hot-partition behavior;
- consensus-backed stores and leader election assumptions;
- distributed locks, leases, and fencing tokens;
- ordering guarantees and their scope.
When Not to Use
- Queue/job delivery semantics and the outbox pattern: use
async-messaging(043, 047). - Retry budgets, timeouts, circuit breakers: use
resilience-flow-control(052, 053, 054). - Schema constraints and index design: use
data-storage(022, 027). - Whole-system architecture and boundary decisions: use
system-architecture-harness.
What ships with it
15 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.
- agents/openai.yaml 279 B
- examples/worked-example-order-creation-outbox.md 4.5 KB
- references/papers/023-database-transactions.md 38 KB
- references/papers/024-concurrency-anomalies.md 36 KB
- references/papers/025-concurrency-control.md 38 KB
- references/papers/035-state-machines.md 34 KB
- references/papers/036-idempotency.md 36 KB
- references/papers/048-distributed-transactions.md 42 KB
- references/papers/098-distributed-systems-fundamentals.md 43 KB
- references/papers/099-consistency-models.md 32 KB
- references/papers/100-replication.md 36 KB
- references/papers/101-partitioning-sharding.md 38 KB
- references/papers/102-distributed-consensus.md 36 KB
- references/papers/103-distributed-locks.md 37 KB
- references/papers/121-ordering-guarantees.md 36 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.
- 4d ago Changed · +3 lines 16d523684f7a
- 8d ago First seen · 151 lines · 77 tokens per session scan A ce1877423725
transactions-consistency is a skill published in the GitHub repository d4rkNinja/arcforge (16 stars, last pushed 4d ago), licensed MIT. It adds 77 tokens to every session and 2,607 once invoked, about $0.0004 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-08-30.
Other skills, from other repositories
architecture-paradigm-cqrs-es
Applies CQRS and Event Sourcing for read/write separation and audit trails. Use when designing systems with complex domain logic or full state-change history.
backend-event-sourcing
Use this skill when the user says 'event sourcing', 'event store', 'event stream', 'event sourced', 'rehydrate from events', 'event replay', 'projection rebuild', 'event log', 'append-only log', 'event history'. This skill enforces: events as the single source of truth, current state derived from event replay…
backend-cqrs-patterns
Use this skill when the user says 'CQRS', 'command query segregation', 'separate read write model', 'command model', 'query model', 'read model', 'write model', 'materialized view', 'command handler', 'query handler'. This skill enforces: strict command/query separation, write model optimized for consistency, read…
nosql-database-design
Designs a NoSQL data model by leading with access pattern analysis. Covers DynamoDB single-table design (PK/SK/GSI) and MongoDB embedding vs referencing, consistency models, and capacity planning. Invoked when the user asks to design a DynamoDB schema, MongoDB data model, or NoSQL data model.
sql-query-optimization
Diagnoses and optimises slow SQL queries using EXPLAIN ANALYZE. Covers identifying bottlenecks (sequential scans, bad estimates, heap fetches), index strategy, query rewrites, and verification. Invoked when the user asks to optimize a query, fix a slow database query, or improve database performance.
backend-designer
This skill should be used when the user asks to "design an API", "plan database schema", "set up authentication", "design backend architecture", or discusses backend patterns and infrastructure. Provides pragmatic backend design guidance following "solid indie" principles.