update-workflow-diagrams

update-workflow-diagrams is a command for Claude Code from Zts0hg/codexspec. It costs 16 tokens per session (371 once invoked), scanned A, original, MIT.

A repository-maintenance command for updating workflow diagrams and their README images across eight languages and light or dark themes.

In plain words
What is it for?
Use it when maintaining this repository's workflow diagrams, documentation images, or translations.
Why use it?
It provides a defined process for changing source diagrams, regenerating translated assets, and checking the results instead of editing generated files directly.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it when maintaining this repository's workflow diagrams, documentation images, or translations.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/zts0hg/codexspec/update-workflow-diagrams
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/Zts0hg/codexspec

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/zts0hg/codexspec/update-workflow-diagrams"><img src="https://agentmods.dev/badge/commands/zts0hg/codexspec/update-workflow-diagrams.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 371 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.00016 $0.00371
Opus 5.5 $0.00006 $0.00148
Sonnet 5.5 $0.00003 $0.00074
Haiku 4.5 $0.00002 $0.00037

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

Security

Grade A, and why

update-workflow-diagrams 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 10d 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.

.claude/commands/codexspec/update-workflow-diagrams.md · 40 lines

What it actually says

Repository Workflow Diagram Maintenance

This is repository-maintainer tooling, not a command installed into user projects. Use it for changes to this repository's workflow diagrams and their README assets.

User Input

$ARGUMENTS

Workflow

Read the selected checkout's AGENTS.md/CLAUDE.md, constitution and configuration. Before writes, load internal/command_templates/fragments/workspace-routing.md and use its ready output workspace throughout. Read the selected workspace's internal/workflow_diagrams/README.md and follow its complete update procedure; it is the shared authority for source files, regeneration, inspection and recovery. Use the configured interaction language when reporting results.

Translate catalog text using the Shared translation rules section of internal/references/doc-translation.md and docs/i18n/glossary.yml. The Markdown translation selectors are not catalog inputs. Preserve approved wording where its meaning is unchanged; review every affected locale for fidelity and natural usage.

Map the requested change to the canonical template, catalog or layout overrides. Keep generated locale files as outputs. Rebuild all eight editable diagrams and sixteen themed images, validate freshness and README references, and inspect actual renders. Adjust language-specific geometry or wrapping when needed; do not omit meaning or blindly shrink text to fit. Follow existing authorization for visual acceptance, and do not treat command success as proof of semantic/readability checks.

Report changed concepts/locales, actual checks and visual outcomes, outstanding limitations, and absolute paths to the requested previews. This command does not stage, commit, merge, push or release; an enclosing authorized workflow owns those steps after the update is complete.

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. 10d ago First seen · 40 lines · 16 tokens per session scan A 34d614252dfd

Subscribe to this mod's changes

update-workflow-diagrams is a command published in the GitHub repository Zts0hg/codexspec (6 stars, last pushed 9d ago), licensed MIT. It adds 16 tokens to every session and 371 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-10-17.