Claude Skill

ai-research-reproduction

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

LLM Mart · 0 points · 11 views 0 listing impressions 0 install-command copies
Download lllllllama-RigorPilot-Skills-skills_ai-research-reproduction-fb3ccdf.zip · 159 KB

Install

skills CLI npx skills add https://github.com/lllllllama/RigorPilot-Skills/tree/main/skills/ai-research-reproduction
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install lllllllama-rigorpilot-skills@llmmart
Git git clone https://github.com/lllllllama/RigorPilot-Skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole lllllllama/rigorpilot-skills collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

ai-research-reproduction

Purpose

Guide README-first deep learning reproduction toward the smallest trustworthy run with auditable evidence. Preserve documented meaning; record assumptions, deviations and blockers instead of changing semantics to manufacture success. Load specialized references only for a concrete uncertainty.

Fast Path

For a routine bounded run, keep the control path short:

  1. Read the target README and only the target test/config/source needed to understand the documented command.
  2. Run scripts/orchestrate_repro.py --repo <repo> --plan-only --agent-output with any explicit user timeout bound (--timeout or --train-timeout) already supplied; review command_candidates, the selected cmd-XX, side-effect contract, selection fingerprint, and returned reviewed_run_args. With no --output-dir, later evidence goes to <repo>/repro_outputs regardless of caller cwd.
  3. Run the selected candidate, or another reviewed candidate, with --run-selected --command-id <cmd-XX> --plan-fingerprint <fingerprint> --agent-output plus requested timeout/metric/source-adjacent options. Preserve an explicit user command-timeout bound instead of silently making it stricter on a routine trusted run. --timeout limits the target command; do not wrap the whole orchestrator in an equal or shorter external timeout, because it still needs time to terminate children and write terminal evidence. A changed command set fails closed; setup/download commands are never target candidates.
  4. Run --verify-output --agent-output; inspect detailed evidence files only when verification fails or the result is partial/blocked.
  5. Deliver the bounded result and stop.

For a host with short tool-call deadlines, rerun planning with --include-agent-handoff and follow references/agent-job.md; otherwise keep the direct path above. Job completion is not task acceptance, and uncertain state is never a reason for automatic replay.

Do not inspect orchestrate_repro.py, annotate_readme.py, _bundled/, writers, or runtime internals on a normal success path. Inspect implementation only for a concrete blocker, unexpected side effect, bundle-integrity failure, or unresolved safety question. Use scripts/doctor.py for first-use environment/install diagnostics. Executed commands keep full lifecycle/log evidence under repro_outputs/_runtime/<run_id>/.

Fit

Use this skill for repository-grounded, multi-phase trusted reproduction where the goal is a small reproducible target. Do not use it for paper summaries, generic setup, isolated scanning, standalone commands, open-ended research design, or explicitly authorized candidate exploration.

Trusted Target Selection

Choose the smallest target that can honestly demonstrate repository-grounded reproduction:

  1. documented inference
  2. documented evaluation
  3. documented training startup or partial verification
  4. 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

  1. Treat README guidance as primary; extract and select the minimum trustworthy target.
  2. Use setup/assets only for target-specific prerequisites and analyze-project only when structural clarification is needed.
  3. Use minimal-run-and-audit for inference/evaluation/smoke and run-train for training startup, kickoff, or resume; direct execution is the default.
  4. Pause before fuller training or changes to dataset, split, checkpoint, preprocessing, metric, loss, model semantics, or interpretation.
  5. Award result-match only against explicit expected metrics and tolerance; process success alone is not reproduction success.
  6. Write the evidence bundle, return the requested bounded result, and stop; optional stages are not automatic follow-up work.

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 references/output-spec.md. Keep summaries short, commands copyable, machine state stable, and scientific/comparability changes explicit. ANNOTATED_README.md must preserve the source README byte-for-byte outside inserted evidence blocks and pass its strip/check round trip. Use --source-adjacent-readme only for an owned RIGORPILOT_README.md; never replace an unrelated file. Distinguish verified facts from inference.

Reference Loading

  • Workflow judgment: references/agent-operating-principles.md.
  • Human-readable output: references/language-policy.md.
  • Scientific/comparability judgment: references/research-rigor-principles.md and, when experiment details matter, references/deep-learning-experiment-principles.md.
  • Protocol-sensitive changes: references/research-safety-principles.md and references/patch-policy.md.
  • Personal rigor and lessons are advisory only; keep specialized detail in references/scripts rather than expanding this entrypoint.
Files (rigorpilot-skills)
  • agents
    • openai.yaml 389 B
      Loading…
  • assets
    • COMMANDS.template.md 348 B
      Loading…
    • LOG.template.md 669 B
      Loading…
    • model_profile.template.json 183 B
      Loading…
    • PATCHES.template.md 525 B
      Loading…
    • readme_annotations.template.json 1.1 KB
      Loading…
    • status.template.json 1.1 KB
      Loading…
    • SUMMARY.template.md 621 B
      Loading…
  • references
    • agent-job.md 5.5 KB
      Loading…
    • agent-operating-principles.md 2.7 KB
      Loading…
    • agent-runner.md 10.2 KB
      Loading…
    • architecture.md 1.3 KB
      Loading…
    • continuous-learning-policy.md 3.7 KB
      Loading…
    • deep-learning-experiment-principles.md 2 KB
      Loading…
    • explore-variant-spec.md 4.1 KB
      Loading…
    • language-policy.md 794 B
      Loading…
    • output-spec.md 9 KB
      Loading…
    • patch-policy.md 1.6 KB
      Loading…
    • readme-annotation-policy.md 4.3 KB
      Loading…
    • research-pitfall-checklist.md 1.6 KB
      Loading…
    • research-rigor-principles.md 3.7 KB
      Loading…
    • research-safety-principles.md 1.9 KB
      Loading…
    • research-thinking-loop.md 4.1 KB
      Loading…
    • runtime-and-model-adapter.md 5.3 KB
      Loading…
  • scripts
    • annotate_readme.py 35.9 KB
      Loading…
    • doctor.py 3.5 KB
      Loading…
    • orchestrate_repro.py 115.3 KB
      Loading…
    • repro_job.py 19.3 KB
      Loading…
    • run_agent.py 38.4 KB
      Loading…
  • _bundled
    • shared
      • scripts
        • agent_provider.py 6.1 KB
          Loading…
        • command_utils.py 3 KB
          Loading…
        • lessons_store.py 8.4 KB
          Loading…
        • model_adapter.py 6.3 KB
          Loading…
        • resource_monitor.py 8 KB
          Loading…
        • runtime_runner.py 28.5 KB
          Loading…
        • task_queue.py 30.2 KB
          Loading…
        • write_explore_bundle.py 32.6 KB
          Loading…
        • write_run_bundle.py 31 KB
          Loading…
    • skills
      • analyze-project
        • scripts
          • analyze_project.py 25.3 KB
            Loading…
      • env-and-assets-bootstrap
        • scripts
          • plan_setup.py 4.7 KB
            Loading…
          • prepare_assets.py 4.2 KB
            Loading…
      • minimal-run-and-audit
        • scripts
          • write_outputs.py 1.1 KB
            Loading…
      • repo-intake-and-plan
        • scripts
          • extract_commands.py 12.9 KB
            Loading…
          • scan_repo.py 2.9 KB
            Loading…
      • run-train
        • scripts
          • run_training.py 19.4 KB
            Loading…
          • write_outputs.py 1.1 KB
            Loading…
    • MANIFEST.json 5.3 KB
      Loading…
  • SKILL.md 7 KB
    ---
    name: ai-research-reproduction
    description: 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.
    compatibility: Requires Python 3.11+ and Git for bundled orchestration; target repositories may require additional reviewed dependencies, network access, or accelerators.
    ---
    
    # ai-research-reproduction
    
    ## Purpose
    
    Guide README-first deep learning reproduction toward the smallest trustworthy
    run with auditable evidence. Preserve documented meaning; record assumptions,
    deviations and blockers instead of changing semantics to manufacture success.
    Load specialized references only for a concrete uncertainty.
    
    ## Fast Path
    
    For a routine bounded run, keep the control path short:
    
    1. Read the target README and only the target test/config/source needed to understand the documented command.
    2. Run `scripts/orchestrate_repro.py --repo <repo> --plan-only --agent-output` with any explicit user timeout bound (`--timeout` or `--train-timeout`) already supplied; review `command_candidates`, the selected `cmd-XX`, side-effect contract, selection fingerprint, and returned `reviewed_run_args`. With no `--output-dir`, later evidence goes to `<repo>/repro_outputs` regardless of caller cwd.
    3. Run the selected candidate, or another reviewed candidate, with `--run-selected --command-id <cmd-XX> --plan-fingerprint <fingerprint> --agent-output` plus requested timeout/metric/source-adjacent options. Preserve an explicit user command-timeout bound instead of silently making it stricter on a routine trusted run. `--timeout` limits the target command; do **not** wrap the whole orchestrator in an equal or shorter external timeout, because it still needs time to terminate children and write terminal evidence. A changed command set fails closed; setup/download commands are never target candidates.
    4. Run `--verify-output --agent-output`; inspect detailed evidence files only when verification fails or the result is partial/blocked.
    5. Deliver the bounded result and stop.
    
    For a host with short tool-call deadlines, rerun planning with `--include-agent-handoff` and follow `references/agent-job.md`; otherwise keep the direct path above. Job completion is not task acceptance, and uncertain state is never a reason for automatic replay.
    
    Do **not** inspect `orchestrate_repro.py`, `annotate_readme.py`, `_bundled/`, writers, or runtime internals on a normal success path. Inspect implementation only for a concrete blocker, unexpected side effect, bundle-integrity failure, or unresolved safety question. Use `scripts/doctor.py` for first-use environment/install diagnostics. Executed commands keep full lifecycle/log evidence under `repro_outputs/_runtime/<run_id>/`.
    
    ## Fit
    
    Use this skill for repository-grounded, multi-phase trusted reproduction where
    the goal is a small reproducible target. Do not use it for paper summaries,
    generic setup, isolated scanning, standalone commands, open-ended research design,
    or explicitly authorized candidate exploration.
    
    ## Trusted Target Selection
    
    Choose the smallest target that can honestly demonstrate repository-grounded
    reproduction:
    
    1. documented inference
    2. documented evaluation
    3. documented training startup or partial verification
    4. 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
    
    1. Treat README guidance as primary; extract and select the minimum trustworthy target.
    2. Use setup/assets only for target-specific prerequisites and `analyze-project` only when structural clarification is needed.
    3. Use `minimal-run-and-audit` for inference/evaluation/smoke and `run-train` for training startup, kickoff, or resume; direct execution is the default.
    4. Pause before fuller training or changes to dataset, split, checkpoint, preprocessing, metric, loss, model semantics, or interpretation.
    5. Award `result-match` only against explicit expected metrics and tolerance; process success alone is not reproduction success.
    6. Write the evidence bundle, return the requested bounded result, and stop; optional stages are not automatic follow-up work.
    
    ## 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/`:
    ```text
    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 `references/output-spec.md`. Keep summaries
    short, commands copyable, machine state stable, and scientific/comparability
    changes explicit. `ANNOTATED_README.md` must preserve the source README byte-for-byte
    outside inserted evidence blocks and pass its strip/check round trip. Use
    `--source-adjacent-readme` only for an owned `RIGORPILOT_README.md`; never replace
    an unrelated file. Distinguish verified facts from inference.
    
    ## Reference Loading
    
    - Workflow judgment: `references/agent-operating-principles.md`.
    - Human-readable output: `references/language-policy.md`.
    - Scientific/comparability judgment: `references/research-rigor-principles.md` and, when experiment details matter, `references/deep-learning-experiment-principles.md`.
    - Protocol-sensitive changes: `references/research-safety-principles.md` and `references/patch-policy.md`.
    - Personal rigor and lessons are advisory only; keep specialized detail in references/scripts rather than expanding this entrypoint.
    
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.