snippet-gen

Verified·Scanned 2/18/2026

Generates VS Code snippets by scanning a provided directory (e.g., ./src/) and sending code excerpts to OpenAI. The tool requires the OPENAI_API_KEY environment variable and performs network calls to the OpenAI client; no other security-relevant behaviors were detected.

from clawhub.ai·vdeda42a·34.8 KB·0 installs
Scanned from 1.0.1 at deda42a · Transparency log ↗
$ vett add clawhub.ai/lxgicstudios/snippet-gen

ai-snippet

Generate VS Code snippets from code patterns in your project

Install

npm install -g ai-snippet

Usage

npx ai-snippet ./src/
npx ai-snippet ./lib/components/

Setup

export OPENAI_API_KEY=sk-...