Recued
Menu
← Back to recipes

Build flashcards from notes

by recued-core v2 41 views

Use “Build flashcards from notes” in Recued. Reads the vault notes you name in notepaths, turns their material into question/answer pairs, and writes them as a CSV deck ready to import into a spaced-repetition app. Returns the pairs as a table and the deck as copyable CSV.

How it works 31 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (31 steps)
■ path_count count
Count items in setting note paths
■ paths_present compare
Check if path count is greater than
■ vault_unset compare
Check if setting vault slug is empty
■ can_read all
Check if all conditions are true
◆ reads core.storage.file.read
Read storage file
skip: step.can_read not_equal true
■ read_rows default
Apply default
■ decoded map
Extract body_b64 from each item
■ texts pluck
Extract text from each item
■ corpus join
Join items with " --- "
■ corpus_present compare
Check if corpus has data
■ protect pii-protect
Apply pii-protect
✦ extract core.ai.extract
AI extracts structured fields from data
skip: step.corpus_present not_equal true
■ restored pii-restore
Apply pii-restore
■ found default
Apply default
■ cards_raw default
Apply default
■ cards slice
Take a subset of
■ card_count count
Count items in cards
■ has_cards compare
Check if card count is greater than
■ deck_csv to_csv
Serialize rows as a CSV string
■ csv_present compare
Check if deck csv has data
◆ deck_stat core.storage.file.stat
Stat storage file
skip: step.vault_unset equal true
■ deck_exists compare
Check if deck stat exists equals
■ blocked_by_existing all
Check if all conditions are true
■ skip_write any
Check if any of the conditions are true
■ deck_b64 encode_base64
Apply encode_base64
skip: step.skip_write equal true
◆ write core.storage.file.write
Write storage file
skip: step.skip_write equal true
■ written not
Apply not
◆ final_stat core.storage.file.stat
Stat storage file
skip: step.vault_unset equal true
■ final_size default
Apply default
■ cards_table to_table
Format results as a data table
■ card to_summary
Format results as a summary card
▼
Output
summary card
table cards_table
copyable deck_csv
json cards
Settings 5 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

deck path setting = Flashcards/deck.csv
max cards setting = 30
overwrite setting = false
note paths setting =
vault slug setting =

Uses (4 operations)

Files Read storage file core.storage.file.read
AI models AI extracts structured fields from data core.ai.extract
Files Stat storage file core.storage.file.stat
Files Write storage file core.storage.file.write

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

What it's allowed to do

Read Files core.storage.file.read read-only
Read AI models core.ai.extract read-only
Read Files core.storage.file.stat read-only
Write Files core.storage.file.write external change

Data it touches

SurfacesFilesAI models

About

Tags

pack:pkm-vaultpkmvaultflashcardstudycsvnotesai_surface

Details

31 steps 5 configurable settings recipe_id: build-flashcards-from-notes