Hyntx

Hyntx reads your Claude Code session logs and tells you where your sessions cost you time, with the evidence and a fix you can apply.
It looks at what actually happened in each session, not at how your prompts are worded: the times you corrected Claude, interrupted it, watched the same command fail in a loop, hit a blocked tool, re-explained the same thing in three sessions, or ran the same read-only command again and again in a mode that can prompt. Each finding comes with counts, quoted examples and one concrete action: a rule for CLAUDE.md, a permission entry for settings.json, a slash command file, a prompting habit or a workflow change.
Hyntx 4 is a rewrite. Versions up to 3 sent the text of your prompts to a model and returned prompt-writing advice. If you are upgrading, read Migrating from v3.
How it differs
From prompt linting. A prompt linter judges the text of a prompt. Hyntx judges outcomes: a short prompt that worked is fine, and a careful prompt that led to four corrections is a finding.
From Claude Code's /insights. Claude Code has a built-in /insights command that has a model read your recent sessions and writes a narrative HTML report. Hyntx overlaps with it and is built differently:
- The core is deterministic. Parsing, metrics, friction detection and ranking are plain code; the same logs give the same findings, and the whole analysis runs with no model at all (
--no-llm).
- Every finding carries its evidence: how many times, in how many sessions, in which projects, with quoted examples.
- Every finding ends in an action that is ready to apply (review it first: suggestions are heuristics, and a permission rule in particular should be checked before you paste it), and the plugin applies it for you after you confirm.
- Output is also available as JSON and markdown, for scripts and for other tools.
- Daily totals are kept in
~/.hyntx/, so trends remain after Claude Code deletes old session logs (30 days by default).
Install and run
Requires Node.js 22 or later and Claude Code session logs in ~/.claude/projects/.
npx hyntx # last 7 days, all projects
npm install -g hyntx # or install it
hyntx --days 30 # a longer period
hyntx --project my-app # one project (substring match)
hyntx --from 2026-09-01 --to 2026-09-30
hyntx --no-llm # deterministic analysis only
hyntx --html # also write hyntx-report.html
hyntx --format json > report.json # machine-readable
Example output
An illustrative, shortened report in the shape hyntx --days 30 --no-llm prints (project and file names are made up):
hyntx 2026-09-04 to 2026-10-03 (30 days) - all projects
14 sessions 45 typed prompts 645 tool calls (1.6% errors)
98.3M tokens (97% cache hits, 468.9k output) 0 interruptions 0 compactions
Top insights (3 of 6)
1. [MEDIUM] A hook keeps blocking Bash: "Use 'trash' instead of 'rm'"
A PreToolUse hook blocked 4 calls with the same message in 4 sessions in shop.
evidence: 4 in 4 sessions; e.g. "… touch /var/www/html/.t && cleanup /var/www/html/.t …" (shop, 2026-09-19)
do: Add to CLAUDE.md in project "shop"
- A hook blocks commands that break this rule: "Use 'trash' instead of 'rm'".
Follow it on the first attempt instead of retrying the blocked command.
2. [LOW] Read-only commands that may be worth allowing
1 read-only command ran 6 times in permission modes that can prompt (top: Bash(gh pr view *)).
do: Allow in ~/.claude/settings.json
{ "permissions": { "allow": ["Bash(gh pr view *)"] } }
3. [LOW] `bin/sync` was reworked repeatedly
`bin/sync` was edited 6 times across 3 of your prompts, with 2 tool failures in between (plan mode was not used).
do: Plan before editing: agree on the exact changes first, then execute.
Metrics
Projects shop 38, printing 3, hyntx 1
Tools Bash 476 (8 err), Write 26, Edit 18, Read 14
Sessions median 4m, p90 38m
With too little data (fewer than 3 sessions or 10 typed prompts) Hyntx says so instead of producing findings.
Claude Code plugin