workflow-tournament

workflow-tournament is a skill for Claude Code from Kastalien-Research/thoughtbox. It costs 36 tokens per session (1,284 once invoked), scanned A, original, MIT.

A parallel implementation process where several coding agents each build the same feature in separate Git worktrees. A worktree is an isolated working copy of a repository, so the attempts do not interfere with one another.

In plain words
What is it for?
Use it to create parallel branches, dispatch full-feature implementations, review the results, choose the best one, and merge it into the primary branch.
Why use it?
It lets you compare independent solutions while keeping unfinished alternatives separate from the main code branch.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is # Copy any necessary environment files (e.g., cp ../../.env ./).

Good fit Use it to create parallel branches, dispatch full-feature implementations, review the results…

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Kastalien-Research/thoughtbox
agentmods
npx agentmods add skills/kastalien-research/thoughtbox/workflow-tournament

Made for: Claude Code.

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 workflow-tournament

README.md
[![agentmods](https://agentmods.dev/badge/skills/kastalien-research/thoughtbox/workflow-tournament.svg)](https://agentmods.dev/skills/kastalien-research/thoughtbox/workflow-tournament)
Your own site
<a href="https://agentmods.dev/skills/kastalien-research/thoughtbox/workflow-tournament"><img src="https://agentmods.dev/badge/skills/kastalien-research/thoughtbox/workflow-tournament.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,284 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.00036 $0.01284
Opus 5 $0.00018 $0.00642
Sonnet 5 $0.00007 $0.00257
Haiku 4.5 $0.00004 $0.00128

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

Security

Grade A, and why

workflow-tournament 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 7d 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.

.agents/skills/workflow-tournament/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.

Execute a tournament-style parallel implementation: $ARGUMENTS

Purpose

You are executing a parallelized "tournament" implementation workflow. Instead of decomposing a feature into smaller tasks for individual agents, you will create multiple isolated Git worktrees. You will dispatch one sub-agent to each worktree to build the entire feature independently. Once all sub-agents finish, you will review their implementations, select the best one along with the user, and merge it back into the primary feature branch.

This approach maximizes exploration of different implementation strategies and keeps the canonical codebase cleanly isolated until a winner is chosen.

Pre-Conditions

Before starting, verify:

  1. You are on a tracked feature branch (e.g., feat/X or fix/Y).
  2. The working directory is clean (git status).
  3. You know how many parallel worktrees to create (default to 5 if not specified in $ARGUMENTS, max 10).

Process

Step 1: Setup Parallel Worktrees

For each of the N sub-agents (e.g., from 1 to N):

  1. Create a unique branch for the sub-agent based on the current feature branch:
    git branch <current-branch>-agent-<N>
    
  2. Add a Git worktree inside a .worktrees/ directory (ensure .worktrees is in .gitignore):
    mkdir -p .worktrees
    git worktree add .worktrees/agent-<N> <current-branch>-agent-<N>
    
  3. Initialize the workspace: Navigate into the worktree and install dependencies:
    cd .worktrees/agent-<N>
    pnpm install
    # Copy any necessary environment files (e.g., cp ../../.env ./)
    

Step 2: Dispatch Sub-Agents

Dispatch a sub-agent to each initialized worktree concurrently.

For each sub-agent:

  1. Provide context: Give them the complete specification/ADR for the feature they need to build.
  2. Set the working directory: Ensure the sub-agent operates strictly within its assigned worktree (.worktrees/agent-<N>).
  3. Set the objective: Instruct the sub-agent to implement the entire feature, ensuring all tests pass within their worktree.
  4. Define output: Require a structured summary of their implementation approach, trade-offs made, and test results.

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. 7d ago First seen · 120 lines · 36 tokens per session scan A 2e1defce3e8b

Subscribe to this mod's changes

workflow-tournament is a skill published in the GitHub repository Kastalien-Research/thoughtbox (64 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 1,284 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-30.

Related

Other skills, from other repositories

commit-context

Trace a file, function, or line back to the agent session that produced its current commit. Use when the user asks "why is this code here", "what was the agent doing when this changed", "who wrote this", or wants context on a specific location in the codebase.

rohitg00/agentmemory · 61 tokens

commit-history

List recent git commits linked to agent sessions, optionally filtered by branch or repo. Use when the user asks "show agent commits", "what has the agent shipped", "list linked commits", or wants commits with their session context.

rohitg00/agentmemory · 49 tokens

baby-sit

Monitor a GitHub pull request until CI is green, diagnose failures, and rerun only evidence-backed flaky GitHub Actions jobs.

langchain-ai/open-swe · 30 tokens

release-and-publish

Ship a release end-to-end across every registry the project targets (npm, MCP Registry, GitHub Releases for .mcpb bundles, GHCR). Runs the final verification gate, pushes commits and tags, then publishes to each applicable destination. Assumes git wrapup (version bumps, changelog, commit, annotated tag) is already…

cyanheads/obsidian-mcp-server · 112 tokens

cyrus-setup-repository

Add one or more Git repositories to Cyrus configuration so it can process issues from those repos.

cyrusagents/cyrus · 25 tokens

polish-docs-meta

Finalize documentation and project metadata for a ship-ready release. Use after implementation is complete, tests pass, and devcheck is clean. Safe to run at any stage — each step checks current state and only acts on what still needs work.

cyanheads/git-mcp-server · 53 tokens