All shelves / Mods / Safety
wp-credential-guard
By nathanonn
wp-credential-guard is a Claude Code safety mod by nathanonn.
Masks a WordPress username and application password, refuses a slash command that carries one, and denies Bash when a placeholder is unknown.
DrawsHolds a command
Install
The marketplace name is nathanonn-agent-skills.
/plugin marketplace add nathanonn/agent-skills /plugin install wp-credential-guard@nathanonn-agent-skills
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 1.0.0
- License
- MIT
- Repo stars
- 21
- Last change
- 2026-09-16
What it can reach
- Draws in the session
- Holds a command
- Sees tool calls
Claude Code only. On the way into the model's context, a WordPress username or Application Password is replaced with a session-scoped placeholder. On the way into a Bash tool call, the placeholder is replaced with the real value. A placeholder the vault has never held denies the Bash call. Slash commands are refused, not masked: the prompt is dropped. A masked prompt also staples a note telling the model how placeholders work. The vault is plain module memory, it dies with the session, and nothing ever writes a real credential to disk. The on-screen rewrite is cosmetic. The README says to treat whether a refused prompt stayed out of the session transcript as an open question on your build. Copying the folder into .claude/plugins/ does not register the hooks. If the install summary asks you to reload, run /reload-plugins. A checkout starts with claude --plugin-dir /path/to/wp-credential-guard. The README does not say the plugin itself sends anything out. The Bash command the model wrote runs with the real value.
The marketplace name is nathanonn-agent-skills. The Bash deny is an unknown placeholder, not every curl. The slash-command refusal drops the prompt before it runs. A skill prompt is masked and cannot be refused.
Demo

What it hooks into
prompt.submitWhen you send a promptskill.promptA Claude Code eventtool.callAround a tool call, where it can hold oneSkillBashui.renderDraws into the sessionUserMessage
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- nathanonn
- Category
- Safety
- Marketplace
- nathanonn-agent-skills
- Folder
- plugins/wp-credential-guard
- Version
- 1.0.0
- License
- MIT
- Repo stars
- 21
- Last change
- 2026-09-16
- Language
- JavaScript
- Files
- 6