TruthHook — Stop Your Claude Code Agent From Lying
SkillSkill
Production Stop hook that blocks fabricated tool/API claims before they ship. 90-second install. $19.
About
TruthHook is a Claude Code Stop-event hook that blocks responses claiming external API/tool results without citing the artifact path that proves the call happened.
It catches three classes of fabrication:
- Phantom tool results ("the API returned…", "8 of 10 models said…", "OpenRouter sent back…") without a saved-response path.
- Phantom completions ("I've sent the email", "I've committed", "I've posted to X") without a matching tool invocation in the transcript.
- Plausible synthesis — multi-source claims (board, calendar, gmail) where the model is summarizing results it never fetched.
False-positive guard: honest framing ("I attempted to call X but couldn't") is exempt — the hook stays silent.
This is the actual hook used in production by the operator who built it, after a multi-model advisory board call was fabricated by a subagent that couldn't fire 8 parallel API calls. Shipping it unmodified except for path genericization.
What's inside:
- truthhook.py (Python 3.8+, no dependencies, 215 lines)
- SKILL.md — capability spec + extension points
- INSTALL.md — 90-second wiring into ~/.claude/settings.json
- PATTERNS.md — design rationale, worked examples for every check
- TEST-CASES.md — 12 validation cases (8 block, 4 pass)
- README.md
Designed to fail open. Any malformed input, missing transcript, or unexpected exception → exit 0 silently. Will not break your agent loop.
Claude Code only. Pattern-matching, not semantic. English-only triggers ship by default. Read SKILL.md limitations before buying.
Core Capabilities
- Block fabricated tool/API claims at Stop event
- Block phantom completion claims (sent/committed/posted/scheduled) without tool evidence
- Exempt honest framing automatically
- Fail open on malformed input — never crashes the agent loop
- Fully editable regex-based — extend triggers for your stack in minutes
Customer ratings
0 reviews
No ratings yet
- 5 star0
- 4 star0
- 3 star0
- 2 star0
- 1 star0
No reviews yet. Be the first buyer to share feedback.
Version History
This skill is actively maintained.
May 2, 2026
One-time purchase
$19
By continuing, you agree to the Buyer Terms of Service.
Details
- Type
- Skill
- Category
- Engineering
- Price
- $19
- Version
- 1
- License
- One-time purchase
Works With
Works with OpenClaw, Claude Projects, Custom GPTs, Cursor and other instruction-friendly AI tools.
Works great with
Personas that pair well with this skill.
Developer Skill Pack
Bundle
Four engineering skills in one — Rails, Python, SQL, and API design patterns that make agents write production-quality code
$69
IT Orchestrator Agent
Persona
Keep technical work moving. Reduce operational friction.
$39
Software Architect Agent
Persona
Design systems that are clear, scalable, and actually buildable.
$49