slopcards-to-ankilisted
Install: claude install-skill moka-co/slopcards2anki
# Slopcard2Anki - Anki Flashcard Manager
This skill allows Claude/Gemini to read local files, distill them into high-quality flashcards, and sync them to Anki via a local `skill/main.py` script.
## Usage via MCP
When accessed as an MCP server, use these tools directly:
- `list_anki_decks()` — list available decks
- `create_anki_deck(name)` — create a deck
- `find_cards_by_text(query)` — search notes
- `update_anki_note(note_id, front, back)` — edit a note
- `get_anki_status()` — check if Anki is running
- `launch_anki()` — start Anki if needed
## Operational Environment
This skill operates exclusively in a **local execution context**. It requires access to the host machine's filesystem to read/write CSV files and access to `localhost:8765` to communicate with AnkiConnect. If you are being executed in a cloud-hosted web sandbox (e.g., a browser-based chat interface), notify the user that you cannot reach their local Anki instance and recommend using a local CLI-based agent instead.
**Assume Anki is already running**. Do NOT call `--try_launch_anki proactively` or as a first step. It is a last-resort fallback — only invoke it after a real connection error occurs during an actual operation [Troubleshot](#troubleshooting)
## Prerequisites
Ensure the environment has the necessary dependencies:
```shell
python -m pip install requests psutil
```
## Card Creation Principles
When generating content, adhere to these "Gold Standard" SR (Spaced Repetition) rules:
To ensure high-