codex-dynamic-workflows

codex-dynamic-workflows is a skill for Claude Code, Codex from bahayonghang/my-ai-cli-toolkit. It costs 78 tokens per session (2,380 once invoked), scanned A, original, MIT.

A workflow guide for deciding when a coding task should be split among several AI agents working in parallel, with defined work packets and checks.

In plain words
What is it for?
Use it for explicitly requested swarms, subagents, or multi-agent workflows, and for larger tasks that need coordinated research, implementation, review, and verification.
Why use it?
It helps prevent unnecessary coordination for small tasks and reduces confusion when research, coding, review, and testing must fit together.

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/bahayonghang/my-ai-cli-toolkit/codex-dynamic-workflows
Any agent
npx skills add bahayonghang/my-ai-cli-toolkit --skill codex-dynamic-workflows
Clone the repo
git clone --depth 1 https://github.com/bahayonghang/my-ai-cli-toolkit

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 codex-dynamic-workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/codex-dynamic-workflows.svg)](https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/codex-dynamic-workflows)
Your own site
<a href="https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/codex-dynamic-workflows"><img src="https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/codex-dynamic-workflows.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,380 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.00078 $0.02380
Opus 5 $0.00039 $0.01190
Sonnet 5 $0.00016 $0.00476
Haiku 4.5 $0.00008 $0.00238

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

Security

Grade A, and why

codex-dynamic-workflows 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 4 executable files (scripts/collect_results.py, scripts/new_workflow.py, scripts/verify_workflow.py, …), 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/development-workflows/codex-dynamic-workflows/SKILL.md · 276 lines

How it starts

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

AI Agent Dynamic Workflows

Use this skill to decide whether a Codex task needs dynamic workflow orchestration, then safely shape and run that workflow only when the trigger is real. A valid workflow has an explicit success contract, disjoint work packets, an integration policy, and verification matched to risk.

This skill works in agents that support skills. Do not claim that a local script can call subagent tools unless the current environment exposes such a runner. When no programmable runner exists, create a human-readable orchestration artifact, simulate packets locally, and operate only through the available agent tools.

Trigger Boundary

Trigger this skill when the user explicitly asks for one of these ideas:

  • swarm, subagents, parallel agents, multi-agent workflow, dynamic workflow, agent orchestration
  • 多智能体、多 agent、并行智能体、动态工作流、编排、分包执行
  • a coordinated workflow that combines research, implementation, review, and verification across independent packets

Do not trigger this skill for these prompts by themselves:

  • ordinary code review or PR review
  • planning-only discussion or an implementation plan with no execution orchestration request
  • a single-thread bugfix, typo fix, local script edit, or small refactor
  • a routine audit or migration where one agent can inspect, edit, and verify directly
  • broad words such as “large”, “audit”, or “migration” without a packeted orchestration need

If a prompt names this skill explicitly but the task is too small, say that full orchestration is unnecessary and proceed directly without creating workflow artifacts unless the user asked for durable artifacts.

Decision Rule

Use dynamic orchestration when the explicit trigger is present or at least two independent workflow dimensions are present:

  • research or dependency/API investigation
  • implementation across disjoint files or modules
  • dedicated review, security, risk, or UX packet
  • test, QA, migration dry-run, or verification packet
  • docs, examples, rollout, or operational handoff packet
  • reusable workflow recipe or durable artifact needed for later runs

Read the full file on GitHub · 276 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 · 276 lines · 78 tokens per session scan A 22c54cf96bf6

Subscribe to this mod's changes

codex-dynamic-workflows is a skill published in the GitHub repository bahayonghang/my-ai-cli-toolkit (16 stars, last pushed 4d ago), licensed MIT. It adds 78 tokens to every session and 2,380 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

repository-manager-parallel-lane-orchestration

Run a program as one central orchestrator plus many parallel worker agents: brief each lane, land its branch into main locally the moment it arrives, prune the branch and worktree immediately, and push only once the program is complete. Covers the lane briefing contract, land-as-they-arrive merge discipline…

Knuckles-Team/repository-manager · 191 tokens

crewai-multi-agent

Multi-agent orchestration framework for autonomous AI collaboration. Use when building teams of specialized agents working together on complex tasks, when you need role-based agent collaboration with memory, or for production workflows requiring sequential/hierarchical execution. Built without LangChain dependencies…

davila7/claude-code-templates · 61 tokens

bump-mthds

Move this repo's exact mthds dependency pin to the latest release on PyPI (or a version you name), re-lock, adapt the engine source to whatever the new release broke, run the checks, and write the CHANGELOG entry — stopping before the commit. Use whenever the user says "bump mthds", "update mthds", "upgrade mthds"…

Pipelex/pipelex · 286 tokens

add-migration

Write a migration ledger entry for a configuration schema change in pipelex, so that a user's existing file can be repaired instead of thrown away. Use when make check-migration-schemas (alias cmig) or make check-ledger (alias cl) refuses a change, when the user says "add a migration", "write the ledger entry", "the…

Pipelex/pipelex · 154 tokens

add-model

Add a new AI model to the Pipelex inference system. Guides through all required steps: backend TOML configuration (OpenAI, Azure, Anthropic, Google, etc.), kit sync, test profile collections, and fixture regeneration. Use when the user says "add a model", "add GPT-X", "add Claude X", "new model", "register a model"…

Pipelex/pipelex · 131 tokens

release

Automates the Pipelex release workflow: bumps the version in pyproject.toml, finalizes the CHANGELOG.md Unreleased section, runs quality checks, creates a release/vX.Y.Z branch, commits, pushes, and opens a PR to main. Use when user says "release", "cut a release", "bump version", "prepare a release", "make a…

Pipelex/pipelex · 138 tokens