ln-57-persistence-auditor

ln-57-persistence-auditor is a skill for Claude Code from levnikolaevich/claude-code-skills. It costs 25 tokens per session (2,616 once invoked), scanned A, original, MIT.

A read-only review skill for database and other data-storage code. It examines queries, transactions, consistency rules, and how long storage resources remain open.

In plain words
What is it for?
It is for auditing database operations, transaction boundaries, resource lifetimes, and consistency behavior.
Why use it?
It helps find persistence problems and avoids claiming speed or reliability improvements without evidence from the actual code paths.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the quality-assurance-suite plugin — 7 skills shipped together

Good fit It is for auditing database operations, transaction boundaries, resource lifetimes, and consistency behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/levnikolaevich/claude-code-skills/ln-57-persistence-auditor
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 levnikolaevich/claude-code-skills --skill ln-57-persistence-auditor
Clone the repo
git clone --depth 1 https://github.com/levnikolaevich/claude-code-skills

Made for: Claude Code.

Or install quality-assurance-suite, the plugin that ships this one along with the rest of its 7 skills.

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 ln-57-persistence-auditor

README.md
[![agentmods](https://agentmods.dev/badge/skills/levnikolaevich/claude-code-skills/ln-57-persistence-auditor/github.svg)](https://agentmods.dev/skills/levnikolaevich/claude-code-skills/ln-57-persistence-auditor)
Your own site
<a href="https://agentmods.dev/skills/levnikolaevich/claude-code-skills/ln-57-persistence-auditor"><img src="https://agentmods.dev/badge/skills/levnikolaevich/claude-code-skills/ln-57-persistence-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.

agentmods 80×15 button for ln-57-persistence-auditor

Your own site · 80×15
<a href="https://agentmods.dev/skills/levnikolaevich/claude-code-skills/ln-57-persistence-auditor"><img src="https://agentmods.dev/badge/skills/levnikolaevich/claude-code-skills/ln-57-persistence-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,616 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.
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.00025 $0.02616
Opus 5.5 $0.00010 $0.01046
Sonnet 5.5 $0.00005 $0.00523
Haiku 4.5 $0.00003 $0.00262

Measured 7d ago against content hash e615bc5c984e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ln-57-persistence-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 7d 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.

plugins/quality-assurance-suite/skills/ln-57-persistence-auditor/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Persistence Auditor

Goal: Perform a read-only audit of persistence and data-heavy runtime paths. Connect static candidates to real query, transaction, resource, or consistency mechanisms and avoid claiming performance impact without evidence.

Execution contract: The checklist defines completion. Track each item internally as PENDING, PROVEN with evidence, CLEARED with evidence its condition is absent, or UNPROVEN with a gap; reading, delegation, tool failure, a zero exit status, or a self-reported success is not proof; only the observed outcome is. Reconcile after each section. Before returning, resolve all PENDING, count only PROVEN and CLEARED, and apply verdict and approval rules to every gap. Preserve intent, scope, and existing authorization. Continue authorized work; ask only for consequential unresolved choices or required external approval. When no one can answer during the run, state the exact question and apply the skill's verdict for the remaining gap instead of waiting or guessing. Scale depth to material risk without skipping checks. Preserve dependency and safety order; otherwise choose an appropriate verification method. Accept equivalent user or repository evidence; no other skill, named artifact, or complete lifecycle is required. Preserve source requirement and decision IDs. Bind reused evidence to relevant source versions, dirty changes, configuration, and environment; invalidate only affected claims. On continuation, reconcile task, authorization, current state, and unresolved evidence. For long work, return a compact continuation record or update an already authorized artifact; read-only skills do not persist it. Distinguish artifact readiness, verified behavior, and external-action authority. Prepare authorized work before required approval. If blocked by an instruction, cite its exact source and unresolved boundary; do not invent approval gates from caution.

Tool Routing

Need Preferred tool Use it when Fallback
Data-layer map Native file search over manifests, models, mappings, repositories, migrations, queries, cache, queue, and pool configuration Establishing stores, frameworks, ownership, and scope Trace from known request, job, or command entrypoints
Call paths and resource ownership Language server or host-native code intelligence Following service calls, transaction boundaries, async flow, session scopes, and cleanup Targeted search plus direct inspection of definitions and callers
Query behavior Existing query logs, tracing, ORM diagnostics, and application metrics Establishing frequency, duplication, timing, rows, and cache behavior Static query-in-loop and fetch-shape analysis with explicit limits
Query plans Database-native explain tooling on an approved non-production target A safe read query and representative schema/data are available Inspect indexes, predicates, joins, statistics assumptions, and generated SQL statically
Runtime performance Existing profiler, benchmark, or repository diagnostic command Allocation, blocking, loop amplification, or I/O cost needs measurement Complete static cost path marked as unmeasured
Correctness verification Repository-defined tests, integration environment, and migration checks Reproducing transaction, retry, consistency, or lifecycle behavior safely Static failure trace and required verification plan
External semantics Official database, driver, framework, and runtime documentation matching installed versions Isolation, pooling, cancellation, caching, trigger, or async semantics affect a finding Primary-source web research; otherwise mark UNVERIFIED

Read the full file on GitHub · 111 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. 7d ago Changed e615bc5c984e
  2. 23d ago Changed · -1 lines 70b4151bea6c
  3. 27d ago First seen · 112 lines · 25 tokens per session scan A bd65360bb1c1

Subscribe to this mod's changes

ln-57-persistence-auditor is a skill published in the GitHub repository levnikolaevich/claude-code-skills (573 stars, last pushed 4d ago), licensed MIT. It adds 25 tokens to every session and 2,616 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-09-13.

Related

Other skills, from other repositories

triage-report

Drain the .review/ report queue. Resolves un-triaged scan/audit reports (producer-agnostic — check-docs-consistency and any other scanner), dispatches the triage-report subagent (Sonnet) one report at a time for per-finding dispositions (promote / patch / dup / needs-investigation / dismiss), then the gateway absorbs…

RockyHong/super-bootstrap · 151 tokens

dev-rc

The last gate before merge — QA, security audit, review and changelog, with objective pass conditions.

ToruAI/toru-claude-agents · 25 tokens

huggingface-vision-trainer

Train object-detection, image-classification, or SAM segmentation models on Hugging Face Jobs. Use for vision fine-tuning and evaluation; use huggingface-llm-trainer for language models.

waybarrios/opencode-power-pack · 48 tokens

semgrep-rule-variant-creator

Creates language variants of existing Semgrep rules. Use when porting a Semgrep rule to specified target languages. Takes an existing rule and target languages as input, produces independent rule+test directories for each language.

waybarrios/opencode-power-pack · 50 tokens

insecure-defaults

Detects fail-open insecure defaults (hardcoded secrets, weak auth, permissive security) that allow apps to run insecurely in production. Use when auditing security, reviewing config management, or analyzing environment variable handling.

waybarrios/opencode-power-pack · 48 tokens

solid-principles

SOLID principles checklist with Java examples. Use when a class has too many responsibilities, an abstraction leaks, or a dependency points the wrong way, and when the user asks about Single Responsibility, Open/Closed, Liskov, Interface Segregation or Dependency Inversion. For naming, duplication and method length…

decebals/claude-code-java · 73 tokens