/magic-words:magic-wordsfrom Magic Words
Maps vague or under-specified user requests to named techniques (e.g. least privilege, pre-mortem) and folds the right phrasing into the working brief before work begins.
Ships in Magic Words. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
There is usually a named technique for whatever someone is stuck on — least privilege, pre-mortem, Chesterton's fence, cost of delay — and naming it is what makes a model actually do it instead of producing something generic. The catch is that you cannot ask for a term you have never heard of. So people describe the symptom and get an answer aimed at the symptom.
This skill closes that gap. It reads what the user actually said, finds the techniques that answer it, and puts the phrasing into the working brief before any work happens.
magic-words is on your PATH whenever this plugin is enabled. No install, no
network, no dependencies — it is one file with the whole index in it.
Pass the user's words through stdin, verbatim, including the mess:
magic-words <<'RAMBLE'
<the user's message, exactly as they wrote it>
RAMBLE
A heredoc rather than an argument, because real requests contain quotes, apostrophes and newlines.
If magic-words: command not found — which happens when this skill was copied
into .claude/skills/ rather than installed as a plugin — the script sits
beside this file, so node <this directory>/magic-words.mjs does the same
thing.
Useful flags: --limit <n> (default 3), --json, --show <id> for one
concept in full, --list [filter] to see everything in the index.
Each result carries the strand of the user's own words that summoned it, the exact phrase to apply, why that phrasing works, and where it misfires. At the end is the user's request with the confident phrases folded in.
[thin evidence] unless it is obviously right — that flag means the match is
resting on meaning alone, and those are wrong far more often than they look.--list and --show to check.A ramble — several problems in one message, no question mark in sight. The tool cuts it into the problems it contains and answers each one, so the reply should too. Deal with them in the order the user raised them, not in the order the tool ranked them.
A direct question — "what's the term for when you delete code that looks
useless", "what are the magic words for making it stop being so generic". Then
this is a lookup rather than a steer: give the name, the origin, the phrase to
use, and one line on where it misfires. --show <id> prints all of that.
The index and the ranking are the same ones behind
magic-words —
BM25 plus a latent semantic space over the corpus, both built locally. The
[thin evidence] flag is calibrated against 131 evaluation cases, where picks
carrying it are right 0% of the time against a 66% baseline. npm run bench in
that repository prints the numbers, and --json gives you the same fields the
site shows.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub michellemayes/magic-words --plugin magic-words