agentleFS
sammasaksammasak/claude-code-skills/skills/rf-chaos-experiment-review/SKILL.md

rf-chaos-experiment-review

Skill1 starsChanged 30 days agoMITView on GitHub

Use when reviewing an RF/Wi-Fi/BT chaos or resilience experiment before or after running it — checking bounded execution, enrolled-scope gating, dry-run, machine-readable metrics, rollback, and simulation-vs-hardware provenance. A review gate, not a runner.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

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

    Bounded execution: Every run has a hard stop: a duration cap, a packet/ iteration budget, a fixed channel and power ceiling within the …

    line 26
  2. Distinctive:

    No experiment is approved without a restore path.

    line 36
  3. Distinctive:

    Check the metrics are present, parse, and carry the run's bounds and target in their metadata, so the result is reproducible and …

    line 50

≈ “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.

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

RF Chaos Experiment Review

A review discipline for RF / Wi-Fi / Bluetooth chaos and resilience experiments — the kind that stress a link to measure how it recovers. It gates the experiment before it runs and audits the results after. It does not launch transmitters: reviewing an experiment and running one are separate acts, and this skill is the former.

RF chaos is uniquely leaky — radio does not stop at a cable or a namespace. The whole review turns on one question: can this experiment affect anything the operator does not own and has not enrolled? If yes, it fails review.

Before the run

  • Enrolled-scope gating. The target must be your own AP or your own paired device, named by BSSID / MAC and enrolled in the experiment spec. Anything that can reach a neighbour's network, an unpaired third-party device, or shared spectrum beyond your equipment is out of scope — refuse it. Broadcast or wildcard targets are an automatic fail.
  • Bounded execution. Every run has a hard stop: a duration cap, a packet/ iteration budget, a fixed channel and power ceiling within the regulatory domain. An experiment that can run unbounded, escalate power, or sweep channels freely is not bounded — send it back.
  • Dry-run first. The spec must support a no-transmit dry run that prints what it would do (targets, channels, duration, frame counts) without keying the radio. Read that output and confirm scope and bounds before any live run is even discussed.
  • Rollback defined up front. Name how the environment is restored: interface back to managed, device re-paired, regulatory domain reset, services back up. No experiment is approved without a restore path.

Metrics

Results must be machine-readable — JSON or CSV with the measured link-state quantities (RSSI, retry/loss rate, disassoc count, reconnect latency), not prose. A number you can diff across runs is a result; a sentence is an anecdote. Require a baseline capture before the chaos is injected so "degraded" has something to be degraded from.

After the run

  • Confirm rollback actually happened — re-query state, do not assume the script's exit code means the radio and devices are restored.
  • Check the metrics are present, parse, and carry the run's bounds and target in their metadata, so the result is reproducible and self-describing.

Provenance: simulation vs hardware

Label every result as simulated or hardware-measured, and never let one pass as the other. Virtual-radio runs (mac80211_hwsim, wmediumd) and crafted packet fixtures are legitimate and safe for developing the experiment — but their output is a model, not a measurement. A simulated RSSI curve presented as a hardware observation is a false finding; reject any report that blurs the two or omits the label. When a run mixes both, each metric carries its own provenance.

In the homelab, mac80211_hwsim/wmediumd cover the simulated arm and the rf-lab kit the hardware arm; keep their outputs in separate, clearly-labelled streams and analyse captures with the pcap-evidence-analysis skill.

Review verdict

Approve only when all hold: enrolled owned target, bounded, dry-run inspected, machine-readable metrics with a baseline, rollback defined, and provenance labelled. A miss on any one is a block, not a suggestion — record which and why.

Provenance

The evidence-first / dry-run / observed-vs-inferred / record-versions discipline is adapted from morluto/rea (MIT) — design patterns only, no code. See docs/rea-wireless-re-comparison.md.

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.