wdym
Skill1 starsChanged 4 months agoMITView on GitHub
Rewrite, improve, or enhance a prompt. Runs on /wdym, on any request to improve/enhance/rewrite a prompt, and on a UserPromptSubmit <prompt-detect> block — once per block (one prompt_id), never again for a Stop-hook bounce or retry in the same turn. Detects prompt type (code, question, text-gen), applies up to 3 matched principles, and runs the rewrite immediately — or runs the prompt as typed when nothing would improve it. Manage with /wdym --init, --status, --help.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- jtlgrowth/wdymtheir own version, first seen Oct 15, 2026
- AmosChenZixuan/Agentic-working-contracttheir own version, first seen Jul 2, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- AmosChenZixuan/Agentic-working-contract★ 2same name
- jtlgrowth/wdym★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Files
wdym
Host portability. wdym runs on any agent host with a UserPromptSubmit
hook. Two things vary by host while the skill is running (a third set — where
installed files land — is resolved by refs/init.md, and only during --init):
- Command prefix —
/wdymon Claude Code,$wdymon Codex. This skill writes/wdymthroughout; use the running host's prefix in anything shown to the user. - Asking the user (only during
--init) — the ask step inrefs/init.md. Use theAskUserQuestiontool when it is available, otherwise ask in plain text and end the turn. Choose by whether that tool is available, never by guessing which host you are on.
Activation is set by pref.json's activation key and chosen at
/wdym --init:
hook— fires onUserPromptSubmit.<prompt-detect>block present ⇒ run this skill; absent ⇒ respond normally. Run it once per block: the block stays in context for the whole turn, so a Stop-hook bounce, a retry, or a later step of the same turn is not a new prompt. A block whoseprompt_idalready ran is done.- Plugin install — the plugin's
hooks/hooks.jsonwires the hook, and an absentactivationkey meanshook./wdym --initstill writes the pref and the contract, and never adds a settings entry (refs/init.mdStep I5). on-demand— no hook fires; prompts arrive with no block, which the protocol handles via its no-hook fallback paths.
Either way, an explicit /wdym <prompt> or a request to "improve / enhance /
rewrite this prompt" runs the skill.
Follow refs/protocol.md end-to-end (Steps 0–7). If the prompt carries a
/wdym command flag (--init / --help / --status, or a retired run-mode
flag), follow refs/commands.md instead and terminate — never enhance a prompt.
An inline --global flag is handled inside the protocol.
Output discipline: flash-only — no gate, no preview, no step markers, no original prompt, no principles or rationale. Visible output is only the self-check repair line, when something was healed.
Caching: refs/protocol.md holds the whole run, principles included — read
it once per session and rebuild the working principle pool per run from it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

