What is safe-keys?
safe-keys is a Claude Code mod by markfulton that a Claude Code mod. Paste an API key into the chat and it becomes a name everywhere: the transcript on disk, the screen, the model. Your tools still use it as $NAME. It is listed under Interface and has 3 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | markfulton |
| Repository | markfulton/safe-keys |
| Popularity | 3 GitHub stars |
| Category | Interface |
| Security | High risk (48/100) |
| Rank | #2,037 of 9,397 Claude Code mods; #862 in Interface |
| License | MIT |
| Last commit | 2026-10-29 |
| Hooks | 10 events |
| Sees | classic hooks, every prompt, every tool call |
| Draws on | any component |
Is safe-keys safe to install?
safe-keys scores 48/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 3 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.command.register | |
$.env.get | reads env vars |
$.env.set | sets env vars |
$.fs.read | reads files |
$.fs.stat | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.session.cwd | |
$.session.id | |
$.ui.invalidate | draws interface |
$.ui.log | draws interface |
$.ui.toast | draws interface |
How do I install safe-keys?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/markfulton/safe-keys claude plugin validate ./safe-keys/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add markfulton/safe-keys && claude plugin install safe-keys@safe-keys
Or ask Claude to set it up
Paste this into Claude Code and it installs safe-keys for you:
Install the "safe-keys" Claude Code mod from https://github.com/markfulton/safe-keys. Run claude plugin validate on it first and show me what it can access before you enable it.