Skip to content
cccskills
FreePublished on GitHub

exp-new

Create a new experiment folder by copying reference/ as a template. Auto-generates SESSION_NOTES.md and run.sh. Claude experiments use expA00, A01, ...; human experiments use exp200, 201, ... in sequential numbering.

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (1)

  • SKILL.md3.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

New Experiment Folder Skill

Steps

  1. Parse arguments:

    • Get experiment name from $ARGUMENTS (required)
    • Check for --human flag
  2. Determine folder name:

    • Claude: start at workspace/expA00_<name>, advance to A01, A02, ..., B00, ... based on existing folders
    • Human: start at workspace/exp200_<name>, advance to 201, 202, ...
    • ls workspace/ first to determine the next number
  3. Copy template:

    cp -r reference/ workspace/<new-folder>/
    
  4. Generate SESSION_NOTES.md (don't overwrite if it exists):

# SESSION_NOTES — <folder name>

## Session Info
- Date: YYYY-MM-DD
- Working folder: workspace/<folder name>
- Goal: <inferred from name or asked from user>

## Base
- Base: reference/ (PyTorch Lightning + timm + smp)
- Parent exp (if any): ...

## Approaches Tried and Results
<!-- Append after each run -->

## File Structure
- train.py
- src/
- config.yaml
- run.sh

## Key Insights
<!-- Insights from training -->

## Next Steps
- [ ] ...

## Performance History
| Trial | Change | CV | LB | Notes |
|-------|--------|-----|-----|-------|

## Command History
<!-- Major commands run -->
  1. Generate run.sh (with execute permission):
#!/bin/bash
# Train + inference in one script
# IMPORTANT: cd "$(dirname "$0")" must run before python.
#            Without it, results/ may be created at the repo root or elsewhere.
# Usage: bash run.sh data.fold=0 trainer.max_epochs=30
#        Arguments override config.yaml in OmegaConf dotlist format (there is no --config flag)
set -e

cd "$(dirname "$0")"

# Train (train.py lives directly in the experiment folder; pass arguments through)
python train.py "$@"

# Inference (as needed)
# python predict.py ckpt_path=results/<experiment_name>/fold0/last.ckpt
  1. Update experiment.name in config.yaml to the new folder name

  2. Make the results/ output path relative to the experiment folder:

    • Verify train.py's output path is not cwd-dependent
    • If needed, rewrite to use the absolute path resolved from the experiment folder: output_dir = Path(__file__).resolve().parent / 'results' / experiment_name / f'fold{fold}' (one parent because train.py lives directly in the experiment folder)
    • Run a quick training trial to confirm output appears in workspace/<new-folder>/results/... before reporting to the user
  3. Report:

    • Path of the created folder
    • Paths of SESSION_NOTES.md and run.sh
    • Next action (edit config.yaml → bash workspace/<new-folder>/run.sh)

Notes

  • If a folder with the same name exists, do not overwrite. Ask the user how to handle numbering
  • Stop with a warning if reference/ is missing
  • Don't include datasets or model files in the template (covered by .gitignore)

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Create today's daily_reports/YYYYMMDD.md by carrying over pending TODOs and recent experiment results from yesterday's report. Use at the start of a session.

The English summary is being prepared. Showing the original description.

sugupoko/xxxx_kaggle_starterRepository30Updated Oct 19, 2026

今日の daily_reports/YYYYMMDD.md を、前日のレポートと未完了TODO・直近の実験結果を引き継いで作成する。セッション開始時に使う。

The English summary is being prepared. Showing the original description.

sugupoko/xxxx_kaggle_starterRepository30Updated Oct 19, 2026

新しい実験フォルダを reference/ から雛形コピーして作成する。SESSION_NOTES.md と run.sh も自動生成。Claude用は expA00, A01, ...、人間用は exp200, 201, ... の連番で命名する。

The English summary is being prepared. Showing the original description.

sugupoko/xxxx_kaggle_starterRepository30Updated Oct 19, 2026

Walks through the 7-item competition onboarding checklist interactively and saves it to survey/competition/overview.md. Use first when starting a new competition.

The English summary is being prepared. Showing the original description.

sugupoko/xxxx_kaggle_starterRepository30Updated Oct 19, 2026

コンペ開始時の7項目チェックリストを対話的に埋め、survey/competition/overview.md として保存する。新しいコンペに着手するときに最初に使う。

The English summary is being prepared. Showing the original description.

sugupoko/xxxx_kaggle_starterRepository30Updated Oct 19, 2026

Run cross-experiment competition strategy synthesis. Invokes the competition-strategist agent which loads daily_reports/* + all SESSION_NOTES.md / claudeSummary.md / submit/SUBMISSIONS.md / KAGGLE_DIRECTION.md in parallel and proposes next moves. Use weekly or at inflection points.

The English summary is being prepared. Showing the original description.

sugupoko/xxxx_kaggle_starterRepository30Updated Oct 19, 2026

See all skills by sugupoko

Report a problem with this skill