Best of N (parallel attempts)

Best of N (parallel attempts) is a skill for Claude Code, Codex from AuraVixStudio/caelo. It costs 23 tokens per session (340 once invoked), scanned A, original, Apache-2.0.

A workflow that asks several separate AI agents to solve the same task and then selects the strongest result.

In plain words
What is it for?
Use it for parallel coding, research, or design attempts, comparing them for correctness, simplicity, completeness, and risk.
Why use it?
It helps when a task has many reasonable solutions and one attempt may overlook a simpler or more complete answer.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it for parallel coding, research, or design attempts, comparing them for correctness, simplicity, completeness, and risk.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/auravixstudio/caelo/best-of-n
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.

Any agent
npx skills add AuraVixStudio/caelo --skill best-of-n
Clone the repo
git clone --depth 1 https://github.com/AuraVixStudio/caelo

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for Best of N (parallel attempts)

README.md
[![agentmods](https://agentmods.dev/badge/skills/auravixstudio/caelo/best-of-n/github.svg)](https://agentmods.dev/skills/auravixstudio/caelo/best-of-n)
Your own site
<a href="https://agentmods.dev/skills/auravixstudio/caelo/best-of-n"><img src="https://agentmods.dev/badge/skills/auravixstudio/caelo/best-of-n/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.

agentmods 80×15 button for Best of N (parallel attempts)

Your own site · 80×15
<a href="https://agentmods.dev/skills/auravixstudio/caelo/best-of-n"><img src="https://agentmods.dev/badge/skills/auravixstudio/caelo/best-of-n.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 340 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00023 $0.00340
Opus 5 $0.00012 $0.00170
Sonnet 5 $0.00005 $0.00068
Haiku 4.5 $0.00002 $0.00034

Measured 12d ago against content hash d199e56c3cd8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

Best of N (parallel attempts) 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 12d 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.

caelo_core/skills/builtin/best-of-n/SKILL.md · 31 lines

What it actually says

Best of N (parallel attempts)

Use this when a task has a wide solution space and you want the strongest result: run N independent attempts in parallel and choose the best. Each attempt is isolated, so they cannot interfere with each other.

Steps

  1. Pick N. Default N = 3 (cap to the parallelism limit). For a code task use the implementer role; for analysis/design use researcher or design-doc-writer.
  2. Fan out. delegate N subagents with the same task in a single delegate call so they run in parallel. Give each identical, complete instructions.
  3. Compare. When the summaries return, evaluate each against the goal and the acceptance criteria (correctness, simplicity, completeness, risk).
  4. Choose. Pick the best attempt. The others' isolated copies are simply rejected at merge time (not applied).
  5. Summarize. State which attempt you chose and why, and what is staged for merge.

Notes

  • The attempts are blind to each other — that is the point (diversity).
  • Vary the instruction slightly per attempt only if you want different angles; otherwise keep them identical for a fair comparison.
  • Only the chosen attempt's changes should be merged; explicitly discard the rest.
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. 12d ago First seen · 31 lines · 23 tokens per session scan A d199e56c3cd8

Subscribe to this mod's changes

Best of N (parallel attempts) is a skill published in the GitHub repository AuraVixStudio/caelo (25 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 23 tokens to every session and 340 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

skill-creator

A guide for creating and maintaining skills for Lfcode, including where to store them and which files each skill needs.

lfyxhappy/lfcode · 51 tokens

tavern-management

Use when the user asks to import or translate an Lfcode Tavern or SillyTavern character card or worldbook, including PNG image cards, or manage the Tavern plugin lifecycle.

lfyxhappy/lfcode · 43 tokens

error-collection

A structured record of confirmed engineering mistakes, their root causes, and checks that prevent them from returning. It uses evidence from real application behavior, not just successful builds.

lfyxhappy/lfcode · 30 tokens

playwright-browser

Use when controlling browser pages with Playwright MCP in Lfcode; guides navigation, screenshots, interaction, and reuse of hidden or collapsed embedded side browser targets instead of the Electron app shell.

lfyxhappy/lfcode · 42 tokens

e2e-test-engineer

Use when the user asks to create, improve, review, or repair end-to-end tests for a meaningful user workflow across the UI, runtime, backend, or installed application. Validate the real workflow at the highest useful boundary while keeping environments, accounts, and test data controlled.

lfyxhappy/lfcode · 62 tokens

flaky-test-triage

Use when a test passes and fails intermittently, behaves differently by order, machine, runtime, timing, or retry, or when the user asks to reduce test flakiness. Gather repeatable evidence, isolate nondeterminism, and repair the causal dependency without weakening test intent.

lfyxhappy/lfcode · 63 tokens