Wakeflow AGENTS.md

Repository instructions for maintaining Wakeflow, a plugin that provides coding-agent guidance and tools. They define the project scope, safety rules, ownership boundaries, and Git practices.

In plain words
What is it for?
Use them when modifying Wakeflow to inspect existing changes, stay within scope, avoid destructive Git operations, and follow its authorization rules.
Why use it?
They help prevent changes from spilling into product repositories or accidentally overwriting other contributors’ work.

Instructions file for CodexOpenCode

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 instructions/gxfn/wakeflow/agents-md
Clone the repo
git clone --depth 1 https://github.com/GxFn/Wakeflow

Made for: Codex, OpenCode.

Per session 1,259 This file is loaded in full into every session.
When invoked 1,259 The same file — it is already loaded in full.
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.01259 $0.01259
Opus 5 $0.00629 $0.00629
Sonnet 5 $0.00252 $0.00252
Haiku 4.5 $0.00126 $0.00126

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

Security

Grade A, and why

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

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 112 lines

How it starts

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

Wakeflow Source Repository Instructions

This checkout is the development repository for the Wakeflow Codex and Claude Code plugin artifacts. Work here maintains Wakeflow itself; it is not an installed controller workspace and it does not own the product repositories used to test Wakeflow.

Nested AGENTS.md files inside plugin artifacts describe the behavior shipped to installed controller workspaces. They remain product inputs and test surfaces. Do not mistake their controller-role restrictions for a prohibition on authorized Wakeflow source maintenance in this repository.

Scope And Safety

  • Follow the user's requested scope. Do not expand a Wakeflow change into an Alembic product change or another external repository.
  • Preserve pre-existing and unrelated working-tree changes. Inspect git status --short --branch and the relevant diff before editing.
  • Do not use destructive Git operations such as git reset --hard, discard another contributor's changes, or rewrite history unless the user explicitly authorizes that exact operation.
  • Do not commit, push, tag, publish, or refresh an installed plugin cache unless the user explicitly requests that action. Authorization for one of these actions does not imply authorization for the others.
  • Use only explicitly designated disposable workspaces for destructive runtime tests. Never treat a real product repository as a Wakeflow fixture.
  • Keep secrets, tokens, private thread identifiers, local absolute paths, and machine-specific cache paths out of committed source, fixtures, and docs.

Source Ownership

  • core/ is the canonical source for host-neutral runtime files shared by both plugin artifacts.
  • Make shared changes in core/, then run node tools/sync-core.mjs. Do not directly maintain the generated copies under plugins/codex-wakeflow/ or plugins/claude-code-wakeflow/.
  • After synchronization, run node tools/sync-core.mjs --check and inspect the resulting diff in both artifacts.
  • Host-specific files stay in their artifact. This includes host profiles, host artifact checks, host send adapters, manifests, host memory files, READMEs, skills, and template bundles. Do not add a host branch to core/ when the difference belongs at a host seam.
  • Shared code may consume values supplied by a host profile; it must not infer Codex-versus-Claude behavior through ad hoc host checks.
  • Treat plugin cache directories as installed outputs, never as source. Modify this checkout first and refresh a cache only from a validated plugin artifact when the user asks for it.

Read the full file on GitHub · 112 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. 2d ago First seen · 112 lines · 1,259 tokens per session scan A e97cc156bc14

Subscribe to this mod's changes

Wakeflow AGENTS.md is an instructions file published in the GitHub repository GxFn/Wakeflow (5 stars, last pushed 8d ago), licensed MIT. It adds 1,259 tokens to every session, about $0.0063 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.