Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Summary

Session coaching, frustration detection, and 133 curated tips for Claude Code

Install to Claude Code

/plugin install claude-coach@claude-coach

Run in Claude Code. Add the marketplace first with /plugin marketplace add kam-l/claude-coach if you haven't already.

README.md

claude-coach

Session coaching, reflection, live Sonnet advisor, and 133 curated tips for Claude Code.

![Claude Code Plugin](https://code.claude.com/docs/en/plugins) ![tips](tips.json) ![tests](https://github.com/kam-l/claude-coach/actions/workflows/test.yml) ![version](https://github.com/kam-l/claude-coach/releases) ![MIT License](LICENSE)

!claude-coach showcase

  • Session reflection — auto-extracts learnings, proposes memories, tips, CLAUDE.md patches, and skill patches
  • Sonnet advisor — reads your transcript, injects session-specific coaching
  • 133 curated tips — sourced from Boris Cherny, Anthropic docs, and community best practices
  • Frustration coaching — detects frustration, coaches Claude to diagnose and course-correct (local regex, zero latency)

<details> <summary>Yo dawg</summary> <img src="xzibit.png" alt="Yo dawg, I heard you like Claude" width="300"> </details>

Install

claude plugin marketplace add kam-l/claude-coach
claude plugin install claude-coach

No API keys required. The Sonnet advisor uses the claude CLI directly (your existing Pro/Max subscription).

Quick Start

# Inside Claude Code — one command for everything
/claude-coach:setup install       # first-time setup
/claude-coach:setup refresh       # re-apply tips after adding commands/skills
/claude-coach:setup customize     # list tips, add custom tips, explain plugin
/claude-coach:setup uninstall     # remove all traces

# Restart Claude Code after install/refresh/uninstall

Features

Data flow: 1. Tips (always on) — 133 curated tips rotate in the statusline during tool calls. Zero cost, passive reinforcement. 2. Advisor (opt-in) — Sonnet reads the transcript every N minutes, produces contextual tips (ℹ️). Strong advice (⚠️) is injected directly into Claude's context via additionalContext on your next prompt. 3. Reflection (automatic) — after each session, a detached Sonnet call extracts corrections, confirmations, and feedback patterns. Results are routed to the right target and queued — never auto-applied. Review and redistribute them using /reflect command. 4. Frustration coaching (always on) — local regex detects expletives, blame, "still broken". Injects a coaching directive that makes Claude pause, name the mistake, and state a corrected approach. Zero latency, no API calls.

How It Works

Sonnet Advisor (opt-in)

A detached Sonnet worker reads your session transcript and produces 1-3 tips grounded in what you're actually doing:

ℹ️ Run tests before committing the auth middleware changes
ℹ️ Use /fix — methodical debugging beats trial and error here
⚠️ The retry logic in api.js needs a backoff — ask Claude to add one

When the advisor has strong advice (⚠️), it's injected directly into Claude's context via additionalContext. Claude acts on the coaching without you having to relay it.

Session Reflection

After each session ends, a detached Sonnet call analyzes the transcript for:

  • Corrections — user told Claude it did something wrong
  • Confirmations — user validated a non-obvious approach
  • Feedback patterns — "don't do X", "always Y", "I prefer Z"

Each learning is routed to the right target:

| Signal type | Routes to | Example | |-------------|-----------|---------| | Durable fact or preference | Memory file | "User prefers single PRs for refactors" | | Actionable hint | Spinner tip | "Use /fix for methodical debugging" | | New invariant or convention | CLAUDE.md patch | "Statusline aggregator wraps any tool" | | Workflow step or anti-pattern | Skill patch | "Add convergence check to /refine" |

💭 2 pending reflections — /reflect to review

Run /reflect to review, accept, or discard — human-in-the-loop, never auto-applied.

Frustration Coaching

When the enrichment hook detects frustration signals (expletives, blame, "still broken", "not what I asked"), it injects a coaching directive via additionalContext:

1. Name what went wrong — quote the specific mistake
2. Explain why — wrong assumption? Misread the code?
3. State corrected approach in one sentence

No apology walls. No repeating the failed approach. No unnecessary clarification questions.

Configuration

// ~/.claude/settings.json
{
  "env": {
    "CLAUDE_COACH": "1",
    "CLAUDE_COACH_INTERVAL": "5"
  }
}

| Variable | Default | Description | |----------|---------|-------------| | CLAUDE_COACH | 0 | Enable Sonnet advisor + hook injection | | CLAUDE_COACH_INTERVAL | 5 | Minutes between advisor calls | | CLAUDE_COACH_COSTS | 0 | Enable advisor cost in statusline ([$0.05]) |

Advisor cost: ≤$0.05/call (hard-capped via --max-budget-usd). Pro/Max users spend rate-limit budget, not dollars.

Or run /claude-coach:setup install for guided setup — it wires all of this automatically.

Statusline Compatibility

/setup install detects your existing statusline and adapts:

| Your statusline | What happens | |-----------------|-------------| | None | Registers statusline-tips.js (tips + pending reflections counter) | | ccstatusline, claude-hud, or other tool | Generates statusline-aggregator.js — wraps original command, appends coach output | | Custom script already integrating coach | Detects existing integration, no changes | | Prior claude-coach version | Updates path to current version |

Tip Categories

| Category | # | Examples | |----------|---|---------| | Workflow | 28 | Plan mode, /rewind, fan-out, "choose and commit", action-explicit phrasing | | Context | 24 | 200-line limit, /compact at 50%, data-at-top/query-at-bottom, quote grounding | | Agents | 19 | Test time compute, "say use subagents", pipeline gates, curb overuse | | Hooks | 12 | exit 2 feedback, route permissions to Opus, Stop hook to nudge | | Quality | 30 | Positive framing, add WHY, self-correct loops, "grill me — no PR until I pass" | | Performance | 20 | /sandbox (84% fewer prompts), CI budget caps, Opus with thinking |

User-Facing Commands

| Invocation | Type | What it does | |------------|------|-------------| | /claude-coach:setup | Skill | Install, uninstall, refresh tips, or customize | | /claude-coach:reflect | Command | Review pending session reflections |

Sources

Known Issues

Statusline tips may intermittently show instead of the tip text. This is a Claude Code TUI rendering bug affecting multi-line statusline output on Windows (#32917). Tips render correctly — CC's display occasionally drops them between refreshes.

License

MIT

Related plugins

Browse all →