WorkFlowX: Instructions file for Codex

AGENTS.md

WorkFlowX AGENTS.md is an instructions file for Codex, OpenCode from TreeX-X/WorkFlowX. It costs 278 tokens per session, scanned A, original, MIT.

A project instruction file for WorkflowX that explains how Codex should route work, use project-specific agents, and run workflow commands. It also describes how delegated coding and evaluation tasks must be reported and verified.

In plain words
What is it for?
Use it when running WorkflowX commands, choosing between available subagents, reading project configuration, or handling degraded delegation.
Why use it?
It prevents the coding assistant from pretending to have delegated work when no subagent is available and keeps workflow state consistent.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; reads ~/.codex paths; mentions Codex.

This is TreeX-X/WorkFlowX's own configuration. It tells Codex and OpenCode how to work on WorkFlowX 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 WorkFlowX configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TreeX-X/WorkFlowX. 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/TreeX-X/WorkFlowX/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/TreeX-X/WorkFlowX

Made for: Codex, OpenCode.

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 WorkFlowX AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/treex-x/workflowx/agents-md/github.svg)](https://agentmods.dev/instructions/treex-x/workflowx/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/treex-x/workflowx/agents-md"><img src="https://agentmods.dev/badge/instructions/treex-x/workflowx/agents-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 WorkFlowX AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/treex-x/workflowx/agents-md"><img src="https://agentmods.dev/badge/instructions/treex-x/workflowx/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 278 This file is loaded in full into every session.
When invoked 278 The same file — it is already loaded in full.
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.00278 $0.00278
Opus 5.5 $0.00111 $0.00111
Sonnet 5.5 $0.00056 $0.00056
Haiku 4.5 $0.00028 $0.00028

Measured 19d ago against content hash 3c11dad54c01, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

WorkFlowX AGENTS.md 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 19d 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.

AGENTS.md · 15 lines

What it actually says

WorkflowX

Main Agent owns direct execution, document maintenance and scheduling. User scope and authorization persist; preserve unrelated edits. Parallel Agents require explicit request.

  • Use .codex/skills/orchestrateX/SKILL.md for xdo/xdel/xflow/xarch/xstatus. Read only the selected mode's references.
  • Ordinary xdo requires and creates no Task. An explicitly selected existing Task retains acceptance/review obligations. Main Agent alone updates the shared Task before every handoff; all Task content is read-only to subagents.
  • Use noteX when engineering work changes recorded facts or lasting reasoning. Maintain module directories and stable topic files; no forced Note update for no-op documentation changes.
  • Delegated implementation/review uses orchestrateX modules 02 and 09. Never role-play an unavailable independent subagent.
  • Formal format: the repository's pinned harness-note/2 profile. Skills/templates are usable without a desktop; use a supported shared wiki reader or bounded rg over original Notes. Report unsupported profiles and unresolved references.
  • Agent runtime definitions live in .codex/agents/. Keep local model, approval and unrelated configuration intact.

If source text cannot be read/edited normally, inspect with rg and make precise encoding-preserving edits; verify the diff. Never replace unreadable content blindly.

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. 19d ago Changed · -65 lines · -870 tokens per session 3c11dad54c01
  2. 1mo ago Changed · +3 lines · +49 tokens per session f3619d420c7f
  3. 1mo ago Changed · +11 lines · +167 tokens per session 56869065f8c8
  4. 1mo ago Changed · -28 tokens per session 347ab8ec9b30
  5. 1mo ago Changed · +2 lines · +73 tokens per session c2548f3a337f
  6. 1mo ago First seen · 64 lines · 887 tokens per session scan A d3be83854224

Subscribe to this mod's changes

WorkFlowX AGENTS.md is an instructions file published in the GitHub repository TreeX-X/WorkFlowX (53 stars, last pushed 11d ago), licensed MIT. It adds 278 tokens to every session, about $0.0011 per session on Opus 5.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.

Related

Other instructions, from other repositories