anki-mcp: Skill for Codex

.codex/skills/author-anki-cards/SKILL.md

author-anki-cards is a skill for Codex from yama662607/anki-mcp. It costs 52 tokens per session (450 once invoked), scanned A, original, MIT.

A guide for safely creating and editing Anki flashcards through the anki-mcp connection. Anki is a spaced-repetition app that schedules reviews to help you remember information.

In plain words
What is it for?
Use it to inspect note types and decks, add or revise notes, preview cards, delete drafts, process groups of notes, and release cards only after approval.
Why use it?
It adds checks around card structure, previews, batches, and publication so drafts are not changed or released accidentally.

Skill for Codex

Written for Codex: agents/openai.yaml present.

This is yama662607/anki-mcp's own configuration. It tells Codex how to work on anki-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything anki-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to yama662607/anki-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/yama662607/anki-mcp/master/.codex/skills/author-anki-cards/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/yama662607/anki-mcp

Made for: 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 author-anki-cards

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yama662607/anki-mcp/author-anki-cards"><img src="https://agentmods.dev/badge/skills/yama662607/anki-mcp/author-anki-cards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 450 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.00052 $0.00450
Opus 5 $0.00026 $0.00225
Sonnet 5 $0.00010 $0.00090
Haiku 4.5 $0.00005 $0.00045

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

Security

Grade A, and why

author-anki-cards 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.

.codex/skills/author-anki-cards/SKILL.md · 40 lines

What it actually says

Author Anki Cards

Quick rules

  • Pass profileId on every write tool.
  • Use official Anki concepts only: deck, note type, note, card, tag, media.
  • Inspect unfamiliar structures with list_note_types, get_note_type_schema, search_notes, and get_notes.
  • Run ensure_deck before the first write into a new deck.
  • Never release cards with set_note_cards_suspended(suspended=false) before explicit user approval in natural language.
  • Revise an existing review-pending note with update_note; do not invent a second draft object in the prompt.
  • Use batch tools only when item-by-item outcomes are actually needed.

Pick the workflow

  • One new note:
    • list_note_types -> get_note_type_schema -> ensure_deck -> add_note -> open_note_preview -> update_note|delete_note|set_note_cards_suspended
  • Many new notes:
    • list_note_types -> get_note_type_schema -> ensure_deck -> add_notes_batch -> open_note_preview for a sample -> delete_notes_batch|set_note_cards_suspended
  • Revise after user feedback:
    • get_notes -> update_note -> open_note_preview
  • Recover after interruption:
    • search_notes -> get_notes -> open_note_preview

When to read references

  • Read references/operations.md when you need concrete example payloads.
  • If field usage is unclear, inspect real example notes before writing new content.

Failure handling

  • INVALID_ARGUMENT: fix note fields or note type mismatches.
  • CONFLICT: refresh note state and retry with the current expectedModTimestamp or a new clientRequestId.
  • PROFILE_SCOPE_MISMATCH: retry against the correct profile.
  • NOT_FOUND: create the deck first, refresh note IDs, or verify the note type exists.
Files

What ships with it

2 files 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. 12d ago First seen · 40 lines · 52 tokens per session scan A 6c3538be2070

Subscribe to this mod's changes

author-anki-cards is a skill published in the GitHub repository yama662607/anki-mcp (0 stars, last pushed 3mo ago), licensed MIT. It adds 52 tokens to every session and 450 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

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

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.

gong1414/anki-card-skill · 84 tokens

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

learning-notes-automation

A workflow for turning videos, podcasts, and articles into structured learning notes. It extracts key ideas and creates flashcards that can be imported into Anki, a spaced-repetition study app.

chubbyguan/chubbyskills · 58 tokens

local-rag-search

Efficiently perform web searches using the mcp-local-rag server with semantic similarity ranking. Use this skill when you need to search the web for current information, research topics across multiple sources, or gather context from the internet without using external APIs. This skill teaches effective use of…

nkapila6/mcp-local-rag · 80 tokens

octave-literacy

LLM-native structured communication format. Teaches OCTAVE syntax rules, canonical forms, and warning prevention for zero-error .oct.md authoring.

elevanaltd/octave-mcp · 34 tokens