New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@sensegrep/cli

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sensegrep/cli

Command-line semantic code search for AI coding workflows — find the right code by meaning using semantic, exact, and AST-aware retrieval.

Source
npmnpm
Version
1.8.0
Version published
Weekly downloads
92
441.18%
Maintainers
1
Weekly downloads
 
Created
Source

@sensegrep/cli

Command-line interface for sensegrep semantic + structural code search.

Install

npm install -g @sensegrep/cli

Quickstart

sensegrep index --root .
sensegrep status --root .              # fast metadata-only stats
sensegrep status --root . --verify     # freshness check
sensegrep search "error handling and retry logic"
sensegrep search emit --exact --no-shake --include "src/**/*.ts"
sensegrep survey "authentication login token" --limit 4
sensegrep cluster "checkout payment order cart" --limit 4
sensegrep detect-duplicates --cross-file-only
sensegrep semantic-kinds --json

--json writes parseable JSON to stdout; progress and warnings are written to stderr. Use --log-format none when a JSON command must suppress human progress logs entirely. If an --include/--exclude scope matches no indexed files, JSON output includes a structured warning instead of failing silently.

Documentation

  • CLI reference: https://github.com/Stahldavid/sensegrep/blob/main/docs/cli-reference.md
  • Getting started: https://github.com/Stahldavid/sensegrep/blob/main/docs/getting-started.md
  • Issues: https://github.com/Stahldavid/sensegrep/issues

Keywords

semantic-search

FAQs

Package last updated on 10 Jul 2026

Related posts