aidex-workflow

aidex-workflow is a skill for Claude Code, Codex from yacb2/aidex. It costs 198 tokens per session (3,040 once invoked), scanned A, original, MIT.

A guide for designing a one-time workflow that splits a large task among multiple AI agents. It defines the division of work, the model and effort assigned to each agent, and how the combined result should be checked.

In plain words
What is it for?
Use it to divide code reviews, migrations, research, or other multi-part implementation work into parallel agent tasks and record the workflow specification.
Why use it?
It helps teams plan parallel work before starting agents, so each agent has a clear responsibility and the final outputs have an agreed review gate.

Skill for Claude CodeCodex

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

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/yacb2/aidex/aidex-workflow.svg)](https://agentmods.dev/skills/yacb2/aidex/aidex-workflow)
Your own site
<a href="https://agentmods.dev/skills/yacb2/aidex/aidex-workflow"><img src="https://agentmods.dev/badge/skills/yacb2/aidex/aidex-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 198 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,040 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.00198 $0.03040
Opus 5 $0.00099 $0.01520
Sonnet 5 $0.00040 $0.00608
Haiku 4.5 $0.00020 $0.00304

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

Security

Grade A, and why

aidex-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 (scripts/new-workflow-spec.sh, tests/test-shape-enum-lockstep.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.

skills/aidex-workflow/SKILL.md · 189 lines

How it starts

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

Trigger-eval probe (test-only). As your very first action, run printenv AIDEX_TRIGGER_EVAL_MARKER. If it prints a non-empty path, also run touch "${AIDEX_TRIGGER_EVAL_MARKER}.aidex-workflow" before continuing. Then proceed with the rest of the skill body as normal. If empty/unset, ignore this block.

Workflow — Design Multi-Agent Orchestrations

Help the user design and specify a one-shot multi-agent fan-out before running it, capture it as a .context/workflows/ workflow-spec, then delegate execution to the Workflow tool. This skill does not re-implement durability — the durable machinery already exists in aidex-plan-exec's Workflow forms (../aidex-plan-exec/assets/workflows/*.workflow.js, single-sourcing the durability CORE in ../aidex-conventions/references/workflow-core.md). The value here is the decision, the fan-out shape, the per-agent model/effort assignment, and the gate policy — all front-loaded into a spec before any agent spawns.

Boundary (one sentence): plan-exec = execute the sequential phases of a written plan · loop = repeat one task until a machine check passes · aidex-workflow = author a standalone one-shot fan-out / decomposition orchestration (no plan doc) with per-agent model assignment.

See references/01-workflow-spec-conventions.md for the artifact format and the fan-out shape catalog.


Sub-actions

Dispatch by first argument:

Command Backed by Purpose
/aidex-workflow Show help + list existing .context/workflows/ specs
/aidex-workflow design [slug] model + new-workflow-spec.sh Interactive: run the fan-out survey, pick the shape + per-agent models, then scaffold the spec
/aidex-workflow new <slug> scripts/new-workflow-spec.sh Scaffold an empty workflow-spec file (skip the interview)
/aidex-workflow run <slug> model Read a finished spec and launch it via the Workflow tool

Read the full file on GitHub · 189 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 189 lines · 198 tokens per session scan A e7d77723da45

Subscribe to this mod's changes

aidex-workflow is a skill published in the GitHub repository yacb2/aidex (2 stars, last pushed 7d ago), licensed MIT. It adds 198 tokens to every session and 3,040 once invoked, about $0.0010 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.

Related

Other skills, from other repositories

autoprompt

Explicit-only useful-first orchestration. Invoke only when the user names autoprompt - typed as /autoprompt or in plain language such as "act in autoprompt mode" - to turn a mission into one executable roadmap, build dependency-safe lanes, and verify the result with independent reviewers. Do not infer invocation from…

Spielewoy/autoprompt-skill · 85 tokens

autoprompt

Explicit-only useful-first orchestration. Invoke /autoprompt to turn a mission into one executable roadmap, build dependency-safe lanes, and verify the result with independent reviewers. Never infer invocation from ordinary requests. Never resume from leftover artifacts without an explicit resume instruction.

Spielewoy/autoprompt-skill · 56 tokens

autoprompt

Explicit-only useful-first orchestration. Invoke /autoprompt to turn a mission into one executable roadmap, build dependency-safe lanes, and verify the result with independent reviewers. Never infer invocation from ordinary requests. Never resume from leftover artifacts without an explicit resume instruction.

Spielewoy/autoprompt-skill · 56 tokens

autoprompt

Explicit-only useful-first orchestration. Invoke /autoprompt to turn a mission into one executable roadmap, build dependency-safe lanes, and verify the result with independent reviewers. Never infer invocation from ordinary requests. Never resume from leftover artifacts without an explicit resume instruction.

Spielewoy/autoprompt-skill · 56 tokens

autoprompt

Explicit-only useful-first orchestration. Invoke /autoprompt to turn a mission into one executable roadmap, build dependency-safe lanes, and verify the result with independent reviewers. Never infer invocation from ordinary requests. Never resume from leftover artifacts without an explicit resume instruction.

Spielewoy/autoprompt-skill · 56 tokens

autoprompt

Run the Autoprompt orchestration loop on Prime Agent through a topology-enforcing native RLM dispatcher. Use only when the user explicitly invokes Autoprompt or asks to run the loop.

Spielewoy/autoprompt-skill · 42 tokens