본문으로 건너뛰기
cccskills
무료GitHub에 공개

audit-analysis

Adversarially audit changed analysis code against a base ref, hunting for correctness errors in sample construction, merges, variable construction, silent failures, and clustering or fixed effects. Runs in an isolated subagent. Use before circulating results or submitting. This is not a reproducibility or paper-to-code review — use review-paper-code for that.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

claesbackman/AI-research-feedback스타 507(GitHub 507 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Audit Analysis Code

Find errors in changed empirical code before a referee does.

The audit runs in a subagent with a clean context. That isolation is the point: whoever wrote the code — including this session, if it helped — must not be able to steer the findings. Do not read the changed files yourself before launching, do not form a view, and do not answer the auditor's questions mid-run.

Phase 1: Establish scope

Set BASE from $ARGUMENTS if given, otherwise main.

Run, and stop with a short explanation if any of the first three fail:

  • git rev-parse --git-dir — must be a repository
  • git rev-parse --verify BASE — the base ref must exist
  • git diff --stat BASE — if empty, there is nothing to audit
  • git log BASE..HEAD --oneline — may legitimately be empty when the work is uncommitted, or when HEAD is BASE and only the working tree has changed. Note it and drop the commit-message check from the audit.

Report to the user in two or three lines: base ref, number of changed files, number of changed lines, and whether commit messages are available. Then launch immediately.

Phase 2: Launch the auditor

One Agent call, subagent_type: "general-purpose". Substitute BASE and pass this verbatim:

Review empirical research code adversarially. The author wants it broken now rather than by a referee. Read git log BASE..HEAD and git diff BASE, then the changed files in full. Follow variables built outside the diff.

Check, and report on each of:

  • Claims vs. code: do comments and commit messages match what runs? Quote both sides of any disagreement.
  • Sample: N before and after every filter, merge, and collapse. Take N from logs; write "N unverified" where there is no log. Flag undocumented drops.
  • Merges: key, uniqueness on the side that needs it, fate of unmatched observations, whether _merge is inspected, duplicate id-period pairs after.
  • Variables: trace every regressor and outcome. Units, logs vs. levels, deflation, lag alignment. Does construction match the name?
  • Silent failures: missings coerced to zero, if x > 0 true on missing, destring ... force, replace that changes nothing, loops that skip. In Python, fillna(0), silent dtype coercion, chained assignment.
  • Estimation: clustering level and cluster count, what the fixed effects absorb, weights, whether estimation N matches the sample traced above.

Each finding: file, line, quoted excerpt, what is wrong, consequence for the results. Tag CONFIRMED (visible in the code) or SUSPECTED (needs the data). Style and naming are not findings. Order by consequence, worst first, ten max. Then one line per category: what you found, or that you found nothing. Close with the one thing you could not check without the data. Change nothing.

If the diff exceeds roughly 1,500 changed lines, run two auditors in parallel instead — one taking claims, sample, and merges, the other taking variables, silent failures, and estimation — and concatenate their findings. Do not split a smaller diff; the categories inform each other.

Phase 3: Relay without softening

Pass the findings through in the order returned, worst first. Do not reclassify a SUSPECTED finding as fine, do not add reassurance, and do not open with what the code gets right. The user asked for errors.

Drop any finding that lacks a file, a line, and a quoted excerpt, and tell the user how many you dropped. Unanchored findings are the failure mode this design exists to catch — an auditor told to find errors will manufacture them if nothing forces it to point at code.

Reproduce the per-category coverage lines verbatim, including the categories that came back clean, and the closing line about what could not be checked without the data. A clean category is a claim the auditor is on the record for.

Fix nothing. If the user wants repairs, that is a separate request.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Explain a code change as a standalone offline HTML page with a five-question quiz. Reads the diff and the surrounding code from scratch, states the consequences for the empirical results, and saves the page outside the repository under a dated filename.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

claesbackman/AI-research-feedback5072026년 10월 24일 업데이트

Build a LaTeX beamer slide deck in the explorable-explanation style (Nicky Case) — one idea per frame, assertion titles, a concrete running example, TikZ/pgfplots stages the presenter steps through, the source's own figures recoloured into the deck palette, an appendix of side rooms, and a screenshot-and-log check of every page. Use for any request for a Beamer, LaTeX or TeX presentation, talk, slides, seminar, conference, lecture, keynote or job-market deck, "turn this paper into beamer slides", a deck that must be a PDF, or for revising or reviewing a deck built this way. The sibling skill explorable-deck builds the same deck in Quarto reveal.js; use this one when the user names Beamer, LaTeX, TeX or PDF, or works in a LaTeX project. Not for a website explorable (that is explorable-explanations) or a poster.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

claesbackman/AI-research-feedback5072026년 10월 24일 업데이트

Build a Quarto reveal.js slide deck in the explorable-explanation style (Nicky Case) — one idea per slide, assertion titles, a concrete running example, run-time SVG stages the presenter drives live, the source's own figures recoloured into the deck palette, and an appendix of side rooms. Use for any request for a presentation, talk, slides, a seminar, conference, lecture, keynote or job-market deck, a Quarto or reveal.js deck, "turn this paper into slides", "a deck like the explorable", or for revising or reviewing a deck built this way. Prefer it over .pptx skills unless the user names PowerPoint, Beamer, LaTeX or Google Slides. Not for a website explorable (that is explorable-explanations) or a poster.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

claesbackman/AI-research-feedback5072026년 10월 24일 업데이트

Convert a LaTeX research paper into a policy brief, 1-page summary, or 5-page summary for a general audience, with factual review and a standalone HTML page for GitHub Pages.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

claesbackman/AI-research-feedback5072026년 10월 24일 업데이트

Split a PDF into chunks and convert it to readable markdown text. Use when the user wants to read, extract, or convert a PDF document.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

claesbackman/AI-research-feedback5072026년 10월 24일 업데이트

Run a 6-agent pre-submission panel review for a grant proposal targeting a specified funder or program

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

claesbackman/AI-research-feedback5072026년 10월 24일 업데이트

claesbackman의 스킬 모두 보기

이 스킬의 문제 신고