env-example

Reviewed at commit 39335b2

List variable names and missing placeholders in an example env file.

Made by
Yash Thakker
What we checked

Opens a pane with /env-example [path] that reads an example env file (.env.example, .sample or .template) and lists each variable name with whether it has an example value or needs one. Real .env files, symlinks and files over 256 KiB are refused, and the values themselves are never shown.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (command registration), command.run for env-example and a ui.render handler. Runtime calls: $.fs.stat, $.fs.read on the path typed by the user (default .env.example), $.ui.open, $.ui.invalidate. A regular expression requires the file name to end in .example, .sample or .template after env, and symlinks are rejected; the path itself is not confined to the project folder. The parser outputs line number, variable name and a fixed phrase, not the value. Nothing is written, stored or sent. Not reviewed: nothing outstanding.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: no
  • Shows something on screen: yes
Hooked events
Screenshot of env-example
Made this mod? Add a badge to your README

modsforClaude badge for env-example

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/env-example.svg)](https://modsforclaude.com/mods/env-example/)

← All mods