prompt-studio plugin
Prompt engineering workbench with a Lean persona layer that cuts LLM output size, cost, and latency.
How to install the prompt-studio plugin
Run both commands inside Claude Code. The first adds the marketplace once; the second installs the plugin.
/plugin marketplace add utk2103/Prompt-Studio
/plugin install prompt-studio@prompt-studioWhat's inside prompt-studio
11 parts read from the plugin's own files.
Agents 3
Call as @agent-prompt-studio:name- @agent-prompt-studio:lean-crew-builder
>
- @agent-prompt-studio:lean-crew-investigatorhaiku
>
- @agent-prompt-studio:lean-crew-reviewerhaiku
>
Skills 8
Claude loads it when the task matches- compress
Prompt-Studio memory compressor. Shrinks CLAUDE.md, todo lists, and preference files into Prompt-Studio's lean format to cut input tokens on every load. Preserves all technical substance, code, URLs, and structure. Compressed output overwrites the original; human-readable backup stored out-of-tree as FILE.original.md so Prompt-Studio's skill auto-loader won't re-ingest it. Trigger: /prompt-studio:compress FILEPATH or "compress memory file".
- lean
Forces the laziest solution that actually works, simplest, shortest, most minimal. Channels a senior dev who has seen everything: question whether the task needs to exist at all (YAGNI), reach for the standard library before custom code, native platform features before dependencies, one line before fifty. Supports intensity levels: lite, full (default), ultra. Use on ANY coding task: writing, adding, refactoring, fixing, reviewing, or designing code, and choosing libraries or dependencies. Also use whenever the user says "lean", "be lazy", "lazy mode", "simplest solution", "minimal solution", "yagni", "do less", or "shortest path", or complains about over-engineering, bloat, boilerplate, or unnecessary dependencies. Do NOT use for non-coding requests (general knowledge, prose, translation, summaries, recipes).
- lean-audit
Whole-repo audit for over-engineering. Like lean-review, but scans the entire codebase instead of a diff: a ranked list of what to delete, simplify, or replace with stdlib/native equivalents. Use when the user says "audit this codebase", "audit for over-engineering", "what can I delete from this repo", "find bloat", "lean-audit", or "/lean-audit". One-shot report, does not apply fixes.
- lean-commit
Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /prompt-studio:lean-commit. Offer it when the user stages changes.
- lean-debt
Harvest every `lean:` comment in the codebase into a debt ledger, so the deliberate shortcuts and deferrals Lean leaves behind get tracked instead of rotting into "later means never". Use when the user says "lean debt", "/lean-debt", "what did lean defer", "list the shortcuts", "lean ledger", or "what did we mark to do later". One-shot report, changes nothing.
- lean-gain
Show Lean's measured impact as a compact scoreboard: less code, more speed, from the benchmark medians. One-shot display, not a persistent mode, and not a per-repo number. Trigger: /lean-gain, "lean gain", "what does lean save", "show lean impact", "lean scoreboard".
- lean-help
Quick-reference card for all Lean modes, skills, and commands. One-shot display, not a persistent mode: shows the card and exits without switching levels, writing flag files, or persisting anything. Trigger: /lean-help, "lean help", "what lean commands", "how do I use lean", "lean cheatsheet", "lean reference".
- lean-review
Code review focused exclusively on over-engineering. Finds what to delete: reinvented standard library, unneeded dependencies, speculative abstractions, dead flexibility. One line per finding: location, what to cut, what replaces it. Use when the user says "review for over-engineering", "what can we delete", "is this over-engineered", "simplify review", or invokes /lean-review. Complements correctness-focused review, this one only hunts complexity.
Using prompt-studio in Claude Code
Ask for an agent by name:
@agent-prompt-studio:lean-crew-builder
@agent-prompt-studio:lean-crew-investigatorSkills need no command. Claude reads them when your request matches what they describe.
Update, turn off or remove
- Update the plugin (shell)
- claude plugin update prompt-studio@prompt-studio
- Refresh the marketplace
- /plugin marketplace update prompt-studio
- Turn it off for now
- /plugin disable prompt-studio@prompt-studio
- Remove it
- /plugin uninstall prompt-studio@prompt-studio
Skills in prompt-studio
- compressutk2103/Prompt-Studio
Prompt-Studio memory compressor. Shrinks CLAUDE.md, todo lists, and preference files into Prompt-Studio's lean format to cut input tokens on every load. Preserves all technical substance, code, URLs, and structure. Compressed output overwrites the original; human-readable backup stored out-of-tree as FILE.original.md so Prompt-Studio's skill auto-loader won't re-ingest it. Trigger: /prompt-studio:compress FILEPATH or "compress memory file".
10 files9stars - leanutk2103/Prompt-Studio
Forces the laziest solution that actually works, simplest, shortest, most minimal. Channels a senior dev who has seen everything: question whether the task needs to exist at all (YAGNI), reach for the standard library before custom code, native platform features before dependencies, one line before fifty. Supports intensity levels: lite, full (default), ultra. Use on ANY coding task: writing, adding, refactoring, fixing, reviewing, or designing code, and choosing libraries or dependencies. Also use whenever the user says "lean", "be lazy", "lazy mode", "simplest solution", "minimal solution", "yagni", "do less", or "shortest path", or complains about over-engineering, bloat, boilerplate, or unnecessary dependencies. Do NOT use for non-coding requests (general knowledge, prose, translation, summaries, recipes).
9stars - lean-commitutk2103/Prompt-Studio
Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /prompt-studio:lean-commit. Offer it when the user stages changes.
9stars - lean-helputk2103/Prompt-Studio
Quick-reference card for all Lean modes, skills, and commands. One-shot display, not a persistent mode: shows the card and exits without switching levels, writing flag files, or persisting anything. Trigger: /lean-help, "lean help", "what lean commands", "how do I use lean", "lean cheatsheet", "lean reference".
9stars - lean-auditutk2103/Prompt-Studio
Whole-repo audit for over-engineering. Like lean-review, but scans the entire codebase instead of a diff: a ranked list of what to delete, simplify, or replace with stdlib/native equivalents. Use when the user says "audit this codebase", "audit for over-engineering", "what can I delete from this repo", "find bloat", "lean-audit", or "/lean-audit". One-shot report, does not apply fixes.
9stars - lean-debtutk2103/Prompt-Studio
Harvest every `lean:` comment in the codebase into a debt ledger, so the deliberate shortcuts and deferrals Lean leaves behind get tracked instead of rotting into "later means never". Use when the user says "lean debt", "/lean-debt", "what did lean defer", "list the shortcuts", "lean ledger", or "what did we mark to do later". One-shot report, changes nothing.
9stars - lean-gainutk2103/Prompt-Studio
Show Lean's measured impact as a compact scoreboard: less code, more speed, from the benchmark medians. One-shot display, not a persistent mode, and not a per-repo number. Trigger: /lean-gain, "lean gain", "what does lean save", "show lean impact", "lean scoreboard".
9stars - lean-reviewutk2103/Prompt-Studio
Code review focused exclusively on over-engineering. Finds what to delete: reinvented standard library, unneeded dependencies, speculative abstractions, dead flexibility. One line per finding: location, what to cut, what replaces it. Use when the user says "review for over-engineering", "what can we delete", "is this over-engineered", "simplify review", or invokes /lean-review. Complements correctness-focused review, this one only hunts complexity.
9stars
prompt-studio plugin questions
How do I install the prompt-studio plugin?
In Claude Code run /plugin marketplace add utk2103/Prompt-Studio, then /plugin install prompt-studio@prompt-studio.
What does the prompt-studio plugin include?
prompt-studio bundles 3 agents, 8 skills.
Which agents come with prompt-studio?
lean-crew-builder, lean-crew-investigator, lean-crew-reviewer. Call one with @agent-prompt-studio:lean-crew-builder.
How do I update or remove the prompt-studio plugin?
Update it with claude plugin update prompt-studio@prompt-studio in your shell, or from the Installed tab of /plugin. Remove it with /plugin uninstall prompt-studio@prompt-studio.