init

init is a command for Claude Code from GxFn/Wakeflow. It costs 18 tokens per session (713 once invoked), scanned A, original, MIT.

A Wakeflow command for previewing and applying a new version 3 workspace setup. It can also reconfigure or reconcile an existing setup.

In plain words
What is it for?
Use it to initialize, reconfigure, reconcile, or recover a Wakeflow workspace while preserving the confirmed plan and avoiding automatic work dispatch.
Why use it?
It shows the exact planned changes and any blockers before making them, reducing the risk of applying an unintended workspace configuration.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to initialize, reconfigure, reconcile, or recover a Wakeflow workspace while preserving the confirmed plan and avoiding automatic work dispatch.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gxfn/wakeflow/init
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.

Clone the repo
git clone --depth 1 https://github.com/GxFn/Wakeflow

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 init

README.md
[![agentmods](https://agentmods.dev/badge/commands/gxfn/wakeflow/init/github.svg)](https://agentmods.dev/commands/gxfn/wakeflow/init)
Your own site
<a href="https://agentmods.dev/commands/gxfn/wakeflow/init"><img src="https://agentmods.dev/badge/commands/gxfn/wakeflow/init/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 init

Your own site · 80×15
<a href="https://agentmods.dev/commands/gxfn/wakeflow/init"><img src="https://agentmods.dev/badge/commands/gxfn/wakeflow/init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 713 The whole file, excluding the scripts and references it only reads on demand.
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.00018 $0.00713
Opus 5.5 $0.00007 $0.00285
Sonnet 5.5 $0.00004 $0.00143
Haiku 4.5 $0.00002 $0.00071

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

Security

Grade A, and why

init 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 9d 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.

assets/agent-text/commands/init.md · 41 lines

What it actually says

Set up or repair the Wakeflow workspace for this directory.

On a directory without a workspace, read that skill's references/first-run.md before asking anything: the session you are in only bootstraps and never becomes the Controller; it ends with the handover card.

Load the wakeflow-controller skill and follow its "Step 0 - Initialize or maintain the workspace" section; the depth is in its references/workspace-maintenance.md.

First tool call: wakeflow_maintain_workspace in preview, after you have asked the user for the choices the intent needs (program identity, repositories, surfaces, storage root) - on an existing workspace, preview the reconcile intent instead and report what it found. The fresh-initialize selection has six parts - program, presentation, topology (repositories, support surfaces, windows), storage, governance, hosts - and its exact shape is the tool's input schema in your tool list: build the request from that schema, never from plugin files on disk (every selectionKey in it is unique across repositories, surfaces and windows). hosts.claude-code.windowTransport is the window transport - tmux panes or desktop sessions in the desktop app's Code tab: propose the one this session's surroundings support (desktop when it has the desktop app's session tools, tmux otherwise), say what each means, and let the user pick the other one if they prefer; one transport per workspace. A later reconfigure can switch the transport when no Demand is active and no worktree pod is open; afterwards you relaunch and register every window with the new transport's helper. A refusal names the failing path and rule (details.schema, for example required:storage); fix that field and preview again. Recommend owner-managed for every repository unless the user asks for Wakeflow's managed block, and say that a committed block is seen by every clone. fresh-legacy-residue-present lists what it found as fresh-legacy-residue-<kind> codes; the user removes residue themselves - a sibling ../wakeflow-ledger directory that is another workspace's live ledger is not residue. Residue listed under a repository root is removed by the user before a window is launched there. When the user wants to add a product repository to an existing workspace, preview the reconfigure intent the reference describes for that. When they want a repository taken out of Wakeflow, or Wakeflow stopped here, preview the detach-repository or detach-workspace intent the reference describes - never delete Wakeflow's files by hand. The directory must already be a Git repository of its own; if the preview reports gitignore-git-repository, tell the user, run git init there yourself once they agree, and preview again.

Preview writes nothing. Show the user the plan and every blocker it returned, apply only with exactly what that preview returned, and only after they say to.

Then continue with "Step 1 - Open windows and register their bindings": launch each window the result asks for and register what you observed with wakeflow_register_window_binding.

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. 9d ago Changed dd5e8c2e1480
  2. 15d ago Changed 11cd81b01d7c
  3. 28d ago Changed 10178ebbbfdd
  4. 1mo ago Changed eeb2bea0083b
  5. 1mo ago Changed · +4 lines 2ddf73d37f70
  6. 1mo ago Changed · +10 lines 859c9ecd6903
  7. 2mo ago Changed 3103f7ada35b
  8. 2mo ago Changed · -14 lines · +7 tokens per session 767fcef57bab
  9. 3mo ago First seen · 41 lines · 11 tokens per session scan A 4dd0be23b555

Subscribe to this mod's changes

init is a command published in the GitHub repository GxFn/Wakeflow (5 stars, last pushed today), licensed MIT. It adds 18 tokens to every session and 713 once invoked, about $0.0001 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-31.

Related

init compared with commands from other repositories

init next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
initGxFn/WakeflowCommand5todayMITA18Claude Code
release-flowcoo1white/cool-workflowCommand25d agoBSD-2-ClauseA20Claude Code
releasecoo1white/cool-workflowCommand25d agoBSD-2-ClauseA27Claude Code
lians-recallLians-ai/LiansCommand1721d agoApache-2.0A19Claude Code
arckit.uk-food-record-sheetstractorjuice/arckit-codexCommand196d agononeA73Claude Code
arckit.fr-rgpdtractorjuice/arckit-codexCommand196d agononeA34Claude Code
arckit.traceabilitytractorjuice/arckit-codexCommand196d agononeA11Claude Code