원클릭으로
experiment-cycle
The shared protocol for one variant cycle in a Rules Farmer experiment. Read this before starting any cycle.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
The shared protocol for one variant cycle in a Rules Farmer experiment. Read this before starting any cycle.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | experiment-cycle |
| description | The shared protocol for one variant cycle in a Rules Farmer experiment. Read this before starting any cycle. |
This skill documents the contract between the Rules Agent, the Attack Agent, and the Orchestrator.
variant_count + 1 cycles (one base + N variants). Initializes/finalizes the experiment record.base cycle (variant_label="base"):
- Rules Agent generates rule for intent
- Validates -> deploys
- Asks Attack Agent to execute (request_variant=False)
- Checks alert -> if not fired, regenerates rule and retries (up to max_internal_attempts)
- Returns IterationResult(fired=True) on success
- Orchestrator advances to variant_1
variant_N cycle (variant_label="variant_N"):
- Rules Agent receives previous_iterations with prior cycle's final_rule
- It MAY keep the same rule and just ask for a variant attack, OR refine
- Asks Attack Agent to execute (request_variant=True)
- Same convergence check
- Returns IterationResult(fired=True) on success
- Orchestrator advances to variant_(N+1)
variant_count + 1 cycles return fired=True → experiment converged.fired=False after exhausting max_internal_attempts → experiment failed.Both agents persist their work via the orchestrator's ExperimentRecorder:
record_iteration after each attack execution.experiment.json and metrics.csv after the outer loop ends (success or failure).experiment-cycle (this skill) — both agents must understand the protocol.Generate Snort 3.9.7.0 IDS rules from a natural-language operator intent. Use whenever you need to write a new rule, refine an existing one, or recover from a syntax error.
Reuse Snort rules that already fired in past experiments. ALWAYS consult this skill at the start of every cycle BEFORE writing a new rule. Validated rules are known-good detection patterns persisted per attack_id under data/validated_rules/.
How to produce an evasion variant of a previously successful attack. Use this when request_variant=True on the attacker request.
How to execute the selected attack container on the attacker host and interpret the result.
How to map an operator intent to one of the attacks discovered on the attacker host. Use this before calling execute_attack.
Rule-generation refinement playbook for MQTT Brute Force — credential brute force against MQTT brokers on TCP port 1883 using dictionary attacks. Load when the operator intent maps to attack_id mqtt-bruteforce.