← Examples

Move an Anki deck to Mochi without duplicates

Ten Anki notes become ten Mochi cards. A second import skips all ten instead of copying them again.

Mochi anki-find_notesmochi-list_decksmochi-create_deckmochi-create_cardsmochi-list_cards

Captured August 2026 · follow-up corrected for clarity and lightly reformatted

The source deck

The Anki deck contains eight Basic notes and two Cloze notes. The migration writes one Mochi card per note and stores the Anki note ID with it, so the same import can be run again without adding copies.

The prompt

Using Toolforest, migrate my Anki deck called “Japanese Vocab” to a Mochi deck with the same name. Preserve the card text, example sentences, tags, and cloze cards; use the Anki note IDs to prevent duplicates, and leave the Anki deck unchanged. Run the Mochi import twice, then report what was created, skipped, or failed.

The response

Using Toolforest, migrate my Anki deck called “Japanese Vocab” to a Mochi deck with the same name. Preserve the card text, example sentences, tags, and cloze cards; use the Anki note IDs to prevent duplicates, and leave the Anki deck unchanged. Run the Mochi import twice, then report what was created, skipped, or failed.

Executing anki-find_notes Executing mochi-list_decks Executing mochi-create_deck Executing mochi-create_cards Executing mochi-create_cards

Migration completed successfully.

Mochi importCreatedSkippedFailed
First run1000
Second run010 duplicates0

Created active Mochi deck “Japanese Vocab” (7NhmBy84) with:

  • 8 standard cards and 2 cloze cards
  • Original card text, example sentences, and tags preserved
  • Cloze syntax converted to Mochi format
  • Anki note IDs stored as ext::<note-id> tags for deduplication

Final verification found exactly 10 cards. The Anki deck was only read and remains unchanged. An older trashed Mochi deck with the same name was also left untouched.

List the cards in the new Mochi deck here.

Executing mochi-list_cards

The new Japanese Vocab deck contains:

  • 新しい (あたらしい) → new
  • 毎日 (まいにち) → every day
  • 話す (はなす) → to speak
  • 食べる (たべる) → to eat
  • 友達 (ともだち) → friend
  • 学校 (がっこう) → school
  • 大きい (おおきい) → big
  • 水 (みず) → water
  • わたしは学生{{1::です}}。 — cloze
  • これ{{1::は}}本です。 — cloze

The example sentences and tags are included on each card.

The second import

The first pass creates ten cards. The second sends the same Anki note IDs and skips all ten. No duplicates are added, and nothing in Anki is changed.