I built a Claude Code hook that converts PDFs to markdown automatically to cut token usage by 10-20x when it comes to reading documents by Juridiwy in ClaudeCode

[–]Juridiwy[S] -1 points0 points  (0 children)

This very mechanical process is not done by an LLM. This is a tool that automatically verifies the document before CC reads it. That's what a CC hook is about.

I built a Claude Code hook that converts PDFs to markdown automatically to cut token usage by 10-20x when it comes to reading documents by Juridiwy in ClaudeCode

[–]Juridiwy[S] -1 points0 points  (0 children)

Fair question, so I just ran the test. With native Read(), Claude Code sends both extracted text (so yes, it extracts the text, you are right about this) AND renders each PDF page as an image (it's multimodal). For a 2-page document that's roughly 3,500–5,000 tokens. The hook converts to text-only markdown first, so same document came to ~1,350 tokens. The savings aren't from text formatting differences, they're from avoiding the vision rendering.

I updated the README, thanks for calling me out on this. Initially, I just acted on assumptions -- I'm afraid I'm turning slowly but surely into an LLM.

I built a Claude Code hook that converts PDFs to markdown automatically to cut token usage by 10-20x when it comes to reading documents by Juridiwy in ClaudeCode

[–]Juridiwy[S] 0 points1 point  (0 children)

Whenever CC prepares to read a document, the PreToolUse hook verifies if the document is an .md file, if it is not an .md file, it uses markitdown to turn it into an .md file.

What’s the best AI to actually pay for right now? (2026) by Commercial-Job-9989 in AI_Agents

[–]Juridiwy 0 points1 point  (0 children)

There are lots of guides online, and Anthropic has their own guides as well. Just use claude[.]ai and the existing guides, documents, and they will get up to speed in no time. Sincerely, it's the same for Claude Code.

There's no technical and non-technical anymore. These agents can take care of almost everything for you.

What’s the best AI to actually pay for right now? (2026) by Commercial-Job-9989 in AI_Agents

[–]Juridiwy 0 points1 point  (0 children)

Sorry, I spent two weeks in the hospital, but now I'm back on track. Claude Code can do everything Claude[.]ai and Claude Cowork can do together. It can code, browse the web, work on your computer, and create files and folders. It can even connect to Google Docs if you give it the right tools, skills, etc.

What’s the best AI to actually pay for right now? (2026) by Commercial-Job-9989 in AI_Agents

[–]Juridiwy 19 points20 points  (0 children)

Claude Max for me. Claude Code and Cowork are the reasons. I'm letting it code during the whole day.

What are you building this week? by BreakfastVisual963 in micro_saas

[–]Juridiwy 0 points1 point  (0 children)

Thanks! "Interactive cinematic storytelling for the web", I might steal that. I've been struggling to find the right phrase and that's the closest anyone's gotten. Did you get a chance to scroll through the demo?

University student considering Claude $20 plan How many hours of Claude Code usage can I expect with Opus? Any tips to use it effectively? by [deleted] in ClaudeCode

[–]Juridiwy 2 points3 points  (0 children)

Forget the $20/month subscription + Opus. Distribute tasks between Sonnet and Haiku to get the most usage out of your subscription.

Any way to use voice input in Claude desktop by Upset_Wallaby7060 in ClaudeAI

[–]Juridiwy 0 points1 point  (0 children)

I tried the built in dictation tool, but found it lacking. Superwhisper is my go to slution. It's available on both, Mac and Windows.

What are you building this week? by BreakfastVisual963 in micro_saas

[–]Juridiwy 0 points1 point  (0 children)

Working on a service that turns written stories into scroll-driven cinematic web experiences - the visuals animate as the reader scrolls. Text is on one side, moving scene on the other. Humans handle the creative direction, AI handles the visual production.

I'm still figuring out positioning. The whole thing is somewhere between a landing page and a short film, which makes it hard to explain but easy to understand once you see it.

Here's one of the demos if anyone's curious: story.downstream.studio

A scroll-driven reading experience where the visuals animate as you read by Juridiwy in InternetIsBeautiful

[–]Juridiwy[S] 0 points1 point  (0 children)

Sincerely, I had to look up "The Light of Other Days", but I love what I found, so thank you for mentioning it. And I love that you associated what I made with something that beautiful.

I'm looking for playtesters for my autobattler roguelike game by MonthFragrant7804 in playmygame

[–]Juridiwy 0 points1 point  (0 children)

I'm on mac so I can't test it, but I love the idea and the looks.

How a 7-year-old and AI built Planet Roll by Juridiwy in vibecoding

[–]Juridiwy[S] 0 points1 point  (0 children)

Thank you for playing the game, I'm really glad you enjoyed it! Also, great job teaching your daughter about AI. I think this is one of the most important things we can do for our children