What is auth-guard?
auth-guard is a Claude Code mod by DominickGiordano that spots an expired CLI login in tool output and offers a Login button that signs in and retries. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | DominickGiordano |
| Repository | DominickGiordano/claude-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Review before installing (76/100) |
| Rank | #3,088 of 5,272 Claude Code mods; #351 in Security |
| License | MIT |
| Last commit | 2026-10-02 |
| Hooks | 3 events |
| Sees | Bash calls |
| Draws on | AbovePrompt |
Is auth-guard safe to install?
auth-guard scores 76/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables. It passed 6 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 no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.env.get | reads env vars |
$.process.run | runs processes |
$.session.surfaces | |
$.state.get | |
$.state.set | |
$.ui.ask | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install auth-guard?
- 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/DominickGiordano/claude-mods claude plugin validate ./claude-mods/auth-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add DominickGiordano/claude-mods && claude plugin install auth-guard@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs auth-guard for you:
Install the "auth-guard" Claude Code mod from https://github.com/DominickGiordano/claude-mods/tree/main/auth-guard. Run claude plugin validate on it first and show me what it can access before you enable it.
More from DominickGiordano/claude-mods
This repository has 6 Claude Code mods on MCPMods.
- fleet: /fleet shows every live Claude Code session on this machine, and /send messages one. (Review before installing)
- handoff: A checklist of the shell commands Claude hands you to run: captured from replies, ticked when you run them, confirmed by (Low risk)
- meter: Memory, plan and weekly limits as bars above the prompt; /tokens charts token usage by day, repo, branch and model. (Low risk)
- pr-watch: Watches the PRs Claude opens: a band row with CI and merge state, merge buttons, and a nudge when one merges. (Low risk)
- quick: Instant commands that run without a Claude turn: /k, /links, /yank, /now. (Low risk)