Original Reddit post

I made an open-source local CLI that analyzes Claude session logs and outputs:

  • anti-pattern flags (correction spirals, file thrash, vague openers, repeated constraints)
  • recoverable cost estimates
  • project-level + session-level efficiency diagnostics
  • optional local Ollama recommendations Repo: https://github.com/abhinavag-svg/ai-coding-prompt-optimizer Give a star to the Git repo if you find this useful. Quick run: ai-dev analyze-v2 /path/to/jsonl/root --dedupe --export report.md I’m attaching a sample report in this post. Feedback welcome : which signals would make this most useful in your daily Claude Code workflow? submitted by /u/bravoaevi

Originally posted by u/bravoaevi on r/ClaudeCode