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 tamnguyendinh/Anvien --skill data-integritygit clone --depth 1 https://github.com/tamnguyendinh/AnvienWrote 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/tamnguyendinh/anvien/data-integrity)<a href="https://agentmods.dev/skills/tamnguyendinh/anvien/data-integrity"><img src="https://agentmods.dev/badge/skills/tamnguyendinh/anvien/data-integrity/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/tamnguyendinh/anvien/data-integrity"><img src="https://agentmods.dev/badge/skills/tamnguyendinh/anvien/data-integrity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
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 →
- medium Excessive Agency · line 5 Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
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.00042 | $0.08510 |
| Opus 5 | $0.00021 | $0.04255 |
| Sonnet 5 | $0.00008 | $0.01702 |
| Haiku 4.5 | $0.00004 | $0.00851 |
Grade A, and why
data-integrity-review 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 10d 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 — 745 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior data integrity specialist for event-sourced and projection-based systems.
Compact-Safe Memory
- After any compact or long gap, reload this file plus
AGENTS.md. - Use the exact DB, sync, audit, and architecture SPEC family for the scope.
- Re-anchor every verdict to invariants, not coding style.
Review Flow
- Determine whether the backlog still contains any unfinished phase/job.
- Select the correct mode from that backlog state.
- Run one autonomous integrity sweep for the selected mode only.
- Report every live integrity issue found inside that mode's review surface.
Mode Dispatch
Mode 1 - Phase/Job Data Review. This is the default mode. . Use it when at least one phase/job inDocs/execution/*still lacks both checks (Coder,Supervisor). . The review surface is the full data-integrity surface of the active phase/job. . Anchor to the active phase/job and its exactDocs/SPEC/*family. . Do not narrow the review to one bug, one diff, or one changed file.Mode 2 - Post-Completion Data Review. Use this only when no phase/job remains in the backlog review path ANDreports\\Data-Integrity\\DATA_INTEGRITY_LIFECYCLE_PLAN.mdeither does not exist or does not have usable content. . The review surface is the full current-head / current-worktree data-integrity surface. . When phase/job backlog is exhausted, phase/job documents are historical context only, not the primary review anchor. . Bug hunts, follow-ups, reject/resubmit work, andcurrent worktreemay define the starting anchor, but they must not narrow the integrity sweep to one reported defect only. . Anchor to the exactDocs/SPEC/*family and the current schema/repository/service/projector/snapshot/runtime paths on the current head. . In this mode, old phase/job order must not be pulled back in as review context.Mode 3 - Post-Completion Data Review with Lifecycle Plan. Use this only when no phase/job remains in the backlog review path ANDreports\\Data-Integrity\\DATA_INTEGRITY_LIFECYCLE_PLAN.mdexists and has usable content. . The review surface is the current lifecycle-plan cluster on the current head / current worktree. . When phase/job backlog is exhausted, phase/job documents are historical context only, not the primary review anchor. . The lifecycle plan may define the continuous review scope across multiple Data-Integrity runs, but each current run covers one cluster only. . Anchor to the exactDocs/SPEC/*family and the current schema/repository/service/projector/snapshot/runtime paths for the current cluster on the current head. . In this mode, old phase/job order must not be pulled back in as review context.- Explicit scope does NOT automatically force Mode 2 or Mode 3 while phase/job backlog is still open.
- Check phase/job backlog first, then dispatch mode.
- After mode is chosen, run only that mode's prompt. Do not mix in the other modes' load order or workflow.
What ships with it
23 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.
- General/Data-Integrity-Isolation-And-Column-Order.md 53 KB
- General/Data-Integrity-Log-Separation-And-Hash-Chain.md 52 KB
- General/Data-Integrity-Projection-Replay-And-Idempotency.md 55 KB
- General/Data-Integrity-Schema-And-Migration.md 54 KB
- General/Data-Integrity-Snapshot-Bootstrap-And-Activation.md 55 KB
- General/Data-Integrity-Storage-And-Encryption-Compliance.md 53 KB
- General/Data-Integrity-Transport-Contract.md 57 KB
- Hardening_loop/data-integrity-hardening-loop.md 29 KB
- Hardening_loop/data-integrity-isolation-and-column-order-hardening-loop.md 39 KB
- Hardening_loop/data-integrity-log-separation-and-hash-chain-hardening-loop.md 38 KB
- Hardening_loop/data-integrity-projection-replay-and-idempotency-hardening-loop.md 40 KB
- Hardening_loop/data-integrity-schema-and-migration-hardening-loop.md 39 KB
- Hardening_loop/data-integrity-snapshot-bootstrap-and-activation-hardening-loop.md 40 KB
- Hardening_loop/data-integrity-storage-and-encryption-compliance-hardening-loop.md 39 KB
- Hardening_loop/data-integrity-transport-contract-hardening-loop.md 41 KB
- Phase-Jobs/data-integrity-isolation-and-column-order-phase-jobs.md 16 KB
- Phase-Jobs/data-integrity-log-separation-and-hash-chain-phase-jobs.md 15 KB
- Phase-Jobs/data-integrity-phase-jobs.md 11 KB
- Phase-Jobs/data-integrity-projection-replay-and-idempotency-phase-jobs.md 16 KB
- Phase-Jobs/data-integrity-schema-and-migration-phase-jobs.md 16 KB
- Phase-Jobs/data-integrity-snapshot-bootstrap-and-activation-phase-jobs.md 16 KB
- Phase-Jobs/data-integrity-storage-and-encryption-compliance-phase-jobs.md 16 KB
- Phase-Jobs/data-integrity-transport-contract-phase-jobs.md 17 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.
- 10d ago First seen · 745 lines · 42 tokens per session scan A 96aba1eeefe7
data-integrity-review is a skill published in the GitHub repository tamnguyendinh/Anvien (9 stars, last pushed 2d ago), licensed MIT. It adds 42 tokens to every session and 8,510 once invoked, about $0.0002 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-31.
Other skills, from other repositories
memgraph-storage-reviewer
Review code changes in Memgraph's storage layer, including MVCC, concurrency patterns, WAL, recovery, DDL operations, index/constraint management, delta chains, and skip list operations. Invoke for pull requests or changes to src/storage/v2/.
database
This skill should be used when reviewing database queries, migrations, indexes, or schema changes.
patterns
This skill should be used when the user asks to "create an API endpoint", "add CRUD operations", "implement event handlers", "set up logging", "add configuration", or builds features involving database operations, REST/GraphQL APIs, pub/sub patterns, or service configuration. Provides implementation patterns that…
blast-radius-review
Review a change by its blast radius, using Kin's graph to find what downstream code the change can reach. Use when reviewing a diff or pull request, deciding whether an edit is safe, or answering "what else breaks if I change this" in a repository admitted to Kin.
sqlike
Check SQL with sqlike — deterministic static analysis (validity, anti-patterns, rewrites, index advice) and query-equivalence verification. Use whenever you write, edit, review, or rewrite a SQL query, or need to prove two queries return the same results. Requires the sqlike MCP server (@sqlike/mcp) or the sqlike CLI…
a-unslop-ui
Finds the cues that make a website read as AI-generated and forces a deliberate, project- specific design choice instead of the model's default. It does not impose a look. It flags both the old default (shadcn/Tailwind stock theme, AI-purple, gradient hero text, gradient body text, unprompted neon glow…