Skip to content
shim-cli logo

shim-cli

Mask sensitive data before coding agents send it to AI models

Free, no paid tier
Tracked since 2026

The Bottom Line

Price
Free, no paid tier. Compare plans

Key facts

  • Intercepts and masks secrets and personal data before they are sent to AI models by coding agents.
  • Works with Claude Code, Codex, Copilot CLI, and VS Code on macOS and Linux.
  • Provides audit and watch commands to see what data and tokens were sent per session, plus the associated cost.

Pros

  • Open source with no licensing costs.
  • Simple installation via uv or pipx, with clear setup instructions.
  • Provides both real-time masking and retrospective audit for Claude Code sessions.

Cons

  • Limited to macOS and Linux; no native Windows support outside WSL.
  • Only supports a specific set of coding agents (Claude Code, Codex, Copilot CLI, VS Code).
  • Requires Python 3.10 or newer and manual installation of the tool.

What is shim-cli?

shim-cli is an open source command-line tool that runs locally on macOS and Linux to intercept data sent by coding agents to AI models. It detects secrets, personal data (emails, IBANs, API keys), and other sensitive information, masking them before they reach the model where the client allows. It also provides visibility into each session's data and cost, and can audit past Claude Code sessions to reveal what was already transmitted. Designed for developers using agents like Claude Code, Codex, Copilot CLI, or VS Code, shim-cli installs as a native hook with a dry-run preview and a health check command.

Key Features

  • Masks secrets, personal data (emails, IBANs, etc.) in prompts and tool results.
  • Installs as a native hook in supported coding agents (Claude Code, Codex, Copilot CLI, VS Code).
  • Dry-run preview before installation: shows the hook file and target location.
  • Doctor command to verify installation and configuration health.
  • Watch mode runs a local proxy for one session, reporting tokens, spend, and detected secrets.
  • Audit command reads Claude Code history and counts what reached the model, by kind and source.
  • Demo command tests detection on a made-up sentence without installing anything.
  • Open source under Apache-2.0 license.

Pricing Plans

Pricing checked Nov 21, 2026. Source: getshim.tech/products/shim-cli, read Nov 21, 2026

shim-cli plans and prices, checked November 2026
Plan Price Details
shim-cli

Free

  • Finds secrets and personal data in what your coding agent sends to the model
  • Masks them where the client allows it
  • Shows what each Claude Code session sent and cost
+1 more
  • Supports Claude Code, Codex, Copilot CLI and VS Code

Is shim-cli worth the price?

Great value

This pricing is exceptionally generous because the entire product is free with no paid tiers or trials.

It offers real value for developers who want to audit and mask sensitive data sent to coding agents, which is rare in a market where similar utilities or API gateways often charge per seat or per session. Best for individual developers and small teams already using Claude Code, Codex, Copilot CLI or VS Code.

Full shim-cli pricing: every plan, hidden costs and alternatives

Email me if shim-cli changes or adds a paid plan

We email you if shim-cli adds a paid plan or changes its pricing. We read its pricing page every week. One email per change, unsubscribe any time.

Have an account? Sign in and it is on in one click.

Reviews

Improve Your Thinking Patterns Using ChatGPT cover
$99 Free with your review

Write the first shim-cli review, get a free AI guide

Share your experience and we will send you Improve Your Thinking Patterns Using ChatGPT, free.

Write the first review

Questions and feature requests

Ask about shim-cli or say what is missing. Other users can answer; the company can once it claims this page.

This company has not claimed its page yet. Claim it to answer questions and collect feature requests.

Claim this page

Explore More

shim-cli FAQ

Which coding agents does shim-cli support?

shim-cli supports Claude Code, Codex, Copilot CLI, and VS Code. It does not support agents like Cursor, Windsurf, or Gemini CLI.

How does shim-cli mask sensitive data?

It installs a native hook in the agent. When the agent reads a file or tool result containing a key, IBAN, email, or other sensitive value, the model receives a placeholder like <SECRET_1> instead of the actual value.

Can shim-cli audit past sessions without sending data anywhere?

Yes, the shim audit command reads Claude Code's local session history and counts what reached the model by kind, project, and source. It prints no values, keeps nothing, and sends nothing externally.

What is the difference between 'shim install' and 'shim watch'?

shim install permanently installs a hook that masks data in every session of the agent. shim watch runs a temporary local proxy for a single command to report tokens, spend, and every secret or personal value that went past, without writing anything to disk.

How can I test shim-cli before installing it?

Run 'shim demo <client>' (e.g., 'shim demo claude') which runs the detector on a made-up sentence and shows the before and after lines. It installs nothing.

Does shim-cli work on Windows?

shim-cli runs on macOS and Linux. On Windows, it only works inside WSL. If run on Windows outside WSL, the installation process will stop and inform the user.

How do I install shim-cli?

It can be installed via uv with 'uv tool install --python 3.12 --compile-bytecode shim' or via pipx with 'pipx install --python python3.12 --fetch-missing-python shim'. Python 3.10 or newer is required.

What happens if I try to use an unsupported coding agent?

If an unsupported agent like Cursor, Windsurf, or Gemini CLI is detected during setup, shim-cli will stop and report that it does not support that agent and will not install anything.

Does shim-cli have a promo code or discount code?

As of November 21, 2026, Toolradar has no shim-cli promo code, coupon or discount code on file. shim-cli's own pricing page (https://getshim.tech/products/shim-cli, read November 21, 2026) does list a free plan, so you can start without a code. Offers change, so confirm the terms at checkout.

Source: getshim.tech

Guides & Articles