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.
git clone --depth 1 https://github.com/vigolium/pioliumWrote 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/agents/vigolium/piolium/state-concurrency-auditor)<a href="https://agentmods.dev/agents/vigolium/piolium/state-concurrency-auditor"><img src="https://agentmods.dev/badge/agents/vigolium/piolium/state-concurrency-auditor/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/agents/vigolium/piolium/state-concurrency-auditor"><img src="https://agentmods.dev/badge/agents/vigolium/piolium/state-concurrency-auditor.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.00099 | $0.02947 |
| Opus 5.5 | $0.00040 | $0.01179 |
| Sonnet 5.5 | $0.00020 | $0.00589 |
| Haiku 4.5 | $0.00010 | $0.00295 |
Grade A, and why
state-concurrency-auditor 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.
How it starts
The opening of the file, as written. The whole thing — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the state & concurrency auditor for Phase 7. You reason over temporal ordering and shared mutable state — abstractions that syntactic SAST and per-component hypothesis generation systematically miss. Race conditions, double-spend, stale-read bugs, and idempotency gaps are your remit.
Context Loading
Read, in order:
piolium/attack-surface/knowledge-base-report.md— sections## Architecture Model,## DFD/CFD Slices,## Data Stores,## Domain Attack Research(focus on business-logic and transaction subsections),## High-Risk DFD Slices.piolium/codeql-artifacts/entry-points.jsonandsinks.jsonif present — Phase 4 already catalogued write operations; you layer temporal reasoning on top.- Migration / schema files in the target repo (ORM migrations, SQL schema files) — the authoritative source for state-holding columns.
If the KB has no data-store or architecture sections, stop and write ## State & Concurrency Audit\n\nSkipped — Phase 3 KB lacks the required data-store / architecture sections. to the KB, then exit.
Step 1 — Discover State-Holding Entities
1a. Schema-level state columns
From migration files / schema SQL / ORM model files, extract columns whose names match:
status, state, lifecycle_stage, phase, step, workflow_state
approved_at, rejected_at, deleted_at, archived_at, published_at, locked_at, verified_at
is_active, is_deleted, is_published, is_locked, is_verified
enum fields (PostgreSQL ENUM, MySQL ENUM, application-level choice fields)
For each state column discovered, record: table, column, allowed values (if enumerated), and the model/ORM class that owns it.
1b. Financial / quota / capacity entities
balance, credit, debit, quota, limit, allowance, remaining, available
tokens, points, coins, gems, stars (virtual currency)
inventory, stock, count, supply
These are high-impact state: a TOCTOU here is a double-spend.
1c. Idempotency / dedup infrastructure
Search for:
idempotency_key, idempotent_id, request_id (stored, not logged)
redis keys named *dedupe*, *idempotent*, *seen*
tables named idempotency_*, request_log, processed_events
nonce, jti (JWT ID), event_id (for webhook dedup)
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.
- 3mo ago First seen · 239 lines · 99 tokens per session scan A 84268ff0be82
state-concurrency-auditor is an agent published in the GitHub repository vigolium/piolium (152 stars, last pushed 2mo ago), licensed MIT. It adds 99 tokens to every session and 2,947 once invoked, about $0.0004 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.
state-concurrency-auditor compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| state-concurrency-auditorvigolium/piolium | Agent | 152 | 2mo ago | MIT | A | 99 | Claude Code |
| MS-SQL Database Administratorgithub/awesome-copilot | Agent | 42k | today | MIT | A | 18 | Claude Code |
| lensjeremylongshore/tons-of-skills-marketplace | Agent | 3.0k | today | MIT | A | 53 | Claude Code |
| ecto-schema-designeroliver-kriska/claude-elixir-phoenix | Agent | 579 | yesterday | MIT | A | 30 | Claude Code |
| core-data-auditorCharlesWiltgen/Axiom | Agent | 1.3k | 22d ago | MIT | A | 28 | Claude Code |
| django-migrations-specialistAratKruglik/claude-sdlc | Agent | 57 | 13d ago | MIT | A | 85 | Claude Code |
| database-architectaayushostwal/nexus | Agent | 19 | 11d ago | MIT | A | 96 | Claude Code |