From Ratel Local
Analyze Ratel Local tool usage logs and propose improvements to the configured tool catalog. Use when the user asks to review Ratel tool usage, improve available MCP tools, audit failed or repeated tool calls, tune Ratel upstream servers, or suggest better tools based on Codex or Claude Code hook logs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ratel-local:ratel-improve-toolsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use Ratel tool usage logs to propose practical improvements to the user's MCP tool setup. Focus on what the agent actually tried to do, where tool use failed or repeated, and which upstream MCP servers or Ratel configuration changes would reduce friction.
Use Ratel tool usage logs to propose practical improvements to the user's MCP tool setup. Focus on what the agent actually tried to do, where tool use failed or repeated, and which upstream MCP servers or Ratel configuration changes would reduce friction.
Do not print raw log entries unless the user explicitly asks. Treat logs as private local telemetry and redact secrets, tokens, request headers, file contents, and customer data in summaries.
Read tool usage from:
${RATEL_HOME:-$HOME/.ratel}/tool-usage/tool-usage.jsonl
Each line is JSON with schemaVersion, timestamp, host, event, toolName, optional toolInput, optional outcome, and hook payload metadata. Handle missing files, empty files, and malformed lines gracefully.
If no logs exist, say that there is no tool usage data yet and suggest enabling/trusting the Ratel Local plugin hooks, then running normal agent work before trying again.
toolName, host, event type, success/error signal, and repeated input patterns.~/.ratel/config.json
<project>/.ratel/config.json
<project>/.ratel/config.local.json
search_tools calls that do not lead to useful invoke_tool calls;Lead with the highest-impact recommendations. Include evidence counts and representative redacted examples, not raw logs.
For each recommendation, include:
ratel-local command or config area to inspect when the change is actionable.If the user asks you to implement the improvements, make the smallest safe config changes and validate with ratel-local mcp list or the relevant Ratel command.
npx claudepluginhub ratel-ai/ratel-local --plugin ratel-localCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.