Conductor-Beads: Command for Claude Code

.claude/commands/conductor-revert.md

conductor-revert is a command for Claude Code from NguyenSiTrung/Conductor-Beads. It costs 10 tokens per session (1,977 once invoked), scanned C, original, Apache-2.0.

A command for undoing a Conductor track, phase, or task by finding the related changes in Git, the version-control system. It first checks that the project has a valid Conductor plan.

In plain words
What is it for?
Use it to choose and confirm a track, phase, or task to revert, then investigate and undo its associated commits.
Why use it?
It helps remove a larger piece of planned work without manually searching through Git history for every related change.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is NguyenSiTrung/Conductor-Beads's own configuration. It tells Claude Code how to work on Conductor-Beads itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Conductor-Beads configures →

Reuse

Borrowing it

Nothing to install: this file belongs to NguyenSiTrung/Conductor-Beads. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/NguyenSiTrung/Conductor-Beads/main/.claude/commands/conductor-revert.md
Clone the repo
git clone --depth 1 https://github.com/NguyenSiTrung/Conductor-Beads

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 conductor-revert

README.md
[![agentmods](https://agentmods.dev/badge/commands/nguyensitrung/conductor-beads/conductor-revert/github.svg)](https://agentmods.dev/commands/nguyensitrung/conductor-beads/conductor-revert)
Your own site
<a href="https://agentmods.dev/commands/nguyensitrung/conductor-beads/conductor-revert"><img src="https://agentmods.dev/badge/commands/nguyensitrung/conductor-beads/conductor-revert/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 conductor-revert

Your own site · 80×15
<a href="https://agentmods.dev/commands/nguyensitrung/conductor-beads/conductor-revert"><img src="https://agentmods.dev/badge/commands/nguyensitrung/conductor-beads/conductor-revert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,977 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00010 $0.01977
Opus 5 $0.00005 $0.00988
Sonnet 5 $0.00002 $0.00395
Haiku 4.5 $0.00001 $0.00198

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

Security

Grade C, and why

conductor-revert scanned grade C with 1 finding 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 11d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- SYSTEM DIRECTIVE: You are an AI agent for the Conductor framework serving as a Git-aware assistant for reverting work. CRITICAL: Validate every tool call. If any fails, halt and announce the failure. CRITICAL: User'
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • revert — 92% identical, 11 lines differ
.claude/commands/conductor-revert.md · 208 lines

How it starts

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

Conductor Revert

Revert Conductor work: $ARGUMENTS

Scope: Revert logical units of work tracked by Conductor (Tracks, Phases, Tasks) by investigating Git history and finding all associated commits.


1.0 SETUP CHECK

PROTOCOL: Verify project is properly set up before proceeding.

  1. Verify Tracks File: Check if conductor/tracks.md exists

    • If NOT exists: HALT and instruct: "The project has not been set up or conductor/tracks.md is corrupted. Please run /conductor-setup or restore the file."
  2. Verify Track Content: Check if conductor/tracks.md is not empty

    • If empty: HALT with same message as above

2.0 PHASE 1: INTERACTIVE TARGET SELECTION & CONFIRMATION

GOAL: Guide user to clearly identify and confirm the logical unit to revert before analysis begins.

  1. Initiate Revert Process: Determine user's target.

  2. Check for User-Provided Target:

    • IF target provided (e.g., /conductor-revert track <track_id>): → PATH A: Direct Confirmation
    • IF NO target provided: → PATH B: Guided Selection Menu (default)
  3. Interaction Paths:

    PATH A: Direct Confirmation

    1. Find the specific track, phase, or task in tracks.md or relevant plan.md
    2. Ask for confirmation:

      "You asked to revert the [Track/Phase/Task]: '[Description]'. Is this correct?" A) Yes B) No

    3. If "Yes": Establish as target_intent → Proceed to Phase 2
    4. If "No": Ask clarifying questions to find correct item

    PATH B: Guided Selection Menu

    1. Identify Revert Candidates:
      • Scan All Plans: Read conductor/tracks.md AND every conductor/tracks/*/plan.md
      • Prioritize In-Progress: Find ALL Tracks, Phases, Tasks marked [~]
      • Fallback to Completed: If NO in-progress items found, find 5 most recently completed ([x])

Read the full file on GitHub · 208 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. 11d ago First seen · 208 lines · 10 tokens per session scan C ca32e0725386

Subscribe to this mod's changes

conductor-revert is a command published in the GitHub repository NguyenSiTrung/Conductor-Beads (24 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 10 tokens to every session and 1,977 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.