claude-code-workflow-orchestration: Instructions file for Claude Code

CLAUDE.md

claude-code-workflow-orchestration CLAUDE.md is an instructions file for Claude Code from barkain/claude-code-workflow-orchestration. It costs 4,519 tokens per session, scanned B, original, MIT.

Repository instructions for a Claude Code workflow that coordinates coding tasks, including delegation rules, setup requirements, and commands for building, checking, and testing.

In plain words
What is it for?
Use it when working in this repository to understand its CLAUDE.md rules, prerequisites such as uv and bun, and available build, lint, and test commands.
Why use it?
It provides consistent project guidance and encourages multi-step work to be delegated through the repository’s workflow system.

Instructions file for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is barkain/claude-code-workflow-orchestration's own configuration. It tells Claude Code how to work on claude-code-workflow-orchestration 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 claude-code-workflow-orchestration configures →

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

Reuse

Borrowing it

Nothing to install: this file belongs to barkain/claude-code-workflow-orchestration. 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/barkain/claude-code-workflow-orchestration/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/barkain/claude-code-workflow-orchestration

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 claude-code-workflow-orchestration CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/barkain/claude-code-workflow-orchestration/claude-md/github.svg)](https://agentmods.dev/instructions/barkain/claude-code-workflow-orchestration/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/barkain/claude-code-workflow-orchestration/claude-md"><img src="https://agentmods.dev/badge/instructions/barkain/claude-code-workflow-orchestration/claude-md/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 claude-code-workflow-orchestration CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/barkain/claude-code-workflow-orchestration/claude-md"><img src="https://agentmods.dev/badge/instructions/barkain/claude-code-workflow-orchestration/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,519 This file is loaded in full into every session.
When invoked 4,519 The same file — it is already loaded in full.
Security scan B 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.04519 $0.04519
Opus 5.5 $0.01808 $0.01808
Sonnet 5.5 $0.00904 $0.00904
Haiku 4.5 $0.00452 $0.00452

Measured 1mo ago against content hash 4c260f58e51e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

claude-code-workflow-orchestration CLAUDE.md scanned grade B 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 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat .claude/state/delegation_violations.json # current per-turn nudge counter
CLAUDE.md · 299 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.


Delegation Policy (Soft Enforcement)

The framework nudges via stderr when the main agent uses work-doing tools (Bash, Edit, Write, Glob, Grep, MultiEdit, NotebookEdit) directly. Nudges never block. They escalate by per-turn violation count: silent → imperative STOP → imperative STOP (2nd call phrasing) → strong reminder explaining what's being lost. The counter resets each turn and zeros when /workflow-orchestrator:delegate runs. Read is not tracked — direct user-requested file reads are allowed.

The expected path for any multi-step or work-shaped request is:

/workflow-orchestrator:delegate <task description>

Subagents are immune (they're executing a delegation). New tools added by Claude Code never trigger nudges — only the 7 stable work primitives are tracked.


Prerequisites

  • uv - Python package manager (required for uvx, uv run)
  • bun - JavaScript runtime (for ccusage cost tracking in statusline)
  • jq - JSON processor (optional, for advanced features)

No pyproject.toml exists — all scripts use uv run --no-project --script mode.


Build, Lint, and Test Commands

uvx ruff format .                # Format code (auto-fix)
uvx ruff check --no-fix .       # Lint code (check only)
uvx pyright .                    # Type checking
uvx deadcode hooks/ scripts/    # Dead code detection

The PostToolUse hook enforces a specific ruff rule subset on edited Python files:

uvx ruff check --select F,E711,E712,UP006,UP007,UP035,UP037,T201,S <file>

CI workflow exists (.github/workflows/ci.yml) but tests are currently disabled/placeholder.


Available Commands

/workflow-orchestrator:delegate <task>   # Plan and execute task via native plan mode
/workflow-orchestrator:add-statusline    # Enable workflow status display

Installation:

  • Plugin: claude plugin install workflow-orchestrator@barkain-plugins
  • Manual: ./install.sh [--scope=user|project]

Read the full file on GitHub · 299 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 · 299 lines · 4,519 tokens per session scan B 4c260f58e51e

Subscribe to this mod's changes

claude-code-workflow-orchestration CLAUDE.md is an instructions file published in the GitHub repository barkain/claude-code-workflow-orchestration (88 stars, last pushed 2mo ago), licensed MIT. It adds 4,519 tokens to every session, about $0.0181 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories