transactions-consistency

transactions-consistency is a skill for Codex from d4rkNinja/arcforge. It costs 77 tokens per session (2,607 once invoked), scanned A, original, MIT.

A set of guidance for reviewing and changing transactions or shared state when multiple operations can happen at once or across different systems. It covers problems such as duplicate effects, incorrect ordering, and data that becomes inconsistent.

In plain words
What is it for?
Analyzing transaction boundaries, isolation, locking, retries, idempotency, replication, sharding, distributed locks, and state-machine behavior.
Why use it?
It helps identify concurrency and consistency errors that may not appear during a normal code review or simple test.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Analyzing transaction boundaries, isolation, locking, retries, idempotency, replication, sharding, distributed locks, and state-machine behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/d4rkninja/arcforge/transactions-consistency
Install

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.

Any agent
npx skills add d4rkNinja/arcforge --skill transactions-consistency
Clone the repo
git clone --depth 1 https://github.com/d4rkNinja/arcforge

Made for: Codex.

Wrote 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.

agentmods badge for transactions-consistency

README.md
[![agentmods](https://agentmods.dev/badge/skills/d4rkninja/arcforge/transactions-consistency/github.svg)](https://agentmods.dev/skills/d4rkninja/arcforge/transactions-consistency)
Your own site
<a href="https://agentmods.dev/skills/d4rkninja/arcforge/transactions-consistency"><img src="https://agentmods.dev/badge/skills/d4rkninja/arcforge/transactions-consistency/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.

agentmods 80×15 button for transactions-consistency

Your own site · 80×15
<a href="https://agentmods.dev/skills/d4rkninja/arcforge/transactions-consistency"><img src="https://agentmods.dev/badge/skills/d4rkninja/arcforge/transactions-consistency.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,607 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.02607
Opus 5.5 $0.00031 $0.01043
Sonnet 5.5 $0.00015 $0.00521
Haiku 4.5 $0.00008 $0.00261

Measured 3mo ago against content hash 16d523684f7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 3mo 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.

skills/transactions-consistency/SKILL.md · 154 lines

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.

Read the full file on GitHub · 154 lines

Changes

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.

  1. 3mo ago Changed · +3 lines 16d523684f7a
  2. 3mo ago First seen · 151 lines · 77 tokens per session scan A ce1877423725

Subscribe to this mod's changes

transactions-consistency is a skill published in the GitHub repository d4rkNinja/arcforge (17 stars, last pushed 3mo ago), licensed MIT. It adds 77 tokens to every session and 2,607 once invoked, about $0.0003 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-30.

Related

transactions-consistency compared with skills from other repositories

transactions-consistency next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
transactions-consistencyd4rkNinja/arcforgeSkill173mo agoMITA77Codex
architecture-paradigm-cqrs-esathola/claude-night-marketSkill358todayMITA33Claude Code
backend-cqrs-patternsj4flmao/agent-skillsSkill4718d agoMITA61Claude Code, Codex
backend-event-sourcingj4flmao/agent-skillsSkill4718d agoMITA68Claude Code, Codex
nosql-database-designsoulcodex/agenticSkill10yesterdayMITA71Claude Code, Codex
sql-query-optimizationsoulcodex/agenticSkill10yesterdayMITA70Claude Code, Codex
backend-designerData-Wise/craftSkill42d agoMITA53Claude Code