r/lumo • u/Claytonj19 • 16h ago
Difficulty with generating files with skills
Hey everyone, I was wondering if anyone has been running into this issue or would be able to see if I am doing something wrong.
Long story short, I wanted to move to Lumo from Claude since I already have my proton sub and it would minimize how many programs I use and prefer the desktop applications rather than web. I use these mostly for studying my coursework, things like generating review guides, study outlines, flashcards as .csv files.
I created a skill, /study-cards, using a mix of my own writing and the "Improve with Lumo" feature. What is it suppose to do is pull from my course notes files and generate a .csv file in the specified directory. The issue I am running into here, is that instead of making the .csv files, it creates it as an artifact and I either have to ask it specifically to remake it as a .csv file, which then it sometimes will (if it doesn't fail a tool call and cancel the whole thing).
Thanks, and I'm looking forward to seeing Lumo improve!
Here is my skill:
Description: Running the skill /study-cards <COURSE> <UNIT> creates a flashcard CSV file from a directed course's unit notes, saved to ~/Dropbox/courses-vault/csv-files. Can be imported into flashcard programs.
Turn unit notes from the study vault into a flashcard CSV file saved to \~/courses-vault/csv-files`. Ask nothing when a note is already provided; reply only "Ready - send me a unit note." when no note has been given yet.`
Steps
Read the note. Parse the Markdown note: a header block between two "---" lines (course, term, unit, exam, week, tags, sources), a title line "# Unit NN â Title", numbered sections ("## 1. Topic name") with parts such as "What it is", "Key terms and numbers", "Formulas", "How it's applied in a patient case", "Common mistakes", "Check yourself" (answers inside a "> [!question]- Answers" block), then "Unit summary" and "Related topics". Markup to read through, never copy: [[wikilinks]] (a link written [[Note name|shown text]] reads as "shown text"), bold, italics, "> [!tip]" callouts, tables, and $$ math. "(GK)" marks general knowledge not from course files. If a note doesn't match this structure at all, process whatever parts are identifiable and report afterwards which parts didn't parse. With several notes at once, process each independently â a problem in one must not stop the others.
Select card content, in this order of importance:
"Key terms and numbers": every definition, cutoff, range and unit â numbers always carry their units.
"Formulas": one card for the formula itself, and one worked example card with the steps on separate lines, using the note's own example numbers.
"Common mistakes": one card each, asked as "What is the common mistake when ...?" or as the correct rule.
"How it's applied in a patient case": what to do, in what order, and why.
"Check yourself": turn each question and its answer into a card, unless an earlier card already covers it. Aim for full coverage, not a fixed count: usually 8 to 20 cards per section, fewer for short sections. Skip the top header block, navigation lines ("â" and "Next â"), "Related topics", source lines ("Source: ..."), and anything that only points to another note. Leave "(GK)" out of card text but still make a card from the fact. If something in the note looks wrong or two parts disagree, make no card from it and report it after the CSV.
Write the cards. One fact per card; split long lists into several cards, or ask "Name the N ..." only for a short list (5 items or fewer) meant to be known as a set. Fronts specific enough to have one right answer alone: name the formula, condition, population, units â never "What is it?" or "Which of these...". Backs short: a word, a number with its unit, a phrase, or a few short lines; no "The answer is...". Fill-in-the-blank cards for exact terms, names and numbers inside a sentence worth remembering whole; question cards for everything else; roughly one in four fill-in-the-blank. Practice patients' numbers may be used in worked examples.
Character limits per card: keep each front at 160 characters or fewer and each back at 250 characters or fewer (excluding the quoting added by the CSV format). If a front or back would exceed its limit, split it into two cards or shorten the wording â trim filler, never the fact itself, its units, or anything needed to make the answer unambiguous. Worked example cards may use the full back limit, with each calculation step on its own line; if the steps still don't fit, drop the card down to formula plus final answer and put the key intermediate step in a second card. When a card goes over despite splitting and trimming, say so in the report instead of silently cutting content.
Build the CSV. First row exactly: front,back,topics. One card per row after that, three quoted fields always, commas between columns, a double quote inside a field written twice, UTF-8. Question card: column 1 the question, column 2 the answer. Fill-in-the-blank card: column 1 a full sentence with the hidden word or number in {{curly braces}}, column 2 empty (""). A sentence may have two or three blanks, each quizzed on its own: export one row per blank, the same sentence repeated, with only one blank in braces and the other blanks written out as plain text. Column 3: two topics separated by " | " â "Unit <N>" and the short name of the section the card's fact lives in (the section heading without its number, verbatim otherwise, no commas in a topic name); use the section where the fact belongs, not where you found it (a formula applied in "Common mistakes" belongs to "Formulas"). File name: "<COURSE> U<NN> cards.csv" (e.g. "MDN6000 U03 cards.csv"); one file per note. A line break inside a quoted field is allowed â use one per item for short lists or calculation steps.
Validate before delivering. Check: row 1 is exactly front,back,topics; every row has exactly three quoted fields; every fill-in-the-blank row has at least one {{...}} in column 1 and "" in column 2; no question card contains {{ or }} (if the note's own text has curly braces that are not yours marking a blank, replace them with parentheses); no front exceeds 160 characters and no back exceeds 250 characters (counting the card text only); no Markdown, wikilinks, $$ or LaTeX anywhere (write math plainly: "BMI = weight (kg) / height (m)^2", "x", "Ă·", "â", "â„", "kcal/kg"); no two rows identical (the app drops duplicates).
Save the file. Write each CSV file to \~/Dropbox/courses-vault/csv-files/`, keeping the exact name "<COURSE> U<NN> cards.csv" â create the folder if it does not exist. One file per unit note. If writing to that location fails, tell the user in the report and fall back to attaching the file for download, or to pasting each CSV in one code block with nothing else inside as a last resort â never paste the CSV as plain text in the chat when the file can be saved. After the file(s), in two or three lines of plain text, report: the save path, how many cards, how many of each kind, which sections they came from, any card that stayed over the character limit, and anything left out on purpose or found unclear in the note.`
Answer
One CSV file per unit note saved to ~/courses-vault/csv-files, with a short summary after each file. Neutral, exam-prep tone. If no note has been given yet, reply only: "Ready - send me a unit note."
Rules
Use only what is in the note; never add outside facts and never correct the note. If something looks wrong or two parts disagree, make no card from it and say so after the CSV.
Never use {{ or }} on a question card; never leave Markdown, wikilinks, tables, callout lines, $$ or LaTeX in any field.
Keep fronts within 160 characters and backs within 250 characters; split or trim cards that go over, and report any that still don't fit.
No two identical rows; no two cards testing the same fact.
Never put anything about the user into a card (measurements, labs, grades, opinions), and no real people's names other than scientists or authors a term is named after.
Always process multiple notes independently; a problem in one never stops the others.
Always save the result as a .csv file named "<COURSE> U<NN> cards.csv" in ~/Dropbox/courses-vault/csv-files; only fall back to download attachment or a single code block if saving fails, and say so in the report.

