From fix-claude-code
This skill should be used when the user asks to "fix claude code", "fix claude", "optimize claude", "improve claude performance", "fix my settings", "setup claude code", "configure claude code", "claude code settings", "tune claude", "fixclaude", "claude is broken", "claude is slow", "claude is lazy", "claude is not working", "make claude better", "keep session alive", "session timer", "rate limit", "avoid rate limits", "rate limited", "fix claude code settings", or wants to optimize their Claude Code installation for maximum performance. Provides an interactive wizard walking through performance settings, rate limit optimization via session timer bump, and optional plugin improvements step by step.
npx claudepluginhub jcodesmore/jcodesmore-plugins --plugin fix-claude-codeThis skill uses the workspace's default tool permissions.
Run an interactive wizard that detects the user's current Claude Code configuration, applies proven performance fixes, and optionally installs powerful companion tools. Walk through every step in plain language so any user — beginner or expert — understands what's happening and why.
Analyzes session friction with Claude Code skills, agents, permissions, hooks; gathers config from settings.json, CLAUDE.md; proposes targeted improvements.
Optimizes Claude Code performance using storage cleanup, context management commands, and diagnostics for slowdowns, lag, and full contexts.
Analyzes Claude Code setup including CLAUDE.md, commands, agents, skills, MCP, and CI/CD; evaluates mastery levels; researches latest trends; suggests prioritized upgrades.
Share bugs, ideas, or general feedback.
Run an interactive wizard that detects the user's current Claude Code configuration, applies proven performance fixes, and optionally installs powerful companion tools. Walk through every step in plain language so any user — beginner or expert — understands what's happening and why.
Keep explanations short, friendly, and jargon-free. One or two sentences per setting. Use simple analogies when helpful. Never assume the user knows what an environment variable is — just show what changes and why it helps.
Display a brief welcome message explaining what the wizard does.
Read the user's current settings file at ~/.claude/settings.json. Parse the existing env block and top-level fields. Note which of the core fixes are already applied vs missing.
If the file doesn't exist, note that a fresh settings file will be created.
Load references/core-settings.md for the detailed explanation of each setting.
Present all 8 core fixes in a clear table showing:
The 8 core fixes are:
| Setting | Purpose |
|---|---|
CLAUDE_CODE_EFFORT_LEVEL | Max reasoning every turn |
CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING | Consistent deep thinking |
MAX_THINKING_TOKENS | Maximum reasoning budget |
CLAUDE_CODE_DISABLE_1M_CONTEXT | More compute for thinking |
alwaysThinkingEnabled | Extended thinking every turn |
CLAUDE_CODE_NO_FLICKER | Smooth screen rendering |
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC | Disable telemetry and background network |
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS | Multi-agent coordination |
Note: Mention that CLAUDE_CODE_EFFORT_LEVEL=max uses more tokens per turn (higher cost on API plans; included on Max subscriptions). Also note that agent teams (CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS) uses significantly more tokens when active (~7x) — it enables the capability but does not activate by default, so there is no cost unless the user explicitly uses agent teams.
After presenting the table, use AskUserQuestion to confirm: "Ready to apply these 8 performance fixes? (yes/no)"
On confirmation, apply settings to ~/.claude/settings.json. Read the file first, then use the Write tool to write the complete updated JSON (preserving all existing keys). Do NOT use the Edit tool for JSON — it is line-based and can corrupt JSON syntax. Instead, read the full file, merge the new keys in memory, and write the complete result.
After applying, show a short confirmation: what changed.
After applying core fixes, offer to set up a persistent scheduled routine for rate limit optimization.
Use AskUserQuestion to ask: "Would you like to set up a session timer bump? Claude Code uses a rolling 5-hour usage window for rate limits. This creates a persistent cloud routine that pings every 3 hours to keep that window rolling, so you get more usage before hitting rate limits. Unlike session-only timers, this runs indefinitely — even when your computer is off. (yes/no)"
If no — skip to Step 4.
If yes — load references/session-timer.md for details. Since /schedule is a built-in interactive slash command, present the command to the user and ask them to run it:
Tell the user to paste this command:
/schedule
Then guide them through the interactive setup:
"Session timer bump — keeping the rolling usage window active. No action needed."The /schedule command creates a cloud-hosted routine managed at claude.ai/code/routines. It runs on Anthropic's infrastructure, survives session restarts, works even when the user's computer is off, and never auto-expires.
After the user confirms the routine is created, explain:
claude.ai/code/routines or via /schedule list/schedule list to find it, then delete from the routines dashboardUse AskUserQuestion to ask: "Would you like to explore optional plugin improvements? These add a status dashboard, live docs, browser testing, and more. (yes/no)"
If no — skip to Step 5.
If yes — load references/optional-plugins.md and walk through each tool one at a time:
For each tool:
claude mcp add bash command directly~/.claude.json (note: this is a different file from ~/.claude/settings.json)Load references/summary-template.md for the recap format.
Display a clear, organized summary of everything that was applied:
End with an encouraging message — the user's Claude Code is now optimized.
For detailed information loaded on-demand:
references/core-settings.md — Deep explanations, caveats, and sources for each core fixreferences/session-timer.md — Rate limit optimization via /schedule cloud routine — setup, management, and caveatsreferences/optional-plugins.md — Install instructions and setup guides for each optional toolreferences/summary-template.md — Format template for the end-of-wizard recap