Evidence Ledger
wanshuiyin/Anti-Autoresearch
Build the deterministic evidence ledger (artifactmanifest.json + claims.json) that every other Anti-Autoresearch auditor reads.
Deliver a fast pre-commit safety scan: file size, anonymity (author / affiliation strings in tex/bib), hardcoded secrets, and invisible-Unicode carriers.
$ npx skills add flonat/flonat-research --skill pre-commit-audit -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install flonat/flonat-research pre-commit-audit --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/flonat/flonat-research.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/pre-commit-audit .claude/skills/pre-commit-audit && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "pre-commit-audit" agent skill from https://github.com/flonat/flonat-research/tree/main/skills/pre-commit-audit into .claude/skills/pre-commit-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-commit-audit", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/flonat/flonat-research/tree/main/skills/pre-commit-auditType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add flonat/flonat-research --skill pre-commit-audit -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install flonat/flonat-research pre-commit-audit --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/flonat/flonat-research.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/pre-commit-audit .agents/skills/pre-commit-audit && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pre-commit-audit" agent skill from https://github.com/flonat/flonat-research/tree/main/skills/pre-commit-audit into .agents/skills/pre-commit-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-commit-audit", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add flonat/flonat-research --skill pre-commit-audit -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install flonat/flonat-research pre-commit-audit --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/flonat/flonat-research.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/pre-commit-audit .cursor/skills/pre-commit-audit && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "pre-commit-audit" agent skill from https://github.com/flonat/flonat-research/tree/main/skills/pre-commit-audit into .cursor/skills/pre-commit-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-commit-audit", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/flonat/flonat-research.git --path skills/pre-commit-audit--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add flonat/flonat-research --skill pre-commit-audit -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install flonat/flonat-research pre-commit-audit --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/flonat/flonat-research.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/pre-commit-audit .gemini/skills/pre-commit-audit && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "pre-commit-audit" agent skill from https://github.com/flonat/flonat-research/tree/main/skills/pre-commit-audit into .gemini/skills/pre-commit-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-commit-audit", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install flonat/flonat-research pre-commit-auditInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add flonat/flonat-research --skill pre-commit-audit -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/flonat/flonat-research.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/pre-commit-audit .github/skills/pre-commit-audit && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "pre-commit-audit" agent skill from https://github.com/flonat/flonat-research/tree/main/skills/pre-commit-audit into .github/skills/pre-commit-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-commit-audit", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add flonat/flonat-research --skill pre-commit-audit -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install flonat/flonat-research pre-commit-audit --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/flonat/flonat-research.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/pre-commit-audit .opencode/skills/pre-commit-audit && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "pre-commit-audit" agent skill from https://github.com/flonat/flonat-research/tree/main/skills/pre-commit-audit into .opencode/skills/pre-commit-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-commit-audit", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
pre-commit-auditDeliver a fast pre-commit safety scan: file size, anonymity (author / affiliation strings in tex/bib), hardcoded secrets, and invisible-Unicode carriers.
Pre Commit Audit is an agent skill from flonat/flonat-research. Deliver a fast pre-commit safety scan: file size, anonymity (author / affiliation strings in tex/bib), hardcoded secrets, and invisible-Unicode carriers. Use when the user requests a fast pre-commit safety scan: file size, anonymity (author / affiliation strings in tex/bib), hardcoded secrets, and invisible-Unicode carriers. Triggers: 'audit before commit', 'check before push', 'pre-commit scan', 'safety check'.
Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/check_invisible_unicode.py`).
It sits in Documents & Office, covering LaTeX and Secrets management. The repository describes itself as: Shareable Claude Code + Codex infrastructure for PhD researchers — skills, agents, hooks, and rules for academic workflows. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit da27600. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadBash(git*)Bash(grep*)Bash(find*)Bash(stat*)Bash(numfmt*)Bash(wc*)Bash(head*)Bash(uv*)AskUserQuestionFrom allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
gituvFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Pre Commit Audit loads about 2.8k tokens when it runs. Until then it costs about 108 tokens; SKILL.md has 1,098 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
| `.env`-style assignments | `^[A-Z_]+=[a-zA-Z0-9+/=_-]{20,}` outside `.env.example`/`.env.template` |Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from flonat/flonat-research at commit da27600, republished under its MIT licence (© flonat). 1,098 words, ~2,768 tokens.
.claude/skills/pre-commit-audit/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Three-pass safety scan before commit. Blocks pain-points: oversized commits (1.3GB parquet incident), CCS-style anonymity breaches, leaked credentials. Each pass is a hard gate; user OKs proceed.
block-large-files.sh hook for consistency.paper-*/, *.tex, *.bib, *.md inside paper directories. Scope is data-driven — we don't false-flag README authorship.git commit on a paper / project reposession-close Phase 4 sub-step (alternate path to running the hook)pre-commit-audit --unicode-only.gitignore, LICENSE, etc.)| Invocation | Scope |
|---|---|
pre-commit-audit | Staged files (default) |
pre-commit-audit --staged | Same as default |
pre-commit-audit --unstaged | Modified-but-not-staged files |
pre-commit-audit --all | Working tree + staged |
pre-commit-audit --unicode-only | Phase 4 only — safe on infra commits |
Phase 1 (size) → find files >10MB; check .gitignore status
Phase 2 (anonymity) → grep paper paths for author/affiliation/email
Phase 3 (secrets) → entropy + prefix heuristics on all staged files
Phase 4 (unicode) → invisible-carrier scan via check_invisible_unicode.py
Phase 5 (consolidate) → single table; user OK to proceedTHRESHOLD_BYTES=$((10 * 1024 * 1024))
git diff --cached --name-only --diff-filter=ACM | while read f; do
if [ -f "$f" ]; then
size=$(stat -f%z "$f" 2>/dev/null || stat -c%s "$f" 2>/dev/null || echo 0)
if [ "$size" -gt "$THRESHOLD_BYTES" ]; then
ignored=$(git check-ignore "$f" 2>/dev/null && echo "ignored" || echo "tracked")
echo "$f|$size|$ignored"
fi
fi
doneVerdict: BLOCK if any tracked file >10MB. WARN if gitignored but staged anyway.
Single source of truth: skills/_shared/double-blind-anonymity-checklist.md holds the authoritative pattern list (paper-side P1-P8, artifact-side A1-A6) plus the CCS 2026 #1328 incident report that motivates the checks. Both pre-commit-audit (this skill) and anonymous-artifact reference it; do not duplicate the patterns inline.
Scope for pre-commit-audit: only files staged for commit at paths matching paper-*/, **/*.tex, **/*.bib, **/*.cls, **/*.sty. The full checklist also covers structured-metadata files (pyproject.toml, package.json, Cargo.toml, CITATION.cff, etc.) — those are checked by anonymous-artifact since they only matter when pushing the artifact, not on every commit.
Apply checks P1-P8 from the shared checklist:
\thanks{} / \acknowledgements / \funded / \grant revealing identitypdfinfo paper.pdf)For each match: print path:line and the matched text (truncated). Verdict: BLOCK on any match in a path containing paper-*/. WARN on matches outside paper directories.
Exception: a frontmatter-style Made by the user in friends-repo / public-repo READMEs is allowed (intentional attribution).
Patterns by category:
| Category | Detection |
|---|---|
| API keys with prefix | sk-, sk-proj-, sk-ant-, hf_, gh[a-zA-Z]_, xoxb-, AIza |
| AWS | AKIA[0-9A-Z]{16}, aws_secret_access_key |
| Generic high-entropy strings | length ≥32, base64-ish character set, no whitespace |
.env-style assignments | ^[A-Z_]+=[a-zA-Z0-9+/=_-]{20,} outside .env.example/.env.template |
Skip .env.template, .env.example, *.example, comment lines starting with #.
Verdict: BLOCK on any match in a non-template file.
Catches characters that are invisible on screen but change what a machine reads — zero-width carriers, bidi overrides, tag characters, and space homoglyphs. These arrive by paste (Word, PDF, web page, LLM output) and fail silently: a U+200B inside a citekey makes BibTeX drop the entry with no error, a U+00A0 makes an exact-match string edit fail on a line that looks identical.
Deterministic — delegate to the script rather than grepping by hand:
git diff --cached --name-only --diff-filter=ACM \
| while read -r f; do [ -f "$f" ] && printf '%s\n' "$f"; done \
| xargs -r uv run --no-sync python "<skill-dir>/scripts/check_invisible_unicode.py" --format jsonMap the script's severities onto this skill's tiers:
| Script severity | Meaning | Verdict |
|---|---|---|
critical | Zero-width / bidi / tag char, or any invisible inside a citekey, crossref, path, url, bib_entry_key, bib_doi | BLOCK |
warning | Space homoglyph or soft hyphen in prose — renders fine, breaks exact-match editing and grep | WARN |
rescued | Legitimate emoji ZWJ / VS16 sequence | not reported |
Report path:line:col, the U+XXXX label, and the containing construct when the JSON carries a context. The context is most of the signal: the same U+00A0 is a WARN in prose and a BLOCK inside \ref{}.
Fixes are mechanical, so offer them — but never apply silently (Anti-Patterns below):
uv run --no-sync python "<skill-dir>/scripts/check_invisible_unicode.py" <path> --diff # preview
uv run --no-sync python "<skill-dir>/scripts/check_invisible_unicode.py" <path> --apply # write--apply refuses Overleaf-canonical paths unless given --yes-live-surface, per reconcile-before-rewriting.md; if a flagged file is a live Overleaf surface, surface the finding and let the user fix it in the editor rather than passing that flag on their behalf.
Single table:
File Size Anon Secrets Uni Verdict
────────────────────────────────────────────────────────────────────────────
paper-ccs/paper/main.tex 5KB OK OK OK OK
paper-ccs/paper/references.bib 12KB FAIL OK FAIL BLOCK (line 23: the user; line 8: U+200B in bib_entry_key)
data/raw/results.parquet 1.3GB N/A N/A N/A BLOCK (size; not gitignored)
scripts/sync-creds.sh 2KB OK FAIL OK BLOCK (line 15: hf_<...>)
notes/from-word.md 4KB OK OK WARN WARN (4x U+00A0)If any BLOCK rows: ask the available structured-question mechanism:
If only WARN rows: ask whether to proceed. If all OK: print "Pre-commit clean ✓" and exit silently.
| Skill / Hook / Rule | Relationship |
|---|---|
block-large-files.sh hook | Runtime enforcement of Phase 1 (this skill is the manual / verbose counterpart) |
scripts/check_invisible_unicode.py | Bundled deterministic engine behind Phase 4. Codepoint tables adapted from guillaumemeyer/watermarks-remover (MIT); severity tiers, LaTeX-context detection, and emoji rescue are local |
reconcile-before-rewriting.md rule | Governs Phase 4's --apply on live Overleaf surfaces |
anonymous-artifact | The anonymity-on-publish workflow; this skill is the pre-commit equivalent |
session-close Phase 4 | Can invoke this skill as part of pre-commit verification |
mark-unverified.md rule | Verbal counterpart for content claims; this skill handles file content |
git add -A mistakes.--unicode-only remains safe and useful there.--apply as part of the audit. The audit reports; the user decides. Auto-rewriting bytes in a file the user is mid-edit on is the exact failure reconcile-before-rewriting.md exists to prevent.López-Ibáñez), em dashes, and → are legitimate and the script deliberately ignores them; a pass that flags them will be muted within a week.© flonat, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (scripts) in skills/pre-commit-audit of flonat/flonat-research.
Open the folder on GitHubat commit da27600
Pre Commit Audit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Pre Commit Audit this skillflonat/flonat-research | 145 | — | ~2.8k | Automated safety check: Notes | MIT | |
| Evidence Ledgerwanshuiyin/Anti-Autoresearch | 160 | — | ~11k | Automated safety check: Notes | MIT | |
| Research Writingalfonso0512/research-writing-skill | 486 | 1 repos | ~818 | Automated safety check: Pass | MIT | |
| Paper WritingMLNLP-World/Paper-Writing-Tips | 4.7k | — | ~630 | Automated safety check: Pass | None | |
| Evomath TaoEvoScientist/EvoSkills | 474 | 2 repos | ~3.8k | Automated safety check: Pass | Apache-2.0 | |
| Math Modeling to EI Conference Paperjihe520/MathModelAgent | 6.2k | — | ~688 | Automated safety check: Pass | None |
wanshuiyin/Anti-Autoresearch
Build the deterministic evidence ledger (artifactmanifest.json + claims.json) that every other Anti-Autoresearch auditor reads.
alfonso0512/research-writing-skill
科研论文写作助手,提供 30 个 Prompt 模板覆盖论文写作全流程. An agent skill from alfonso0512/research-writing-skill.
MLNLP-World/Paper-Writing-Tips
学术论文写作检查与优化助手。基于 MLNLP-World 社区整理的论文写作技巧,帮助检查和优化学术论文。Use when: (1) 检查论文 LaTeX 格式和排版, (2) 优化公式符号使用, (3) 改进图表设计, (4) 润色英文学术表达, (5) 检查参考文献格式, (6) 投稿前终稿检查, (7) 用户询问论文写作技巧或规范。
EvoScientist/EvoSkills
A skill your agent uses whenever the user submits a non-trivial mathematical claim that needs a rigorous proof or audit.
jihe520/MathModelAgent
Rewrites a math modeling competition paper into an English EI conference submission, using a bundled IEEE LaTeX template, with evidence tracked back to the original paper.
Spark-To-Paper-Skills/paperjury
Three modes for CS-conference papers (CVPR/ICCV/ECCV vision, ACL/EMNLP/NAACL NLP, ICLR/NeurIPS/ICML/AAAI ML).
flonat/flonat-research
Create a large-format academic poster in LaTeX using beamerposter, tikzposter, or baposter.
flonat/flonat-research
Create, revise, and evaluate reusable AI workflow skills, including trigger-quality tests.
flonat/flonat-research
Create, read, edit, or convert Microsoft Word documents while preserving professional document structure.
flonat/flonat-research
Read, create, combine, split, rotate, OCR, watermark, secure, or extract content from PDF files.
flonat/flonat-research
Create or migrate project-level agents, repeatable project workflows, and planning state from one client-neutral contract, then render repository-scoped adapters for both Claude Code and Codex.
flonat/flonat-research
Extract reusable knowledge from the current session into a persistent skill.
Categories
Deliver a fast pre-commit safety scan: file size, anonymity (author / affiliation strings in tex/bib), hardcoded secrets, and invisible-Unicode carriers. Pre Commit Audit is an agent skill from flonat/flonat-research. Deliver a fast pre-commit safety scan: file size, anonymity (author / affiliation strings in tex/bib), hardcoded secrets, and invisible-Unicode carriers.
Pre Commit Audit fits situations like: the user requests a fast pre-commit safety scan: file size; anonymity (author / affiliation strings in tex/bib); hardcoded secrets; invisible-Unicode carriers.
Run `npx skills add flonat/flonat-research --skill pre-commit-audit -a claude-code`. Or copy the skill folder (skills/pre-commit-audit in flonat/flonat-research) into .claude/skills/pre-commit-audit in your project. Claude Code loads it when a task matches its description.
Run `npx skills add flonat/flonat-research --skill pre-commit-audit -a codex`. Or copy the skill folder (skills/pre-commit-audit in flonat/flonat-research) into .agents/skills/pre-commit-audit in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add flonat/flonat-research --skill pre-commit-audit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pre-commit-audit, .gemini/skills/pre-commit-audit, .github/skills/pre-commit-audit and .opencode/skills/pre-commit-audit in your project.
Going by SKILL.md and its folder, Pre Commit Audit needs Python for the scripts in its folder and the command-line tools its instructions call (git and uv). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Bash(git*), Bash(grep*), Bash(find*), Bash(stat*), Bash(numfmt*), Bash(wc*), Bash(head*), Bash(uv*), AskUserQuestion.
SKILL.md contains no URLs. Its commands use git and uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Pre Commit Audit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Pre Commit Audit: Evidence Ledger (wanshuiyin/Anti-Autoresearch, 160 stars), Research Writing (alfonso0512/research-writing-skill, 486 stars), Paper Writing (MLNLP-World/Paper-Writing-Tips, 4.7k stars) and Evomath Tao (EvoScientist/EvoSkills, 474 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
flonat (a GitHub user) maintains it in flonat/flonat-research, which has 145 GitHub stars. The repository holds 83 skills in this directory. The repository was last updated on September 29, 2026.
Source: flonat/flonat-research on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.