VS Code Extensions
BlankLogic Refinery

BlankLogic Refinery

by blanklogic

Clean editor selection before AI sees it — local Refinery CLI (debloat + secret scan).

Downloads

5

Rating

— (0)

Version

0.2.5

Last updated

Jun 10, 2026

BlankLogic

Clean code and redact secrets before AI sees them — right inside VS Code or Cursor.

For Cursor agents, prefer the MCP server: npx @blanklogic/refinery-mcp (see npm README). This extension is for editor selection cleanup via the CLI.

What's new in 0.2.5

  • Coordinated 0.2.5 release — points to MCP as primary agent install path.
  • Open VSX and Marketplace VSIX use stable blanklogic.io image URLs.

Saved tokens or caught a secret?

If BlankLogic trimmed noise, redacted secrets, or cut token waste for you, a quick review helps others find it:

Install

Where Link
VS Code Marketplace Install blanklogic.blanklogic-refinery-vscode
Cursor / Open VSX Install from Open VSX
Web app (no install) blanklogic.io/refinery
CLI (terminal) npx @blanklogic/refinery clean -

What it does

  1. Select code in the editor.
  2. Run BlankLogic: Clean Selection for AI — de-bloats HTML/code/logs and redacts obvious secrets.
  3. Or run BlankLogic: Scan Secrets — reports secret count and offers to replace the selection.

The extension shells out to @blanklogic/refinery via npx by default. Your files stay on your machine.

Commands

Command Action
BlankLogic: Clean Selection for AI Full clean pipeline on the current selection
BlankLogic: Scan Secrets Sanitize-only pass with secret count

Settings

Default runtime (works out of the box):

{
  "blanklogic.cliPath": "npx",
  "blanklogic.cliArgs": ["@blanklogic/refinery"]
}

For a pinned global install:

{
  "blanklogic.cliPath": "/usr/local/bin/refinery",
  "blanklogic.cliArgs": []
}

blanklogic.cloudRefine.enabled stays false by default. Local cleanup is the supported path.

Product Use when
@blanklogic/refinery Terminal / CI cleanup
@blanklogic/refinery-mcp Cursor / Claude Code MCP agents
@blanklogic/proxy BYOK proxy with proof headers before OpenAI/Anthropic
blanklogic.io/refinery Browser UI and cloud credits

Cloud credits (optional)

Extension commands run locally. For server-side cleanup (larger payloads, Cloud Refine, or Cloud AI), use the Refinery web app:

blanklogic.io/refinery/#cloud-credits — Beta Token Pack ($5 / 500 runs) or Founder pass ($50).

Privacy

  • Runs locally via the Refinery CLI.
  • Does not send editor content to BlankLogic servers for local commands.
  • Does not require a BlankLogic account for local commands.
  • Provider API keys are never handled by this extension.

Support

Related extensions