nah
github.com · Open source · Active
Permission guard that classifies Claude Code tool calls by what they do
- Security & privacy
- Open source
- Rust
- Day-7 check
- Day-30 check
- claude code
- permission
- hooks
- security
- claude code hook
- agent command guard
- block dangerous commands ai
- permission guard coding agen
- claude code safety
- Stars
- 494
- Forks
- 26
- Open issues
- 1
- Last commit
- Releases
- 38
- Found
- 8 months ago
GitHub figures as of . They are context, not a ranking.
nah is a PreToolUse hook for Claude Code that classifies each tool call by its effect and applies allow, ask, context, or block policies. The classifier is deterministic and runs in milliseconds, and unclassified commands can optionally be escalated. It suits developers who want fewer blanket permissions without giving agents free rein.
Repository description on GitHub: “a guard that blocks catastrophic agent actions”
What it does
- PreToolUse hook that classifies Claude Code tool calls by their effect
- Deterministic classifier that runs in milliseconds with no LLM
- Blocks catastrophic commands and never approves anything itself
- 48 guards, 30 of them on by default
Good for
- Block destructive shell commands from a coding agent
- Stop an agent from running a risky git checkout
- Reduce blanket permission prompts in Claude Code
Suits: Developers running coding agents who want guardrails without full permission.
Worth knowing: It only blocks the disasters it can prove, and everything else falls to normal permissions.
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw nah on , when schipperai posted it to Show HN. The oldest published release on GitHub is v0.2.0, dated . Its first tagged release came 2 days after it was found. 38 releases have been published in total; the latest is v1.8.0 ().
Day-7 and day-30 updates
Day 7 9 releases shipped
- 9 releases in the first 7 days: v0.3.0 (13 Mar 2026), v0.3.1 (13 Mar 2026), v0.4.0 (14 Mar 2026), v0.4.1 (15 Mar 2026), v0.4.2 (16 Mar 2026), v0.5.0 (17 Mar 2026), v0.5.1 (18 Mar 2026), v0.5.2 (18 Mar 2026) and earlier ones
- Show HN discussion at check time: 127 points, 94 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 12 releases shipped
- 12 releases in the first 30 days: v0.4.1 (15 Mar 2026), v0.4.2 (16 Mar 2026), v0.5.0 (17 Mar 2026), v0.5.1 (18 Mar 2026), v0.5.2 (18 Mar 2026), v0.5.3 (25 Mar 2026), v0.5.4 (25 Mar 2026), v0.5.5 (26 Mar 2026) and earlier ones
- Show HN discussion at check time: 127 points, 94 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: manuelschipper/nah
- Found: schipperai posted it to Show HN. Show HN
- Release v0.2.0
- Release v1.4.0
- Release v1.5.0
- Release v1.6.0
- Release v1.6.1
- Release v1.7.0
- Release v1.8.0
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Showing the first and the 6 latest of 38 releases. All releases on GitHub
Quick answers
- When was nah released?
- Its first tagged release on GitHub is dated 13 Mar 2026. Kip found it on Show HN on 11 Mar 2026.
- Is nah open source?
- Its source is public on GitHub at manuelschipper/nah under the MIT licence.
- What does nah run on?
- Command line.
- Is nah free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is nah still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | manuelschipper/nah REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-47343927. Summary written by KipFound’s editor.
Share
Similar tools
- claude-code-safety-netActive
Guard that blocks destructive git and file commands from AI coding agents
- Destructive Command GuardActive
Safety hook that blocks destructive shell and git commands from AI agents
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.