Agent skill

Workflow Optimizer

by hoangsonww in hoangsonww/Claude-Code-Agent-Monitor

Analyze workflow patterns using the Agent Monitor's workflow intelligence API — orchestration DAGs, tool flow transitions, subagent effectiveness, model delegation patterns, error propagation by…

MITAuto-check passedAgent Workflows

Install Workflow Optimizer

skills CLI
$ npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill workflow-optimizer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hoangsonww/Claude-Code-Agent-Monitor workflow-optimizer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hoangsonww/Claude-Code-Agent-Monitor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ccam-productivity/skills/workflow-optimizer .claude/skills/workflow-optimizer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
workflow-optimizer
GitHub stars
1.1k
Used in
1 other repo
Token cost
~997 tokens
SKILL.md length
406 words
Files
2
Skills in repo
78
Repo updated
First seen
Licence
MIT

At a glance

Analyze workflow patterns using the Agent Monitor's workflow intelligence API — orchestration DAGs, tool flow transitions, subagent effectiveness, model delegation patterns, error propagation by…

  • Works in 6 steps: Tool Flow Optimization → Subagent Strategy → Model Delegation Analysis → …
  • Tasks that involve Subagents
  • SKILL.md covers Input, Data Sources, Optimization Analyses and Output
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Workflow Optimizer is an agent skill from hoangsonww/Claude-Code-Agent-Monitor. Analyze workflow patterns using the Agent Monitor's workflow intelligence API — orchestration DAGs, tool flow transitions, subagent effectiveness, model delegation patterns, error propagation by depth, concurrency lanes, compaction impact, and agent co-occurrence. Produces prioritized optimization recommendations with quantified impact.

Its SKILL.md is about 1000 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Agent Workflows, covering Subagents. The repository describes itself as: 🚀 A real-time monitoring dashboard for Claude Code & Codex, built with SQLite3, Node.js, Express, React, Vite, TailwindCSS, & WebSockets. It tracks sessions, agent activity… The licence is MIT.

When your agent uses it

  • Tasks that involve Subagents

Example prompts

  • “/workflow-optimizer”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Tool Flow Optimization
  2. Subagent Strategy
  3. Model Delegation Analysis
  4. Error Prevention
  5. Concurrency Optimization
  6. Context Health

What it can do on your machine

Read from SKILL.md and the folder at commit e0f4a1a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Workflow Optimizer loads about 997 tokens when it runs. Until then it costs about 89 tokens; SKILL.md has 406 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~89
When it runs · the whole SKILL.md, loaded when a task matches
~997

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hoangsonww/Claude-Code-Agent-Monitor at commit e0f4a1a, republished under its MIT licence (© hoangsonww). 406 words, ~997 tokens.

Download SKILL.mdSave it as .claude/skills/workflow-optimizer/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
workflow-optimizer
description
Analyze workflow patterns using the Agent Monitor's workflow intelligence API — orchestration DAGs, tool flow transitions, subagent effectiveness, model delegation patterns, error propagation by depth, concurrency lanes, compaction impact, and agent co-occurrence. Produces prioritized optimization recommendations with quantified impact.

Workflow Optimizer

Analyze Claude Code workflows using the Agent Monitor's workflow intelligence engine.

Input

The user provides: $ARGUMENTS

Options: "analyze", a session ID for single-session analysis, or a focus: "tools", "subagents", "cost", "errors".

Data Sources

EndpointReturns
GET /api/sessions?limit=100Session list with metadata
GET /api/workflows/{sessionId}11 workflow datasets (see below)
GET /api/analyticsTool usage top 20, event types, agent types
GET /api/pricingModel pricing rules for cost comparison
Workflow Intelligence API (GET /api/workflows/{sessionId})

Returns these 11 datasets per session:

DatasetContent
statsAggregate session stats: tool count, agent depth, event count
orchestrationDAG: agent nodes with parent/child edges, depths, types
toolFlowTransition matrix: tool A → tool B with counts (common sequences)
effectivenessSubagent success: per-type completion rates, avg duration, task success
patternsRecurring sequences: detected workflow patterns with frequency
modelDelegationModel choices: which models are delegated which tasks
errorPropagationError flow by depth: where in the agent tree errors originate and propagate
concurrencyConcurrency lanes: overlapping agent execution timelines
complexityComplexity score: numerical score based on depth, breadth, tool diversity
compactionCompaction impact: token savings, frequency, context health
cooccurrenceAgent pairs: which agents frequently run together

Optimization Analyses

1. Tool Flow Optimization

From toolFlow transition data:

  • Identify the most common tool sequences (e.g., Read → Edit → Bash)
  • Find redundant transitions (same tool called repeatedly = retries)
  • Detect anti-patterns: high-frequency failure loops
  • Recommend tool chain shortcuts
2. Subagent Strategy

From effectiveness + orchestration:

  • Which subagent types (task, explore, code-review) have highest completion rates
  • Average duration per subagent type — are subagents taking too long?
  • Underutilized types: tasks that could benefit from delegation
  • Over-spawning: too many subagents for simple tasks
Show full SKILL.md (142 more words)Show less
3. Model Delegation Analysis

From modelDelegation:

  • Which models handle which task types
  • Cost-per-task comparison across models
  • Opportunities to delegate simple tasks to cheaper models (Haiku/Sonnet instead of Opus)
  • Calculate estimated savings from model rebalancing
4. Error Prevention

From errorPropagation:

  • Where errors originate (agent depth level)
  • How errors cascade to parent agents
  • Error types (APIError, tool failure) by frequency
  • Defensive strategies: which patterns lead to fewer errors
5. Concurrency Optimization

From concurrency:

  • Which agents run in parallel vs sequential
  • Bottlenecks: sequential agents that could be parallelized
  • Resource contention: overlapping heavy tasks
6. Context Health

From compaction:

  • How often compaction occurs per session
  • Token recovery from compaction baselines
  • Sessions that hit context limits — suggest breaking into smaller tasks

Output

Prioritized recommendations table:

#RecommendationSource DataImpactEffortEst. Savings

Top 5 recommendations with detailed explanation, supporting data from the workflow API, and implementation steps.

© hoangsonww, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in plugins/ccam-productivity/skills/workflow-optimizer of hoangsonww/Claude-Code-Agent-Monitor.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit e0f4a1a

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in hoangsonww/Claude-Code-Agent-Monitor, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Workflow Optimizer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Workflow Optimizer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Workflow Optimizer this skillhoangsonww/Claude-Code-Agent-Monitor1.1k1 repos~997Automated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official38k8 repos~2.8kAutomated safety check: PassApache-2.0
Subagent Driven DevelopmentAsvarox/allkaraoke26138 repos~1.2kAutomated safety check: PassNone
Dispatching Parallel Agentsultralisp/ultralisp25841 repos~1.5kAutomated safety check: PassNone
Paseo Advisor Second Opiniongetpaseo/paseo20k1 repos~756Automated safety check: PassCustom licence
Task Observerrebelytics/one-skill-to-rule-them-all3.2k1 repos~12kAutomated safety check: PassCC-BY-4.0

Similar skills

  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Subagent Driven Development

    Asvarox/allkaraoke

    A skill your agent uses when executing implementation plans with independent tasks in the current session

    261 GitHub starsUsed in 38 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Dispatching Parallel Agents

    ultralisp/ultralisp

    A skill your agent uses when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

    258 GitHub starsUsed in 41 repos~1.5k tokens
    Agent WorkflowsAuto-check passed
  • Launches one separate agent through Paseo to give a second opinion on the current task, with a self-contained briefing and no permission to edit files.

    20k GitHub starsUsed in 1 repo~756 tokens
    Agent WorkflowsAuto-check passed
  • Task Observer

    rebelytics/one-skill-to-rule-them-all

    Monitors task execution for skill improvement opportunities.

    3.2k GitHub starsUsed in 1 repo~12k tokens
    Agent WorkflowsAuto-check passed
  • O2 Review Loop

    openobserve/openobserve

    Splits a change into planner, coder and independent reviewer roles: you confirm a spec, a subagent implements it, and a separate reviewer checks each round's local WIP commit.

    22k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from hoangsonww/Claude-Code-Agent-Monitor

All 78 skills in this repo
  • Budget Set

    hoangsonww/Claude-Code-Agent-Monitor

    Define a spend budget for Claude Code and, optionally, create a cost alert rule that fires when usage crosses the limit, via POST /api/alerts/rules on the Agent Monitor dashboard.

    1.1k GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Version Release

    hoangsonww/Claude-Code-Agent-Monitor

    Choose and apply the correct semantic version bump for this repository.

    1.1k GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Cost Breakdown

    hoangsonww/Claude-Code-Agent-Monitor

    Break down Claude Code costs using the Agent Monitor pricing engine.

    1.1k GitHub starsUsed in 1 repo~845 tokens
    Auto-check passed
  • File Headers

    hoangsonww/Claude-Code-Agent-Monitor

    MANDATORY for every coding agent (Claude Code, Codex, or any other) on every change-set — every applicable source file the agent creates or updates MUST start with the project's copyright/authorship…

    1.1k GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Hook Diagnostics

    hoangsonww/Claude-Code-Agent-Monitor

    Diagnose Claude Code hook installation, delivery, and ingestion issues.

    1.1k GitHub starsUsed in 1 repo~676 tokens
    Auto-check passed
  • Memory Review

    hoangsonww/Claude-Code-Agent-Monitor

    Review the file-based memory store via the Agent Monitor Config Explorer API: the user and project CLAUDE.md plus per-project auto-memory files under ~/.claude/projects/<slug/memory/.md.

    1.1k GitHub starsUsed in 1 repo~970 tokens
    Auto-check passed

Categories

Questions about Workflow Optimizer

What does Workflow Optimizer do?

Analyze workflow patterns using the Agent Monitor's workflow intelligence API — orchestration DAGs, tool flow transitions, subagent effectiveness, model delegation patterns, error propagation by…. Workflow Optimizer is an agent skill from hoangsonww/Claude-Code-Agent-Monitor. Analyze workflow patterns using the Agent Monitor's workflow intelligence API — orchestration DAGs, tool flow transitions, subagent effectiveness, model delegation patterns, error propagation by depth, concurrency lanes, compaction impact, and agent co-occurrence.

When should I use Workflow Optimizer?

Workflow Optimizer fits situations like: tasks that involve Subagents.

How do I install Workflow Optimizer in Claude Code?

Run `npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill workflow-optimizer -a claude-code`. Or copy the skill folder (plugins/ccam-productivity/skills/workflow-optimizer in hoangsonww/Claude-Code-Agent-Monitor) into .claude/skills/workflow-optimizer in your project. Claude Code loads it when a task matches its description.

How do I install Workflow Optimizer in Codex?

Run `npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill workflow-optimizer -a codex`. Or copy the skill folder (plugins/ccam-productivity/skills/workflow-optimizer in hoangsonww/Claude-Code-Agent-Monitor) into .agents/skills/workflow-optimizer in your project. Codex loads it when a task matches its description.

Can I use Workflow Optimizer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill workflow-optimizer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/workflow-optimizer, .gemini/skills/workflow-optimizer, .github/skills/workflow-optimizer and .opencode/skills/workflow-optimizer in your project.

What does Workflow Optimizer need to run?

SKILL.md names no scripts, command-line tools or credentials: Workflow Optimizer is instructions for the agent only.

Does Workflow Optimizer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Workflow Optimizer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Workflow Optimizer use?

Workflow Optimizer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Workflow Optimizer use?

About 997 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Workflow Optimizer?

Skills that share tags, products or a category with Workflow Optimizer: Claude Code Agent Development (anthropics/claude-plugins-official, 38k stars), Subagent Driven Development (Asvarox/allkaraoke, 261 stars), Dispatching Parallel Agents (ultralisp/ultralisp, 258 stars) and Paseo Advisor Second Opinion (getpaseo/paseo, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Workflow Optimizer?

hoangsonww (a GitHub user) maintains it in hoangsonww/Claude-Code-Agent-Monitor, which has 1,052 GitHub stars. The repository holds 78 skills in this directory. The repository was last updated on October 6, 2026.

Source: hoangsonww/Claude-Code-Agent-Monitor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.