← All projects
Project record1 mention
Originally shared on Hacker News

Intent-lens

A Claude Code plugin that displays a plain-language line above the prompt while Claude Code is running a call, describing what it is about to do (e.g. "Survey disk usage by file type"), spells out the steps for longer pipelines, and turns red with a few-second warning when a command looks destructive (rm -rf, force push, curl | sh). It works off the tool's own arguments, so by default there is no extra model call and nothing leaves the machine; an optional mode asks Claude to reword unclear commands. The risk check is pattern matching on command text, positioned as a heads-up rather than a safety net.

Last shared
01 / The problem

What it addresses

When using Claude Code in auto mode, the commands it runs scroll past quickly and are hard to parse, so users stop reading them.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Intent-lens

    A Claude Code plugin that displays a plain-language line above the prompt while Claude Code is running a call, describing what it is about to do (e.g. "Survey disk usage by file type"), spells out the steps for longer pipelines, and turns red with a few-second warning when a command looks destructive (rm -rf, force push, curl | sh). It works off the tool's own arguments, so by default there is no extra model call and nothing leaves the machine; an optional mode asks Claude to reword unclear commands. The risk check is pattern matching on command text, positioned as a heads-up rather than a safety net.

    Problem: When using Claude Code in auto mode, the commands it runs scroll past quickly and are hard to parse, so users stop reading them.

    Posted by @dhananjay-jsr · Original source ↗

    Story title · @dhananjay-jsr · · Source ↗

    Show HN: Intent-lens – see what Claude Code is about to do, before it does it

    Submitted URL · @dhananjay-jsr · · Source ↗

    https://github.com/Dhananjay-JSR/claude-mods/tree/main/plugins/intent-lens

    Source text · @dhananjay-jsr · · Source ↗

    So I made a small plugin that puts one plain line above the prompt while the call is running, like "Survey disk usage by file type", and for longer pipelines it spells out the steps. If the command looks destructive (rm -rf, force push, curl | sh, that kind of thing) the line goes red and you get a warning for a few seconds

    Source text · @dhananjay-jsr · · Source ↗

    I use Claude Code in auto mode a lot and kept catching myself not reading the commands it runs. They scroll past fast, and half of them are find | xargs | awk one-liners I'd need a minute to parse anyway

    Source text · @dhananjay-jsr · · Source ↗

    It works off the tool's own arguments, so by default there's no extra model call and nothing leaves your machine. There's an optional mode where it asks Claude to reword the unclear ones, mostly edits