一键导入
ck-setup
First-time setup for new cruijff_kit users — walks through claude.local.md configuration. Re-run for a health check on an existing config.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
First-time setup for new cruijff_kit users — walks through claude.local.md configuration. Re-run for a health check on an existing config.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Plan LLM fine-tuning and evaluation experiments. Use when the user wants to design a new experiment, plan training runs, or create an experiment_summary.yaml file.
Create custom inspect-ai evaluation tasks through interacted, guided workflow.
Open-ended, Claude-driven exploration of a completed experiment — you decide per-experiment which figures matter and what the results mean. Optional and runnable any time after run-experiment (summarize-experiment is the required post-run step). Produces "Claude's Exploration": a non-deterministic report of what you examined and concluded, with an audit log.
Execute the complete experimental workflow - model optimization followed by evaluation - for all runs in a scaffolded experiment. Use after scaffold-experiment to submit jobs to SLURM.
Archive a completed experiment, preserving all experiment files while deleting bulk checkpoint artifacts. Use after summarize-experiment or explore-experiment when an experiment is complete and results have been reviewed.
Set up complete experimental infrastructure for all runs in a designed experiment. Orchestrates parallel generation of fine-tuning configs (via scaffold-torchtune) and evaluation configs (via scaffold-inspect). Use after design-experiment to prepare configs before running experiments.
| name | ck-setup |
| description | First-time setup for new cruijff_kit users — walks through claude.local.md configuration. Re-run for a health check on an existing config. |
Naming note: the
ck-prefix is deliberate. A baresetupwould collide with a built-in skill of that name, so the prefix is load-bearing — a future naming audit shouldn't "fix" it away.
You help users get a working cruijff_kit environment. There are two modes — pick based on whether claude.local.md already exists:
claude.local.md. Walk the user through claude.local.md.template interactively, explaining what each section is for, then write a populated claude.local.md.claude.local.md exists. Read it, scan for unresolved placeholders, check that required fields are filled, run a few lightweight environment probes, and report a green/yellow/red summary with concrete next actions.Default to never overwriting an existing claude.local.md. If one is present, validate-mode is the only option unless the user explicitly asks to start over (in which case follow the "Start over" procedure in walkthrough.md, which renames the existing file to a dated .bak and then enters greenfield mode).
The user may be one of two profiles. Use what they say (and what their environment looks like) to figure out which:
Mode detection above maps roughly: greenfield ↔ new user, validate ↔ returning user. But not always — a returning user on a fresh clone is also greenfield. Don't assume.
claude.local.md.claude.local.md at the repo root.docs/PREREQUISITES.md for accounts and Software Carpentry tutorials; /design-experiment for their first experiment).logs/ck-setup.log.See the modular sub-files for details:
walkthrough.md — greenfield Q&A flow, section-by-sectionvalidation.md — placeholder scan, required-field check, env probeslogging.md — action types and log file locationThis skill is itself the prerequisite-check for other skills, so its own prereqs are minimal:
claude.local.md.template lives).bash, grep, and standard Unix tools.If claude.local.md.template is missing, the user is either not in the repo root or has an unusual checkout — stop and ask before proceeding.
ls -la claude.local.md claude.local.md.template
After detecting mode and before diving into work, greet the user and tell them what's about to happen. Tone: friendly, like welcoming someone on day one. Don't assume technical fluency — name what you're going to do in plain language.
Greenfield mode (no claude.local.md):
Hey! Welcome to cruijff_kit. I'll walk you through creating your
claude.local.md— a personal config file the toolkit uses to learn about your HPC cluster, your SLURM account, and your conda environment.This takes about 5 minutes. I'll ask ~10–15 short questions, one at a time, and explain why each one matters. If you're not sure of an answer, you can say
[skip]and we'll come back to it later. Before I write the file, I'll show you a summary and ask you to confirm.Ready when you are.
Validate mode (claude.local.md already exists):
Hey! I see you already have a
claude.local.md. I'll do a quick health check — about 30 seconds — to make sure your environment is set up right.I'll scan for any placeholders that haven't been filled in, check that the required fields are present, and run a few lightweight probes (does your conda env exist, is your scratch directory reachable, is
ghon PATH). I won't change anything in your config. At the end you'll get a green / yellow / red summary with concrete next steps for anything that needs attention.
Then proceed to the chosen mode below.
walkthrough.mdThe template is 158 lines and covers HPC, SLURM, conda, GitHub, wandb, paths, and quick commands. Walk it section-by-section. For each section:
whoami, id -gn, pwd). Treat auto-detected values as defaults to confirm, not facts to write. In particular, id -gn returns the user's primary group token, but on some clusters the directory case differs from the group token (e.g. MSALGANIK directory vs msalganik group); ask the user to confirm the casing that appears in their actual paths.[skip] answers — the user may want to come back to that section later. Skipped sections keep their <placeholder> values; validate-mode will catch them on the next run.When all sections are done, write the populated content to claude.local.md at the repo root.
validation.mdThree classes of check:
grep -n '<[^>]*>' claude.local.md in the settings sections only (HPC Environment, SLURM Defaults, Common Paths, Weights & Biases, GitHub Configuration). Lines under "Quick Commands" legitimately contain <placeholder> tokens — don't flag those.Cluster, Username, Group, Scratch directory, Default conda environment, Account (SLURM).conda env list | grep -q <env_name>test -w <scratch_dir>gh is on PATH after activating the documented conda env: which ghmodule load: command -v moduleReport a per-check pass/fail with the concrete remediation step beside each fail. Don't return a binary "all good / all bad" — partial-pass is normal and useful.
After either mode, finish with two pointers:
docs/PREREQUISITES.md — accounts and skills the user should have (HuggingFace token, Git/shell/conda comfort). The skill does not validate accounts — don't try to curl HF with the user's token, that's a credential-leak risk and brittle./design-experiment — the natural next skill once the environment is configured.A successful run satisfies all of:
claude.local.md was created (greenfield) or a structured validation report was produced (validate)./design-experiment or "fix these N findings first").logs/ck-setup.log was appended with the action types from logging.md.claude.local.md was overwritten without explicit user consent.If any of these fail, the skill should error loud, not silently produce something half-correct.
docs/PREREQUISITES.md instead..claude/workflow_tests/ (see CLAUDE.md), not first-time setup.claude.local.md into Claude-specific and tool-agnostic config files. That's tracked separately as #457.make install per claude.local.md.template — the skill verifies the env exists, doesn't create it.claude.local.md to a new schema. If the template gains fields, validate-mode will flag the missing ones; the user fills them in by hand.