ai-research-reproduction
Purpose
Use this as the Rigor Reproduce compatible skill slug for README-first deep
learning repository reproduction. The installed slug remains
ai-research-reproduction for compatibility. The skill guides the agent toward
a minimal trustworthy run with auditable evidence; it should not micromanage
implementation details that the model can infer from the repository.
Reproduction is not "make it run by changing anything"; it means faithfully
reading the README, environment, weights, datasets, and documented commands,
then recording results and deviations.
Start from the shared operating principles in
../../references/agent-operating-principles.md, then load
../../references/research-rigor-principles.md and
../../references/deep-learning-experiment-principles.md when scientific meaning, comparability, or experiment details are at stake.
Fit
Use this skill when all are true:
- The target is an AI code repository with a README, scripts, configs, or
documented commands.
- The request spans multiple trusted phases such as intake, setup, execution,
training verification, analysis, paper-gap resolution, and reporting.
- The desired result is a small reproducible target, not broad experimentation.
Do not use this skill for paper summaries, generic environment setup, isolated
repo scanning, standalone command execution, open-ended research design, or
explicit candidate-only exploration.
Trusted Target Selection
Choose the smallest target that can honestly demonstrate repository-grounded
reproduction:
- documented inference
- documented evaluation
- documented training startup or partial verification
- full training only after explicit user confirmation
Treat README guidance as the primary reproduction intent. Use repository files
to clarify the README, not to silently replace it. When the README and paper
conflict, record the conflict and use paper-context-resolver only for the
narrow reproduction-critical gap.
Workflow
- Read the README and nearby repo signals.
- Use
repo-intake-and-plan to extract documented commands and candidate
targets.
- Select and justify the minimum trustworthy target.
- Use
env-and-assets-bootstrap only for target-specific environment,
checkpoint, dataset, and cache assumptions.
- Use
analyze-project only when structure, insertion points, or suspicious
implementation patterns need read-only clarification.
- Use
minimal-run-and-audit for documented inference, evaluation, smoke, or
sanity execution.
- Use
run-train instead when the selected trusted target is training startup,
short-run verification, full kickoff, or resume.
- Pause for human review before fuller training claims or any change that could
alter dataset, split, checkpoint, preprocessing, metric, loss, model
semantics, or result interpretation.
- Write the standardized outputs and give a concise final note in the user's
language when practical.
Patch Boundary
Prefer no repository edits. If edits are needed, keep them conservative and
auditable:
- Try command-line arguments, environment variables, path fixes, dependency
version fixes, or dependency-file fixes before code changes.
- Reproduction fixes are allowed when needed, but they must not be hidden. State
what changed, why it was necessary, whether it changes scientific meaning,
and whether it affects comparability with the paper, README, or baseline.
- Avoid changing model architecture, core inference semantics, training logic,
loss functions, or experiment meaning.
- If repository files must change, create a branch named
repro/YYYY-MM-DD-short-task, keep verified patch commits sparse, and record
README-fidelity impact in PATCHES.md.
See references/patch-policy.md.
Outputs
Always target repro_outputs/:
SUMMARY.md
COMMANDS.md
LOG.md
SCIENTIFIC_CHANGELOG.md
COMPARABILITY_REPORT.md
status.json
ANNOTATED_README.md # original README + colored per-section agent-action annotations
PATCHES.md # only if patches were applied
Use the templates under assets/ and the field rules in references/output-spec.md.
- Put the shortest high-value summary in
SUMMARY.md.
- Put copyable commands in
COMMANDS.md.
- Put process evidence, assumptions, failures, and decisions in
LOG.md.
- Put scientific meaning and change effects in
SCIENTIFIC_CHANGELOG.md.
- Put comparison anchors and protocol deviations in
COMPARABILITY_REPORT.md.
- Put durable machine-readable state in
status.json.
- Put branch, commit, validation, and README-fidelity impact in
PATCHES.md when needed.
- Put the researcher's at-a-glance view in
ANNOTATED_README.md: the README replayed verbatim, each section annotated in color with what the agent did there, linked to the evidence files above.
- Distinguish verified facts from inferred guesses.
Reference Loading
- Load
references/language-policy.md when writing human-readable outputs.
- Load
../../references/research-rigor-principles.md before making comparability, contribution, or research-result claims.
- Load
../../references/deep-learning-experiment-principles.md when dataset, split, metric, checkpoint, training, or evaluation details matter.
- Consult
~/.rigorpilot/PERSONAL_RIGOR.md if present, under ../../references/continuous-learning-policy.md (advisory only; core wins).
- Failed and later-resolved runs are auto-recorded as lessons via
shared/scripts/lessons_store.py (RIGORPILOT_LESSONS=0 disables).
- Load
references/research-safety-principles.md before protocol-sensitive
decisions.
- Load
references/patch-policy.md before modifying repository files.
- Keep specialized logic in sub-skills, scripts, templates, or references rather
than expanding this entrypoint.
1---2name: ai-research-reproduction3description: Rigor Reproduce compatible skill slug for README-first deep learning repository reproduction. Use when the user wants an end-to-end, minimal-trustworthy flow that reads the repository first, selects the smallest documented inference or evaluation target, coordinates intake, setup, trusted execution, optional trusted training, optional repository analysis, and optional paper-gap resolution, enforces conservative patch rules, records evidence assumptions deviations and human decision points, and writes the standardized `repro_outputs/` bundle. Do not use for paper summary, generic environment setup, isolated repo scanning, standalone command execution, silent protocol changes, score chasing, or broad research assistance outside repository-grounded reproduction.4---5
6# ai-research-reproduction
7
8## Purpose
9
10Use this as the Rigor Reproduce compatible skill slug for README-first deep
11learning repository reproduction. The installed slug remains
12`ai-research-reproduction` for compatibility. The skill guides the agent toward
13a minimal trustworthy run with auditable evidence; it should not micromanage
14implementation details that the model can infer from the repository.
15Reproduction is not "make it run by changing anything"; it means faithfully
16reading the README, environment, weights, datasets, and documented commands,
17then recording results and deviations.
18
19Start from the shared operating principles in
20`../../references/agent-operating-principles.md`, then load
21`../../references/research-rigor-principles.md` and
22`../../references/deep-learning-experiment-principles.md` when scientific meaning, comparability, or experiment details are at stake.
23
24## Fit
25
26Use this skill when all are true:
27
28- The target is an AI code repository with a README, scripts, configs, or
29 documented commands.
30- The request spans multiple trusted phases such as intake, setup, execution,
31 training verification, analysis, paper-gap resolution, and reporting.
32- The desired result is a small reproducible target, not broad experimentation.
33
34Do not use this skill for paper summaries, generic environment setup, isolated
35repo scanning, standalone command execution, open-ended research design, or
36explicit candidate-only exploration.
37
38## Trusted Target Selection
39
40Choose the smallest target that can honestly demonstrate repository-grounded
41reproduction:
42
431. documented inference
442. documented evaluation
453. documented training startup or partial verification
464. full training only after explicit user confirmation
47
48Treat README guidance as the primary reproduction intent. Use repository files
49to clarify the README, not to silently replace it. When the README and paper
50conflict, record the conflict and use `paper-context-resolver` only for the
51narrow reproduction-critical gap.
52
53## Workflow
54
551. Read the README and nearby repo signals.
562. Use `repo-intake-and-plan` to extract documented commands and candidate
57 targets.
583. Select and justify the minimum trustworthy target.
594. Use `env-and-assets-bootstrap` only for target-specific environment,
60 checkpoint, dataset, and cache assumptions.
615. Use `analyze-project` only when structure, insertion points, or suspicious
62 implementation patterns need read-only clarification.
636. Use `minimal-run-and-audit` for documented inference, evaluation, smoke, or
64 sanity execution.
657. Use `run-train` instead when the selected trusted target is training startup,
66 short-run verification, full kickoff, or resume.
678. Pause for human review before fuller training claims or any change that could
68 alter dataset, split, checkpoint, preprocessing, metric, loss, model
69 semantics, or result interpretation.
709. Write the standardized outputs and give a concise final note in the user's
71 language when practical.
72
73## Patch Boundary
74
75Prefer no repository edits. If edits are needed, keep them conservative and
76auditable:
77
78- Try command-line arguments, environment variables, path fixes, dependency
79 version fixes, or dependency-file fixes before code changes.
80- Reproduction fixes are allowed when needed, but they must not be hidden. State
81 what changed, why it was necessary, whether it changes scientific meaning,
82 and whether it affects comparability with the paper, README, or baseline.
83- Avoid changing model architecture, core inference semantics, training logic,
84 loss functions, or experiment meaning.
85- If repository files must change, create a branch named
86 `repro/YYYY-MM-DD-short-task`, keep verified patch commits sparse, and record
87 README-fidelity impact in `PATCHES.md`.
88
89See `references/patch-policy.md`.
90
91## Outputs
92
93Always target `repro_outputs/`:
94
95```text
96SUMMARY.md
97COMMANDS.md
98LOG.md
99SCIENTIFIC_CHANGELOG.md
100COMPARABILITY_REPORT.md
101status.json
102ANNOTATED_README.md # original README + colored per-section agent-action annotations
103PATCHES.md # only if patches were applied
104```
105
106Use the templates under `assets/` and the field rules in `references/output-spec.md`.
107
108- Put the shortest high-value summary in `SUMMARY.md`.
109- Put copyable commands in `COMMANDS.md`.
110- Put process evidence, assumptions, failures, and decisions in `LOG.md`.
111- Put scientific meaning and change effects in `SCIENTIFIC_CHANGELOG.md`.
112- Put comparison anchors and protocol deviations in `COMPARABILITY_REPORT.md`.
113- Put durable machine-readable state in `status.json`.
114- Put branch, commit, validation, and README-fidelity impact in `PATCHES.md` when needed.
115- Put the researcher's at-a-glance view in `ANNOTATED_README.md`: the README replayed verbatim, each section annotated in color with what the agent did there, linked to the evidence files above.
116- Distinguish verified facts from inferred guesses.
117
118## Reference Loading
119
120- Load `references/language-policy.md` when writing human-readable outputs.
121- Load `../../references/research-rigor-principles.md` before making comparability, contribution, or research-result claims.
122- Load `../../references/deep-learning-experiment-principles.md` when dataset, split, metric, checkpoint, training, or evaluation details matter.
123- Consult `~/.rigorpilot/PERSONAL_RIGOR.md` if present, under `../../references/continuous-learning-policy.md` (advisory only; core wins).
124- Failed and later-resolved runs are auto-recorded as lessons via `shared/scripts/lessons_store.py` (`RIGORPILOT_LESSONS=0` disables).
125- Load `references/research-safety-principles.md` before protocol-sensitive
126 decisions.
127- Load `references/patch-policy.md` before modifying repository files.
128- Keep specialized logic in sub-skills, scripts, templates, or references rather
129 than expanding this entrypoint.
130