/auto-insights
Show or configure auto-generated insights from the claudectl brain — friction patterns, suggested rules, and workflow improvements
$ npx -y skills add mercurialsolo/claudectl --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/auto-insights
Context preview
What this command does when you run it.
Show or configure auto-generated insights from the claudectl brain — friction patterns, suggested rules, and workflow improvements
Command definition
auto-insights.mdname: auto-insights
description: Show or configure auto-generated insights from the claudectl brain — friction patterns, suggested rules, and workflow improvements
args: "[on|off|status]"
Manage claudectl's auto-insights system, which analyzes brain decision history to detect friction patterns and suggest workflow improvements.
What to do
If the user provides an argument (`on`, `off`, or `status`):
- Run `claudectl --brain --insights {{arg}}` to set the insights mode.
If no argument is provided:
- Run `claudectl --brain --insights` to show current insights.
How to present results
Insights are grouped by category:
- **Friction Patterns** — tools/commands the user frequently rejects (suggest deny rules)
- **Error Loops** — repeated errors from the same tool (investigate root cause)
- **Context Blowouts** — sessions frequently hitting high context usage (suggest earlier /compact)
- **Recommended Rules** — high-confidence patterns that should become auto-rules in `.claudectl.toml`
- **Accuracy Gaps** — tools where the brain needs more training data
- **Temporal Patterns** — time-of-day or error-streak behaviors
- **Cost Patterns** — burn rate trends and expensive session outliers
For **Recommended Rules**, show the exact TOML syntax the user can copy into `.claudectl.toml`.
If the user asks to apply a suggested rule, help them edit their `.claudectl.toml` directly.
Read more
name: auto-insights description: Show or configure auto-generated insights from the claudectl brain — friction patterns, suggested rules, and workflow improvements args: "[on|off|status]"
Manage claudectl's auto-insights system, which analyzes brain decision history to detect friction patterns and suggest workflow improvements.
What to do
If the user provides an argument (`on`, `off`, or `status`):
- Run `claudectl --brain --insights {{arg}}` to set the insights mode.
If no argument is provided:
- Run `claudectl --brain --insights` to show current insights.
How to present results
Insights are grouped by category:
- **Friction Patterns** — tools/commands the user frequently rejects (suggest deny rules)
- **Error Loops** — repeated errors from the same tool (investigate root cause)
- **Context Blowouts** — sessions frequently hitting high context usage (suggest earlier /compact)
- **Recommended Rules** — high-confidence patterns that should become auto-rules in `.claudectl.toml`
- **Accuracy Gaps** — tools where the brain needs more training data
- **Temporal Patterns** — time-of-day or error-streak behaviors
- **Cost Patterns** — burn rate trends and expensive session outliers
For **Recommended Rules**, show the exact TOML syntax the user can copy into `.claudectl.toml`.
If the user asks to apply a suggested rule, help them edit their `.claudectl.toml` directly.
Orchestrate a swarm of Claude Code agents with a local brain that learns from you.
Other commands on claudectl.
- /brain-stats
Show claudectl brain learning metrics — accuracy, correction rate, and effectiveness
Open command - /brain
Toggle the claudectl brain gate on/off/auto for this session
Open command - /inbox
Drain pending agent-bus messages addressed to this session's role
Open command - /role
Set this Claude session's agent-bus role so other sessions can address it (e.g. /role frontend, /role backend, /role tester)
Open command - /sessions
Show status of all active Claude Code sessions (cost, health, context usage)
Open command - /spend
Show Claude Code spend summary — total cost, per-session breakdown, and burn rate
Open command

