xflow

A command for the complete xflow workflow: planning, implementation, and independent evaluation. It gathers repository facts, asks unresolved questions, builds a structured plan, and dispatches work.

In plain words
What is it for?
Use it for larger changes that need clarified requirements, dependency-aware implementation, independent testing review, and a final completion decision.
Why use it?
It brings requirements, task ordering, implementation, testing, and final repair decisions into one controlled process.

Command for Claude Code

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/treex-x/workflowx/xflow
Clone the repo
git clone --depth 1 https://github.com/TreeX-X/WorkFlowX

Made for: Claude Code.

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 117 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.00008 $0.00117
Opus 5 $0.00004 $0.00059
Sonnet 5 $0.00002 $0.00023
Haiku 4.5 $0.00001 $0.00012

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

Security

Grade A, and why

xflow 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 2d 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.

.claude/commands/xflow.md · 13 lines

What it actually says

/xflow - Orchestrated Work

  • Use orchestrateX module 08 to explore repository facts, then run socratesX for unresolved user decisions.
  • Ask all unresolved questions from the current analysis phase in one batch; offer options only for real trade-offs.
  • Present one Ready Summary confirmation gate, then generate or update the Hybrid Tree.
  • Dispatch implementation work by dependency order.
  • Trigger evaluatorX where the workflow requires independent testing review.
  • Keep the final repair and completion decision with the Main Agent.
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. 2d ago First seen · 13 lines · 8 tokens per session scan A 6eeda4e9a36a

Subscribe to this mod's changes

xflow is a command published in the GitHub repository TreeX-X/WorkFlowX (55 stars, last pushed 2d ago), licensed MIT. It adds 8 tokens to every session and 117 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.