rl
Skill1 starsChanged 3 months agoMITView on GitHub
Use when designing, running, diagnosing, or selecting reinforcement learning rounds for coding-agent models. Especially useful for preference optimization, hard-negative construction, length-normalized scoring, checkpoint selection, reward validation, avoiding shortcut wins, and preserving generation quality.
In this repository32 other files it gives its agents.
- advertising-imagery-agentSkill
- agent-watchSkill
- aria-intelligenceSkill
- bambu-labsSkill
- cadSkill
- cad-viewerSkill
- dataset-engineeringSkill
- design-business-agentSkill
- design-loopSkill
- dxfSkill
- elite-engineeringSkill
- emil-deign-skillSkill
- env-harnessSkill
- gcodeSkill
- human-writingSkill
- implicit-cadSkill
- inference-engineeringSkill
- kernel-engineeringSkill
- lamp-method-first-principles-thinkingSkill
- marketing-and-advertising-agentSkill
- model-evalSkill
- new-project-architectureSkill
- opportunity-hunterSkill
- rlmSkill
- sdfSkill
- sendcutsendSkill
- sftSkill
- srdfSkill
- step-partsSkill
- synthesys-bug-triageSkill
- taste-maxSkill
- urdfSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the model mostly knows the target form but chooses worse alternatives under pressure.
- Distinctive: line 24
Use SFT first if the model cannot emit the target shape at all.
- Distinctive: line 38
Prefer length-normalized preference when long action chains compete with short completions.
- Distinctive: line 43
Run a zero-update baseline on the focused frontier.
- Distinctive: line 44
Verify the hard negatives actually expose the intended failure.
- Distinctive: line 62
If RL improves ranking but not generation, classify it as diagnostic or preference-only.
- Distinctive: line 66
Prefer the checkpoint that maximizes the round objective while preserving gates:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
RL
Use this skill when the model mostly knows the target form but chooses worse alternatives under pressure.
Principle
RL teaches taste. Use it to make the model prefer the right completion over plausible bad completions, not to paper over missing syntax or broken data.
Use RL When
- target generations exist but lose to shortcuts
- preference accuracy is low
- mean margin is negative or fragile
- adjacent action families beat the target
- wrong tools or wrong arguments are plausible
- unsafe direct action beats approval pause
- the model ranks generic checklists over project-specific trajectories
Use SFT first if the model cannot emit the target shape at all.
Reward And Negative Design
Hard negatives must be credible:
- short JSON shortcut against long action chain
- correct tool with wrong arguments
- wrong tool with superficially useful arguments
- adjacent project/action family
- unsafe direct execution instead of approval
- prompt echo or instruction-tail completion
- generic checklist instead of concrete workflow
Prefer length-normalized preference when long action chains compete with short completions. Keep raw logprob for diagnosis.
Round Workflow
- Name the current safe checkpoint and the RL seed.
- Run a zero-update baseline on the focused frontier.
- Verify the hard negatives actually expose the intended failure.
- Train with a conservative update budget.
- Evaluate intermediate checkpoints, not just the final step.
- Select by focused preference first, then generation preservation.
- Reject if exact generation, tool schema, safety, or broad gates regress.
Diagnostics
Watch for:
- preference margin improves but exact generation drops
- target logprob improves only because outputs got shorter
- shortcut completion remains preferred on hard rows
- prompt echo rises
- repeat collapse returns
- safety approval rows regress
- reward/scorer mismatch with production behavior
If RL improves ranking but not generation, classify it as diagnostic or preference-only. Feed the lesson into SFT or harness repair rather than promoting blindly.
Checkpoint Selection
Prefer the checkpoint that maximizes the round objective while preserving gates:
- preference accuracy
- mean margin
- exact generation
- strict JSON/tool validity
- exact arguments
- workflow validity
- echo and repeat floors
- broad/OOD preservation
The final step is just another candidate.
Reporting
Report seed, corpus, update budget, baseline metrics, best checkpoint, final checkpoint, focused delta, generation delta, preservation result, decision, and next reward/data bottleneck.
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.

