itsshreyasbhardwaj-design

Plumb — AI skill for Claude Code

AI community

Keep your AI's context true to the code — a zero-dependency context-integrity linter for Claude Code.

How to install Plumb

This entry records only its repository, not the path inside it, so there is no exact command to give. Open itsshreyasbhardwaj-design/plumb and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Plumb does

Keep your AI's context true to the code — a zero-dependency context-integrity linter for Claude Code. Verifies CLAUDE.md/memory claims against the repo (verified/unverifiable/stale).

Alternatives in AI

  • WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
  • Avoid AI Design — Audits AI-generated frontend and rewrites it so it stops looking AI-made: purple-gradient slop and the "tastef 165 ★
  • Datafog Python — Offline PII firewall for AI agents and LLM apps: fast local detection and redaction, Claude Code hook, LiteLLM 69 ★

README

Plumb

**Keep your AI's context true to the code.**

Every memory tool and every `CLAUDE.md` is append-heavy and never garbage-collected. Over months, they fill with paths that were deleted, functions that were renamed, and conventions that were abandoned. Stale context is worse than no context — it steers the agent wrong *and* burns context budget on every session.

Plumb treats your `CLAUDE.md`, `AGENTS.md`, and memory files as **assertions about the repository** and verifies each one against ground truth.

$ plumb check .
XX STALE (3)
  XX path    ~/OpenMontage            CLAUDE.md:154  no such path: /Users/you/OpenMontage
  XX symbol  handleRetry              CLAUDE.md:88   not found anywhere in the repo
  XX dep     flask                    CLAUDE.md:11   not in any dependency manifest
...
34 claims  27 verified  4 unverifiable  3 stale
~3533 tokens wasted on stale context · 12 ms

Why it's different

The Claude Code ecosystem is full of tools that **write** context (claude-mem, memory MCPs) and **record** provenance (git blame for AI). Plumb is the missing **validation / garbage-collection** layer — the janitor for the memory landfill those tools create. It complements them; it replaces none.

Install

pipx install plumb-context      # or: python3 -m plumb  (zero dependencies)

Requires only Python 3.8+. No API key, no network, nothing leaves your machine.

Commands

Command What it does
plumb check Verify context claims; exit 1 if any are stale (CI-friendly)
plumb budget Per-file token cost of context and how much is wasted on stale claims
plumb gc Propose a safe prune patch (--apply to write)

Point at extra sources with `--context FILE` and `--memory-dir DIR`.

The three-valued model

Plumb never cries wolf. Every claim is one of:

  • verified — ground truth confirms it
  • unverifiable — can't prove or disprove; left for a human
  • stale — ground truth *con