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 Flupinochanv1.1.1MITIn 1 marketplace
Automatically logs PostToolUseFailure events and provides skills to clear logs or investigate settings.json remediation ideas
Claude hands work to one, or you mention it with @.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
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 hooks + skills plugin for Claude Code
PostToolUseFailure event to this plugin's persistent data
directory (${CLAUDE_PLUGIN_DATA}/logs/YYYYMMDD.log, one JSON object per line)| Skill | Description | Auto-invocation |
|---|---|---|
/clear-tool-failure-logs | Deletes all log files, or a specific YYYYMMDD log file, after confirmation | Disabled |
/analyze-tool-failures | Forks settings-fix-advisor to analyze logs and propose settings.json changes | Disabled |
/help | Lists the skills and commands this plugin provides | Disabled |
All skills are disable-model-invocation: true and only run when explicitly invoked by the
user.
| File | Role |
|---|---|
hooks/hooks.json | Registers the PostToolUseFailure hook |
scripts/log-tool-failure.sh | Appends the failure event JSON to ${CLAUDE_PLUGIN_DATA}/logs/ |
skills/clear-tool-failure-logs/SKILL.md | Deletes log files (all or a specific date) |
skills/analyze-tool-failures/SKILL.md | Forks settings-fix-advisor for a read-only investigation |
skills/help/SKILL.md | Lists the skills and commands this plugin provides |
agents/settings-fix-advisor.md | Read-only agent that proposes settings.json changes |
${CLAUDE_PLUGIN_DATA} (resolves to
~/.claude/plugins/data/<plugin-name>-<marketplace-name>/, e.g.
~/.claude/plugins/data/tool-failure-log-metalmental-plugins-official/ when
installed from this marketplace), which is namespaced per plugin, persists across plugin
updates, and is removed automatically on uninstall.PostToolUseFailure hook configured in your own
~/.claude/settings.json, consider disabling it after installing this plugin — otherwise
both mechanisms will log the same events independently (to different files, since this
plugin does not write to your personal log directory).settings-fix-advisor only has Read, Grep, and Glob tools. It cannot execute
commands or edit files, so it can only propose changes — applying them is a separate,
explicit step you take yourself.npx claudepluginhub flupinochan/metalmental-claude --plugin tool-failure-logBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground