ai-research-reproduction

作者: lllllllama

RigorPilot 复现模式编排器,用于README优先的深度学习仓库复现。当用户需要端到端、最小可信流程时使用,该流程先读取仓库,选择最小的文档化推理或评估目标,协调输入、设置、可信执行、可选的可信训练、可选的仓库分析以及可选的论文差距解决,强制执行保守补丁规则,记录证据、假设偏差和人工决策点……

npx skills add https://github.com/lllllllama/rigorpilot-skills --skill ai-research-reproduction

ai-research-reproduction

Purpose

Guide README-first deep learning reproduction toward a minimal trustworthy run with auditable evidence. Reproduction is not "make it run by changing anything"; faithfully read the README, environment, weights, datasets, and documented commands, then record results and deviations. Start with references/agent-operating-principles.md; load references/research-rigor-principles.md and references/deep-learning-experiment-principles.md when scientific meaning or experiment details are at stake.

For first-use problems, run scripts/doctor.py with the intended Python (read-only; optional --repo and --require-module). The deterministic entrypoint is scripts/orchestrate_repro.py with a self-contained _bundled/ runtime, so this skill works when installed alone; separately installed companion skills remain optional reusable entrypoints. Use the entrypoint and --help for routine runs; inspect its implementation when a concrete blocker or safety question requires it. Executed commands persist lifecycle state, append-only events, and full streamed stdout/stderr under repro_outputs/_runtime/<run_id>/. A CANCEL file in the active run directory requests process-tree cancellation. For recovery, queues or model gates, read references/runtime-and-model-adapter.md; for the optional model/tool loop, read references/agent-runner.md and use scripts/run_agent.py.

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:

  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. Read the README and nearby repo signals.
  2. Run the bundled repo-intake-and-plan stage to extract commands and targets.
  3. Select and justify the minimum trustworthy target.
  4. Run env-and-assets-bootstrap only for target-specific environment, checkpoint, dataset, and cache assumptions.
  5. Run analyze-project only when structure, insertion points, or suspicious implementation patterns need read-only clarification.
  6. Use minimal-run-and-audit for documented inference, evaluation, smoke, or sanity execution. Keep direct execution as the default; native shell syntax requires explicit review and authorization.
  7. Use run-train instead when the selected trusted target is training startup, short-run verification, full kickoff, or resume.
  8. 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.
  9. Award result-match only when explicit expected metrics are compared under a recorded tolerance; observed metrics alone prove execution, not reproduction. Then write the standardized outputs and a concise final note in the user's language when practical.
  10. Once the requested target and evidence checks are complete, return the bounded result and stop. Optional stages and further README commands 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 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 byte-for-byte—including its image, GIF, video, and HTML markup—with exactly one marked color annotation after every heading block. Never extract a text-only surrogate. Generation must pass the built-in strip/check round trip before the file is kept.
  • For original relative media/file context, use --source-adjacent-readme to also write RIGORPILOT_README.md beside the source README; inspect the reported path/status and never replace an unrelated existing file. See references/output-spec.md.
  • 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.

来自 lllllllama 的更多技能

ai-research-explore
lllllllama
Rigor Explore compatible skill slug for meaningful and potentially novel deep learning research candidates. Use when the researcher has chosen the task family, dataset, benchmark, evaluation method, provided SOTA references, and wants candidate-only exploration on top of `current_research` with auditable repo understanding, idea gating, fair comparison, and governed experiments written to `explore_outputs/`. Do not use for README-first trusted reproduction, open-ended direction finding,...
researchdata-analysisapi
analyze-project
lllllllama
针对深度学习研究仓库的Rigor Analyze / Rigor Audit只读技能。当用户希望阅读和理解仓库、检查模型结构与训练或推理入口点、审查配置与插入点,或在无需修改代码或运行繁重任务的情况下标记可疑实现模式时使用。不适用于主动命令执行、大规模重构、推测性代码适配或自动修复错误。
developmentcode-reviewresearch
explore-code
lllllllama
We need to translate the given text from English to Simplified Chinese. The instruction says: preserve product names, protocol names, URLs, numbers, and technical terms. Do not add claims, explanations, Markdown, bullets, links, labels, prefixes, or extra commentary. Also, do not include the name "explore-code" unless it appears in the source text. The source text does not contain "explore-code" explicitly, so we don't include it. The text is a description of a skill. We need to translate it accurately, keeping technical terms like "LoRA", "adapter layers", "backbone", "head", "rollback-aware records", "explore_outputs/", "current_research". Also note "Rigor Improve implementation leaf skill" - likely a proper name or technical term? Possibly "Rigor Improve" is part of a skill name? But instruction says preserve product names, so we keep "Rigor Improve" as is? Or translate? The instruction says "preserve product names, protocol names, URLs, numbers, and technical terms
developmentresearchcode-review
minimal-run-and-audit
lllllllama
We need to translate the given English text into Simplified Chinese. The instruction says: "Translate only the text inside <text>. Do not include the name unless it appears in the source text." The name "minimal-run-and-audit" is not inside the <text> tags, so we should not include it. The text is a description of a skill. We need to preserve product names, protocol names, URLs, numbers, technical terms. The text includes "Rigor Run", "README-first", "repro_outputs/", "patch notes". These should be preserved as is or translated appropriately? "Rigor Run" might be a product name? It says "Rigor Run skill" - likely a proper name. "README-first" is a phrase. "repro_outputs/" is a directory path. "patch notes" is a common term. We should keep technical terms like "smoke test", "inference", "evaluation", "repository", "training execution", "repo intake", "paper lookup", "target selection", "end-to-end orche
developmenttestingcode-review
env-and-assets-bootstrap
lllllllama
用于README优先的深度学习仓库复现的Rigor Setup技能。当任务明确需要为README文档化的仓库在运行前准备保守的conda优先环境、检查点和数据集路径假设、缓存位置提示以及设置说明时使用。不用于仓库扫描、完整编排、论文解读、最终运行报告或与特定复现目标无关的通用环境设置。
developmentdevops
explore-run
lllllllama
We need to translate the given text from English to Simplified Chinese. The text describes a skill called "explore-run" (name to preserve). The instruction says to translate only the text inside <text>, and not include the name unless it appears in the source text. The name "explore-run" does appear in the source text? Actually, the source text starts with "Rigor Improve / Rigor Explore run leaf skill..." - here "run" is part of the phrase, but the name to preserve is "explore-run". The source text does not contain "explore-run" as a standalone term; it has "Rigor Explore run leaf skill". However, the instruction says "Name to preserve: explore-run". I think we should not add the name if it's not in the source. The source has "Rigor Explore run" which might be a compound. But the instruction says "Do not include the name unless it appears in the source text." So we only translate what's there. The name "explore-run" is not literally in the source as a
researchdevelopmentdata-analysis
safe-debug
lllllllama
用于深度学习研究工作的严格调试/严格审计技能。当用户粘贴回溯信息、终端错误、CUDA内存不足、检查点加载失败、形状不匹配、NaN损失症状或训练失败,并希望在打补丁前进行保守诊断,且调试修复与研究贡献明确分离时使用。不适用于大规模重构、推测性适配、自动探索性修补或常规仓库熟悉。
developmenttestingcode-review
paper-context-resolver
lllllllama
严格论文上下文助手,用于README优先的深度学习仓库复现。仅在README和仓库文件存在狭窄的复现关键缺口,且任务是从原始论文来源解析特定论文细节(如数据集划分、预处理、评估协议、检查点映射或运行时假设)并记录冲突时使用。不适用于通用论文摘要、仓库扫描、环境配置、命令执行、仅标题论文检索或...
researchdocumentdata-analysis