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 ai4s-research/ai4s-skills --skill integrity-auditorgit clone --depth 1 https://github.com/ai4s-research/ai4s-skillsWrote 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/ai4s-research/ai4s-skills/integrity-auditor)<a href="https://agentmods.dev/skills/ai4s-research/ai4s-skills/integrity-auditor"><img src="https://agentmods.dev/badge/skills/ai4s-research/ai4s-skills/integrity-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/skills/ai4s-research/ai4s-skills/integrity-auditor"><img src="https://agentmods.dev/badge/skills/ai4s-research/ai4s-skills/integrity-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00063 | $0.04961 |
| Opus 5 | $0.00032 | $0.02481 |
| Sonnet 5 | $0.00013 | $0.00992 |
| Haiku 4.5 | $0.00006 | $0.00496 |
Grade A, and why
integrity-auditor scanned grade A with 1 finding 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 12d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
1. **Article HTML landing page** — usually open even when PDF is gated. `curl -sL -A "Mozilla/5.0" "<article URL>" -o $RUN/paper.html`. This page typically embeds the abstract, all main-figure captions, and direct CDN UR How it starts
The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Integrity Auditor
Overview
Paper-integrity audit package. Single stage, full quality from the start. The agent reads each reference, then carries out three evidence tracks (image / numerical / logical) and produces a structured audit_report.md with Level 1–4 graded findings.
This skill ships no LLM SDK — it is the skill instructions, references, templates, and single-purpose forensics_tools/ only.
The substantive work is decomposed into reference playbooks under references/:
| Reference | Topic |
|---|---|
references/00-incremental-execution.md |
how to do this without losing work: batches, persistence, resume — read first |
references/01-image-evidence.md |
image evidence: panel split, dup detection, rotate/flip alignment, Western-blot continuity |
references/02-numerical-evidence.md |
numerical evidence: n-consistency, mean/SD/SEM recompute, P-value sanity, decimal trail, Benford with caveats, deterministic-column-pair and last-digit chi-square sweepers, variance-reporting consistency |
references/02a-supplement-acquisition.md |
publisher CDN routes: how to get hi-res figures and source-data XLSXs even when the article PDF is paywalled |
references/02b-ml-paper-arithmetic.md |
ML / non-biology papers: arithmetic re-derivation of every quoted improvement against tabulated benchmark cells; leaderboard archive routes |
references/03-logical-evidence.md |
logical evidence: conclusion-chain compression, missing controls, replication gap |
references/04-evidence-grading.md |
4-level finding grading + reviewable-evidence format (DOI / figure-id / pointer / transformation / requested raw data) |
references/05-quality-gate.md |
self-check before delivery |
Also:
templates/audit_report.md— report skeleton the agent fills.forensics_tools/image_dup.py— perceptual-hash (dHash + aHash) duplicate detector for figure / panel PNGs. Single-purpose pure-Python utility (Pillow only). Catches untransformed dups.forensics_tools/image_dup_orb.py— ORB feature-matching duplicate detector with horizontal-flip augmentation. Catches transformed dups (rotation / flip / crop / brightness change) that perceptual hashing misses. Pair withimage_dup.py: use phash first, escalate to ORB when phash distance is suspicious-but-inconclusive (16–60 range). Deps: OpenCV + NumPy.forensics_tools/panel_split.py— whitespace-gutter panel splitter. Pair withimage_dup.py/image_dup_orb.pyfor cross-panel duplicate detection; whole-figure phash without panel splitting almost never finds anything.forensics_tools/channel_check.py— RGB channel-content classifier (DAPI / Flag / Merge / other) for fluorescence sub-images. Catches within-panel label swaps (e.g., a "DAPI" sub-image that is actually a Merge); cross-panel phash cannot catch this class.forensics_tools/decimal_match.py— cross-cell last-N-decimal matching sweeper for source-data XLSX. Detects fabrication where many distinct values share trailing decimal patterns (Kang Tiebang whistleblower class). Single-purpose pure-Python utility (openpyxl only). Seereferences/02-numerical-evidence.mdCheck 1.5.forensics_tools/magnitude_consistency.py— supplement-text vs source-data XLSX unit/scale consistency. Catches unit-confusion (TWh vs GWh, mM vs µM, MHz vs Hz, etc.) and order-of-magnitude transcription errors via entity-overlap + literal-value matching across a generic SI-prefix-aware unit taxonomy covering energy / power / mass / length / area / volume / time / voltage / current / frequency / pressure / concentration / amount / force / dose / genomics-bp / CO2 / currency. Cross-family pairs (e.g., kV vs TWh) are automatically rejected. Pair withbilingual_cn_geography.json(or your own JSON map) for cross-language entity matching. Empirical baseline: Hu et al. 2026 Nature Tongyu county 1000× unit error. Seereferences/02-numerical-evidence.mdCheck 1.6.forensics_tools/xlsx_aggregate_consistency.py— cross-XLSX same-quantity sum/row consistency. Detects when two source-data tables in the same paper purport to carry the same aggregate quantity but disagree by a small systematic margin (e.g., Hu et al. 2026 Nature MOESM3 vs MOESM6 1110.78 vs 1103.89 TWh, 0.62 percent diff, all 31 provinces same sign). Reuses the unit taxonomy frommagnitude_consistency.py. Empirical baseline same paper Level 1 finding. Seereferences/02-numerical-evidence.mdCheck 1.7.tests/smoketest.sh— < 30-second pre-commit gate. Compiles every script, runs every--help(catches argparse%bugs), and runs positive + negative controls fordecimal_match,magnitude_consistency, andxlsx_aggregate_consistency. Run before every change.- See
forensics_tools/README.mdfor the design rule that distinguishes utility scripts from forbidden "skeleton → enrich" orchestration, and for the recommended pipeline.
What ships with it
20 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.
- forensics_tools/bilingual_cn_geography.json 1.3 KB
- forensics_tools/channel_check.py 5.9 KB runs code
- forensics_tools/decimal_match.py 11 KB runs code
- forensics_tools/image_dup_orb.py 7.6 KB runs code
- forensics_tools/image_dup.py 4.3 KB runs code
- forensics_tools/magnitude_consistency.py 20 KB runs code
- forensics_tools/panel_split.py 6.1 KB runs code
- forensics_tools/README.md 4.8 KB
- forensics_tools/requirements.txt 162 B
- forensics_tools/xlsx_aggregate_consistency.py 14 KB runs code
- references/00-incremental-execution.md 4.6 KB
- references/01-image-evidence.md 9.5 KB
- references/02-numerical-evidence.md 26 KB
- references/02a-supplement-acquisition.md 7.5 KB
- references/02b-ml-paper-arithmetic.md 12 KB
- references/03-logical-evidence.md 8.4 KB
- references/04-evidence-grading.md 6.7 KB
- references/05-quality-gate.md 7.3 KB
- templates/audit_report.md 5.4 KB
- tests/smoketest.sh 7.3 KB runs code
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.
- 12d ago First seen · 215 lines · 63 tokens per session scan A b6d8da9f1a5a
integrity-auditor is a skill published in the GitHub repository ai4s-research/ai4s-skills (223 stars, last pushed 1mo ago), licensed MIT. It adds 63 tokens to every session and 4,961 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
publication-figures
Use whenever you generate or review a chart, plot, table, or paper figure in this workspace, including work delegated by paper-writing, literature-survey, and experiment skills. Applies the Open Science publication style, enforces readable final-size layout for figures and tables, and rejects generic diagram-tool…
large-file
Use BEFORE reading any data file that could be large (CSV/TSV, Parquet, HDF5, FITS, NetCDF, NDJSON, genomics FASTQ/FASTA/VCF/BAM, GRIB, ROOT, or big text/simulation logs like VASP OUTCAR). Returns a compact memory pointer — header/schema/shape/sample/key numbers — by introspection and sampling in bounded memory, so…
domain-check
Use whenever you write or run scientific analysis code (physics, earth/geo, biology, chemistry, social science, or bioprocess/fermentation) in this workspace — before executing it and again after generating results. Runs a deterministic domain-correctness gate that catches code which runs but is scientifically wrong…
stats-integrity
Use whenever you run statistical analysis for the social sciences (regression, hypothesis tests, econometrics) or read Stata (.dta) / SPSS (.sav) data in this workspace. Enforces an execute-don't-interpret boundary (surface estimates, don't volunteer causal claims), checks the analysis against a preregistration plan…
remote-compute
Use when the user asks to run, submit, monitor, or cancel a job on a remote machine over SSH — their own GPU/CPU server, a workstation, or a Slurm cluster ("the cluster", a login node, "my 3090 box", "the compute server"). Picks a saved machine, runs the work directly over SSH (or via Slurm when present), tracks it…
modal-run
Use when the user asks to run heavy or GPU work on Modal (the cloud compute platform) — writing a Modal function in the workspace, running it with the user's own modal CLI + token, and bringing results back. Data-to-compute for jobs too big for the laptop, without a Slurm cluster.