finesse-waves

finesse-waves is a command for coding agents from jonathanung/finesse. It costs 9 tokens per session (640 once invoked), scanned A, original, MIT.

A command for running several planned workflows in waves, with each workflow operating in its own Git worktree. A Git worktree is a separate working directory connected to the same repository.

In plain words
What is it for?
Starting wave sessions, viewing their status, attaching to them, stopping them, removing their worktrees, and manually merging their changes.
Why use it?
It organizes parallel work and provides commands to monitor, stop, clean up, and reconcile changes when workflows finish.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the finesse plugin — 6 skills, 13 commands, 14 agents, 2 hooks shipped together

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 commands/jonathanung/finesse/finesse-waves
Clone the repo
git clone --depth 1 https://github.com/jonathanung/finesse

Or install finesse, the plugin that ships this one along with the rest of its 6 skills, 13 commands, 14 agents, 2 hooks.

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 finesse-waves

README.md
[![agentmods](https://agentmods.dev/badge/commands/jonathanung/finesse/finesse-waves.svg)](https://agentmods.dev/commands/jonathanung/finesse/finesse-waves)
Your own site
<a href="https://agentmods.dev/commands/jonathanung/finesse/finesse-waves"><img src="https://agentmods.dev/badge/commands/jonathanung/finesse/finesse-waves.svg" alt="Measured on agentmods" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 640 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.00009 $0.00640
Opus 5 $0.00005 $0.00320
Sonnet 5 $0.00002 $0.00128
Haiku 4.5 $0.00001 $0.00064

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

Security

Grade A, and why

finesse-waves 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 3d 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/finesse/commands/finesse-waves.md · 73 lines

How it starts

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

Finesse Waves

Wave execution orchestration for multi-workflow plans. Launches parallel sub-workflows in isolated git worktrees via tmux, monitors completion, and handles merge reconciliation.

This command executes the waves orchestrator directly via Bash.

Determine Plugin Root

The plugin root is the directory containing this command file. Resolve it from ${CLAUDE_PLUGIN_ROOT} or by navigating from this file's location to the parent plugins/finesse/ directory.

Parse Subcommand

Parse $ARGUMENTS for the subcommand and optional session name.

If no arguments or empty $ARGUMENTS:

Show usage help:

Finesse Waves — Wave execution orchestration

Subcommands:
  start <session-name>    Parse execution-graph.md, show dry-run, launch waves
  status                  Show status of all active wave sessions
  attach <session-name>   Attach to tmux session for observation
  stop <session-name>     Gracefully stop a wave session
  cleanup <session-name>  Remove worktrees and tmux sessions
  merge <session-name>    Manually trigger merge reconciliation

Usage:
  /finesse-waves start my-api-project
  /finesse-waves status
  /finesse-waves attach my-api-project

If subcommand is recognized:

Execute the waves orchestrator directly via Bash. For the start subcommand, always pass --yes to skip the interactive confirmation prompt (since stdin piping does not work reliably from within Claude Code):

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/finesse_waves.py" start --yes <session-name>

For other subcommands (status, stop, cleanup, merge, attach):

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/finesse_waves.py" <subcommand> <session-name>

Where <subcommand> and <session-name> are taken from $ARGUMENTS.

Prerequisites

Before starting wave execution, ensure:

  1. A multi-workflow plan exists at finesse-plans/<session-name>/execution-graph.md
  2. tmux is installed and available
  3. git worktree support is available (Git 2.5+)
  4. claude CLI is accessible from the terminal

Read the full file on GitHub · 73 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. 3d ago First seen · 73 lines · 9 tokens per session scan A c4aced4f583f

Subscribe to this mod's changes

finesse-waves is a command published in the GitHub repository jonathanung/finesse (4 stars, last pushed 6mo ago), licensed MIT. It adds 9 tokens to every session and 640 once invoked, about $0.0000 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.