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

Linki v2: Open-Source AI SDR for LinkedIn + Cold Email with Self-Hosted Agent
Linki v2 is a self-hosted LinkedIn automation and cold email tool with an AI agent that writes personalized messages per lead. No per-seat pricing, your data stays local.

Claude Code Mastery: Open-source config system adds persistent memory and curated skills to Claude Code CLI
Claude Code Mastery is an open-source configuration system that adds persistent memory across sessions, smart lifecycle hooks, and 26+ curated skills to Claude Code CLI. It includes a 6-file Memory Bank per project, zero-config launcher, and cross-platform support.
Claude Prototypes Real Estate Analysis App in 3 Hours Using Live Zillow Data via clawhub
A developer used Claude with the zillow-full clawhub tool to build a rental cash flow analysis app — pulling live Zillow API data, prototyping the UI around real JSON responses, and delivering a working prototype in one afternoon.

Ultimate Unreal Engine MCP: Claude Code Can Now Build and Verify Unreal Engine Levels with 132 Tools
Open-source MCP server exposes 132 tools across 26 domains, letting Claude spawn actors, set UPROPERTY values, take viewport screenshots, navigate cameras, and self-correct after mutations.