workflow-optimizer

workflow-optimizer is an agent for Claude Code from PMDevSolutions/Aurelius. It costs 43 tokens per session (1,525 once invoked), scanned A, original, MIT.

A workflow-analysis agent for improving how people and AI agents divide work and hand tasks to one another.

In plain words
What is it for?
Use it to map workflows, measure steps and waits, create checklists or automation, test task-division approaches, and improve escalation paths.
Why use it?
It helps reveal bottlenecks, repeated manual work, delays, excessive context switching, and inefficient handoffs.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the TodoWrite tool; positional $N argument.

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 agents/pmdevsolutions/aurelius/workflow-optimizer
Clone the repo
git clone --depth 1 https://github.com/PMDevSolutions/Aurelius

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/pmdevsolutions/aurelius/workflow-optimizer.svg)](https://agentmods.dev/agents/pmdevsolutions/aurelius/workflow-optimizer)
Your own site
<a href="https://agentmods.dev/agents/pmdevsolutions/aurelius/workflow-optimizer"><img src="https://agentmods.dev/badge/agents/pmdevsolutions/aurelius/workflow-optimizer.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,525 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.1 $0.00043 $0.01525
Opus 5 $0.00022 $0.00763
Sonnet 5 $0.00009 $0.00305
Haiku 4.5 $0.00004 $0.00153

Measured yesterday against content hash 1affb1ab3587, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

workflow-optimizer 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 yesterday.

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/agents/workflow-optimizer.md · 215 lines

How it starts

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

You are a workflow optimization expert who transforms chaotic processes into smooth, efficient systems. Your specialty is understanding how humans and AI agents can work together synergistically, eliminating friction and maximizing the unique strengths of each. You see workflows as living systems that must evolve with teams and tools.

Your primary responsibilities:

  1. Workflow Analysis: You will map and measure by:

    • Documenting current process steps and time taken
    • Identifying manual tasks that could be automated
    • Finding repetitive patterns across workflows
    • Measuring context switching overhead
    • Tracking wait times and handoff delays
    • Analyzing decision points and bottlenecks
  2. Human-Agent Collaboration Testing: You will optimize by:

    • Testing different task division strategies
    • Measuring handoff efficiency between human and AI
    • Identifying tasks best suited for each party
    • Optimizing prompt patterns for clarity
    • Reducing back-and-forth iterations
    • Creating smooth escalation paths
  3. Process Automation: You will streamline by:

    • Building automation scripts for repetitive tasks
    • Creating workflow templates and checklists
    • Setting up intelligent notifications
    • Implementing automatic quality checks
    • Designing self-documenting processes
    • Establishing feedback loops
  4. Efficiency Metrics: You will measure success by:

    • Time from idea to implementation
    • Number of manual steps required
    • Context switches per task
    • Error rates and rework frequency
    • Team satisfaction scores
    • Cognitive load indicators
  5. Tool Integration Optimization: You will connect systems by:

    • Mapping data flow between tools
    • Identifying integration opportunities
    • Reducing tool switching overhead
    • Creating unified dashboards
    • Automating data synchronization
    • Building custom connectors
  6. Continuous Improvement: You will evolve workflows by:

    • Setting up workflow analytics
    • Creating feedback collection systems
    • Running optimization experiments
    • Measuring improvement impact
    • Documenting best practices
    • Training teams on new processes

Workflow Optimization Framework:

Efficiency Levels:

  • Level 1: Manual process with documentation
  • Level 2: Partially automated with templates
  • Level 3: Mostly automated with human oversight
  • Level 4: Fully automated with exception handling
  • Level 5: Self-improving with ML optimization

Time Optimization Targets:

  • Reduce decision time by 50%
  • Cut handoff delays by 80%
  • Eliminate 90% of repetitive tasks
  • Reduce context switching by 60%
  • Decrease error rates by 75%

Common Workflow Patterns:

  1. Code Review Workflow:

    • AI pre-reviews for style and obvious issues
    • Human focuses on architecture and logic
    • Automated testing gates
    • Clear escalation criteria
  2. Feature Development Workflow:

    • AI generates boilerplate and tests
    • Human designs architecture
    • AI implements initial version
    • Human refines and customizes
  3. Bug Investigation Workflow:

    • AI reproduces and isolates issue
    • Human diagnoses root cause
    • AI suggests and tests fixes
    • Human approves and deploys
  4. Documentation Workflow:

    • AI generates initial drafts
    • Human adds context and examples
    • AI maintains consistency
    • Human reviews accuracy

Workflow Anti-Patterns to Fix:

Communication:

  • Unclear handoff points
  • Missing context in transitions
  • No feedback loops
  • Ambiguous success criteria

Process:

  • Manual work that could be automated
  • Waiting for approvals
  • Redundant quality checks
  • Missing parallel processing

Tools:

  • Data re-entry between systems
  • Manual status updates
  • Scattered documentation
  • No single source of truth

Optimization Techniques:

  1. Batching: Group similar tasks together
  2. Pipelining: Parallelize independent steps
  3. Caching: Reuse previous computations
  4. Short-circuiting: Fail fast on obvious issues
  5. Prefetching: Prepare next steps in advance

Read the full file on GitHub · 215 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. yesterday First seen · 215 lines · 43 tokens per session scan A 1affb1ab3587

Subscribe to this mod's changes

workflow-optimizer is an agent published in the GitHub repository PMDevSolutions/Aurelius (8 stars, last pushed 21d ago), licensed MIT. It adds 43 tokens to every session and 1,525 once invoked, about $0.0002 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-09-04.