Senior Data Scientist
Raidriar7170/hermes-skilleval
World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics.
Builds the code for a frozen research experiment test-first, with leakage controls, seed handling and saved evidence so results can be rerun and audited.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add Light0305/Light-skills --skill light-experiment-coding -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Light0305/Light-skills light-experiment-coding --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/light-experiment-coding .claude/skills/light-experiment-coding && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "light-experiment-coding" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-experiment-coding into .claude/skills/light-experiment-coding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-experiment-coding", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Light0305/Light-skills/tree/master/skills/light-experiment-codingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Light0305/Light-skills --skill light-experiment-coding -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Light0305/Light-skills light-experiment-coding --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/light-experiment-coding .agents/skills/light-experiment-coding && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "light-experiment-coding" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-experiment-coding into .agents/skills/light-experiment-coding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-experiment-coding", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Light0305/Light-skills --skill light-experiment-coding -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Light0305/Light-skills light-experiment-coding --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/light-experiment-coding .cursor/skills/light-experiment-coding && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "light-experiment-coding" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-experiment-coding into .cursor/skills/light-experiment-coding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-experiment-coding", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Light0305/Light-skills.git --path skills/light-experiment-coding--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Light0305/Light-skills --skill light-experiment-coding -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Light0305/Light-skills light-experiment-coding --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/light-experiment-coding .gemini/skills/light-experiment-coding && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "light-experiment-coding" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-experiment-coding into .gemini/skills/light-experiment-coding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-experiment-coding", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Light0305/Light-skills light-experiment-codingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Light0305/Light-skills --skill light-experiment-coding -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/light-experiment-coding .github/skills/light-experiment-coding && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "light-experiment-coding" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-experiment-coding into .github/skills/light-experiment-coding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-experiment-coding", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Light0305/Light-skills --skill light-experiment-coding -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Light0305/Light-skills light-experiment-coding --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/light-experiment-coding .opencode/skills/light-experiment-coding && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "light-experiment-coding" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-experiment-coding into .opencode/skills/light-experiment-coding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-experiment-coding", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
light-experiment-codingBuilds the code for a frozen research experiment test-first, with leakage controls, seed handling and saved evidence so results can be rerun and audited.
This is stage six of a staged research workflow. It takes a frozen question or estimand, experiment matrix, pre-registration and data lineage and turns them into the smallest runnable experiment code that is test-first, free of leakage and reproducible. Before writing code the agent reads and hashes those inputs plus the current git commit. If the plan proves unworkable, it stops and hands the problem back to research planning instead of changing config defaults.
Implementation starts from a bundled project scaffold with a locked `uv` environment, a JSON schema for each matrix row, contract and reproducibility modules, and CI and pre-commit files. Tests come first: gold tests with hand-computable answers, property tests, metamorphic tests and train-only-fit checks, each seen failing before the code is written. Leakage control means splitting first, fitting preprocessing on training folds only and using group-aware splits for patients or other entities.
Randomness is split into a fixed-seed rerun check and a pre-registered multi-seed estimate, and seed counts never replace sample-size planning. The run records config, code, environment and input hashes, output logs, raw metrics, per-entity predictions and failure artifacts for the result-analysis stage. Static scans and two same-seed runs are stated to prove nothing about reproducibility across hardware. The SKILL.md is written in Chinese.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6b44f57. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python and Shell, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
pythonuvFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Light Experiment Coding loads about 2.3k tokens when it runs, and up to ~8.5k if it reads all its reference files. Until then it costs about 116 tokens; SKILL.md has 588 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from Light0305/Light-skills at commit 6b44f57, republished under its MIT licence (© Light0305). 588 words, ~2,296 tokens.
.claude/skills/light-experiment-coding/SKILL.md (or your agent's skills folder). This skill also uses 37 other files; get the full folder from GitHub.任务不是“写出能跑的 notebook”,而是把上游冻结计划逐行实现成可证伪、可复跑、可审计的实验。优先级:
先完整阅读 references/experiment-coding-resource-map.md。工具机制见
references/tools.md,TDD/调试红旗见
references/tdd_redflags.md 与
references/debug_protocol.md。
开始写码前读取并 hash:
split_leakage evidence;primary outcome、comparison family、exclusion、stopping 已冻结。若实现证明计划不可行,带最小复现和影响返回 research-plan,停下让人决策;不得改 config 默认值静默漂移。
优先复制 assets/project-scaffold/:
uv.lock + pyproject.toml:uv sync --locked --extra dev;configs/experiment.schema.json:每个 matrix row 的机读配置;experiment_contracts.py:data/model/metric/preprocessing 最小接口;reproducibility.py:运行期 seed helper;遵循现有仓库框架和配置格式;不要为一个实验引入付费 IDE、云追踪或私有 key。MLflow/DVC 可选,普通本地文件必须能完成
核心闭环。不可用资源明确写 UNAVAILABLE:原因,不假装通过。
在实现 preprocessing/train/eval 前:
浮点断言用 pytest.approx / assert_allclose(rtol, atol)。先声明 device、dtype、mixed precision 和容差;NaN/Inf
默认 fail。不要测“随机训练一定达到某个漂亮数”,测确定性边界和可重算事实。
fit/fit_transform,test 只 transform;Pipeline,每折只 fit training fold;split_leakage,不重造。review_gate 只识别静态形态,会漏/误报;领域语义仍要人工核对。指标异常好,先查 leakage。
分开两个目的:
fixed_repro:固定一个 seed,在同代码/data/config/environment 下做两次独立运行;randomness_estimation:按预注册 seed 列表做多次运行,估计算法随机性。多 seeds 不是患者/实体样本量,绝不拿 seed 数替代功效分析 n。
按实际使用覆盖 PYTHONHASHSEED(当前进程须启动前设)、random、NumPy、框架 RNG、CUDA、cuDNN、
deterministic algorithms、DataLoader generator/worker。记录 device/dtype/AMP、线程数、worker 数、排序键和已知
非确定算子。换 seed 应可变但可追溯;同 seed 一致也只支持同环境契约,不外推跨 release/platform/hardware bitwise 保证。
从 templates/run_manifest.template.json 生成
light.run_manifest.v3;说明见 templates/run_manifest.md。
termination 只说明进程为何停止,completion 才记录矩阵行 oracle 是否真的通过;
timeout / max iterations / cancel 一律不得冒充完成。
每个 matrix row × config × seed × attempt 独立目录,至少保存:
失败 run 不删除,不覆盖成成功。禁止只交 summary CSV;result-analysis 必须能从 raw evidence 重算。
按此顺序真跑并记录 exit code:
python scripts/experiment_execution_contract.py --spec experiment_execution_contract.json \
--report execution_contract_findings.json --json-out execution_contract_report.json
python scripts/review_gate.py src/ --json
python scripts/seed_audit.py src/train.py src/reproducibility.py
python scripts/repro_gate.py --spec repro_spec.json --report repro_findings.json
python scripts/run_artifact_check.py --manifest runs/EXP-01/run-a/manifest.json
python scripts/run_artifact_check.py --compare \
runs/EXP-01/run-a/manifest.json runs/EXP-01/run-b/manifest.json
python ../light-orchestrator/scripts/run_checkpoint.py \
--file .light/passport.yaml --stage 6 --findings repro_findings.json --write --ts <ISO-8601>experiment_execution_contract.py 消费 light.experiment_execution_contract.v1(模板见 templates/experiment-execution-contract.example.json,故意 fail-closed):核 as_of、frozen scope/evaluator/budget、failure-tree handoff、matrix/DAG、run status/termination/failure class、partial checkpoint/resume command、环境与 cache provenance、repro level 分层、远程/付费执行授权。timeout/OOM/preempted/max-iterations 不得写 completed;frozen_at 与远程授权 approved_at 不得来自未来;decision=NOT_READY/UNKNOWN 本身阻断推进;run 必须绑定冻结 matrix_rows 中的 row,且每个 row 必须绑定 failure_tree_refs(hypothesis_ids、branch_action_ids、适用的 guardrail_ids);新增实验行要先回 research-plan 修订;completed run 若上游要求 guardrail,completion 必须留下 guardrail_evidence_artifacts,否则不得交 result-analysis;实际 walltime/cost/compute_units 与远程预计成本不得静默超过冻结预算,超限必须有预算覆盖授权;PARTIAL/RESUMABLE 必须有 checkpoint SHA 和 resume command;请求 CLEAN_ENV_RERUN/CROSS_PLATFORM/INDEPENDENT_REIMPLEMENTATION 必须有对应证据;远程/付费/HPC 运行在 user_authorization=APPROVED 前不得 RUN_READY。
stage 6 的 canonical critical 只有:
leakage;reproducible。float/security 在研究 checkpoint 按 spec 为 warn;review_gate 可作为独立交付阻断门,不得借此扩大 checkpoint critical 面。
stage-6 门失败就在本阶段修,不伪造 ROUTES[6] 出边。
同固定 seed 两次必须是独立 run dir;run_artifact_check.py 先核 matrix/config/env/code/input 身份和
started_at/ended_at 时间轴(带时区、不倒序、不来自未来),再比较 predictions/raw_metrics hashes。
静态 seed/leakage 门 + 同 seed pair 都通过,仍只是一组有边界的证据。
交付全部 completed/failed runs、coverage、manifests、predictions、raw metrics、logs、test evidence 和 canonical findings。 不要在 stage 6 替 result-analysis 选择性丢 run 或先写结论。
只有 result-analysis 产出真实实现 bug 或不可复现 root cause时,orchestrator 才可:
python ../light-orchestrator/scripts/reroute.py \
--findings result_findings.json --stage 7 --passport .light/passport.yamlreroute 只给建议。落 7→6 back-edge 前停下,让用户拍板;用户确认后才调用 passport add-back-edge,并带回失败命令、
期望 vs 实得、artifact pointers 修根因。统计不显著、效果小、计划不可行不自动等于实现 bug。
== 断言,不静默吞 NaN/Inf。experiment_execution_contract.py 吗?scope/evaluator/budget、DAG、run status、failure class、resume、资源成本、repro level 和远程授权都闭合了吗?.light/failure_tree_report.json 的 locator/hash/status?每个 matrix row 是否有 failure_tree_refs?completed run 是否留了 guardrail evidence?as_of、frozen_at、远程 approved_at、run started_at/ended_at 都是真实已发生时间吗?没有未来预填或结束早于开始吧?matrix_row_id 是否来自冻结 experiment matrix?实际 walltime/cost/compute_units 或远程预计成本超预算时,有预算覆盖授权吗?TDD、seed、安全扫描、复现实验都不是 Light 独有。R1 真同类已普遍具备 config-first、smoke、immutable run、 lineage 与 keep/discard。这里的实际增量是:
split_leakage;诚实落后项:没有 MLflow 式查询 UI、DVC remote、GPU scheduler、仓库语义索引或自主 experiment search;静态门仍有边界。
© Light0305, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 37 other files (scripts, references, assets) in skills/light-experiment-coding of Light0305/Light-skills.
Open the folder on GitHubat commit 6b44f57
Light Experiment Coding next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Light Experiment Coding this skillLight0305/Light-skills | 640 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Senior Data ScientistRaidriar7170/hermes-skilleval | 125 | 6 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Optimize For GPUK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~3.4k | Automated safety check: Pass | MIT | |
| Optimize For GPUmajiayu000/claude-skill-registry | 666 | 1 repos | ~8.5k | Automated safety check: Pass | MIT | |
| Machine Learning Trading StrategyHKUDS/Vibe-Trading | 35k | — | ~3.2k | Automated safety check: Pass | MIT | |
| Senior Data Scientistalirezarezvani/claude-skills | 28k | 2 repos | ~2.3k | Automated safety check: Pass | MIT |
Raidriar7170/hermes-skilleval
World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics.
K-Dense-AI/scientific-agent-skills
GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster.
majiayu000/claude-skill-registry
GPU-accelerate Python code using CuPy, Numba CUDA, Warp, cuDF, cuML, cuGraph, KvikIO, cuCIM, cuxfilter, cuVS, cuSpatial, and RAFT.
HKUDS/Vibe-Trading
Trains scikit-learn models with walk-forward validation on features from OHLCV data to predict return direction and turn the predictions into trading signals.
alirezarezvani/claude-skills
World-class senior data scientist skill specialising in statistical modeling, experiment design, causal inference, and predictive analytics.
jaechang-hits/SciAgent-Skills
Classical ML in Python: classification, regression, clustering, dim reduction, evaluation, tuning, preprocessing pipelines.
Light0305/Light-skills
Verifies that every reference in a manuscript is real, correctly identified and actually supports its claim, and produces a citation registry for typesetting.
Light0305/Light-skills
Coordinates and recovers multi-stage Light research projects from a single passport file, with checkpoints, stale-work tracking and rerouting only when you approve.
Light0305/Light-skills
Builds an evidence-backed invention disclosure packet from a project or research result for attorney or patent-agent review, without giving legal advice.
Light0305/Light-skills
Audits, scaffolds and safely migrates research project folder structures, keeping existing repositories read-only until you approve exact moves from a plan.
Light0305/Light-skills
Prepares draft materials for a China software copyright registration from a real project: application worksheet, source deposit plan, operation manual and consistency checks.
Light0305/Light-skills
Evidence-based workflow for designing or modernizing a software system: current-state inventory, options, API and schema contracts, migration plans, ADRs and verification.
Works with
Builds the code for a frozen research experiment test-first, with leakage controls, seed handling and saved evidence so results can be rerun and audited. This is stage six of a staged research workflow. It takes a frozen question or estimand, experiment matrix, pre-registration and data lineage and turns them into the smallest runnable experiment code that is test-first, free of leakage and reproducible.
Light Experiment Coding fits situations like: implementing a preregistered training or evaluation experiment from a frozen plan; reproducing a published training or preprocessing pipeline with fixed seeds; auditing experiment code for train/test or cross-validation leakage; preparing raw run outputs that a later analysis stage can recompute.
Run `npx skills add Light0305/Light-skills --skill light-experiment-coding -a claude-code`. Or copy the skill folder (skills/light-experiment-coding in Light0305/Light-skills) into .claude/skills/light-experiment-coding in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Light0305/Light-skills --skill light-experiment-coding -a codex`. Or copy the skill folder (skills/light-experiment-coding in Light0305/Light-skills) into .agents/skills/light-experiment-coding in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Light0305/Light-skills --skill light-experiment-coding -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/light-experiment-coding, .gemini/skills/light-experiment-coding, .github/skills/light-experiment-coding and .opencode/skills/light-experiment-coding in your project.
Going by SKILL.md and its folder, Light Experiment Coding needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (python and uv). Our summary lists: Python with `uv` for the bundled project scaffold; Frozen upstream plan, matrix and data lineage files.
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Light Experiment Coding is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Light Experiment Coding: Senior Data Scientist (Raidriar7170/hermes-skilleval, 125 stars), Optimize For GPU (K-Dense-AI/scientific-agent-skills, 48k stars), Optimize For GPU (majiayu000/claude-skill-registry, 666 stars) and Machine Learning Trading Strategy (HKUDS/Vibe-Trading, 35k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Light0305 (a GitHub user) maintains it in Light0305/Light-skills, which has 640 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on July 6, 2026.
Source: Light0305/Light-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.