Conductor-Beads: Command for Claude Code

.claude/commands/conductor-refresh.md

conductor-refresh is a command for Claude Code from NguyenSiTrung/Conductor-Beads. It costs 8 tokens per session (1,036 once invoked), scanned A, original, Apache-2.0.

A command for updating Conductor project notes so they match the current codebase.

In plain words
What is it for?
It is for refreshing technology, product, workflow, or track documents, showing the detected drift, and updating the approved files with backups and state information.
Why use it?
It identifies differences between project documentation and the actual dependencies, completed work, and development workflow.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/nguyensitrung/conductor-beads/conductor-refresh"><img src="https://agentmods.dev/badge/commands/nguyensitrung/conductor-beads/conductor-refresh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 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,036 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.00008 $0.01036
Opus 5 $0.00004 $0.00518
Sonnet 5 $0.00002 $0.00207
Haiku 4.5 $0.00001 $0.00104

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

Security

Grade A, and why

conductor-refresh 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 10d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • refresh — 97% identical, 4 lines differ
.claude/commands/conductor-refresh.md · 146 lines

How it starts

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

Conductor Refresh

Sync conductor context documentation with the current codebase state.

1. Verify Setup

Check conductor/ exists with core files. If not, suggest /conductor-setup.

2. Determine Scope

If no argument, ask:

  • all - Full refresh
  • tech - tech-stack.md only
  • product - product.md only
  • workflow - workflow.md only
  • track [id] - Specific track

3. Analyze Drift

Compare current codebase against docs:

  • Tech: Scan package.json, requirements.txt, etc. for new/removed deps
  • Product: Check completed tracks not reflected in product.md
  • Workflow: Check CI/CD changes, new tooling

4. Present Drift Report

Show what's changed since last setup/refresh.

5. Confirm Updates

Ask user to approve changes.

6. Apply Updates

  • Create backups (*.md.bak)
  • Update files with new information
  • Add refresh marker to top of files

7. Update State

Create/update conductor/refresh_state.json with timestamp and changes.

8. Commit

git add conductor/
git commit -m "conductor(refresh): Sync context with codebase"

8a. CONSOLIDATE LEARNINGS (Pattern Flywheel)

PROTOCOL: Aggregate and consolidate learnings across all tracks into project patterns.

  1. Scan All Track Learnings:

    • Read learnings.md from all tracks in conductor/tracks/*/
    • Read learnings.md from all archived tracks in conductor/archive/*/
  2. Extract Pattern Candidates:

    • Find patterns mentioned 2+ times across different tracks
    • Find gotchas that reoccur
    • Find context that applies project-wide
  3. Present Consolidation Report:

    "## Learnings Consolidation Report"

    Patterns found across tracks:

    Pattern Tracks Already in patterns.md?
    "Use Zod for validation" auth, api, users ❌ No
    "Barrel exports required" auth, config ✅ Yes

    New patterns to add: [list] Duplicate patterns to merge: [list]

    "Would you like to update conductor/patterns.md? (yes/no)"

Read the full file on GitHub · 146 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. 10d ago First seen · 146 lines · 8 tokens per session scan A 93fe6d6bcf6e

Subscribe to this mod's changes

conductor-refresh is a command published in the GitHub repository NguyenSiTrung/Conductor-Beads (24 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 8 tokens to every session and 1,036 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-30.