init-workflow

init-workflow is a skill for Claude Code, Codex from cunhaax/ai-workflow. It costs 114 tokens per session (5,323 once invoked), scanned A, original, MIT.

A planning skill that creates and validates the project files needed for an AI-assisted coding workflow.

In plain words
What is it for?
It can scaffold or update project-owned guidance such as AGENTS.md, connect planning and review documentation, detect commands, request confirmation before writing, and verify the setup repeatedly.
Why use it?
It reduces setup mistakes by detecting missing files and project commands, adapting the workflow to the repository, and checking that review requirements work.

Skill for Claude CodeCodex

Part of the ai-workflow plugin — 8 skills, 4 agents, 2 MCP servers shipped together

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 skills/cunhaax/ai-workflow/init-workflow
Any agent
npx skills add cunhaax/ai-workflow --skill init-workflow
Clone the repo
git clone --depth 1 https://github.com/cunhaax/ai-workflow

Made for: Claude Code, Codex.

Or install ai-workflow, the plugin that ships this one along with the rest of its 8 skills, 4 agents, 2 MCP servers.

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-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/cunhaax/ai-workflow/init-workflow.svg)](https://agentmods.dev/skills/cunhaax/ai-workflow/init-workflow)
Your own site
<a href="https://agentmods.dev/skills/cunhaax/ai-workflow/init-workflow"><img src="https://agentmods.dev/badge/skills/cunhaax/ai-workflow/init-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,323 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.00114 $0.05323
Opus 5 $0.00057 $0.02661
Sonnet 5 $0.00023 $0.01065
Haiku 4.5 $0.00011 $0.00532

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

Security

Grade A, and why

init-workflow 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (templates/scripts/check-hook-status.sh, templates/scripts/review-ok.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/ai-workflow/skills/init-workflow/SKILL.md · 379 lines

How it starts

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

/init-workflow — Bootstrap and Validate the Workflow

Run this skill inside a project once this plugin is installed. It scaffolds whichever project-owned files are missing from this skill's bundled templates — independently of one another, so a project can already have its own AGENTS.md, its own CLAUDE.md, or none of it — then fills them with this project's facts, interactively, and verifies the setup end to end. It is idempotent — re-run it after a plugin update or whenever setup drift is suspected, and it acts as a doctor, reporting what is missing rather than redoing what is already filled.

Division of labor: this skill scaffolds, adapts, and validates project-owned files. It never edits the plugin's own mechanism — the skills, sub-agents, and the plugin's own documentation are off limits; updates to those come from updating the plugin itself, not from this skill.

Ground rules:

  • Propose, then write. Every value you detect is a proposal until the user confirms it. Batch the confirmations (one round for the initial scaffold, one for commands, one for AGENTS.md sections, one for review and planning guidance) instead of asking one question at a time — Step 4's own "do you already have docs?" question is a separate, necessarily-first round of its own, since it decides what the rest of that step even asks. Never invent facts about the project; where the user defers, leave an explicit [TODO: …] rather than a guess.
  • Keep AGENTS.md lean. You are filling a map, not writing the territory — one line per command, one line per module, one bullet per sensitive area. Depth belongs in docs/.

Step 1 — Scaffold if needed, then assess the current state

Every file under ${CLAUDE_SKILL_DIR}/templates/ maps to a project-relative destination (this is the plugin's canonical enumeration — see the file tree in the plugin's own documentation, kept in sync with this directory by rule), except docs/agent-rules/code-critic.md and docs/agent-rules/plan-critic.md, which Step 4 creates (or doesn't, if the project already has equivalent docs) once it knows the answer; writing them here too would leave an orphaned stub if Step 4 points elsewhere instead. Check every other mapped file's destination on its own trigger — one file's presence never gates another's, since a project can have hand-written its own AGENTS.md long before adopting this plugin's review gate, or vice versa:

Read the full file on GitHub · 379 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. 4d ago First seen · 379 lines · 114 tokens per session scan A fa0fd964590f

Subscribe to this mod's changes

init-workflow is a skill published in the GitHub repository cunhaax/ai-workflow (5 stars, last pushed 7d ago), licensed MIT. It adds 114 tokens to every session and 5,323 once invoked, about $0.0006 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.