wanshuiyin/auto-claude-code-research-in-sleep/experiment-audit
Claude Code and agent skill by wanshuiyin/auto-claude-code-research-in-sleep
- community
Checking that the SKILL.md file is still in the repository.
Audit experiment integrity before claiming results. Uses cross-model review (external reviewer backend) to check for fake ground truth, score normalization fraud, phantom results, and insufficient scope. Use when user says \"审计实验\", \"check experiment integrity\", \"audit results\", \"实验诚实度\", or after experiments complete before writing claims.
Install
npx vskill@latest install wanshuiyin/auto-claude-code-research-in-sleep/experiment-auditSKILL.md
The same SKILL.md was published earlier as wanshuiyin/auto-claude-code-research-in-sleep/experiment-audit.
Experiment Audit: Cross-Model Integrity Verification
Before each reviewer slot, follow Selectable Reviewers:resolve invocation →.aris/reviewer.json→ Claude Code default (Codex MCP)withreviewer_route.pythrough the canonical helper resolver, preserving thisslot's tier, fresh contexts, source/image inputs and deterministic gates.Codex examples/pins below apply only tobackend=codex; other routes use theirown first-call/reply contract. Save the route and actual returned identity;unavailable selections areREVIEW_UNAVAILABLE. Classify acceptance from actualfamilies/completion/scope. Forward invocation reviewer/model/effort overridesto reviewer-bearing children. Generation workers are unchanged.
🔒 Do not wrap this skill in `/loop`, `/schedule`, or `CronCreate`. It isverdict-bearing — it judges experiment integrity. Re-running that verdict on atimer adds no new signal, and a loop that accepts its own output to decidewhen to stop crosses into self-acquittal (acceptance-gate.md). Schedule theexternal wait that precedes it — experiments done → then audit once. See
Audit experiment integrity for: $ARGUMENTS
Why This Exists
LLM agents can produce fraudulent experimental results through:
- Fake ground truth — creating synthetic "reference" from model outputs, then reporting high agreement as performance
- Score normalization — dividing metrics by the model's own max to get 0.99+
- Phantom results — claiming numbers from files that don't exist or functions never called
- Insufficient scope — reporting 2-scene pilots as "comprehensive evaluation"
These are NOT intentional deception — they are failure modes of optimizing agents that lack integrity constraints. This skill adds that constraint.
Core Principle
The executor collects file paths. The external reviewer backend reads code and judges integrity. The executor does NOT participate in integrity judgment.
This follows shared-references/reviewer-independence.md and shared-references/experiment-integrity.md.
Constants
- REVIEWER_BACKEND = `codex` — Default: Codex MCP (ultra). Override with
— reviewer: oracle-profor Oracle MCP, or— reviewer: manualfor Manual Review MCP. If manual-review MCP is unavailable, stop and print the install command; do not fall back to Codex. Seeshared-references/reviewer-routing.md.
Reviewer Calling Convention
When calling the reviewer, branch on REVIEWER_BACKEND:
If REVIEWER_BACKEND = `codex`: Use mcp__codex__codex for new review threads. Use mcp__codex__codex-reply for follow-up rounds (reuse threadId).
If REVIEWER_BACKEND = `manual`: Use mcp__manual_review__review for new review threads with: prompt: [exact same prompt that would go to Codex] config: {"model_reasoning_effort": "xhigh", "executor_model": "<actual executor model>", "require_reviewer_model": true} Save the returned threadId. Use mcp__manual_review__review_reply for follow-up rounds with: threadId: [saved manual-review threadId] prompt: [follow-up prompt] config: {"model_reasoning_effort": "xhigh", "executor_model": "<actual executor model>", "require_reviewer_model": true}
Prompt fidelity: the manual prompt must be exactly the same text that Codex would receive. Review tracing applies equally to both backends.
Workflow
Step 1: Collect Artifacts (Executor — Claude)
Locate and list these files WITHOUT reading or summarizing their content:
A verdict-bearing manual response MUST begin with Reviewer-Model: <exact-model-id> — pass the model THIS session is actually running as in executor_model. Missing, unknown, or same-family identity cannot acquit; emit REVIEW_UNAVAILABLE rather than guessing. If the executor model cannot be named, manual review's cross-family claim is unprovable — say so in the report instead of asserting it.
DO NOT summarize, interpret, or explain any file content. Only collect paths.
Step 2: Send to Reviewer
Based on the selected reviewer backend (see Reviewer Calling Convention), pass ONLY file paths and the audit checklist to the reviewer. The reviewer reads everything directly.
For codex, call mcp__codex__codex with:
model: gpt-6-astraconfig: {"model_reasoning_effort": "ultra"}sandbox: read-onlycwd: [project directory]prompt: [the exact full prompt below]
For manual, call mcp__manual_review__review with:
config: {"model_reasoning_effort": "xhigh", "executor_model": "<actual executor model>", "require_reviewer_model": true}prompt: [the exact full prompt below]
Manual review cannot use Codex-only model, sandbox, or cwd; include the same file paths in the prompt so the user can inspect them.
Use this exact prompt for both backends:
Step 3: Parse and Write Report (Executor — Claude)
Parse the reviewer's response and write EXPERIMENT_AUDIT.md:
Also write EXPERIMENT_AUDIT.json for machine consumption:
Step 4: Print Summary
Integration with Other Skills
Automatic in /research-pipeline (advisory, never blocks)
When integrated into the pipeline, this skill runs automatically after /experiment-bridge and before /auto-review-loop:
Never blocks the pipeline. Even on FAIL, the pipeline continues — but claims carry visible integrity tags.
Read by /result-to-claim (if exists)
Read by /paper-write (if exists)
Key Rules
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/experiment-audit/SKILL.md
Popularity
- Repository stars
- 13,696
- Repository forks
- 1,224
- 7-day trend score
- 48
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wanshuiyin/auto-claude-code-research-in-sleep/experiment-audit)