anki-connect

anki-connect is a skill for Claude Code, Codex from intellectronica/agent-skills. It costs 49 tokens per session (2,534 once invoked), scanned B, a copy of anki-connect, CC0-1.0.

A bridge between an AI agent and Anki, a flashcard study app, using AnkiConnect, its local interface for automation. It translates requests into actions on decks, notes, cards, and media.

In plain words
What is it for?
Use it to read or modify Anki decks, notes, cards, card templates, media, tags, and synchronisation settings.
Why use it?
It lets an agent inspect or manage study materials without requiring manual work in Anki. Changes to notes or cards require confirmation first.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool.

Good fit Use it to read or modify Anki decks, notes, cards, card templates, media, tags, and synchronisation settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/intellectronica/agent-skills/anki-connect
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add intellectronica/agent-skills --skill anki-connect
Clone the repo
git clone --depth 1 https://github.com/intellectronica/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for anki-connect

README.md
[![agentmods](https://agentmods.dev/badge/skills/intellectronica/agent-skills/anki-connect/github.svg)](https://agentmods.dev/skills/intellectronica/agent-skills/anki-connect)
Your own site
<a href="https://agentmods.dev/skills/intellectronica/agent-skills/anki-connect"><img src="https://agentmods.dev/badge/skills/intellectronica/agent-skills/anki-connect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for anki-connect

Your own site · 80×15
<a href="https://agentmods.dev/skills/intellectronica/agent-skills/anki-connect"><img src="https://agentmods.dev/badge/skills/intellectronica/agent-skills/anki-connect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,534 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Mar 2026
  • Snyk pass 15 Feb 2026
How audits are shown
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.02534
Opus 5 $0.00024 $0.01267
Sonnet 5 $0.00010 $0.00507
Haiku 4.5 $0.00005 $0.00253

Measured 10d ago against content hash 548512014d1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

anki-connect scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

| curl -sS http://127.0.0.1:8765 -X POST -H 'Content-Type: application/json' -d @-

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Enable reliable interaction with Anki through the AnkiConnect local HTTP API. Use this skill to translate user requests into AnkiConnect actions, craft JSON requests, run them via curl/jq (or equivalent tools), and inter
Origin

This is a copy

100% identical to anki-connect — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/anki-connect/SKILL.md · 344 lines

How it starts

The opening of the file, as written. The whole thing — 344 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AnkiConnect

Overview

Enable reliable interaction with Anki through the AnkiConnect local HTTP API. Use this skill to translate user requests into AnkiConnect actions, craft JSON requests, run them via curl/jq (or equivalent tools), and interpret results safely.

Preconditions and Environment

  • If Anki is not running, launch Anki, then wait until the AnkiConnect server responds at http://127.0.0.1:8765 (default). Verify readiness using curl, e.g. curl -sS http://127.0.0.1:8765 should return Anki-Connect.

Safety and Confirmation Policy (Critical)

CRITICAL — NO EXCEPTIONS

Before any destructive or modifying operation on notes or cards (adding, updating, deleting, rescheduling, suspending, unsuspending, changing deck, or changing fields/tags), request confirmation from the user. Use the AskUserQuestion tool if available; otherwise ask via chat. Only request confirmation once per logical operation, even if it requires multiple API calls (e.g., search + update + verify). Group confirmation by intent and scope (e.g., “Update 125 notes matching query X”).

Treat the following as confirmation-required by default:

  • Notes: addNote, addNotes, updateNoteFields, updateNoteTags, updateNote, updateNoteModel, deleteNotes, removeEmptyNotes, replaceTags, replaceTagsInAllNotes, clearUnusedTags.
  • Cards: setEaseFactors, setSpecificValueOfCard, suspend, unsuspend, forgetCards, relearnCards, answerCards, setDueDate, changeDeck.
  • Deck or model modifications that materially change cards/notes (deck deletion, model edits). Ask even if the action is not explicitly listed above.

API Fundamentals

Request Format

Every request is JSON with:

  • action: string action name
  • version: API version (use 6 unless user specifies otherwise)
  • params: object of parameters (optional)

Response Format

Every response is JSON with:

  • result: return value
  • error: null on success or a string describing the error

Read the full file on GitHub · 344 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 344 lines · 49 tokens per session scan B 548512014d1c

Subscribe to this mod's changes

anki-connect is a skill published in the GitHub repository intellectronica/agent-skills (292 stars, last pushed 4mo ago), licensed CC0-1.0. It adds 49 tokens to every session and 2,534 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). It is 100% identical to anki-connect, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

guidance

A guide for answering questions about installing and configuring QwenPaw, a software tool with local documentation. It says to check those documents first and use official website information only when needed.

agentscope-ai/QwenPaw · 44 tokens

edu-math-tutorial

A Chinese-language guide for turning a maths problem into a step-by-step teaching video. It explains how to break down the solution, write narration, format equations, and structure scenes.

agentscope-ai/QwenPaw · 146 tokens

learning-opportunities

Facilitates deliberate skill development during AI-assisted coding. Offers interactive learning exercises after architectural work (new files, schema changes, refactors). Use when completing features, making design decisions, or when user asks to understand code better. Triggers on "learning exercise", "help me…

tech-leads-club/agent-skills · 98 tokens

azure-lab-services

Expert knowledge for Azure Lab Services development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when configuring lab plans, VM templates/schedules, VNet-integrated labs…

MicrosoftDocs/Agent-Skills · 115 tokens

azure-education-hub

Expert knowledge for Azure Education Hub development including troubleshooting, and limits & quotas. Use when managing Azure for Students credits, yearly quotas, renewals, or Dev Tools for Teaching sign-in issues, and other Azure Education Hub related development tasks. Not for Azure Lab Services (use…

MicrosoftDocs/Agent-Skills · 88 tokens

video-tutorial-maker

Create scripted tutorial videos with narration, TTS, aligned subtitles, MP4 rendering, and platform variants. Use when Codex needs to create or revise tutorial, explainer, product walkthrough, course, demo, or short-form videos; generate 16:9 landscape output by default unless the user explicitly asks for 9:16, 1:1…

guanyang/super-publisher · 81 tokens