why-slow

why-slow is a skill for Claude Code from matteotitta/genesys-skills. It costs 93 tokens per session (1,316 once invoked), scanned B, original, MIT.

An in-session diagnostic for investigating why Claude is slow or appears to be hanging. It checks startup timing, running integration processes, recent logs, and Git worktree usage.

In plain words
What is it for?
Use it when responses are slow to decide whether to restart something, stop a process, clean up worktrees, or change the request.
Why use it?
It helps identify whether the likely cause is a stuck or duplicate process, an integration error, slow startup, or too many large worktrees.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it when responses are slow to decide whether to restart something, stop a process, clean up worktrees, or change the request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/matteotitta/genesys-skills/why-slow
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 matteotitta/genesys-skills --skill why-slow
Clone the repo
git clone --depth 1 https://github.com/matteotitta/genesys-skills

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 why-slow

README.md
[![agentmods](https://agentmods.dev/badge/skills/matteotitta/genesys-skills/why-slow/github.svg)](https://agentmods.dev/skills/matteotitta/genesys-skills/why-slow)
Your own site
<a href="https://agentmods.dev/skills/matteotitta/genesys-skills/why-slow"><img src="https://agentmods.dev/badge/skills/matteotitta/genesys-skills/why-slow/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 why-slow

Your own site · 80×15
<a href="https://agentmods.dev/skills/matteotitta/genesys-skills/why-slow"><img src="https://agentmods.dev/badge/skills/matteotitta/genesys-skills/why-slow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,316 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00093 $0.01316
Opus 5 $0.00046 $0.00658
Sonnet 5 $0.00019 $0.00263
Haiku 4.5 $0.00009 $0.00132

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

Security

Grade B, and why

why-slow scanned grade B with 1 finding 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 11d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

tail -10.claude/automation/sync-pull/startup-timing.log
skills/meta/session/why-slow/SKILL.md · 121 lines

How it starts

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

/why-slow — in-session perf diagnostic

When the user says "why is this slow" or invokes /why-slow, run the four checks below in parallel and emit a focused report. Goal: identify the top suspect in <30 lines so the user knows whether to restart, kill a process, or rephrase the query.

Checks (run all four in parallel via Bash)

1. Recent startup-timing log (last 10 entries)

tail -10.claude/automation/sync-pull/startup-timing.log

Look for: rising parent_age values across recent sessions (cold-start getting slower) OR a row where worktrees count spiked.

2. Current MCP processes

ps aux | grep -E "(mcp|claude.*node)" | grep -v grep | head -15

Look for: any process with high CPU% (wedged), or duplicate processes (failed handshake retrying), or processes from MCPs the user no longer uses.

3. Latest sync-pull debug log (tail)

tail -30.claude/automation/sync-pull/session-start.debug.log

Look for: timeout errors ("timeout after 10s"), gdrive/notion error messages, OAuth failures.

4. Worktree count + size

git worktree list | grep -c worktrees/
du -sh.claude/worktrees/

Look for: count >20 or size >2GB (run the worktree-cleanup runbook).

Report format (≤30 lines)

=== /why-slow diagnostic — {timestamp} ===

TOP SUSPECT: {one of: search-domain bloat | wedged MCP | OAuth-expired MCP | slow hook | no obvious slowness}

Evidence:
- {bullet 1 from the relevant check}
- {bullet 2}
- {bullet 3}

Recommended action:
- {one specific command or change}

Other observations:
- worktrees={N} ({GREEN if ≤15, YELLOW if 16-25, RED if >25})
- always-on MCPs={N} (target ≤14 per mcp-on-demand.md)
- last sync-pull: {status from debug log}

Top-suspect heuristics (in priority order)

Symptom Top suspect Action
Recent sessions show parent_age >10s Slow MCP handshake Read.claude/rules/mcp-on-demand.md; demote a B-tier MCP
MCP process at >100% CPU Wedged MCP kill -9 <pid> and the next tool call will respawn it fresh
sync-pull log shows invalid_grant OAuth-expired MCP Run the relevant recovery (see reference_gdrive_oauth_reauth.md, reference_xero_mcp_refresh.md)
Worktree count >25 Search-domain bloat Run worktree-cleanup runbook
All checks clean but tool calls slow Bridge latency (/remote-control) or genuinely large search Try the same query in CLI directly (not web); scope search to specific paths

Read the full file on GitHub · 121 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. 11d ago First seen · 121 lines · 93 tokens per session scan B c105678d6c85

Subscribe to this mod's changes

why-slow is a skill published in the GitHub repository matteotitta/genesys-skills (36 stars, last pushed 1mo ago), licensed MIT. It adds 93 tokens to every session and 1,316 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gingiris-b2b-growth

🇺🇸 B2B SaaS Growth — PLG vs SLG Playbook — Diagnose whether your problem is distribution, pricing, or PMF. PLG/SLG selection by ACV and sales cycle, the 5-stage path from $0 to $10M ARR, NRR discipline, affiliate & channel motion, enterprise tiering. Built from HeyGen, Deel, Vercel, Supabase, Snowflake patterns.…

Gingiris-1031/gingiris-skills · 484 tokens

gr-b2b-growth

A guide to growing a business-to-business software product from early user research to large-scale sales. B2B software is sold to companies rather than individual consumers.

Gingiris-1031/gingiris-skills · 83 tokens

go-to-market-playbook

A reusable Go-to-Market strategy template for both B2B and B2C launches. Covers positioning, messaging, ICP definition, channel selection, and competitive analysis frameworks. By @WeiYipei.

Gingiris-1031/gingiris-skills · 48 tokens

email-infra-bounce-audit

Audit a bounce or blacklist problem to root cause and produce a full bounce report. Use for pulling replies via the EmailBison MCP/API, working around the broken type=bounced filter, stripping auto-replies, classifying bounces (Hard/Soft/Block) by SMTP/DSN code, running the neutral-copy test, and tracing the cause to…

Growth-Today/claude-skills · 157 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens