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 agentmods add agents/samibs/skillfoundry/_arena-protocolgit clone --depth 1 https://github.com/samibs/skillfoundryWrote 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/agents/samibs/skillfoundry/_arena-protocol)<a href="https://agentmods.dev/agents/samibs/skillfoundry/_arena-protocol"><img src="https://agentmods.dev/badge/agents/samibs/skillfoundry/_arena-protocol.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00000 | $0.00747 |
| Opus 5 | $0.00000 | $0.00374 |
| Sonnet 5 | $0.00000 | $0.00149 |
| Haiku 4.5 | $0.00000 | $0.00075 |
Grade A, and why
_arena-protocol 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 yesterday.
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 — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Arena Mode Protocol
Shared module for competitive agent evaluation. When
/go --arenais active, multiple agents compete on the same story and gate-keeper selects the winner.
When Arena Mode is Active
1. Spawn Contestants
For each story, spawn 2-3 independent agent runs:
| Contestant | Agent | Model | Rationale |
|---|---|---|---|
| A | coder | opus | Maximum quality |
| B | coder | sonnet | Cost-efficient alternative |
| C | coder | opus | Different perspective |
The orchestrator determines contestants based on story complexity and cost-routing config.
2. Isolate Solutions
Each contestant works in complete isolation:
- Separate git worktrees (
.arena/contestant-{a,b,c}) - No access to other contestants' output
- Same story file, same acceptance criteria
- Same project context (read-only access to shared codebase)
# Worktree setup (managed by arena-evaluate.sh)
git worktree add .arena/contestant-a -b arena/${story}-a
git worktree add .arena/contestant-b -b arena/${story}-b
3. Collect Solutions
Wait for all contestants to complete (or timeout):
- Default timeout: 2x normal story timeout
- If only 1 contestant completes, use that solution (graceful degradation)
- If 0 complete, fail the story with detailed error
4. Evaluate
Gate-keeper scores each solution on weighted criteria:
| Criterion | Weight | What's Measured |
|---|---|---|
| Correctness | 40% | Meets acceptance criteria, tests pass |
| Quality | 25% | Code clarity, patterns, maintainability |
| Security | 20% | No vulnerabilities, proper auth, input validation |
| Performance | 15% | Efficient algorithms, no N+1 queries |
Scoring scale: 0.0 to 1.0 per criterion.
5. Select Winner
- Highest weighted total score wins
- Winner's code is cherry-picked to the main branch
- Loser branches are deleted
- All scores logged to
.claude/arena-results.jsonl
Resource Management
- Arena mode uses 2-3x resources (tokens, time)
- User confirmation required before arena starts
- Timeout per contestant: configurable, default 2x normal
- Graceful degradation: partial results are better than no results
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.
- yesterday First seen · 111 lines · 0 tokens per session scan A 09e8ed96ceb5
_arena-protocol is an agent published in the GitHub repository samibs/skillfoundry (12 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 747 tokens. 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-09-03.
Other agents, from other repositories
Azure Sweeper
Enterprise-grade Azure environment sweeper — WAF + CAF + Landing Zone + Org Rules + Policy + Resource Graph + Telemetry + Remediation. Run on any scope to produce a prioritised findings report with remediation code.
Specifier
Interview the user to define what and why before any technical planning. Surfaces ambiguities as [NEEDS CLARIFICATION] markers that block hardening.
Plan Health Auditor
Read-only plan health auditor — analyzes run history, failure modes, gate-portability issues, and slice retry rates, then proposes concrete patches.
Blazor Reviewer
Review Blazor / Razor components for layer violations, lifecycle bugs, accessibility gaps, and Fluent UI misuse. Use for PR reviews on .razor / .razor.cs files.
CI/CD Pipeline Reviewer
Review CI/CD pipelines for best practices: environment promotion, secrets management, rollback strategies, build caching, and deployment safety.
Observability Reviewer
Audit code for observability gaps: structured logging, distributed tracing, metrics, health checks, and alerting readiness.