Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add pproenca/dot-skills --skill adversarial-beamgit clone --depth 1 https://github.com/pproenca/dot-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pproenca/dot-skills/adversarial-beam)<a href="https://agentmods.dev/skills/pproenca/dot-skills/adversarial-beam"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/adversarial-beam/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pproenca/dot-skills/adversarial-beam"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/adversarial-beam.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Anti-Refusal · line 51 Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00211 | $0.01963 |
| Opus 5.5 | $0.00084 | $0.00785 |
| Sonnet 5.5 | $0.00042 | $0.00393 |
| Haiku 4.5 | $0.00021 | $0.00196 |
Grade A, and why
adversarial-beam scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Adversarial BEAM Gate
A BEAM runtime-architecture review gate for Elixir systems — pass/fail: a single blind reviewer subagent judges the work against this gate's rules with an adversarial mandate, and the work passes only when every rule is PASS or N/A. This skill renders verdicts; it never fixes the work.
The rules target one failure mode: code that assumes guarantees the runtime never made — that restarts restore data, that mailboxes push back, that broadcasts arrive, that delivery happens exactly once and in order, that a lookup is still true at the following insert, that node-local uniqueness holds cluster-wide, that the wall clock only moves forward. These bugs compile cleanly, pass unit tests, and surface as production incidents. Each rule carries an Evidence of violation paragraph so a reviewer can decide PASS/FAIL/N/A from artifact evidence alone. The sibling gate adversarial-elixir judges paradigm fit (OO habits ported onto the BEAM); this gate judges runtime semantics — run both for full coverage.
When to Apply
- An Elixir feature that supervises processes, consumes events/jobs/streams, broadcasts over PubSub, or shares state via ETS/Registry is about to merge and needs an objective PASS/FAIL on its runtime assumptions.
- An agent (Claude, Codex) authored OTP-shaped code and you want an independent check that it did not assume durable broadcasts, exactly-once delivery, ordered cross-process messages, or restart-survivable in-memory state.
- A system is being prepared for clustering or higher load, and the single-node/low-traffic assumptions baked into it need to be surfaced as verdicts.
- An incident postmortem fixed one instance of a delivery/overload bug and you want the same class hunted across the affected area.
Do not apply to non-Elixir codebases (the reviewer prompt's precondition aborts with "GATE NOT APPLICABLE"), or when the user wants explanations and refactors rather than a verdict. The dist-* category goes N/A when the application demonstrably never clusters; Oban/Broadway appear in rules as canonical remedies but any mechanism with the same property passes — the reviewer prompt carries the applicability axes.
What ships with it
28 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/templates/verdict.md 1.5 KB
- gotchas.md 4.6 KB
- metadata.json 1.7 KB
- references/_sections.md 4.4 KB
- references/dist-global-needs-conflict-story.md 2.5 KB
- references/dist-node-local-is-not-cluster-wide.md 2.6 KB
- references/evt-broadcast-ids-not-snapshots.md 2.2 KB
- references/evt-idempotent-consumers.md 2.4 KB
- references/evt-no-cross-source-ordering.md 2.5 KB
- references/evt-pubsub-is-fire-and-forget.md 2.2 KB
- references/evt-telemetry-handlers-stay-cheap.md 2.2 KB
- references/evt-transactional-enqueue.md 2.2 KB
- references/load-bounded-fanout.md 1.9 KB
- references/load-call-for-backpressure-on-ingest.md 2.1 KB
- references/load-demand-driven-pipeline.md 2.4 KB
- references/load-timeouts-are-contracts.md 2.3 KB
- references/mech-copy-sub-binaries-into-state.md 2.4 KB
- references/mech-monotonic-time-for-durations.md 2.1 KB
- references/mech-no-dynamic-atoms.md 2.1 KB
- references/reviewer-prompt.md 7.5 KB
- references/state-atomic-check-then-act.md 2.4 KB
- references/state-ets-for-hot-shared-reads.md 2.2 KB
- references/state-persistent-term-is-read-optimized.md 2.0 KB
- references/sup-handle-continue-over-blocking-init.md 2.2 KB
- references/sup-no-durability-in-terminate.md 2.4 KB
- references/sup-no-restart-amnesia.md 2.3 KB
- references/sup-strategy-matches-dependencies.md 2.0 KB
- references/sup-supervise-fire-and-forget.md 2.2 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 67 lines · 211 tokens per session scan A f0a29f1c2878
adversarial-beam is a skill published in the GitHub repository pproenca/dot-skills (231 stars, last pushed 3mo ago), licensed MIT. It adds 211 tokens to every session and 1,963 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
adversarial-beam compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| adversarial-beampproenca/dot-skills | Skill | 231 | 3mo ago | MIT | A | 211 | Claude Code, Codex |
| no-bare-castsprisma/orm | Skill | 48k | today | Apache-2.0 | A | 52 | Claude Code, Codex |
| python-engineering-guidelinesanywhere-labs/Agents-Anywhere | Skill | 3.9k | yesterday | Apache-2.0 | A | 75 | Codex |
| splitting-oversized-modulesPostHog/posthog-foss | Skill | 734 | today | MIT | A | 197 | Claude Code, Codex |
| splitting-oversized-modulesPostHog/posthog | Skill | 41k | today | none | A | 197 | Claude Code, Codex |
| solid-principlesdecebals/claude-code-java | Skill | 780 | 1mo ago | MIT | A | 73 | Claude Code, Codex |
| rigor-rbs-contractrigortype/rigor | Skill | 108 | yesterday | MPL-2.0 | A | 95 | Claude Code, Codex |