/mantle:mantle-doctorfrom mantle
Audits Claude Code setup for context waste, MCP server issues, leaked secrets, stale paths, and risky permission rules. Run when Claude is slow, forgets instructions, or MCP servers won't connect.
Ships in mantle. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A read-only check-up, then fixes the user approves one by one.
node scripts/doctor.mjs [projectDir] # readable report
node scripts/doctor.mjs [projectDir] --json # for your own processing
Paths are relative to this skill's folder; projectDir defaults to the current directory. The script never writes anything and never prints secret values.
claude mcp add line, the trimmed CLAUDE.md, the permission rules), apply only what the user says yes to, then run the doctor again to confirm./context in Claude Code when MCP servers are involved: the script cannot see tool definitions without starting the servers.claude mcp remove <name> then claude mcp add <name> -- cmd /c npx -y <package>.${VAR} in the config, and tell the user to rotate the key if the file was ever committed or shared.--scope local) or remove them. Fewer tools also means better tool choice./plugin → disable) or trim descriptions of the user's own skills to what and when./sandbox for the rest."deny": ["Read(./.env)", "Read(./.env.*)"] under permissions in .claude/settings.json..claude/settings.json (shared) or .claude/settings.local.json (just them).Pair with the mantle-atlas skill when a fix is "use a different tool" (e.g. a lighter MCP server, or a skill instead of a connector).
What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
npx claudepluginhub akshittiwarii/mantle --plugin mantleOther plugins' skills for the same job