r/Anki • • 11h ago

Resources I made a Claude Code plugin that opens Anki automatically after 5 seconds of thinking

If you're anything like me while vibe-coding, it is very tempting to open instagram/tiktok on my phone as soon as claude starts thinking. I noticed that I spend quite some time waiting for Claude's replies nowadays, so I might as well do something useful in the meantime.

That's why I built a Claude code plugin that automatically opens Anki as soon as it thinks for longer than X seconds (X being configurable). When claude is done thinking, it automatically switches back to Claude. I noticed that this way I can 'sneak in' a lot of extra cards throughout my day, during time that I would otherwise waste.

It works particularly well if you have a deck open in the background, and the plugin can immediately switch to it when it's thinking and also switch back when it's done.
If you want to turn off this feature for a bit, you can just use /anki-break [2h] or so to pause the feature.

You can install it by running this in your shell:

claude plugin marketplace add JasperMeijerink/anki-break
claude plugin install anki-break@anki-break

and find more info on the github page, it's open source.

For now I've only focused on MacOS, but if people like the idea I can also make it work for Windows

6 Upvotes

11 comments sorted by

4

u/WeebDestroyer34 10h ago

wait this is peak lmao. i can finally do something productive while claude is doing its thing instead of automatically doomscrolling

1

u/WeebDestroyer34 10h ago

ah shoot i just saw it's for mac, id love a windows version if its not too much trouble

1

u/NevilleLongtop 9h ago

I'll have a look at how much trouble this is later tonight :)

2

u/Illustrious-Math6276 11h ago

Haha that’s fun

1

u/NevilleLongtop 11h ago

Thanks! Hope you find it useful : ) Also happy to implement feedback if you have any

1

u/kantorcodes1 7h ago

Smart to put the thinking time on cards.

Right, the /anki-break pause command is also important because not everyone wants a deck that's open in the background.

I'm involved in running awesome-ai-plugins which is a public list of agent tools. People are using it when they are selecting which plugins to use for Claude Code, so you're displaying anki-break to people actively selecting what to install.

Do you think it would be beneficial to have a listing in there?

1

u/NevilleLongtop 6h ago

Thank you for offering, that would be great! Later I'll try to make sure it also works for Windows, but judging by the comments I think there are plenty of people that would be happy to use this plugin already. If you can help people find this tool, then I'm all for it.

1

u/kantorcodes1 5h ago

Windows can wait. What you have now is enough for a listing.

Add anki-break as one entry in the catalog README, in your own words. The guide covers the format and the pull request steps: https://github.com/hashgraph-online/awesome-ai-plugins/blob/main/CONTRIBUTING.md

Ask here if a step in the guide is unclear.

2

u/LittleCoaks 8h ago

Wait this is genius haha

1

u/neurotic_kitten 7h ago

Oh hell ya

1

u/not_a_profi 7h ago

you know, you can just change your habits...  and when you cant there might be a good reason for this - the brain actually do need to relax from time to time...