Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

anki-connect

bởi gyroninja

Notes & PKM
1.6kLượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Interact with Anki flashcard decks via the AnkiConnect REST API.

Mô tả

Kỹ năng này làm gì

Connects to Anki via the AnkiConnect REST API, enabling programmatic control of flashcard decks. Supports creating, updating, searching, and managing cards, notes, decks, and models without touching the Anki UI.

Using the REST API lets you generate and manage large card sets from external content without manual data entry in the Anki interface.

Khi nào nên dùng

  • Adding vocabulary cards to a language deck while reading an article
  • Searching existing notes to avoid creating duplicate cards
  • Bulk-creating study cards from a list of terms
  • Updating card content after spotting an error
  • Organizing cards into new decks for a new subject

Quy trình ví dụ

ĐẦU VÀO

User asks: Add a card to my Spanish deck with front 'hablar' and back 'to speak'

AGENT
  1. 1

    Connect to the AnkiConnect API running on localhost

  2. 2

    Check if the target deck 'Spanish' exists

  3. 3

    Construct a note object with the front and back fields

  4. 4

    Send a POST request to the addNote endpoint

  5. 5

    Confirm the note ID returned by AnkiConnect

ĐẦU RA

Card created in the Spanish deck with note ID 1234567890

Yêu cầu

  • Anki desktop application installed and running
  • AnkiConnect plugin installed in Anki

Cài đặt

clawhub install gyroninja/anki-connect

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết