ContextPruner

Your coding agent is reading junk files.
You’re hitting your plan’s limit faster for it.

Your coding agent works from the files on your disk, and a lot of them are things it never needs to read: lockfiles, build output, vendored dependencies. Every token they add counts against your daily and weekly limits the same as your real code — and less junk in context means fewer chances to lose the thread mid-session. ContextPruner writes the config files that tell your agent what to skip, checks the ones you already have against your repo, and keeps all nine current on every push.

No signup needed. Your file list stays in your browser — we never see it.

Paste your file tree — get the config files that tell your agent what to skip.

Paste manifest

or

Paste your repo’s file manifest to watch the triage run — and see what the junk is costing you.

Your AGENTS.md, CLAUDE.md, GEMINI.md, Cursor rules, and Copilot instructions will appear here — plus enforced ignore files the agents' own harnesses apply.
Free tier runs 100% in your browser. Your file list never touches our servers.

How the pieces fit together

ContextPruner covers the whole path — generating the configs, checking them, enforcing four of them at the harness level, filtering junk from your agent's searches at runtime, and keeping all nine current. No competing tool covers that full loop.

  1. Free

    Generate

    Paste your file tree and get all nine config files in your browser. Your file list never leaves the page.

  2. Free on the web

    Lint

    Already have an AGENTS.md or a .cursorignore? Check it against your repo — a graded report shows what's missing, dead, or drifting, with one-click fixes.

  3. Free · $9/mo

    Enforce

    The agent's own harness applies four of the nine — .cursorignore, .geminiignore, .codeiumignore, and Claude Code deny rules — a best-effort block, free, with exceptions declared in a committed .contextpruner file. Paid goes deeper: contextpruner serve filters junk out of broad searches at runtime, all on your machine, while a pointed read of a named file always goes through.

  4. $9/mo

    Automate

    Your repo changes every day. A GitHub Action or pre-commit hook regenerates all nine on every push, so the configs keep up — your own runner commits, and we never get access to your repo.

  5. With your key

    Watch it work

    Your account page shows what your last sync cut — files scanned, tokens kept out of context, what that is worth per month — plus how many syncs have run.

Works with your whole toolchain

One paste generates the exact instruction file every major coding agent reads — including the cross-agent AGENTS.md standard that 19 of them support natively. Four harnesses also apply a generated ignore file at the tool level, marked Enforced ✓ below.

Show all 24 agents ▾

Cursor

Anysphere
IDE
.cursor/rules/*.mdc
AGENTS.md ✓Enforced ✓Free · Pro from $20/mo
Docs ↗

GitHub Copilot

GitHub
IDE
.github/copilot-instructions.md
AGENTS.md ✓Free · Pro from $10/mo
Docs ↗

Claude Code

Anthropic
CLI
CLAUDE.md
Enforced ✓Pro from $20/mo or API usage

Does not read AGENTS.md; bridge with an `@AGENTS.md` import inside CLAUDE.md or a symlink. Also loads `.claude/rules/*.md` alongside CLAUDE.md.

Docs ↗

Codex

OpenAI
CLI
AGENTS.md
AGENTS.md ✓ChatGPT Plus from $20/mo or API usage
Docs ↗

Gemini CLI

Google
CLI
GEMINI.md
Enforced ✓Free (1,000 requests/day)

Reads AGENTS.md only via `{"context": {"fileName": "AGENTS.md"}}` in .gemini/settings.json.

Docs ↗

Antigravity

Google
IDE
GEMINI.md
AGENTS.md ✓Free tier (limited) · paid via Google AI plans
Docs ↗

Devin Desktop (Windsurf)

Cognition
IDE
.devin/rules/*.md
AGENTS.md ✓Enforced ✓Free · Pro from $20/mo
Docs ↗

Cline

Cline Bot
IDE
.clinerules/
AGENTS.md ✓Free · bring your own API key
Docs ↗

Kilo Code

Kilo
IDE
.kilocode/rules/
AGENTS.md ✓Free · bring your own API key
Docs ↗

Aider

Open source
CLI
CONVENTIONS.md
Free · bring your own API key

Add `read: AGENTS.md` to .aider.conf.yml to auto-load rules.

Docs ↗

Zed

Zed Industries
IDE
AGENTS.md
AGENTS.md ✓Free · Pro from $10/mo
Docs ↗

Junie

JetBrains
IDE
.junie/AGENTS.md
AGENTS.md ✓AI Pro from $10/mo
Docs ↗

Kiro

AWS
IDE
.kiro/steering/*.md
AGENTS.md ✓Free · Pro from $20/mo
Docs ↗

Amp

Sourcegraph
CLI
AGENTS.md
AGENTS.md ✓Usage-based credits
Docs ↗

OpenCode

SST
CLI
AGENTS.md
AGENTS.md ✓Free · bring your own API key
Docs ↗

Devin

Cognition
Cloud
AGENTS.md
AGENTS.md ✓From ~$20/mo + usage
Docs ↗

Factory droid

Factory
CLI
AGENTS.md
AGENTS.md ✓Pro from $20/mo
Docs ↗

Warp

Warp
CLI
AGENTS.md
AGENTS.md ✓Free · Build from $20/mo
Docs ↗

goose

Block
CLI
AGENTS.md
AGENTS.md ✓Free, open source
Docs ↗

Crush

Charm
CLI
AGENTS.md
AGENTS.md ✓Free (source-available, FSL)
Docs ↗

Bolt.new

StackBlitz
Web builder
agents.md
AGENTS.md ✓Free · Pro from $25/mo
Docs ↗

Lovable

Lovable
Web builder
AGENTS.md
AGENTS.md ✓Free · Pro from $25/mo

Also reads CLAUDE.md and in-app Knowledge settings.

Docs ↗

Replit Agent

Replit
Web builder
replit.md
Core from $25/mo

Replit Agent maintains replit.md itself — paste rules into it or use in-app instructions.

Docs ↗

v0

Vercel
Web builder
(in-app Instructions)
Free · Premium from $20/mo

No repo instruction file — paste rules into v0's project Instructions.

Docs ↗

Pricing shown is indicative, as of July 2026 — check each vendor's docs for current tiers.

The quota drain

Every request your agent makes carries context, and a lot of it is files it never needed. Whether your platform counts tokens, credits, or fast requests, junk reads spend them the same as your real code — you hit the cap sooner and get less done before the meter stops you. Tell the agent what to skip and you stop paying for files that never mattered.

The 70,000-token lockfile

A committed lockfile like package-lock.json can be around 70,000 tokens the model learns nothing from, and it gets pulled in whenever the agent looks at dependencies or debugs an install. The 'prompt is too long' error is what a repo full of files like this looks like to a model — the config tells your agent to skip them before it hits the wall.

Week-six repo sprawl

A project that starts at 40 files is thousands by week six: build caches, abandoned folders, vendored copies sitting in your working directory on disk. When a long session starts to drift, a crowded context is part of the story — less junk in it means fewer chances to lose the thread. Paste your file tree once and the config points the agent back at your real code.

Guides

Practical guides on the config files that steer your coding agent — what goes in an AGENTS.md or CLAUDE.md, and how to keep your context lean.

Free where it builds trust. Paid where it saves time.

Free

$0forever

Generate and lint your config, in your browser.

  • Unlimited manifest triage — 100% client-side
  • Nine config files: five advisory (AGENTS.md, CLAUDE.md, GEMINI.md, Cursor .mdc rules, copilot-instructions.md) plus four enforced (.cursorignore, .geminiignore, .codeiumignore, Claude Code settings deny rules)
  • Lint an existing config against your file tree — graded report + one-click fixes
  • Estimated monthly savings counter with live model pricing
  • No signup, no upload, no telemetry on your file list
Start pruning →

Pro

$9per month

Your repo changes every day — the configs keep up with it.

  • Drop-in GitHub Action + git pre-commit hook
  • All nine config files regenerate on every push — advisory and enforced alike
  • contextpruner lint CLI — check configs locally or fail CI on drift
  • contextpruner serve — filter junk out of your agent's search results at runtime, all local (shell shims + MCP tools)
  • One API key unlocks the automation, the lint CLI, and the runtime filter
  • We never get access to your repo — your own runner makes the commits
  • Usage dashboard on your account page: syncs run, tokens kept out, what it's worth
Get your API key — $9/mo