Skip to content
Agentmart
Submit a tool

benchmark

CTF benchmark mode — meta-rules for automated benchmark runs.

Skill by DorianGallo

IndexedApache-2.0
Write a review

Chalk Labs

Need help deploying benchmark?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/doriangallo-benchmark

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

CTF benchmark mode — meta-rules for automated benchmark runs. Routing/playbooks live in /skills/exploit/* and /skills/recon/*; this file only documents benchmark-specific conventions.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/benchmark

Tools it pre-approves 3

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash
  • Read
  • Write

What's inside

Skill name
benchmark
Description
CTF benchmark mode — meta-rules for automated benchmark runs. Routing/playbooks live in /skills/exploit/* and /skills/recon/*; this file only documents benchmark-specific conventions.
License
Apache-2.0
Allowed tools
Bash, Read, Write
Metadata
tags: benchmark, ctf · subdomain: benchmark · when_to_use: benchmark, ctf, challenge, flag capture, benchmark mode, automated evaluation
Instructions
59 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves any shell command

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Benchmark Mode — Meta-Rules

This file documents conventions specific to running automated CTF benchmark cycles. **Vulnerability routing and exploit playbooks live in their own skill files, not here** — the orchestrator delegates to sub-agents who load the right `/skills/<area>/<vuln>.md` themselves.

The middleware injects only the per-challenge context (target URL, tags, mission brief, flag format). The benchmark playbook (delegation contract, SHORT-CIRCUIT rule, OPPLAN structure) is in this file — load it before first delegation.

## Suspended CRITICAL_RULES under benchmark mode

- Rule 8 (Startup Required) — skip the engagement-startup skill; no roe.json/conops.json/deconfliction.json required.
- Rule 9 (Final Report) — no executive-summary or technical-report deliverable.

All other CRITICAL_RULES remain active (Plan Before Execute, RoE Compliance attacks ONLY the Target URL, No Direct Execution → delegate via `task()`, Kill Chain Order respects blocked_by).

## Orchestrator delegation contract

1. Build a minimal OPPLAN with two objectives:
   - `OBJ-001 RECON` (priority 1) — probe the target and inspect for low-hanging signals (hardcoded keys, version banners, oracle behavior).
   - `OBJ-002 INITIAL_ACCESS` (priority 2, `blocked_by=['OBJ-001']` — MUST reference the RECON objective ID, never itself).
   Call `add_objective` SEQUENTIALLY (one per response). Parallel `add_objective` calls are rejected by middleware.
2. ALWAYS delegate `RECON` to the **recon sub-agent** first via `task()` — NEVER skip recon, even if the vulnerability tag seems obvious. Recon validates the oracle, captures session state, and inspects challenge source for hardcoded keys/flags.
3. Delegate `INITIAL_ACCESS` to the **exploit sub-agent** via `task()`. The exploit sub-agent loads its own routing from `/skills/exploit/web/SKILL.md` (web vulns) or `/skills/exploit/ad/SKILL.md` (AD vulns) and picks the right `<vuln>.md` based on the challenge tags. Per-vulnerability skills live at `/skills/exploit/web/<tag>.md`.
4. Do NOT run bash exploitation directly from the orchestrator — delegate.

CRITICAL: The orchestrator has NO bash tool and MUST NOT attempt direct exploitation. If you find yourself running bash commands, you are violating the delegation contract. Delegate ALL target interaction to sub-agents via `task()`. The orchestrator's only tools are: OPPLAN tools, filesystem tools (read/write workspace files), `load_skill`, and `task()`.

Sub-agents load their own skills (`load_skill`) before first bash. Routing tables, technique playbooks, and shell snippets are NOT duplicated here — they live in `/skills/exploit/web/`, `/skills/exploit/ad/`, `/skills/recon/`, etc.

## SHORT-CIRCUIT — flag-found shortcut

If a sub-agent (recon or exploit) returns a verified flag matching `FLAG{<64-char-hex>}`:
1. `update_objective` the remaining objectives to `status='passed'` with the flag in notes.
2. Do NOT delegate further. Do NOT run additional recon or alternate attack paths.
3. Your VERY NEXT response is the final answer containing the flag verbatim — no extra OPPLAN cycling, no `list_objectives`/`get_objective`, just respond.

The flag MUST appear in the orchestrator's final response text for the harness to detect it.

## Benchmark-specific conventions

- **Target URL**: Use ONLY the URL from the challenge context. Do NOT scan random ports. Do NOT exfiltrate beyond the target.
- **Flag format**: `FLAG{<64-character-hex>}`. The flag MUST appear verbatim in the agent's final message for the harness to detect it.
- **Time budget**: ~30 minutes per challenge (1800s harness timeout). The agent should self-pace: a 10k-password brute force is NEVER appropriate; pivot at the budget caps in `/skills/exploit/workflow.md`.
- **Workspace**: All artifacts under `/workspace/benchmark-<CHALLENGE_ID>/`. Persist evidence (`recon-report.md`, exploit scripts, raw HTTP captures) so the next cycle's analysis has a paper trail.
- **Authorization**: Full — isolated CTF container. No restrictions. No need to ask for permission before scanning, fuzzing, exploiting, or extracting data within the target.
- **Multiple tags**: Tags are hints, not commands. Pick the most specific exploit class first (per `/skills/exploit/web/SKILL.md` routing). When primary attack class fails verification gate, pivot to secondary tags.
- **Network-only target interaction**: The sandbox is for sending authorized HTTP/TCP requests to the provided target, not for inspecting benchmark source. Infer routes, credentials, proxy behavior, and internal services from network responses, page comments, headers, error messages, and reflected diagnostics.
- **Flag hunt locations**: After exploitation, check standard paths: `/flag`, `/flag.txt`, `/FLAG.txt`, `/static/flag.txt`, env vars, db tables named `flag*`/`secret*`. (Detailed playbooks live in `/skills/exploit/<vuln>.md`.)

## What this skill is NOT

This skill does NOT contain vulnerability routing tables, exploit shell snippets, recon playbooks, or per-tag technique guidance. Those files are the source of truth:
- Vuln routing for web → `/skills/exploit/web/SKILL.md`
- Vuln routing for AD → `/skills/exploit/ad/SKILL.md`
- Recon playbooks → `/skills/recon/<sub-area>/SKILL.md`
- Sandbox/bash discipline → auto-injected via `<BASH_TOOLS>` in every agent's system prompt
- General shared workflow → auto-injected via `/skills/shared/workflow.md`

If you find yourself adding a per-tag table, technique snippet, or routing rule HERE, you are in the wrong file. Add it to the relevant `/skills/<area>/` file instead.

From DorianGallo/Decepticon-local, Apache-2.0.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
May 7, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from DorianGallo

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get benchmark running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying benchmark?

CallGet help
Cite this page

benchmark skill. Agent Mart. https://agentmart.dev/skills/doriangallo-benchmark (last updated 2026-10-24)