Open-source trust scoring hook for Claude Code monitors sessions, blocks protected paths

What this tool does
A developer has released an open-source trust scoring hook for Claude Code that provides visibility into AI agent sessions by scoring them across three dimensions and implementing security controls.
Key features from the source
The hook scores every Claude Code session on three specific dimensions:
- Reliability: Tool success rate
- Scope: Whether Claude Code stayed within allowed tools and paths
- Cost: Number of tool calls relative to task complexity
At the end of each session, you get output like:
[authe.me] Trust Score: 92 (reliability=100 | scope=75 | cost=100) [authe.me] tools=14 violations=1 failed=0
Security and implementation details
The tool includes several security features:
- Blocks access to protected paths like
.envand secret keys via PreToolUse hooks - Hash-chains every event for tamper detection
- Configure tool allowlist and protected paths in
~/.authe/config.json
The implementation is a single Python file with zero dependencies, free and open source. The developer used Claude to architect the hook system, including figuring out which events to listen to, how to pass state between PostToolUse and Stop events, writing the scoring logic and hash chaining, and iterating on the PreToolUse blocking behavior.
Development and testing
The developer tested edge cases with Claude, including .env access and tool failure detection. The repository is available at https://github.com/autheme/claude-code-hook.
Who it's for
Developers running Claude Code in production who need visibility into agent behavior and security controls.
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude Code's Monitor tool pipes dev server logs into AI-driven auto-fixes
Claude Code's Monitor tool lets you run a dev server in background, tail logs with smart grep filters, and have Claude auto-detect errors, write fixes, and commit them — all while you test the UI.

Vibe Hosting: Claude Code MCP Integration for AI-Assisted Deployment
NameOcean's Vibe Hosting platform integrates Claude Code MCP to build and deploy projects through natural language commands. The service offers free SSL, domains, DNS, and VPS setup for static sites, Node.js, Python, Django, and Go applications.

TideSurf: DOM compression tool reduces web agent token usage 30x, speeds TTFT 12x
TideSurf v0.3 converts rendered DOM to markdown-like compressed format, reducing token consumption by 32x on GitHub pages versus raw DOM while adding 18 interactive tools for LLM agents.

Publicly Hosted MCP Servers for Health, Academic, and Government Data
A developer has built and publicly hosts 14 MCP servers providing access to CDC datasets, clinical trials, FDA data, academic publications, congressional information, weather data, and other utilities. These servers require no setup, API keys, or local installation.