init
Skill36 starsChanged 2 months agoApache-2.0View on GitHub
Work with the user to pin down which PyTorch job gets optimized, write contract.md, and put the correctness instrumentation in place. The optimize skill later reads the contract.md written here and optimizes on its own. Every piece of alignment with the user happens in init, all of it.
89 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- cfgaudit/cfgaudittheir own version, first seen Oct 5, 2026
- RobStrayer/voice-agent-skillstheir own version, first seen Oct 1, 2026
- hodstack/hodstacktheir own version, first seen Oct 1, 2026
- sachingulati/claude-statuslinetheir own version, first seen Sep 30, 2026
- savinofiore/lexitheir own version, first seen Sep 29, 2026
Used with
Projects with it also use migrate, survey and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
genomewalkerSkillmigrate
Import soul data from SQLite or shared chitta files
Also in 8 projects that use this
SNL-UCSBSkillsurvey
Literature survey assistant with four modes: /survey intent (capture student goals, expertise, and success criteria), /survey triage (landscape mapping via NotebookLM), /survey deepen (structured reading with craft and visualization extraction), /survey synthesize (cross-paper analysis for related work, area exams, gap identification). Also: /survey expand (corpus growth proposals). Use when students mention reading papers, literature review, related work, area exam prep, paper corpus, or any systematic reading task.
Also in 3 projects that use this
pvnarpSkillbug
Investigates and resolves bugs using structured diagnosis. Categorizes by system, traces root cause, proposes minimal fix, and suggests prevention. Use when debugging issues or investigating unexpected behavior.
Also in 3 projects that use this
AnthropicSkilluninstall
Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.
Also in 3 projects that use this
Eipi-TongSkilladopt
Onboard an existing codebase into the starter kit. Use when the user says "adopt this project", "add the kit to my existing repo", or "set up the kit on existing code".
Also in 3 projects that use this
mlz11Skillreset
Completely reset ClaudeNotifier installation, removing all components and permissions
Also in 3 projects that use this
Other versions89 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 89
- microsoft/vscode★ 196ksame name
- mcollina/skills★ 1.9ksame name
- skyllwt/AutoSci★ 1.7ksame name
- tmck-code/yet-another-statusline★ 242same name
- DeL-TaiseiOzaki/claude-code-orchestra★ 198same name
- mattgierhart/PRD-driven-context-engineering★ 179same name
- atelier-fashion/adlc-toolkit★ 171same name
- guhcostan/claude-mega-brain★ 126same name
- The01Geek/prflow★ 99same name
- duthaho/claudekit★ 97same name
79 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- clean-upSkill
- convert-to-benchmark-scriptSkill
- diagnoseSkill
- extract-computation-graphSkill
- optimizeSkill
- publish-prSkill
- setup-baselineSkill
- torch-profileSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 7 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 80 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Write what you prepare into a contract.md, using the template at <plugin root>/template/contract.md, where the plugin root is the directory …
- Distinctive: line 31
Before you ask anything about the job, ask how well the user knows ML systems.
- Distinctive: line 42
Write for that reader for the rest of init, and in every report they read later.
- Distinctive: line 54
Ask the user for anything you cannot infer, for instance in a fresh session.
- Distinctive: line 55
If the checkout is dirty, talk it through with the user.
- Very specific: line 71
Write the plan into the contract's ## Correctness Instrumentation Plan section.
- Distinctive: line 74
Do not modify the code here during the init.
- Distinctive: line 83
Test files that matter and must not break.
- Very specific: line 86
Write these into contract.md at ## Everything else section.
- Distinctive: line 93
Ask the user to read contract.md and confirm that it describes the job they want optimized.
“Common” is measured: kept by at least 6 in 10 of the 80 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Set up an automatic PyTorch performance run
step 0: how much MLSys the user knows, so you can talk to them in their language. step 1: the repo, the environment, and the script to optimize. step 2: the instrumentation that keeps the optimization loop correct. step 3: anything else you and the user find worth preparing. step 4: init ends.
Write what you prepare into a contract.md, using the template at
<plugin root>/template/contract.md, where the plugin root is the directory two
levels above this SKILL.md, which Claude Code also exposes as
${CLAUDE_PLUGIN_ROOT}. It records what you and the user agreed on. The user reads
it too, so keep it short.
During init, do not change code logic, do not build a worktree, and do not run experiments unless the user tells you to. They expect init to finish quickly.
The user has very little attention to spare. Say what you need in the most direct and shortest wording you can.
Let the user see which step of init they are standing in.
Step 0: how much MLSys the user knows
Before you ask anything about the job, ask how well the user knows ML systems. Give them two examples to place themselves against:
- "I am an MLSys engineer. I could do these optimizations myself, I would rather not spend the time."
- "I am an algorithm engineer. I do not know systems, and I will not recognise most of your optimization techniques."
Anything in between is fine. Write the answer into the reader line of
contract.md, in their words.
Write for that reader for the rest of init, and in every report they read later. An MLSys engineer wants the technique and the number and no explanation. An algorithm engineer wants to hear what the change does to their training, in the words they already use: batches, steps, memory, loss. Explain a systems term the first time it comes up, or leave it out. If you are unsure whether they followed, ask once; do not check after every message.
Step 1: the repo, environment, script, and hardware
- Infer the repo, environment, script, and hardware from context first, then have the user confirm them. The user is the one who guarantees that the script and environment run and that the hardware is free.
- Ask the user for anything you cannot infer, for instance in a fresh session.
- If the checkout is dirty, talk it through with the user. What you decide has to fit the worktree layout used later.
- Once the user hands over the script: if it was written for real training, use
the convert-to-benchmark-script skill to turn it into one that suits performance
work, and have the user confirm the changes. The
runline in the contract names that converted version.
Step 2: the instrumentation that keeps the optimization loop correct
Briefly propose a few places to check correctness based on the workload, such as the loss, model outputs, or tensor shapes. Ask the user: "What else should we check?" Agree on the check locations before writing the instrumentation plan.
Name the recorder in the plan, and prefer one the repo already has rather than
installing a new one. imp_genai ships research/core/probe.
Write the plan into the contract's ## Correctness Instrumentation Plan section.
That is the section optimize reads before it puts the calls in.
Do not modify the code here during the init.
Step 3: everything else
Depending on the job, there may be more to settle. For example:
- What changes are allowed? For example: adjusting system configs, enabling existing acceleration features with small code edits, installing faster backends, changing Python-level workflow code, or modifying Triton/CUDA kernels?
- Test files that matter and must not break.
- Hints from the user: is startup slow, or the steady step, or something else?
Write these into contract.md at ## Everything else section.
They can come from your own reading of the code and then get confirmed, or the user can propose them.
Step 4: init ends
Ask the user to read contract.md and confirm that it describes the job they want
optimized. Note contract.md should be written concisely for human to understand (recommend humanizer tool). Once they confirm, tell them to run
the optimize skill, /who-ate-my-flops:optimize in Claude Code and
$who-ate-my-flops:optimize in Codex, and the optimization runs on its
own from there. After that point you do not go back to the user with questions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

