integrity-forensics
What it does
This Codex version of the integrity forensics launcher runs the number-checking part of an integrity tool against a paper. It is for reviewers and authors who want their reported statistics checked.
When to use it
- βWhen you want reported means and statistics checked for internal consistency.
- βWhen you want block or warning flags on a paper before submission.
- βWhen you need a record of follow-up items from the integrity check.
Skill link
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/integrity-forensics/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI want the statistics in my paper checked for internal consistency, with any block or warning flags listed.β
5 new skills a week. 1 minute to read.
How it works
The agent runs a pinned version of the integrity tool, which applies GRIM, GRIMMER, and statcheck style arithmetic to the reported numbers. The reporter lists any flags, and the skill records follow-up items.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Integrity Forensics β thin launcher (Codex-native: deterministic slice)
Audit target: $ARGUMENTS
Same launcher doctrine as the mainline skill: SHA-pin, upstream eval-gate validation per pin, delegate unchanged, no vendoring, no forking, no reviewer knobs. The one Codex-native difference: upstream's nine auditor skills are Claude-Code contracts, so this pack runs upstream's deterministic-only mode β the numeric forensic core (GRIM / GRIMMER / statcheck / delta arithmetic) plus the rules-only reporter with an all-
review_unavailablecoverage map. That mode is honestly scoped by upstream: it can raise HARD/SOFT flags; it can NEVER returnCLEAN_GIVEN_EVIDENCE. Translating upstream's reviewer calls intospawn_agentwould REWRITE an upstream contract β forbidden.
Constants
- ANTI_AR_REPO =
https://github.com/wanshuiyin/Anti-Autoresearch.git - ANTI_AR_COMMIT =
b47af6f983b38347b6d2110379e266400597cf66β never tracks HEAD; bumping is a reviewed change (mainline Pin-bump checklist). - CLONE_DIR =
~/.aris/anti-autoresearchβ host-neutral. An older clone at~/.claude/anti-autoresearchis unused; move it and its.aris_eval_ok_*receipt to keep an offline deterministic-only run working β this pack's own mode β otherwise delete it whenever convenient. - NO REVIEWER KNOBS β and no
β effort:mapping onto upstream settings.
Step 0 β Bootstrap the pin (identical to mainline)
CLONE_DIR="$HOME/.aris/anti-autoresearch"
ANTI_AR_COMMIT="b47af6f983b38347b6d2110379e266400597cf66"
mkdir -p "$HOME/.aris"
if [ ! -d "$CLONE_DIR/.git" ]; then
git clone --no-checkout https://github.com/wanshuiyin/Anti-Autoresearch.git "$CLONE_DIR"
fi
git -C "$CLONE_DIR" cat-file -e "$ANTI_AR_COMMIT^{commit}" 2>/dev/null \
|| git -C "$CLONE_DIR" fetch -q origin
git -C "$CLONE_DIR" checkout -qf "$ANTI_AR_COMMIT" || { echo "FATAL: cannot checkout pin"; exit 1; }
# pristine tree at the pin β local tampering (incl. nested-repo injections;
# hence double -f) must not run under the pin's name; verify, don't assume
git -C "$CLONE_DIR" reset --hard -q "$ANTI_AR_COMMIT" || { echo "FATAL: reset failed"; exit 1; }
git -C "$CLONE_DIR" clean -ffdxq || { echo "FATAL: clean failed"; exit 1; }
[ -z "$(git -C "$CLONE_DIR" status --porcelain)" ] || { echo "FATAL: tree not pristine"; exit 1; }
# marker OUTSIDE the clone (a marker inside a tamperable tree proves nothing)
MARKER="${CLONE_DIR}.aris_eval_ok_${ANTI_AR_COMMIT}"
if [ ! -f "$MARKER" ]; then
( cd "$CLONE_DIR" && python3 eval/run_eval.py ) || {
echo "FATAL: upstream eval gate FAILED at pin β refusing an unvalidated pin"; exit 1; }
touch "$MARKER"
fi
Step 1 β Delegate: upstream deterministic-only mode, unchanged
Open $CLONE_DIR/workflows/anti-autoresearch/SKILL.md and follow its
deterministic-only path (its own documented degraded mode): Step 0 ingest β
Step 1 evidence ledger β deterministic auditors β adjudication with the
generated all-review_unavailable coverage map. Wrapper rules: run every
upstream bash block with cd "$CLONE_DIR" (upstream self-locates via
git rev-parse --show-toplevel); refer to the paper by ABSOLUTE path; never
rewrite upstream outputs.
Expected outcome: report.json whose verdict is HARD_FLAGS / SOFT_FLAGS /
REVIEW_UNAVAILABLE β by construction never CLEAN_GIVEN_EVIDENCE.
Step 2 β Typed gate + obligations
Resolve forensics_gate.py via the canonical helper chain
(shared-references/integration-contract.md Β§2, Policy A), then:
python3 "$GATE_HELPER" evaluate --report "$PAPER_DIR/report.json" --paper-dir "$PAPER_DIR" \
--anti-ar-commit "$ANTI_AR_COMMIT" --executor-model "codex-gpt-6-astra"
Policy: HARD_FLAGS β BLOCK Β· REVIEW_UNAVAILABLE β BLOCK (which a
deterministic-only run reports whenever it found no flags β the semantic
dimensions never ran, so nothing may wave the paper through) Β· SOFT_FLAGS β
WARN. The gate records same-family proposal provenance for a Codex
executor β informational: this gate only raises flags, it grants nothing.
The downstream preflight is ONE command:
python3 "$GATE_HELPER" fresh --paper-dir "$PAPER_DIR" --anti-ar-commit "$ANTI_AR_COMMIT"
β exit 0 βΊ produced at the current pin β§ gate
exists β§ paper unchanged since β§ gate matches the current ledger β§ decision
pass-capable (WARN/NO_NEW_BLOCKER), where the decision is RE-computed from
the sha-verified archived report + live ledger (the
FAQ
Can this run a full semantic review?
No. This Codex version runs only the deterministic part, so it can raise flags but cannot declare the paper clean.
Why can it not declare a paper clean?
The upstream tool says the deterministic mode cannot return a clean verdict, because the semantic audits are not run.
Should I put it on a timer?
No. The skill says not to repeat it until it stops flagging issues.
Details
Original description by the author
Run the Anti-Autoresearch integrity-forensics DETERMINISTIC slice (numeric core + rules-only reporter) against a paper via a SHA-pinned thin launcher, then convert the verdict into a typed policy gate (BLOCK/WARN/NO_NEW_BLOCKER) and an append-only obligations ledger. Codex-native limitation: upstream ships no Codex-native auditor pack, so the full nine-dimension semantic sweep requires a Claude Code session β this pack runs the honestly-scoped deterministic-only mode (it can flag, it can never say CLEAN). Use when user says \"integrity forensics\", \"forensic audit this paper\", \"ζη¨Ώεθͺζ₯θ―δΏ‘\".
Popularity
- GitHub stars
- 18k
- Ranking position
- #10604
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
ablation-planner
18kHelps your agent plan ablation studies for a paper, choosing the tests reviewers are likely to ask for once the main results look good.
alphaxiv
18kLets your agent quickly read one research paper using AlphaXiv summaries, with full text or LaTeX source as backup, from an arXiv link or ID.
analyze-results
18kHelps your agent analyze machine learning experiment results, compare runs against a baseline, and turn the numbers into clear findings and next steps.
arxiv
18kLets your agent search arXiv for academic papers, read their details, and save PDFs to your library for a research topic.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.