competitive-agents

A method for asking two independent coding agents to solve the same design problem, then combining their best ideas. It is intended for systems, architectures, and APIs with several reasonable solutions.

In plain words
What is it for?
Use it when designing an architecture or API, or whenever parallel competing solutions could improve the final decision.
Why use it?
It reduces the risk of settling too quickly on one approach or inheriting one agent's blind spots. Comparing independent proposals makes trade-offs easier to see.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/baleen37/bstack/competitive-agents
Any agent
npx skills add baleen37/bstack --skill competitive-agents
Clone the repo
git clone --depth 1 https://github.com/baleen37/bstack

Made for: Claude Code, Codex.

Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 820 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00035 $0.00820
Opus 5 $0.00017 $0.00410
Sonnet 5 $0.00007 $0.00164
Haiku 4.5 $0.00003 $0.00082

Measured 2d ago against content hash a2683759fe72, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

competitive-agents 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 2d 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.

plugins/me/skills/competitive-agents/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Competitive Agents

Overview

Dispatch two independent subagents to solve the same task from different angles. The main agent then synthesizes the best elements into a superior combined result.

When to Use

  • Designing systems, architectures, or APIs
  • Problems with multiple valid approaches (no single obvious answer)
  • User explicitly requests competitive/parallel approaches
  • You want to reduce single-agent bias

When NOT to Use

  • Purely mechanical tasks (rename variable, fix typo, add import)
  • Tasks requiring sequential steps (not parallelizable)
  • Task is unclear — clarify with user first, then decide

Red Flags - Skill Still Applies

Don't skip just because:

  • Task seems "simple" (simplicity ≠ obvious solution)
  • You think one approach is "best" (that's exactly the bias to avoid)

If multiple valid approaches exist, use this skill.

Workflow

  1. Clarify if needed — if the task is ambiguous, ask the user before dispatching
  2. Dispatch 2 subagents in parallel (single message, 2 Task tool calls)
  3. Wait for both results
  4. You (main agent) synthesize the best elements directly — no third subagent
  5. Present synthesized result to user

Competitor Prompt Template

Each competitor gets the same task but a different constraint to force divergent solutions:

Competitor A:

You are competing against another agent to solve the same task.
The better solution will be selected. Give your absolute best effort.

YOUR CONSTRAINT: Prioritize simplicity and minimalism. Fewer moving parts wins.

## Task
{task content from user}

## Requirements
- Provide a complete, well-reasoned solution
- Explain your approach and key decisions
- Consider trade-offs and alternatives you rejected

Competitor B:

You are competing against another agent to solve the same task.
The better solution will be selected. Give your absolute best effort.

YOUR CONSTRAINT: Prioritize completeness and extensibility. Cover more cases and future needs.

Read the full file on GitHub · 120 lines

Changes

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.

  1. 2d ago First seen · 120 lines · 35 tokens per session scan A a2683759fe72

Subscribe to this mod's changes

competitive-agents is a skill published in the GitHub repository baleen37/bstack (4 stars, last pushed 12d ago), licensed MIT. It adds 35 tokens to every session and 820 once invoked, about $0.0002 per session on Opus 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-31.