A context-aware permission guard for Claude Code
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
We needed something like --dangerously-skip-permissions that doesn’t nuke your untracked files, exfiltrate your keys, or install malware.Claude Code's permission system is allow-or-deny per tool, but that doesn’t really scale. Deleting some files is fine sometimes. And git checkout is sometimes not fine. Even when you curate permissions, 200 IQ Opus can find a way around it. Maintaining a deny list is a fool's errand.nah is a PreToolUse hook that classifies every tool call by what it actually does, using a deterministic classifier that runs in milliseconds. It maps commands to action types like filesystem_read, package_run, db_write, git_history_rewrite, and applies policies: allow, context (depends on the target), ask, or block.Not everything can be classified, so you can optionally escalate ambiguous stuff to an LLM, but that’s not required. Anything unresolved you can approve, and configure the taxonomy so you don’t get asked again.It works out of the box with sane defaults, no config needed. But you can customize it fully if you want to.No dependencies, stdlib Python, MIT.pip install nah && nah installhttps://github.com/manuelschipper/nah
HN · launched Mar 11, 2026 · 127 upvotes (top 7%) · 0 views
Niche: ai coding agent session managers · 514 launches, 43 in the last 7 days ▲ +5% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- AI feature
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 514 launches in ai coding agent session managers →
Could you build this?
Yes It is a CLI wrapper or proxy script around Claude Code tool calls that inspects proposed commands and file operations against security heuristics before allowing execution.
Discussion
20 comments analyzed.
Competitors mentioned: railguard (Rust-based alternative), claude-container (Docker socket proxy approach), nah (permission guardrail tool)
Concerns raised: Context matters more than pattern matching - deleting temp files vs config files look identical to classifiers, Unknown-bad outcomes still possible even with permission checks - need supervision/recovery mechanisms, Anthropic's permission system is poor despite product traction, Shared state problems when multiple agents write simultaneously (race conditions), Secrets can leak via indirect access (git configs, env vars, credential helpers, repo contents)
Feature requests: Allowlist-based approach instead of blocklist/deny list, Better handling of piped commands (find/grep) without unnecessary permission prompts, Read-only GitHub CLI access restricted to specific repos, Filtered workspace mounts instead of full project directory access, Worktree-per-task isolation for cleaner boundaries
Competitors
Other products that read as similar to this one : 778 launches clear the similarity bar, closest 8 shown.
Attention rank: #75 of 779 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 126 days after the earliest competitor.
- Ccgs · hn · 2026-06-06 · 6 upvotes · similarity 0.58
- Approve Claude Code permission requests from your phone via ntfy · hn · 2026-02-22 · 5 upvotes · similarity 0.56
- Brocoded · ph · 2026-10-16 · 2 upvotes · similarity 0.54
- Auto Mode by Claude Code · ph · 2026-03-25 · 514 upvotes · similarity 0.54
- CodeYam Memory · hn · 2026-03-04 · 17 upvotes · similarity 0.54
- ESP32 Claude Code Monitor · ph · 2026-09-16 · 2 upvotes · similarity 0.53
- A Claude Code plugin that catch destructive Git and filesystem commands · hn · 2025-12-26 · 61 upvotes · similarity 0.53
- Config manager for Claude Code (and others) · hn · 2026-01-28 · 21 upvotes · similarity 0.52
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.