跳到正文
TakoAPI
返回技能列表

anki-connect

由 gyroninja 提供

Notes & PKM
1.6k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Interact with Anki flashcard decks via the AnkiConnect REST API.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

Card created in the Spanish deck with note ID 1234567890

前置要求

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

安装

clawhub install gyroninja/anki-connect

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接