package-scripts

Reviewed at commit 39335b2

List npm scripts and package identity without running them.

Made by
Yash Thakker
What we checked

Adds a /package-scripts command that opens a pane listing the name, version and npm scripts of a package.json (default ./package.json, up to 256 KiB). It only displays the script text and never runs any script; it makes no network calls and stores nothing.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (to register the package-scripts command), command.run (filtered to package-scripts) and ui.render for its own pane. Runtime calls: $.command.register, $.fs.stat, $.fs.read (read-only, size capped at 262144 bytes, path from the command argument or the pane input, rejected only when empty, starting with a dash or containing control characters), $.ui.open, $.ui.invalidate, $.ui.resolve. The file is parsed with JSON.parse and the scripts are printed as text. Output is stripped of control characters and truncated to 9000 characters. Errors are caught and shown in the pane. No writes, no network, no process execution. No npm dependencies.

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 package-scripts
Made this mod? Add a badge to your README

modsforClaude badge for package-scripts

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/package-scripts.svg)](https://modsforclaude.com/mods/package-scripts/)

← All mods