Retire legacy experiment scripts behind an archive tag and leave breadcrumbs on GitHub issues. Use when asked to archive, clean up, or retire old experiments.
Use this skill when old experiment scripts need to be retired without losing their history. The goal is to put the code behind a dated archive tag and leave a canonical comment on the originating GitHub issues so future readers know where to find the last snapshot.
marin with push access to origin.gh CLI installed and authenticated for marin-community/marin.experiments/.main after the cleanup). Record it with git rev-parse HEAD.archive/YYYYMMDD.TAG=archive/20251114
git tag "${TAG}" <commit-sha>
git push origin "${TAG}"
exp_cleaning/YYYYMMDD) described the same snapshot, delete it locally and remotely so only the archive/ tag remains.PR_NUM); if nobody has provided one yet, ping the human operator for it before continuing.https://github.com/marin-community/marin/tree/${TAG}/experiments/<filename>.This experiment has been archived to reduce clutter and preserve velocity (see PR #<PR_NUM>). It is last available in the `archive/YYYYMMDD` tag at <URL>. Please open an issue if you need help unarchiving it.
gh issue comment:
ISSUE=102
FILE=exp102_classifier_ablations.py
PR_NUM=1999
URL="https://github.com/marin-community/marin/tree/${TAG}/experiments/${FILE}"
gh issue comment "${ISSUE}" \
--body "This experiment has been archived to reduce clutter and preserve velocity (see PR #${PR_NUM}). It is last available in the \`${TAG}\` tag at ${URL}. Please open an issue if you need help unarchiving it."
archive/ tag name in both inline code and URLs.git ls-remote --tags origin | rg "${TAG}$" to ensure the tag is published.gh issue view <issue> --comments | rg "archived to reduce clutter" to confirm each issue carries the canonical message..agents/skills/organize-experiments/ for related curation workflows.