Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>CoppiceNew to Visual Studio Code? Get it now.
Coppice

Coppice

Muhammad Yasir Ismail

|
1 install
| (0) | Free
Keep vibe-coded repos clean: one library per job, no duplicate features, no orphans, version-level CVEs. Writes a contract the next agent must follow. Tips: https://buymeacoffee.com/digitalyasir
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Coppice

Coppice

Keep prompting. Coppice keeps the repo honest.

Sideload this VSIX. For vibe-coded projects (Cursor, VS Code): one architecture, one library per job, no leftover files, no known-vulnerable package versions. Companion history lives at coppice.tekreign.com.

This release (0.1.28)

  • Scan on click — Coppice no longer scans by itself when the folder opens, a lockfile changes, or you save. Click Scan in the status bar menu. Turn on coppice.autoScan in Settings to get automatic scans back.
  • Real CVE origins — a vulnerable transitive package now says which dependency brings it in (e.g. js-yaml through @eslint/eslintrc from eslint, dev tooling only) instead of always calling it a Next pin. "Pins it" only when the parent pins that exact version.
  • No false unused hook — .cursor/hooks/coppice-guard.js and scripts that hooks.json / package.json run by path are no longer listed as unused.
  • One line per unused package — an Agent Scan line and an engine line for the same package are merged.
  • Path traversal — flags request input (?dir=../../..) that reaches a filesystem path with no containment check. An API route nothing calls is marked for deletion.
  • pnpm on Windows — pnpm-lock.yaml with Windows line endings is parsed correctly (package names were garbled, so CVE matching missed them).

Older notes: CHANGELOG.md.

What's included

In the editor (free)

  • Scan Workspace for JS/TS plus a first-pass Python lockfile scan. No Coppice fee. No API key on JS/TS-only local scan.
  • Writes COPPICE.md, glob Cursor rules, a tidy skill, and a hook guard so the next agent extends what exists.
  • MCP: coppice_where, coppice_may_add, coppice_touch, findings.
  • Agent Scan for Python and other languages, billed to your Cursor plan. Cursor API key stays in Secret Storage — never on the Coppice website.
  • Sign in / Sign out for the companion site. Fix assigned tasks runs a local Cursor agent.

On the site (Premium for history and board)

  • Free: 1 GitHub account and 1 linked repo (latest scan).
  • Paid (£10 / month Stripe): 2 GitHub accounts and 5 linked repos, full history, Explore board, ticket/PR overlay, Fix from the site.
  • Get Cursor at cursor.com/download if you do not have the editor.
  • Settings: saved extension tokens, billing, delete my data.

What it does

After Coppice: Scan Workspace (or on folder open / lockfile change) it:

  1. Locks architecture — one UI kit, one time library, one HTTP client, one folder convention. No MUI + Chakra. No datetime + Pendulum + Arrow. Keeps the layout that already exists (e.g. src/app/). Does not invent src/modules/.
  2. Stops duplicate features — if auth exists, do not add login/.
  3. Prunes orphans — unused files and unused packages (source, config, and CSS). Unused export that is still used in the same file: drop export only; do not delete the value.
  4. Checks CVEs at version level — axios@0.21.1 is flagged; a patched axios@1.7.2 is not. Bump the winner. Do not add a second library to “fix” it. Lists every OSV advisory for that exact version; does not invent GHSAs.
  5. Talks to the next agent — writes COPPICE.md, a tiny always-on Cursor rule (MCP-first), and glob-scoped JS/Python rules so the next prompt sees the contract without loading the whole map.

Commands

  • Coppice: Scan Workspace — local engine. Full coverage for JS/TS. A first pass for Python (poetry / uv / pinned requirements.txt). Free. No API key. Auto on folder open and lockfile change.
  • Coppice: Agent Scan (Python and other languages) — Cursor SDK for a deeper Python scan, plus Laravel, Go, Rails, and other stacks. Asks for your Cursor API key when you run it. Not used for a JS/TS-only local scan.
  • Coppice: Set Cursor API Key — paste the key from Cursor Dashboard. Saved in Secret Storage, not the repo, not the Coppice site.
  • Coppice: Sign in to Coppice — opens coppice.tekreign.com/connect. Saves a site token in Secret Storage so scans can show up under your linked repos.
  • Coppice: Sign out of Coppice — removes the site token from this editor. History on the site stays until you delete the account in Settings.
  • Coppice: Fix assigned tasks — picks up a finding queued with Fix in Cursor on the Coppice site and starts a local Cursor agent in the matching open repo. Needs the site token and a Cursor API key. The site does not run the agent.
  • Coppice: Open Site — landing page, or your workspace after sign-in.

If the folder you opened contains two git repos (for example frontend/ and backend/ as separate clones), Coppice asks which repo to scan. Sync uses that repo’s GitHub origin, not the parent folder.

You can also set coppice.cursorApiKey or CURSOR_API_KEY. Default model: composer-2.5. Site URL: coppice.siteUrl (default https://coppice.tekreign.com).

Agent scan cost

SDK runs bill like an IDE agent on Cursor Models & Pricing. They draw from your Cursor Models pool (Composer 2.5), not a separate Coppice fee.

Composer 2.5
Input $0.50 / million tokens
Output $2.50 / million tokens

Typical one Agent Scan (small–medium app): about $0.05–$0.40. A large monorepo can be $1+. Pro includes Composer 2.5 in the Cursor Models pool, so many scans sit inside the monthly allowance. The Start plan does not include the Cursor SDK.

Scan Workspace (command / auto) does not call the SDK and costs nothing.

Output

File Purpose
COPPICE.md Short architecture contract (what the agent must follow)
.cursor/rules/coppice.mdc Always-on Cursor rule (MCP-first; tiny)
.cursor/rules/coppice-js.mdc JS/TS glob rule (winners, small files)
.cursor/rules/coppice-py.mdc Python glob rule (Django live files, small files)
.cursor/skills/coppice-tidy/SKILL.md On-demand tidy skill
.cursor/hooks.json + coppice-guard.js Block a second library or sibling path mid-session
.coppice-cache/contract.json Fast hook/MCP cache (gitignored)
.cursor/mcp.json MCP tools: contract, capability, where, touch, may_add, findings

Requirements

  • VS Code 1.85+ or Cursor
  • Node is used for the bundled MCP helper
  • Agent Scan: the VSIX includes @cursor/sdk plus the packages it needs (copied into vendor/ at build). .vscodeignore keeps vendor/node_modules. A development build still needs pnpm install in the Coppice repo, then rebuild the extension.

Privacy

Engine and Agent Scan run locally. CVE checks query OSV with package + version only. Agent Scan sends repo context to Cursor (same as an IDE agent). After Sign in to Coppice, the extension may upload the contract and findings to coppice.tekreign.com for that repo’s history. It does not upload if you are signed out. Site history is Premium; a skipped upload does not fail the local scan.

Coppice does not collect a Cursor API key on the website. You can delete uploaded history from Settings → Delete my data. Full text: Privacy Policy · Terms.

Support

The local scan is free. Companion history and the board are Premium. If Coppice is useful, you can buy Coppice a coffee.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft