prompt-shaper

prompt-shaper is a Claude Code mod by anhtuan23004 that rewrites short, casual prompts with a fast model into Context / Objective / Steps / Output / Constraints, then lets you send the shaped or the original version.

Updated 2026-10-14

What is prompt-shaper?

prompt-shaper is a Claude Code mod by anhtuan23004 that rewrites short, casual prompts with a fast model into Context / Objective / Steps / Output / Constraints, then lets you send the shaped or the original version. It is listed under Context & memory and has no public popularity data yet.

TypeClaude code mod
Authoranhtuan23004
Repositoryanhtuan23004/claude-mod
Popularityno public popularity data yet
CategoryContext & memory
SecurityReview before installing (76/100)
Rank#4,934 of 9,397 Claude Code mods; #437 in Context & memory
Last commit2026-10-14
Hooks5 events
Seesevery prompt
Draws onPane

Is prompt-shaper safe to install?

prompt-shaper scores 76/100 on the MCPMods security check: Review before installing. Things to review: watches every prompt or event. It passed 4 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.command.register
$.model.completedrives Claude
$.prompt.fillwrites the prompt box
$.prompt.submitdrives Claude
$.session.messagesreads the transcript
$.session.surfaces
$.state.get
$.state.set
$.ui.closedraws interface
$.ui.copydraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install prompt-shaper?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/anhtuan23004/claude-mod
    claude plugin validate ./claude-mod/prompt-shaper
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add anhtuan23004/claude-mod && claude plugin install prompt-shaper@prompt-shaper-local

Or ask Claude to set it up

Paste this into Claude Code and it installs prompt-shaper for you:

Install the "prompt-shaper" Claude Code mod from https://github.com/anhtuan23004/claude-mod/tree/main/prompt-shaper. Run claude plugin validate on it first and show me what it can access before you enable it.