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, choose the best one, and merge it into the primary branch.

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

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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 Privilege Escalation · line 41
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
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.5 $0.00014 $0.00514
Sonnet 5.5 $0.00007 $0.00257
Haiku 4.5 $0.00004 $0.00128

Measured 1mo ago against content hash 2e1defce3e8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (65 stars, last pushed 3mo ago), licensed MIT. It adds 36 tokens to every session and 1,284 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

datalad

Retrieves, versions, and publishes scientific datasets with DataLad and git-annex, and captures computational provenance with datalad run, rerun, and containers-run. Use when cloning or fetching data from OpenNeuro, DANDI, datasets.datalad.org, or any DataLad dataset; when a file in a dataset reads as a broken symlink…

K-Dense-AI/scientific-agent-skills · 147 tokens

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

cyrus-setup-repository

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

cyrusagents/cyrus · 25 tokens

github-commenting

How to post clean, rich, deduplicated GitHub PR review comments — suggestion blocks, multi-line anchors, markers, formatting rules. Load before posting or fixing any PR comment.

juspay/neurolink · 41 tokens