# Anki

> Create, read, and edit Anki flashcard decks (.apkg files). Use when the user wants to generate flashcards from content, parse existing decks, add/remove cards, or export study material to Anki format. Triggers on requests involving Anki, flashcards, spaced repetition decks, or .apkg files.

- **Type:** Skill
- **Install:** `agentstack add skill-anath2-anki-skill-anki-skill`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [anath2](https://agentstack.voostack.com/s/anath2)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [anath2](https://github.com/anath2)
- **Source:** https://github.com/anath2/anki-skill

## Install

```sh
agentstack add skill-anath2-anki-skill-anki-skill
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Anki Deck Skill

## Workflow

**Creating a deck?** → Generate cards as JSON → Run `create-deck`
**Reading a deck?** → Run `parse-deck` → Returns JSON of cards
**Editing a deck?** → Parse first, modify JSON, recreate deck

## Creating Decks

1. Generate card data as JSON:
```json
{
  "deck_name": "My Deck",
  "cards": [
    {"front": "Question", "back": "Answer"},
    {"front": "{{c1::Cloze}} deletion", "back": "", "type": "cloze"}
  ]
}
```

2. Run:
```bash
create-deck input.json output.apkg
```

## Card Types

| Type | Fields | Notes |
|------|--------|-------|
| Basic | front, back | Default type |
| Basic+Reversed | front, back, type:"reversed" | Creates two cards |
| Cloze | front (with {{c1::text}}), back (optional) | Use {{c1::}}, {{c2::}} for deletions |

## Parsing Decks

```bash
parse-deck deck.apkg > cards.json
```

Output format matches input format for round-trip editing.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [anath2](https://github.com/anath2)
- **Source:** [anath2/anki-skill](https://github.com/anath2/anki-skill)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-anath2-anki-skill-anki-skill
- Seller: https://agentstack.voostack.com/s/anath2
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
