anki-expert

anki-expert is a skill for Claude Code, Codex from gong1414/anki-card-skill. It costs 84 tokens per session (4,111 once invoked), scanned A, original, MIT.

A skill for turning supplied text, files, PDFs, or web pages into Anki flashcards. Anki is a study app that uses spaced repetition, showing cards again at increasing intervals to help memorisation.

In plain words
What is it for?
Use it to create cards from notes, documents, PDFs, or URLs, then export them as TSV or APKG files or send them to Anki through AnkiConnect.
Why use it?
It removes the manual work of extracting questions and answers and entering them into Anki.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create cards from notes, documents, PDFs, or URLs, then export them as TSV or APKG files or send them to Anki through AnkiConnect.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gong1414/anki-card-skill/anki-expert
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 gong1414/anki-card-skill --skill anki-expert
Clone the repo
git clone --depth 1 https://github.com/gong1414/anki-card-skill

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin anki-expert/plugin install anki-expert after adding the marketplace above.

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-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/gong1414/anki-card-skill/anki-expert/github.svg)](https://agentmods.dev/skills/gong1414/anki-card-skill/anki-expert)
Your own site
<a href="https://agentmods.dev/skills/gong1414/anki-card-skill/anki-expert"><img src="https://agentmods.dev/badge/skills/gong1414/anki-card-skill/anki-expert/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-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/gong1414/anki-card-skill/anki-expert"><img src="https://agentmods.dev/badge/skills/gong1414/anki-card-skill/anki-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,111 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00084 $0.04111
Opus 5 $0.00042 $0.02056
Sonnet 5 $0.00017 $0.00822
Haiku 4.5 $0.00008 $0.00411

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

Security

Grade A, and why

anki-expert scanned grade A with 0 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 12d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

anki-expert/SKILL.md · 324 lines

How it starts

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

Anki Flashcard Expert Skill

Trigger Conditions

Activate when the user's request involves:

  • Creating/generating Anki cards or flashcards
  • Creating study cards from text, files, or URLs
  • Exporting to .apkg or .tsv format, or pushing to Anki via AnkiConnect
  • Mentions of Anki, flashcard, or spaced repetition

Workflow

Step 1: Get Input Text

  • If the user provides text inline (wrapped in {}), use it directly.
  • If the user specifies a local file path (.md, .txt, .pdf), use the Read tool.
    • For PDFs, use the pages parameter to read in batches.
    • For large files, read and generate cards in batches.
  • If the user provides a URL (starting with http:// or https://):
    • Use the WebFetch tool (or platform equivalent) to retrieve the page content.
    • Strip navigation, ads, headers, footers, and other non-content elements. Focus on the main article/body text.
    • If the page is very long, process it in sections.
  • If neither text, file, nor URL is provided, ask the user.

Step 2: Check for nidd Identifier

  • Check whether the user's text ends with nidd + digits (e.g., nidd1742293016393).
  • If no nidd is provided, ask the user for one. Do not start making cards until a nidd is obtained, unless the user explicitly states there is none.

Step 3: Check Top-Level Tag

  • Check whether the user specified a top-level tag.
  • If so, use it as the highest-level tag prefix for all cards.

Step 4: Generate Flashcards

Follow the Card-Making Rules below. Output as a pipe-delimited table:

Question | Answer | Tags
------- | -------- | --------
Card 1 question | Card 1 answer | Card 1 tags
Card 2 question | Card 2 answer | Card 2 tags
...

Note: Place all cards in a single table for easy copying.

Step 5: Review

Before exporting, present the generated cards to the user for review:

  1. Ask the user to review the card table — they can request edits, deletions, or additions.
  2. If the user requests changes, revise the cards and present the updated table.
  3. Only proceed to export after the user confirms the cards are satisfactory.
  4. If the user says "skip review" or "直接导出", proceed to export immediately.

Read the full file on GitHub · 324 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. 12d ago First seen · 324 lines · 84 tokens per session scan A a10be4997085

Subscribe to this mod's changes

anki-expert is a skill published in the GitHub repository gong1414/anki-card-skill (14 stars, last pushed 5mo ago), licensed MIT. It adds 84 tokens to every session and 4,111 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

anki-expert

Generate high-quality Anki flashcards from user-provided text (inline, local .md/.txt/.pdf files, or URLs) and auto-export to .tsv, .apkg, or push directly via AnkiConnect. Trigger when the user mentions Anki, flashcards, spaced repetition, study cards, memory cards, make cards, help me memorize, or .apkg files.

BENJAMINGLAI/anki-card-skill · 84 tokens

anki

Anki spaced repetition learning system reference. Covers the science of SRS and SM-2 algorithm, card design principles, optimal deck settings, FSRS scheduler, study workflow, essential add-ons, custom templates, filtered decks, and AnkiConnect API.

bytesagain/ai-skills · 53 tokens

experiment-report

A skill for generating Chinese undergraduate laboratory reports, with choices for five subject areas, four levels of detail, and six user situations.

Le0Dove/experiment-report-skill · 45 tokens

user-research-cookiy

End-to-end user research assistant — qualitative and quantitative. Use this skill whenever the user mentions user research, user interviews, discussion guides, interview guides, research plans, qualitative research, quantitative research, user surveys, survey design, usability studies, participant recruitment…

cookiy-ai/user-research-skill · 154 tokens

lov-hanzi-lens

A research and infographic workflow for explaining one Chinese character, including its pronunciation, written form, history, meanings, and use in classical texts.

lovstudio/skills · 82 tokens

explainer

A tool for making narrated explainer or tutorial videos with computer-generated visuals. It can help create the script, the video, or both.

marswaveai/skills · 56 tokens