← Back to Product Feed

Product Hunt shim-cli

See what your coding agent sends. Mask what you can.

114
Traction Score
14
Discussions
Oct 18, 2026
Launch Date
View Origin Link

Product Positioning & Context

An open-source hook and local proxy for Claude Code, Codex, Copilot CLI and VS Code. In Claude Code it masks secrets and personal data in tool results before the model reads them, and shim watch shows what a session sent and cost. No account, no telemetry.
Open Source Privacy Developer Tools

Related Ecosystem & Alternatives

Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.

Deep-Dive FAQs

What is shim-cli?
shim-cli is a digital product or tool described as: See what your coding agent sends. Mask what you can.
Where did shim-cli originate?
Data for shim-cli was aggregated directly from the Product Hunt community ecosystem, representing raw developer and early-adopter sentiment.
When was shim-cli publicly launched?
The initial public indexing or launch date for shim-cli within our tracked developer communities was recorded on October 18, 2026.
How popular is shim-cli?
shim-cli has achieved measurable traction, logging over 114 traction score and facilitating 14 recorded discussions or engagements.
Which technical categories define shim-cli?
Based on metadata extraction, shim-cli is categorized under topics such as: Open Source, Privacy, Developer Tools.
Are there open-source alternatives related to shim-cli?
Yes, the GitHub ecosystem contains correlated projects. For example, a repository named shihabal3amri/DiPlay shares highly similar architectural descriptions and topics.
How does the creator describe shim-cli?
The original author or development team describes the product as follows: "An open-source hook and local proxy for Claude Code, Codex, Copilot CLI and VS Code. In Claude Code it masks secrets and personal data in tool results before the model reads them, and shim watch sh..."

Community Voice & Feedback

[Redacted] • Oct 18, 2026
Is it a router between me and the provider? Does it make it slower
[Redacted] • Oct 18, 2026
Congrats Mertcan and the shim team on the launch. Being upfront about what it can't mask, like typed prompts and failed command output, makes me trust the rest more. When a tool result gets instead of the key and the agent then writes that placeholder into a config file or a curl call, does shim swap the real value back on the way out, or does the agent just end up with a broken file?
[Redacted] • Oct 18, 2026
Great idea! Congrats on the launch!

How does it handle an agent that writes a script that reads a .env file and prints it? Does the output of the script get masked too? Also if the script sends the secrets out, does that get caught too?
[Redacted] • Oct 18, 2026
Coding agents today are reading files, executing commands, and sending all of that information to a model on every step, and in most cases, not many people know what left the machine. This is a new channel of data collection in the development process, and it's barely studied right now.From my point of view, working at GTM at shim, it's a small niche, but a vital one. It should be a default layer in your stack, like secret scanning and network logging. It will not be a magic solution, but a minimum for every team to enable without creating an account or going through the procurement cycle.
[Redacted] • Oct 18, 2026
Masking secrets in tool results before the model ever sees them solves the thing that always made me nervous about letting Claude Code run loose, and a local proxy with no telemetry is exactly how I want to audit it.
[Redacted] • Oct 18, 2026
@mertcansaglam - great addition to anyones agentic workflow. Best of luck with the launch.
[Redacted] • Oct 17, 2026
If you are using an AI agent: You can paste this prompt:



Set up shim-cli 1.2.0 on this machine for me, then show me that it works.

shim-cli is an open source CLI (Apache-2.0). It finds secrets and personal data in what my coding agent sends to the model, and masks them where the client allows it.
Read first: https://github.com/GetSHIM/shim-... and https://github.com/GetSHIM/shim-...

How to work:
- Before each command, show it to me and wait for my OK.
- Use --json where a command offers it. Branch on "code" and do what "fix" says.
- Never add --yes until I have seen the --dry-run output and said yes.
- Change settings only through shim commands. Do not edit a client's settings file yourself.
- Do not use sudo, curl piped to a shell, or any flag that skips permissions or hook trust.
- Do not open, print or scan my real .env files or secrets. To list the names in a .env without values, use: shim keys .env --json
- If anything here disagrees with the README at that tag, follow the README and tell me.

Steps:
1. Check the OS. shim-cli runs on macOS and Linux. On Windows outside WSL, stop and tell me.
2. Install it with uv, or with pipx if uv is missing:
uv tool install --python 3.12 --compile-bytecode shim
pipx install --python python3.12 --fetch-missing-python shim
3. Ask me which agent I use: claude, codex or copilot. For VS Code, follow the README section "VS Code" instead.
4. Preview the hook and show me the target file and the fragment:
shim install --dry-run --json
After my yes: shim install --yes --json
5. Check it: shim doctor --json
For every check that is not PASS, show me its code and its fix.
6. If I use Codex, tell me to open /hooks in Codex and enable the shim entry.
7. Tell me what shim will do in my next session, as the README's "Supported clients" table says for my client.

Only if I ask: shim audit counts what my past Claude Code sessions already sent, without printing any value.
[Redacted] • Oct 12, 2026
Hi Product Hunt, I'm Mertcan, one of the makers of shim-cli.We built it because we wanted to see what our own coding agents send to the model. A request carries a lot more than your prompt: the system prompt and the tools array, plus every file the agent read along the way. When the agent opens a .env, the keys in it go to the model too, and nothing in the session tells you.shim-cli sits next to the agent you already use and runs on your machine:• shim install claude adds hooks to Claude Code. When a tool result holds an API key, a password, an email, an IBAN, a phone number or a Turkish ID number, the model gets a placeholder like instead.• shim watch -- claude runs one session through a local proxy and prints where the input tokens went, what the session cost (or would cost on an API key), and which sensitive values were in the request and the response. It forwards every byte unchanged.There's no account and no telemetry, and the hook adds no network destination. Codex, GitHub Copilot CLI and VS Code are supported too, with less coverage.What it cannot do, so you know before you install:• A prompt you type into Claude Code or Codex is not masked, because neither client lets a hook rewrite it. shim reports it, or stops it under enforce. Copilot CLI does get the masked prompt.• In Claude Code, shell commands, the output of a failed command and files attached with @ are reported, not masked.• Codex and Copilot CLI tool traffic is not inspected, and VS Code only reports.• Detection is best effort and misses some values. It is not a DLP boundary.• macOS and Linux only. Windows is first on our list.Try it in a minute:uv tool install --python 3.12 shimshim demo claudeshim install claudeIt's Apache-2.0 on GitHub. The feedback we want most: what shim missed in your own sessions, and which client we should go deeper on next.

Discovery Source

Product Hunt Product Hunt

Aggregated via automated community intelligence tracking.

Tech Stack Dependencies

No direct open-source NPM package mentions detected in the product documentation.

Media Tractions & Mentions

No mainstream media stories specifically mentioning this product name have been intercepted yet.

Deep Research & Science

No direct peer-reviewed scientific literature matched with this product's architecture.