Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By adelaidasofiav1.0.0MITIn 1 marketplace
Weekly performance digest for Claude Code. Reads JSONL session data, computes six effectiveness metrics (activity mix, one-shot edit rate, subagent turn count, model mix, project allocation, hookify firings), fires diagnostic rules, and writes behavioral rules into CLAUDE.md so future sessions adapt. Measurement layer for self-improving AI workflows.
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that turns session telemetry into self-improving behavioral rules.
Reads JSONL session data from ~/.claude/projects/, computes six effectiveness metrics, and when diagnostics fire, writes permanent rules into ~/.claude/CLAUDE.md so future sessions adapt. Measurement layer for self-improving AI workflows.
A static rule is a wish. A measured rule is a system.
Companion to claude-daily-journal and claude-insights.
Every seven days, reads all Claude Code session files from the last week and computes:
Six diagnostic rules. When a rule fires, one of two things happens:
~/.claude/CLAUDE.md as permanent rules Claude reads on every future session start.Next week the digest re-measures. If the number moved, the rule worked. If it did not, the rule fires again with updated numbers. If it sits at target for weeks, the rule can probably retire.
Open Claude Code, paste:
/plugin marketplace add adelaidasofia/claude-performance
/plugin install claude-performance@claude-performance
Then copy scripts/claude_performance_digest.py into your vault at <vault>/⚙️ Meta/scripts/. The script self-locates via __file__ and expects that path.
claude plugin add github.com/adelaidasofia/claude-performance
Or clone manually:
git clone https://github.com/adelaidasofia/claude-performance ~/.claude/plugins/claude-performance
claude plugin add ~/.claude/plugins/claude-performance
Run manually:
python3 "<vault>/⚙️ Meta/scripts/claude_performance_digest.py"
Or schedule weekly (Monday 1am UTC example):
0 1 * * 1 /usr/bin/python3 "/path/to/vault/⚙️ Meta/scripts/claude_performance_digest.py"
--days N: lookback window (default 7)--dry-run: print report to stdout, do not write files--no-report: skip the markdown report, apply prescriptions onlyAt the top of scripts/claude_performance_digest.py:
THRESHOLDS = {
"one_shot_min": 0.75,
"exploration_max": 0.35,
"agent_turns_max": 5,
"opus_max": 0.70,
"hookify_repeat": 10,
"recurring_error_sessions": 3,
}
PROJECT_LABELS = {
# Optional: map project directory substrings to clean display labels
# "my-company": "CompanyName",
}
A dated markdown report at ⚙️ Meta/Performance/weekly-YYYY-MM-DD.md. And if a behavioral diagnostic fires, one or more rules appended to ~/.claude/CLAUDE.md like:
- [VERBOSE AGENTS fix](performance_verbose_agents.md) | Agent briefings must
include: specific file paths, expected output format, and scope boundary.
Target: <8 turns per agent. Current avg: 22.0. (updated 2026-04-16)
Self-improvement by memory alone has a failure mode: a rule gets written, Claude reads it at session start, and under the wrong context the behavior recurs anyway. Without measurement, you cannot tell whether a correction actually worked.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub adelaidasofia/claude-performance --plugin claude-performancePlugins from other owners that cover similar ground