Skip to main content

llm-tools-anki

License

Manage Anki cards with the LLM tool.

Installation

Install this plugin in the same environment as LLM.

llm install llm-tools-anki

Usage

llm -T Anki "my friend miguel loves learning about languages. find a cool card that I can share with him that I've been studying." --td
llm -T Anki "Add 5 new cards to the default deck. The five cards should ask about the colors in spanish for a language learning student" --td --chain-limit 25
llm -T Anki "Take the cards in the Evolve deck and adjust them. Make the cards similar, basically testing the same ideas, but make them different to keep the learning interesting and engaging for the learner. Remove any cards that you evolve" --td --chain-limit 50
llm -T Anki "My friend catdog thinks I don't know big words. Add 5 to 10 cards of big words that I should know so I'm not embarrassed. Add these to the default deck." --td --chain-limit 50

The follow prompt also requires llm-tools-exa to be installed.

llm -T Anki -T web_search "I'm interviewing with Miguel Conner for a data science position in a few hours. Research him and create a few anki cards in my default deck for me to study." --td --chain-limit 50

An unsplash access key needs to be set for the following prompt with llm keys set unsplash. Access keys can be generate on the unsplash website.

llm -T Anki "For each anki card in the evolve deck without an image (ignore cards with images), use Anki_get_image_url to add an image. Make it visible in the front or back of the card, whichever makes more sense for that card. Make sure that the card is formatted as HTML (not markdown) or the image won't render correctly. The goal of the image is to increase visual appeal and improve memory retention." --td --chain-limit 50

Development

To set up this plugin locally, first checkout the code. Then use uv

uv sync --all-extras
uv run python -m pip install -e '.[test]'

Additional Resources

Additional Notes

  • Thanks to Anki and AnkiConnect for their amazing work
  • The file ankiconnect.md is an exerpt from anki-connect readme

Metadata

Release files for llm-tools-anki 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-tools-anki 0.1.1
File Size Uploaded Provenance
llm_tools_anki-0.1.1.tar.gz 11.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-tools-anki 0.1.1
File Interpreter ABI Platform
llm_tools_anki-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 21.6 kB

Release files / llm_tools_anki-0.1.1.tar.gz

Download URL llm_tools_anki-0.1.1.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
79a2abeab2870621771a7005beaaf90777641f13fd6fa8b5dcb6643af934fb94
BLAKE2b-256 checksum
How to use checksums
93ffbf2eca738dea9728f60b5f7248d6250bedb560f40b2323524294d54b00e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 25, 2025.

Transparency log

Release files / llm_tools_anki-0.1.1-py3-none-any.whl

Download URL llm_tools_anki-0.1.1-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b004b2c0689112a7b4e118a799b9d54ba21a87d0a9aefdda3e5667ddc58269b7
BLAKE2b-256 checksum
How to use checksums
756beb4253c7219cc48c8405551ba220f0cdcd54385e44608549250578377cef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 25, 2025.

Transparency log

Security for llm-tools-anki 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llm_tools_anki-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 25, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page