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.
npx agentmods add instructions/m2ux/workflow-server/agents-mdgit clone --depth 1 https://github.com/m2ux/workflow-serverWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.02527 | $0.02527 |
| Opus 5 | $0.01264 | $0.01264 |
| Sonnet 5 | $0.00505 | $0.00505 |
| Haiku 4.5 | $0.00253 | $0.00253 |
Grade A, and why
workflow-server 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Instructions for AI coding agents working in this repository (Workflow Orchestration MCP Server).
Project overview
This repo is an MCP server for AI agent workflow orchestration (TypeScript, Node.js 18+). Agents discover, navigate, and execute structured workflows via a Goal → Workflow → Activities → Techniques → Tools model. Workflow data lives in a workflows worktree (orphan branch); engineering artifacts live in .engineering/. See README.md for overview and docs/ide-setup.md for rule setup.
Setup commands
- Install:
npm install - Build:
npm run build - Run (stdio, default):
npm startornpm run dev - Run (HTTP):
npm run start:httpornpm run dev:http - Tests:
npm test(watch) /npm run test:ci(single run) - Typecheck:
npm run typecheck - Guards:
npm run check:all(every guard, one table) /npm run check:delta(only what your change added, against the merge-base) - Worktree setup:
npm run worktree:provision— checks out the submodules and makesnode_modulesresolvable, so guards and tests measure the worktree you are editing - A worktree is named for the branch it holds.
.worktrees/workflow/353-context-scoped-deliveryholdsworkflow/353-context-scoped-delivery— the branch name in full, slashes and all, as nested directories.git worktree listthen reads as a branch index, and a path in a command or a stack trace says which branch it belongs to without anyone inspecting itsHEAD. Rename withgit worktree move, which fixes the administrative files amvleaves dangling. - Workflow data:
git worktree add ./workflows workflows(see README.md, setup.md, stdio.md, http.md).
Code and doc style
- TypeScript; follow existing patterns in
src/andschemas/. - Use clear, professional language; no process attribution in code comments (e.g. “Added by agent”).
- Describe the design, not the change to it. Definitions (workflow, activity, technique, resource prose), code comments, doc comments, and commit subjects state the system as it is, in the present tense, without naming the design they replaced. A reader next year has no memory of the previous design, so naming it makes them learn a dead design just to parse the sentence — and the sentence rots the moment the thing it contrasts against is gone. Write
account for token usage per dispatch, notmove usage accounting off the transition and onto the dispatch; writecost travels on its own call, nota transition can only account for a dispatch it exits. Same for a value's absence: say what holds when it is missing, not what the old path did. Cut “instead of”, “no longer”, “previously”, “unchanged behaviour”, and any example that was true before the change and false after it. The workflow canon states the same discipline for definition prose as Document in Positive Present.- Keep a hazard that is still live, stated as an invariant. A marker is unreadable to a context that never received the bytes survives; this is why the old rule forbade it does not.
- PR and issue bodies are the exception, and so is a commit body. They exist to explain a change against what preceded it, and stop being read once merged — a reviewer needs the before-state to judge the change. Keep the narrative there and out of everything that persists. A measurement that is a tool's reason to exist may likewise be cited with its provenance.
- After a behaviour change, sweep for surviving descriptions of the old behaviour: doc comments, tool descriptions, technique
## Rules, resource prose, READMEs. A grep for the old phrasing finds most of them; a stale claim reads as current fact.
- Prefer removing the thing that needs a prohibition. When a change leaves prose warning "do not also use X", that usually means two paths now do one job. Retire one and the warning has nothing left to say — along with any validation or edge-case handling that existed only to police the overlap.
- Keep
CLAUDE.mdandAGENTS.mdin sync by merging, never by copying. They have diverged before, each gaining content the other lacked; overwriting one with the other silently drops the difference.
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.
- yesterday First seen · 105 lines · 2,527 tokens per session scan A 514e89e2342c
workflow-server AGENTS.md is an instructions file published in the GitHub repository m2ux/workflow-server (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 2,527 tokens to every session, about $0.0126 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-31.
Other instructions, from other repositories
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
buildNext
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
spec-kit AGENTS.md
Instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
langchain AGENTS.md
Instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.