agentleFS
akasecurityakasecurity/preflight-skills/skills/experiment/SKILL.md

experiment

Skill1 starsChanged 4 months agoMITView on GitHub

Use when a question could be settled by measuring instead of arguing, such as picking a tunable (batch size, concurrency, timeout, cache size, model setting), comparing two configurations, explaining a slowdown or regression, checking a claimed limit, or writing up benchmark results for a decision.

27 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use cost, eval 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.
  • maxvaegaSkill

    cost

    Estimate what Claude Cowork / Claude Code conversations would cost if run on the pay-per-token Claude API instead of the subscription. Reports token counts and cache-aware API cost in USD and EUR, for the current conversation or for the whole history (cost per conversation). Trigger when the user asks things like "how much would this conversation cost on the API", "API cost of my Cowork conversations", "token usage / token count", "cost per conversation", "/cost", or wants to compare subscription vs API pricing.

    Also in 3 projects that use this

  • qtzx06Skill

    eval

    Evaluate trained YOLO model accuracy with mAP metrics and per-class error analysis. Identifies failure cases for targeted improvement. Use after training.

    Also in 4 projects that use this

  • dirienSkill

    decide

    Three-agent adversarial debate protocol for strategic decisions. Two advocates steelman opposing positions while a moderator identifies risks and synthesizes a binding consensus. Use when choosing between alternatives, evaluating tradeoffs, or making high-stakes decisions.

    Also in 3 projects that use this

  • javatarzSkill

    wiki

    Access and manage the local GitHub Wiki clone. Use this skill when you need to read wiki content (architecture, design docs, guides), update wiki documentation, check wiki status, or push wiki changes. The wiki contains high-level system design and architectural documentation.

    Also in 3 projects that use this

  • HeshamFSSkill

    loop

    Run a command or check on a recurring interval

    Also in 3 projects that use this

  • VercelSkill

    workflow

    Creates durable, resumable workflows using Vercel's Workflow SDK. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of "workflow", "durable functions", "resumable", "workflow sdk", "queue", "event", "push", "subscribe", or step-based orchestration.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 12 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 25 edited versions we read keep these.

  • 12

    Distinctive

    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
  1. Distinctive:

    When a cheap measurement can settle a question, run it instead of reasoning toward an answer.

    line 10
  2. Distinctive:

    Check the record: Search notes and decision logs for earlier results.

    line 16
  3. Distinctive:

    Suspect your own side first: Before blaming a dependency, a vendor, or contention, compare against your own recent config or code changes …

    line 19
  4. Distinctive:

    Use a real workload, such as replayed production traces, over a synthetic one.

    line 24
  5. Distinctive:

    Run the control alone a few times first to measure the noise floor.

    line 26
  6. Distinctive:

    Before each arm, confirm the resources are idle and no scheduled job overlaps.

    line 31
  7. Distinctive:

    If load starts on a shared or production system mid-arm, pause.

    line 34
  8. Distinctive:

    Record the original state and plan its restore: before you change any config.

    line 35
  9. Distinctive:

    Restore first: Put back the original config and reload.

    line 48
  10. Distinctive:

    Decide or don't: If the effect is smaller than the noise, n is below 3, or clean runs disagree, the verdict is inconclusive.

    line 54
  11. Distinctive:

    Trade-offs are choices: When one metric improves and another regresses, put the trade-off to the user rather than choosing.

    line 60
  12. Distinctive:

    The decision log records the evidence grade: Write measured, inferred, or inconclusive, never "resolved" on thin data.

    line 64

“Common” is measured: kept by at least 6 in 10 of the 25 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

experiment

Overview

When a cheap measurement can settle a question, run it instead of reasoning toward an answer. Then report only what the measurement supports. Every conclusion carries one of three labels: measured (by this experiment), researched (from docs or a source), or inferred (reasoned, not tested).

Before running

  1. Check the record. Search notes and decision logs for earlier results. Design the experiment around what they left open, and don't re-run what is already settled. Treat an earlier result that lacks run count, conditions, or the metric you care about as a hypothesis, not evidence.
  2. Suspect your own side first. Before blaming a dependency, a vendor, or contention, compare against your own recent config or code changes on the same input.
  3. Design the arms.
    • Include a control: the current setting.
    • Change one variable at a time.
    • Use a real workload, such as replayed production traces, over a synthetic one.
    • Interleave the arms (A B A B) so drift hits both.
    • Run the control alone a few times first to measure the noise floor.
    • Plan at least 3 runs per arm.
    • Pick the metrics the user actually cares about, such as the tail latency, not just the average or throughput.
  4. Guard shared systems.
    • Before each arm, confirm the resources are idle and no scheduled job overlaps.
    • Watch every entry path, not only the one you're driving.
    • Count your own earlier probes against any rate limit or counter.
    • If load starts on a shared or production system mid-arm, pause.
  5. Record the original state and plan its restore before you change any config.

While running

  • Classify each run from the timeline before you look at its numbers. Write down each run's start and end, and the window of any other load. Every run whose window overlaps that load is contaminated, even if its numbers look normal. If you don't know when the other load ended, treat every run after it started as overlapping. Drop contaminated runs from the comparison, say so, and recount n from the clean runs only.
  • A burst inside one window counts as one sample, not many.

After running

  • Restore first. Put back the original config and reload. Then confirm the running system reports the original value (not just the file). Do this before you write anything up.
  • Report:
    • The table of clean runs, and the excluded runs with the reason for each.
    • n per arm and the noise floor.
    • The effect size with its spread.
  • Decide or don't. If the effect is smaller than the noise, n is below 3, or clean runs disagree, the verdict is inconclusive. Say what re-run would settle it. Then fall back to the side that has evidence. Keep a current setting that was chosen on a measured basis. But if the current setting is a guard, check, cap or halt that was added without evidence, an inconclusive result is no reason to keep it: the guard never earned its place, so recommend removing or loosening it, and say that is the basis.
  • Trade-offs are choices. When one metric improves and another regresses, put the trade-off to the user rather than choosing.
  • Tunables ship as settings. Pick the default the evidence supports, not the most cautious one, and record the measured basis next to it.
  • The decision log records the evidence grade. Write measured, inferred, or inconclusive, never "resolved" on thin data. When new evidence weakens an old entry, correct the old entry.

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.