explore-code
Rigor Improve implementation leaf skill for auditable candidate implementation in deep learning research repositories. Use when the research
Open source Repository Open in the app JSON README (API)
About
Rigor Improve implementation leaf skill for auditable candidate implementation in deep learning research repositories. Use when the researcher explicitly authorizes exploratory work on an isolated branch or worktree to transplant modules, adapt a backbone, add LoRA or adapter layers, replace a head, or stitch together meaningful low-risk migration ideas with rollback-aware records in `explore_outputs/`. Do not use for end-to-end exploration orchestration on top of `current_research`, trusted baseline reproduction, conservative debugging, environment setup, verified contribution claims, or default repository analysis.
Details
- Kind
- Agent skills
- Topic
- Developer tools
- Publisher
- lllllllama
- Origin
- skillssh
- Category
- ferramentas
- Stars
- 487
- Forks
- 17
- Open pull requests
- 1
- Last push
- 2026-09-07T04:28:27Z
- Repository state
- ativo
- Language
- Python
- License
- MIT
- Added
- 2026-08-30 15:21:04
- Updated
- 2026-09-06 14:00:55
- Origin id
lllllllama/rigorpilot-skills/explore-code
README
# RigorPilot Skills
Run research repositories from their README, with bounded execution and auditable evidence.
RigorPilot adds section-level results without rewriting the original README.
Trusted reproduction is the default; candidate exploration requires explicit authorization.
[English](README.md) · [简体中文](README.zh-CN.md)
[](https://skillselion.com/skills/lllllllama/rigorpilot-skills/paper-context-resolver)
<p>
<a href="https://github.com/lllllllama/RigorPilot-Skills/actions/workflows/validate.yml"><img alt="CI" src="https://github.com/lllllllama/RigorPilot-Skills/actions/workflows/validate.yml/badge.svg"></a>
<a href="https://skillselion.com/skills/lllllllama/rigorpilot-skills/ai-research-reproduction"><img alt="Listed on Skillselion" src="https://skillselion.com/badge/skills/lllllllama/rigorpilot-skills/ai-research-reproduction.svg"></a>
<a href="https://skills.sh/lllllllama/rigorpilot-skills"><img alt="skills.sh installs" src="https://skills.sh/b/lllllllama/rigorpilot-skills"></a>
<a href="https://github.com/lllllllama/RigorPilot-Skills/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/lllllllama/RigorPilot-Skills?style=flat-square"></a>
<a href="LICENSE"><img alt="MIT License" src="https://img.shields.io/badge/license-MIT-yellow?style=flat-square"></a>
<a href="https://agentskills.io"><img alt="Agent Skills standard" src="https://img.shields.io/badge/Agent%20Skills-open%20standard-1f6feb?style=flat-square"></a>
<img alt="platforms" src="https://img.shields.io/badge/Windows%20%7C%20Linux-supported-6f42c1?style=flat-square">
<img alt="local regression" src="https://img.shields.io/badge/local%20regression-69%2F69%20passed-8250df?style=flat-square">
<a href="benchmark_outputs/external_suite_latest.json"><img alt="historical external protocols" src="https://img.shields.io/badge/historical%20protocols-4%2F4%20passed-238636?style=flat-square"></a>
</p>
<p align="center">
<a href="#examples"><strong>Real examples</strong></a> ·
<a href="#quick-start"><strong>Install & use</strong></a> ·
<a href="#skills"><strong>Skill index</strong></a> ·
<a href="#validation"><strong>Validation</strong></a> ·
<a href="docs/ENGINEERING_ROADMAP.md"><strong>Engineering roadmap</strong></a>
</p>
<a id="examples"></a>
<a id="evidence"></a>
## 📄 Real repositories, inspectable results
Original commands, prose, badges, images, videos and HTML stay in the source file.
RigorPilot splits that file into sections and inserts one evidence-linked card per section.
Removing its insertion blocks restores the retained original README byte for byte.
Each card below opens a full annotated README **beside the original README in a
retained repository checkout**. Supporting repository files are kept so relative
links and media retain their original context.
🟢 selected checks passed · 🔵 not executed · ⚪ read only · 🟡 partial · 🔴 blocked · 🟣 decision needed.
Green does not automatically mean paper-result reproduction; blue is not an execution failure.
<table>
<tr>
<td align="center" width="50%">
<a href="benchmark_outputs/showcases/micrograd/repo/RIGORPILOT_README.md"><img src="assets/showcase/external-micrograd.png" width="100%" alt="micrograd: recorded pytest execution and section-level evidence"/></a><br/>
<b>micrograd · correctness checks</b><br/>
<sub>🟢 2 tests passed in 7.62 s<br/>8 headings = 8 annotations · original bytes preserved</sub><br/>
<a href="benchmark_outputs/showcases/micrograd/repo/RIGORPILOT_README.md">Open full RigorPilot README →</a>
</td>
<td align="center" width="50%">
<a href="benchmark_outputs/showcases/mingpt/repo/RIGORPILOT_README.md"><img src="assets/showcase/external-mingpt.png" width="100%" alt="minGPT: target selection only, with no model download or execution"/></a><br/>
<b>minGPT · selection boundary</b><br/>
<sub>🔵 Test selected, not executed · no model download<br/>11 headings = 11 annotations · original bytes preserved</sub><br/>
<a href="benchmark_outputs/showcases/mingpt/repo/RIGORPILOT_README.md">Open full RigorPilot README →</a>
</td>
</tr>
<tr>
<td align="center" width="50%">
<a href="benchmark_outputs/showcases/pytorch-mnist/repo/mnist/RIGORPILOT_README.md"><img src="assets/showcase/external-pytorch-mnist.png" width="100%" alt="PyTorch MNIST: partial bounded training and captured loss"/></a><br/>
<b>PyTorch MNIST · bounded startup</b><br/>
<sub>🟡 Partial training · observed loss 0.038893<br/>1 heading = 1 annotation · original bytes preserved</sub><br/>
<a href="benchmark_outputs/showcases/pytorch-mnist/repo/mnist/RIGORPILOT_README.md">Open full RigorPilot README →</a>
</td>
<td align="center" width="50%">
<a href="benchmark_outputs/showcases/nanogpt-shakespeare/repo/RIGORPILOT_README.md"><img src="assets/showcase/external-nanogpt.png" width="100%" alt="nanoGPT Shakespeare: partial CPU training and captured train and validation losses"/></a><br/>
<b>nanoGPT Shakespeare · bounded training</b><br/>
<sub>🟡 Partial · train loss 4.1676 · validation loss 4.1649<br/>11 headings = 11 annotations · original bytes preserved</sub><br/>
<a href="benchmark_outputs/showcases/nanogpt-shakespeare/repo/RIGORPILOT_README.md">Open full RigorPilot README →</a>
</td>
</tr>
</table>
[All four cases and upstream links](benchmark_outputs/EXTERNAL_REPRODUCTIONS.md) ·
[Recorded suite](benchmark_outputs/external_suite_latest.json) ·
[Case definitions](benchmarks/external_cases.json) · [Methodology](benchmarks/README.md)
These are historical, commit-pinned deterministic runs: **4/4 case protocols**
passed in `251.0 s`, with a peak workspace of `98.67 MiB` and `0` model API calls.
The zero-API count applies only to that suite. Selection-only and partial cases
are not completed evaluations, converged training or reproduced paper scores.
New: [installed-skill micrograd trial](docs/FIRST_USE_ACCEPTANCE.md), with before/after command reports, a retained failed attempt and independent checks—not a model-quality comparison.
<a id="quick-start"></a>
## 🚀 Install and use
The installer needs Node.js/npm; check its Node version requirement if it reports `EBADENGINE`.
Install all skills:
```bash
npx skills add lllllllama/rigorpilot-skills --all
```
Or install only the self-contained reproduction skill:
```bash
npx skills add lllllllama/rigorpilot-skills --skill ai-research-reproduction
```
Open the target repository in a Skills-capable agent, then ask:
> Use ai-research-reproduction: run the smallest README-documented evaluation, preserve the source and write evidence to repro_outputs/, plus an annotated copy beside the original README. Ask before large downloads or long training.
The main skill works alone; choose **all skills** for companion and leaf entrypoints.
Your existing agent loads the skill. The standalone model runner is optional.
[Client compatibility](references/client-compatibility-policy.md)
Start with the `RIGORPILOT_README.md` reported in `source_adjacent_readme.path`,
then follow its command and log links. If a conflicting file blocks the extra
copy, that file stays intact; inspect `repro_outputs/SUMMARY.md` for the outcome
and next action.
## What it does—and does not do
README → documented target → reviewed setup → bounded execution → verification → evidence.
- Preserves source meaning; records assumptions, deviations, failures and blockers.
- Records process state, logs and attempt lineage; supports explicit cancellation,
recovery and retry through the persistent runtime.
- Separates trusted reproduction from explicitly authorized, candidate-only exploration.
- Checks execution criteria independently of the model's completion claim.
This is **local execution, not an OS sandbox**. Approved commands can access the
host and network; use trusted repositories. Resource admission and between-action
budget checks are not hard OS quotas or subscription-balance monitoring.
The optional model loop currently supports Anthropic Messages and reviewed command
IDs, not unrestricted source repair. **This standalone runner has no successful
live-model acceptance recorded yet**: three provider attempts returned HTTP 502. Other model profiles
are metadata, not proof of working transports or equivalent model performance.
[Runner and recovery contract](skills/ai-research-reproduction/references/agent-runner.md) ·
[Implementation evidence and limits](docs/P0_P1_DELIVERY.md)
<a id="skills"></a>
## 🎯 Skill index
| Task | Skill |
|---|---|
| Reproduce from README commands | [`ai-research-reproduction`](skills/ai-research-reproduction/SKILL.md) |
| Read-only repository analysis | [`analyze-project`](skills/analyze-project/SKILL.md) |
| Prepare environment, data and weights | [`env-and-assets-bootstrap`](skills/env-and-assets-bootstrap/SKILL.md) |
| Run documented inference or evaluation | [`minimal-run-and-audit`](skills/minimal-run-and-audit/SKILL.md) |
| Start or verify training conservatively | [`run-train`](skills/run-train/SKILL.md) |
| Diagnose before proposing a patch | [`safe-debug`](skills/safe-debug/SKILL.md) |
| Coordinate authorized candidate exploration | [`ai-research-explore`](skills/ai-research-explore/SKILL.md) |
| Implement a candidate change on an isolated branch | [`explore-code`](skills/explore-code/SKILL.md) |
| Execute a bounded candidate experiment | [`explore-run`](skills/explore-run/SKILL.md) |
Two helpers support orchestration: `repo-intake-and-plan` and `paper-context-resolver`.
Exploration requires a durable `current_research` anchor and a frozen comparison
contract. Candidate results never become trusted baseline results by declaration.
[Routing](references/routing-policy.md) · [Research loop](references/research-thinking-loop.md) ·
[Campaign inputs](skills/ai-research-explore/references/research-campaign-spec.md)
## 📦 Evidence bundle
| Artifact | What to inspect |
|---|---|
| `repro_outputs/ANNOTATED_README.md` | Original README with inserted section verdicts |
| `SUMMARY.md`, `COMMANDS.md`, `LOG.md`, `status.json` | Outcome, exact commands, observations and machine-readable status |
| `PATCHES.md`, `SCIENTIFIC_CHANGELOG.md`, `COMPARABILITY_REPORT.md` | Changes, scientific meaning and comparison boundaries |
| `_runtime/<run_id>/` | Process state, events, resource samples and stdout/stderr |
| `agent_state.json`, `trajectory.jsonl` | Optional model runner's checkpoints, tool calls and reported usage |
🟢 success · 🔵 not executed · ⚪ read only · 🟡 partial · 🔴 blocked · 🟣 decision required
Standard evidence stays under `repro_outputs/`. Both main runners accept
`--source-adjacent-readme` to also write `RIGORPILOT_README.md` beside the original,
preserving the context of its relative media/file links. Only inserted evidence
links are rebased. The same output directory may refresh its unchanged owned
copy, never an unrelated or manually edited file. Retain supporting repository
files and the evidence directory's `readme_delivery.json`.
[Output contract](references/output-contract.md) · [Rigor principles](references/research-rigor-principles.md)
<a id="validation"></a>
## ✅ Offline validation
From a clone of this project, with Python 3.11+ and Git:
```bash
python scripts/run_harness_lab.py
```
This offline example uses **scripted decisions and actual processes**. It exercises
failure → preparation → pause → controller restart → independent verification,
without API calls, GPU use or model downloads. Inspect the printed `REPORT.json`
path and its linked artifacts. Existing output is never overwritten; use
`--output tmp/check-2` to repeat. It is not evidence of live-model capability.
[Example source and checks](examples/harness-lab/README.md)
Run the repository regression suite:
```bash
python scripts/run_all_tests.py
```
Latest local record (2026-09-07): **69/69 scripts passed in 156.0 s**.
The CI badge links to the current Windows, Linux and macOS results.
Local tests do not substitute for live-model or held-out evaluation.
For model comparisons, the [small paired-evaluation kit](docs/PAIRED_PILOT.md)
provides frozen tasks and actual grader-calibration logs. The six planned model
trials remain unrun; calibration is not evidence of skill uplift.
[Controlled-trial checks](docs/CONTROLLED_TRIALS.md) add real failure/recovery
logs, restricted tools and unknown-usage stops, with scripted model responses.
The guide also provides a [bounded A/B command-line entrypoint](docs/CONTROLLED_TRIALS.md#one-bounded-ab-pair)
for model transport → reviewed commands → independent grading → sealed summary.
Local HTTP integration is tested; real-provider effectiveness is not yet measured.
## Engineering and contributions
[Engineering roadmap](docs/ENGINEERING_ROADMAP.md) · [Contributing](CONTRIBUTING.md) ·
[Security and reporting](SECURITY.md) · [CI workflow](.github/workflows/validate.yml) ·
[Reproduction feedback](https://github.com/lllllllama/RigorPilot-Skills/issues/new?template=reproduction.yml) ·
[MIT license](LICENSE)
Keep acceptance checks independent, retain failed evidence and review traces
before publication. Do not publish credentials or unreviewed private repository data.
[Agent guidance](AGENTS.md) · [Operating principles](references/agent-operating-principles.md) ·
[Personalization policy](references/continuous-learning-policy.md)
<details>
<summary>Historical interface illustration—not execution evidence</summary>
<img src="assets/annotated-readme-preview.png" width="840" alt="Historical MiniSeg interface illustration, not independently verified execution evidence"/>
[First attempt](examples/annotated-readme-demo/first-run/ANNOTATED_README.md) ·
[After setup](examples/annotated-readme-demo/after-setup/ANNOTATED_README.md).
This older MiniSeg preview illustrates error, metric and authorization displays.
Its execution provenance is not independently verified; it is excluded from benchmarks.
</details>