agentleFS
mjvacasmjvacas/claude_code_template/.claude/skills/tune-parameters/SKILL.md

tune-parameters

Skill1 starsChanged 5 months agoMITView on GitHub

Choose a threshold or parameter by reading the shape of the metric surface across a sweep, not by grabbing the single best grid cell. Use whenever picking a numeric knob (threshold, weight, window size, learning rate).

The file

Files
SKILL.md

Goal: pick a parameter that is robust, not overfit to noise.

  1. Sweep, don't guess. Vary the parameter ($ARGUMENTS if given) across a sensible grid. Record the target metric at each point. Don't hand-pick a value and don't stop at the first good number.
  2. Read the surface shape:
    • Smooth — metric changes gradually as you vary the knob → a real effect. Pick a robust point in the middle of the good region, not its edge.
    • Lone spike — one great cell with worse cells all around it → overfit to noise. Discard it.
  3. Validate across the full history / dataset, not just the recent or easy regime. A value that only holds under current conditions will break when conditions change.
  4. Report: the chosen value, the shape you observed (smooth region vs. spike), and the range over which the metric stays acceptable (the safety margin).

Anti-patterns to flag if you see them: argmax over a noisy grid; tuning and validating on the same slice; a threshold justified by a single impressive data point.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.