bottleneck-resolver

bottleneck-resolver is a skill for Claude Code, Codex from Stijnman/grok-custom-skills. It costs 35 tokens per session (323 once invoked), scanned A, original, MIT.

A workflow analysis tool that measures how long agent steps take and finds which steps slow the work down.

In plain words
What is it for?
Use it to find delays in tool calls, waiting, and retries, rank the biggest problems, and improve an agent workflow.
Why use it?
It helps replace guesses about slowness with measured evidence. It also suggests and applies changes such as parallel work, caching, simpler steps, or batching, then measures again.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find delays in tool calls, waiting, and retries, rank the biggest problems, and improve an agent workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stijnman/grok-custom-skills/bottleneck-resolver
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.

Any agent
npx skills add Stijnman/grok-custom-skills --skill bottleneck-resolver
Clone the repo
git clone --depth 1 https://github.com/Stijnman/grok-custom-skills

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 bottleneck-resolver

README.md
[![agentmods](https://agentmods.dev/badge/skills/stijnman/grok-custom-skills/bottleneck-resolver/github.svg)](https://agentmods.dev/skills/stijnman/grok-custom-skills/bottleneck-resolver)
Your own site
<a href="https://agentmods.dev/skills/stijnman/grok-custom-skills/bottleneck-resolver"><img src="https://agentmods.dev/badge/skills/stijnman/grok-custom-skills/bottleneck-resolver/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 bottleneck-resolver

Your own site · 80×15
<a href="https://agentmods.dev/skills/stijnman/grok-custom-skills/bottleneck-resolver"><img src="https://agentmods.dev/badge/skills/stijnman/grok-custom-skills/bottleneck-resolver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 323 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.00035 $0.00323
Opus 5 $0.00017 $0.00161
Sonnet 5 $0.00007 $0.00065
Haiku 4.5 $0.00003 $0.00032

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

Security

Grade A, and why

bottleneck-resolver 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.

.grok/skills/bottleneck-resolver/SKILL.md · 48 lines

What it actually says

Bottleneck Resolver

When to Use

  • User says find bottleneck or task matches this capability
  • User says speed up or task matches this capability
  • User says why so slow or task matches this capability
  • User says optimize workflow or task matches this capability

Workflow

  1. Profile step durations (tool calls, waits, retries).
  2. Rank bottlenecks by impact.
  3. Propose fixes: parallelize, cache, simplify, batch.
  4. Implement highest-impact fix; re-measure.

Integrations

  • performance-optimizer
  • parallel-tool-orchestrator
  • predictive-cache-manager

Error Handling

Failure Response
Cannot measure Add timing logs to next run.

Gotchas

  • Measure before optimizing; avoid premature parallelization.

Example

Input: User request matching triggers above. Output: Structured result per workflow with integrations invoked as needed.

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 · 48 lines · 35 tokens per session scan A 48f5b02ecb83

Subscribe to this mod's changes

bottleneck-resolver is a skill published in the GitHub repository Stijnman/grok-custom-skills (9 stars, last pushed today), licensed MIT. It adds 35 tokens to every session and 323 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-08-31.

Related

Other skills, from other repositories

goal-meta-skill

A guide for turning an unclear or complex task into a reviewable /goal instruction for coding agents.

bahayonghang/my-ai-cli-toolkit · 190 tokens

workflow-to-skill

Turn a goal and existing CLI, MCP, HTTP, API, or external workflow capabilities into one reviewable reusable Agent Skill. Use when the user asks to create or revise a workflow SKILL.md without a dedicated interface for invocation or result presentation. A webpage, UI, image, or report produced as workflow output does…

ailiheizi/workflow-to-skill · 104 tokens

rss-digest

Collect RSS or Atom sources and produce a traceable intelligence digest through the configured Weft workflow.

ailiheizi/workflow-to-skill · 23 tokens

workflow-docs-sync

A project-documentation synchronisation workflow for rebuilding project facts from a local Git folder, GitHub repository, or current working directory, then updating core workflow documents.

wlvh/coding-workflow · 119 tokens

workflow-to-skill-with-surface

Create or revise one reusable workflow Skill plus an optional harness-native Prompt Surface that maps a dedicated form, Page, button set, command UI, or result view to ordinary Skill messages and Harness results. Use only when the user explicitly requests a dedicated interface for invoking the Skill or presenting its…

ailiheizi/workflow-to-skill · 91 tokens

setup-matt-pocock-skills

A setup skill that configures engineering skills for a repository, including its issue tracker, labels, and documentation layout. A repository is the project folder managed by version control.

devcxl/mattpocock-skills-zh · 43 tokens