~ / rigs / KushalP1 / context-doctor

KushalP1/context-doctor

See where your AI agent's tokens go and stop paying for the ones that do nothing. Local CLI, MCP server, hook and proxy for Claude Code, Claude Desktop, Cursor, Codex, Gemini CLI and Anthropic/OpenAI/Gemini API apps. No API key, no telemetr

↗ GitHub ★ 3 MIT updated 2d ago project Claude Code Claude plugin
field: AI / ML workflow: DocsTesting & TDD runs claude in CI
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~712 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details
Quality 0/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit KushalP1/context-doctor/skills ./rig-context-doctor/skills

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit KushalP1/context-doctor/plugin/skills/autopilot .claude/skills/autopilot
$ npx degit KushalP1/context-doctor/plugin/skills/checkup .claude/skills/checkup
$ npx degit KushalP1/context-doctor/plugin/skills/compact-window .claude/skills/compact-window
$ npx degit KushalP1/context-doctor/plugin/skills/fix .claude/skills/fix
$ npx degit KushalP1/context-doctor/plugin/skills/overhead .claude/skills/overhead
$ npx degit KushalP1/context-doctor/plugin/skills/pack .claude/skills/pack
$ npx degit KushalP1/context-doctor/plugin/skills/savings .claude/skills/savings
$ npx degit KushalP1/context-doctor/plugin/skills/spend .claude/skills/spend
$ npx degit KushalP1/context-doctor/skills/context-doctor .claude/skills/context-doctor

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 16.2k rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(git push --force:*)",
      "Read(**/*.pem)",
      "Read(.env)",
      "Read(~/.aws/**)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Bash(rm -rf *)",
      "Bash(sudo *)",
      "Bash(sudo:*)",
      "Bash(rm -rf /)",
      "Bash(git push -f:*)",
      "Read(.env.*)",
      "Bash(git reset --hard*)",
      "Bash(rm -rf /*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(gh pr create *)",
      "Bash(git reset --hard:*)",
      "Bash(npm publish:*)",
      "Bash(git rebase *)"
    ]
  }
}

Skills (9)

Similar rigs

copied ✓