[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F6ZAGKTRC959F538F83F4G":3,"skill-same:01M7F6ZAGKTRC959F538F83F4G":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7F6ZAGKTRC959F538F83F4G","workflow-optimizer",null,"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.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fworkflow-optimizer\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: workflow-optimizer\ndescription: >\n  Analyze workflow patterns using the Agent Monitor's workflow intelligence\n  API — orchestration DAGs, tool flow transitions, subagent effectiveness,\n  model delegation patterns, error propagation by depth, concurrency lanes,\n  compaction impact, and agent co-occurrence. Produces prioritized optimization\n  recommendations with quantified impact.\n---\n\n# Workflow Optimizer\n\nAnalyze Claude Code workflows using the Agent Monitor's workflow intelligence engine.\n\n## Input\n\nThe user provides: **$ARGUMENTS**\n\nOptions: \"analyze\", a session ID for single-session analysis, or a focus: \"tools\", \"subagents\", \"cost\", \"errors\".\n\n## Data Sources\n\n| Endpoint | Returns |\n|----------|---------|\n| `GET \u002Fapi\u002Fsessions?limit=100` | Session list with metadata |\n| `GET \u002Fapi\u002Fworkflows\u002F{sessionId}` | **11 workflow datasets** (see below) |\n| `GET \u002Fapi\u002Fanalytics` | Tool usage top 20, event types, agent types |\n| `GET \u002Fapi\u002Fpricing` | Model pricing rules for cost comparison |\n\n### Workflow Intelligence API (`GET \u002Fapi\u002Fworkflows\u002F{sessionId}`)\n\nReturns these 11 datasets per session:\n\n| Dataset | Content |\n|---------|---------|\n| `stats` | Aggregate session stats: tool count, agent depth, event count |\n| `orchestration` | **DAG**: agent nodes with parent\u002Fchild edges, depths, types |\n| `toolFlow` | **Transition matrix**: tool A → tool B with counts (common sequences) |\n| `effectiveness` | **Subagent success**: per-type completion rates, avg duration, task success |\n| `patterns` | **Recurring sequences**: detected workflow patterns with frequency |\n| `modelDelegation` | **Model choices**: which models are delegated which tasks |\n| `errorPropagation` | **Error flow by depth**: where in the agent tree errors originate and propagate |\n| `concurrency` | **Concurrency lanes**: overlapping agent execution timelines |\n| `complexity` | **Complexity score**: numerical score based on depth, breadth, tool diversity |\n| `compaction` | **Compaction impact**: token savings, frequency, context health |\n| `cooccurrence` | **Agent pairs**: which agents frequently run together |\n\n## Optimization Analyses\n\n### 1. Tool Flow Optimization\nFrom `toolFlow` transition data:\n- Identify the most common tool sequences (e.g., Read → Edit → Bash)\n- Find redundant transitions (same tool called repeatedly = retries)\n- Detect anti-patterns: high-frequency failure loops\n- Recommend tool chain shortcuts\n\n### 2. Subagent Strategy\nFrom `effectiveness` + `orchestration`:\n- Which subagent types (task, explore, code-review) have highest completion rates\n- Average duration per subagent type — are subagents taking too long?\n- Underutilized types: tasks that could benefit from delegation\n- Over-spawning: too many subagents for simple tasks\n\n### 3. Model Delegation Analysis\nFrom `modelDelegation`:\n- Which models handle which task types\n- Cost-per-task comparison across models\n- Opportunities to delegate simple tasks to cheaper models (Haiku\u002FSonnet instead of Opus)\n- Calculate estimated savings from model rebalancing\n\n### 4. Error Prevention\nFrom `errorPropagation`:\n- Where errors originate (agent depth level)\n- How errors cascade to parent agents\n- Error types (APIError, tool failure) by frequency\n- Defensive strategies: which patterns lead to fewer errors\n\n### 5. Concurrency Optimization\nFrom `concurrency`:\n- Which agents run in parallel vs sequential\n- Bottlenecks: sequential agents that could be parallelized\n- Resource contention: overlapping heavy tasks\n\n### 6. Context Health\nFrom `compaction`:\n- How often compaction occurs per session\n- Token recovery from compaction baselines\n- Sessions that hit context limits — suggest breaking into smaller tasks\n\n## Output\n\nPrioritized recommendations table:\n\n| # | Recommendation | Source Data | Impact | Effort | Est. Savings |\n|---|---------------|-------------|--------|--------|-------------|\n\nTop 5 recommendations with detailed explanation, supporting data from the workflow API, and implementation steps.\n","# Workflow Optimizer\n\nAnalyze Claude Code workflows using the Agent Monitor's workflow intelligence engine.\n\n## Input\n\nThe user provides: **$ARGUMENTS**\n\nOptions: \"analyze\", a session ID for single-session analysis, or a focus: \"tools\", \"subagents\", \"cost\", \"errors\".\n\n## Data Sources\n\n| Endpoint | Returns |\n|----------|---------|\n| `GET \u002Fapi\u002Fsessions?limit=100` | Session list with metadata |\n| `GET \u002Fapi\u002Fworkflows\u002F{sessionId}` | **11 workflow datasets** (see below) |\n| `GET \u002Fapi\u002Fanalytics` | Tool usage top 20, event types, agent types |\n| `GET \u002Fapi\u002Fpricing` | Model pricing rules for cost comparison |\n\n### Workflow Intelligence API (`GET \u002Fapi\u002Fworkflows\u002F{sessionId}`)\n\nReturns these 11 datasets per session:\n\n| Dataset | Content |\n|---------|---------|\n| `stats` | Aggregate session stats: tool count, agent depth, event count |\n| `orchestration` | **DAG**: agent nodes with parent\u002Fchild edges, depths, types |\n| `toolFlow` | **Transition matrix**: tool A → tool B with counts (common sequences) |\n| `effectiveness` | **Subagent success**: per-type completion rates, avg duration, task success |\n| `patterns` | **Recurring sequences**: detected workflow patterns with frequency |\n| `modelDelegation` | **Model choices**: which models are delegated which tasks |\n| `errorPropagation` | **Error flow by depth**: where in the agent tree errors originate and propagate |\n| `concurrency` | **Concurrency lanes**: overlapping agent execution timelines |\n| `complexity` | **Complexity score**: numerical score based on depth, breadth, tool diversity |\n| `compaction` | **Compaction impact**: token savings, frequency, context health |\n| `cooccurrence` | **Agent pairs**: which agents frequently run together |\n\n## Optimization Analyses\n\n### 1. Tool Flow Optimization\nFrom `toolFlow` transition data:\n- Identify the most common tool sequences (e.g., Read → Edit → Bash)\n- Find redundant transitions (same tool called repeatedly = retries)\n- Detect anti-patterns: high-frequency failure loops\n- Recommend tool chain shortcuts\n\n### 2. Subagent Strategy\nFrom `effectiveness` + `orchestration`:\n- Which subagent types (task, explore, code-review) have highest completion rates\n- Average duration per subagent type — are subagents taking too long?\n- Underutilized types: tasks that could benefit from delegation\n- Over-spawning: too many subagents for simple tasks\n\n### 3. Model Delegation Analysis\nFrom `modelDelegation`:\n- Which models handle which task types\n- Cost-per-task comparison across models\n- Opportunities to delegate simple tasks to cheaper models (Haiku\u002FSonnet instead of Opus)\n- Calculate estimated savings from model rebalancing\n\n### 4. Error Prevention\nFrom `errorPropagation`:\n- Where errors originate (agent depth level)\n- How errors cascade to parent agents\n- Error types (APIError, tool failure) by frequency\n- Defensive strategies: which patterns lead to fewer errors\n\n### 5. Concurrency Optimization\nFrom `concurrency`:\n- Which agents run in parallel vs sequential\n- Bottlenecks: sequential agents that could be parallelized\n- Resource contention: overlapping heavy tasks\n\n### 6. Context Health\nFrom `compaction`:\n- How often compaction occurs per session\n- Token recovery from compaction baselines\n- Sessions that hit context limits — suggest breaking into smaller tasks\n\n## Output\n\nPrioritized recommendations table:\n\n| # | Recommendation | Source Data | Impact | Effort | Est. Savings |\n|---|---------------|-------------|--------|--------|-------------|\n\nTop 5 recommendations with detailed explanation, supporting data from the workflow API, and implementation steps.\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fworkflow-optimizer",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill workflow-optimizer",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill workflow-optimizer",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill workflow-optimizer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fworkflow-optimizer\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",277,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fworkflow-optimizer\u002Fagents\u002Fopenai.yaml",[53,60,65,72,79,86],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":61,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]