anki-card-generator

anki-card-generator is a skill for Claude Code, Codex from niracler/skill. It costs 133 tokens per session (1,246 once invoked), scanned A, original, MIT.

A tool that turns knowledge into Anki flashcards in the simple-anki-sync format. Anki is a study app that brings cards back for review over time.

In plain words
What is it for?
Use it to create reviewable cards for memorizing facts, concepts, languages, or other study material.
Why use it?
It breaks a topic into short questions and answers, making it easier to practise active recall instead of rereading notes.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/niracler/skill/anki-card-generator
Any agent
npx skills add niracler/skill --skill anki-card-generator
Clone the repo
git clone --depth 1 https://github.com/niracler/skill

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin personal-knowledge/plugin install personal-knowledge 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-card-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/niracler/skill/anki-card-generator.svg)](https://agentmods.dev/skills/niracler/skill/anki-card-generator)
Your own site
<a href="https://agentmods.dev/skills/niracler/skill/anki-card-generator"><img src="https://agentmods.dev/badge/skills/niracler/skill/anki-card-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,246 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00133 $0.01246
Opus 5 $0.00067 $0.00623
Sonnet 5 $0.00027 $0.00249
Haiku 4.5 $0.00013 $0.00125

Measured 4d ago against content hash 9ffb2fe5575e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

anki-card-generator 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 4d 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.

plugins/personal-knowledge/skills/anki-card-generator/SKILL.md · 191 lines

How it starts

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

Anki Card Generator

Generate high-quality Anki cards based on LessWrong best practices and simple-anki-sync format.

Pre-Generation Clarification

Before generating cards, clarify with user if unclear:

  1. Scope: "Which aspects to focus on?" (for broad topics)
  2. Depth: "Basic concepts only, or detailed Level 2/3 cards?"
  3. Quantity: "How many cards? (Recommend 5-10 for core concepts)"
  4. Context: "Any specific exam or application scenario?"

Proceed only after understanding requirements.

Output Format

Use simple-anki-sync format:

#anki/[domain]/[topic]

| [Question] |
| ---------- |
| [Core answer]<br><br><small>💡 [Supplementary info]</small> |

Format Options

Option A (Recommended): HTML tags

| 唐朝建立时间 |
| ---------- |
| 618年,李渊建立<br><br><small>💡 隋末农民起义后起兵</small> |

Option B: Separator

| 唐朝建立时间 |
| ---------- |
| 618年,李渊建立 ——— 💡 隋末农民起义后起兵 |

Option C: Parentheses

| 唐朝建立时间 |
| ---------- |
| 618年,李渊建立(趣闻:其子李世民功劳最大) |

Atomization Rules

Word Limits

  • English: Max 9 words, absolute limit 18 words
  • Chinese: Recommended 15-20 characters, absolute limit 30-35 characters
  • Max items: 3 bullet points per card

Core Principle

If a card can be split into two shorter cards, split it.

Question Design

Standardized Templates

  • Time: "X 时间" (not "X发生于何时?")
  • Definition: "X 定义" (not "什么是X?")
  • Person: "who X" (not "谁做了X?")
  • Pros/Cons: "X 利弊" (not "X的优势是什么?")

Key Rules

  • Match real-world recall scenarios
  • Use plain, unremarkable wording
  • Avoid words in question that appear in answer
  • Keep all critical info in answer, not question

Answer Construction

Core Answer

  • Strictly follow word limits
  • Answer should be meaningful without the question
  • All key information in answer

Supplementary Info (Optional)

Format: <br><br><small>💡 content</small>

Emoji Guide:

  • 💡 Fun fact / trivia
  • 📝 Note / explanation
  • 🔗 Related concept
  • ⚡ Tip / key point
  • 📊 Data / statistics
  • 📅 Date / timeline

Read the full file on GitHub · 191 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 191 lines · 133 tokens per session scan A 9ffb2fe5575e

Subscribe to this mod's changes

anki-card-generator is a skill published in the GitHub repository niracler/skill (11 stars, last pushed 1mo ago), licensed MIT. It adds 133 tokens to every session and 1,246 once invoked, about $0.0007 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

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

miniapp

Build a tiny interactive HTML playground only when someone asks to see, play with, or step through a mechanism.

yc-software/qm · 25 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

deck-course-module

暖纸背景 + Playfair, 左侧学习目标常驻, 含 MCQ 自测页.

nexu-io/html-anything · 25 tokens

best-practices

Searchable knowledge base of 152+ programming best practices across 30+ languages and frameworks. BM25-powered search over curated resources from industry leaders (Google, Airbnb, Uber, Mozilla, Shopify, OWASP).

dereknguyen269/programing-best-practices · 0 tokens