by Karam Guliyev
AI exam prep from your notes: practice questions for any certification or test (PMP, CSM, AWS, CompTIA, university). Mistakes re-quizzed.
๐ง CertFS Quiz
An Obsidian plugin. It quizzes you on a note, a selection, several notes or a folder, in exam style. It also re-quizzes your errors with new versions until you master them.
- ๐ค Questions come from an OpenRouter model (free ones work).
- ๐ Subjects are set in Settings: a folder + an optional question style. Nothing is hardcoded.
- ๐ Presets included: CSM (Scrum Guide 2020), PMP (PMI mindset, "what FIRST?"), CPMAI.
- โ Wrong answers โ error notes in that subject's errors folder.
- ๐ Every answer goes to a local history โ stats + no repeated questions.
- ๐ Shareable: copy the folder (without
data.jsonandhistory.json) to any vault.
๐ Contents
- ๐ฅ Install
- โ๏ธ Setup (once)
- ๐ฏ Daily use
- ๐งฉ Question types
- ๐๏ธ How it picks the subject
- โ Error notes (automatic)
- ๐ Errors โ Archive (mastery)
- ๐ Answer history + stats
- ๐ธ Free limits (OpenRouter)
- ๐ ๏ธ Errors and fixes
- ๐ Privacy
- ๐ What's new
- ๐งโ๐ป For developers
๐ฅ Install
- ๐๏ธ Community plugins: Settings โ Community plugins โ Browse โ search CertFS Quiz โ Install โ Enable.
- ๐งช Before it is listed (BRAT): install the BRAT plugin โ Add beta plugin โ
KaramGuliyev/CertFS. - ๐ฆ Manual: download
main.js,manifest.json,styles.cssfrom the latest release into<vault>/.obsidian/plugins/certfs-quiz/โ restart Obsidian โ enable CertFS Quiz.
โ๏ธ Setup (once)
- ๐ Make a key at openrouter.ai โ Keys.
- ๐ Settings โ CertFS Quiz โ paste the key.
- ๐ฅ Click Load free models โ pick one that ends in
:free.- ๐งน The list shows only models that can chat (no embed, TTS, rerank).
- ๐ฒ On openrouter.ai, leave the key's credit limit empty. Don't set it to $0.
- ๐ Settings โ Subjects: check the list. On first run, presets whose folder exists are added.
- โ Add subject โ name, folder, rules note (optional), question style (optional).
- ๐ Folder and Rules note boxes search the vault as you type โ click a result.
- ๐ฆ Add presets โ adds CSM, PMP, CPMAI (edit their folders to match your vault).
๐ฏ Daily use
| Do this | How |
|---|---|
| ๐ Quiz the open note | ๐ง ribbon icon, or Ctrl+P โ Quiz this note |
| โ๏ธ Quiz part of a note | Select text โ Ctrl+P โ Quiz selected text |
| โ๏ธ Pick settings | Count (1โ15), difficulty, optional focus, question types |
| ๐ Start | Generate |
| ๐ Quiz several notes | Ctrl+P โ Quiz multiple notes โ search + tick notes, or select notes in the file explorer (Ctrl/Cmd+click) โ right-click โ CertFS Quiz: quiz N notes |
| ๐ Quiz a whole folder | Ctrl+P โ Quiz a folder โ pick it |
| ๐ Re-quiz errors | โบ ribbon icon, or Ctrl+P โ Quiz my errors |
| ๐ฆ Test the archive | Ctrl+P โ Test my archive |
Folder quiz:
- ๐ Uses every note in the folder and its subfolders.
- ๐ซ Skips
Errors/,Archive/,Mocks/and files starting with_(Settings: Folder quiz skips). - โ๏ธ Each note gets a fair share of the 24,000-character limit.
Multiple notes quiz:
- โ The open note is ticked to start with; search by name or path, tick more.
- ๐ Same flow as a folder quiz: one request, questions spread across the notes.
- ๐๏ธ Subject = the one most picked notes belong to (errors go there).
In the quiz:
- ๐ก Hint โ a small push, not the answer.
- ๐คท Not sure โ counts as a miss, so it gets reviewed.
- โ Check โ right/wrong, the correct answer, and why.
- โ I was right โ short answer graded wrong but you know it's right. Counts as correct, no error note.
- โก๏ธ Next โ the next question.
At the end:
- ๐ Score % and the topics you missed.
- ๐ Review missed โ each missed question with the right answer and why. No re-test.
- ๐ New questions on missed topics โ fresh questions, no repeats.
๐งฉ Question types
| Type | What you do |
|---|---|
| ๐ Multiple choice | Pick 1 of 4 |
| ๐ญ Scenario | A situation โ pick the best action (1 of 4) |
| โ๏ธ Multi-select | Pick all correct options (exact set) |
| โ๏ธ True / False | Pick one |
| โ๏ธ Short answer | Type it. The AI grades the idea, not the wording |
| ๐ Matching | Match each term to its pair |
- ๐๏ธ Turn types on/off in Settings or in the quiz setup.
- ๐ Options are shuffled every time.
๐๏ธ How it picks the subject
- ๐ The note's path is matched against each subject's folder.
- ๐ฏ Nested subjects: the deepest folder wins.
- ๐งฉ No match โ General style, and mistakes are not saved.
| Subject setting | Used for |
|---|---|
| Name | exam: in error notes, the subject dropdown, stats |
| Folder | Which notes belong to it; errors go to <folder>/Errors/ |
| Rules note | **Rule:** โ [[...]] line in error notes (empty = no line) |
| Question style | Optional. Empty โ the AI guesses the exam from name + folder. Fill it to steer wording, traps, scenario type |
Presets (default folders, edit them in Settings):
| Folder | Style | Rules link |
|---|---|---|
1 CSM/ | CSM (Scrum Guide 2020) | Scrum Rules |
2 PMP/ | PMP (PMI mindset) | Mindset Rules |
3 CPMAI/ | CPMAI | CPMAI Rules |
โ Error notes (automatic)
- ๐ File:
<subject folder>/Errors/YYYY-MM-DD <topic>.md. - ๐ท๏ธ
ErrorsandArchivenames can be changed in Settings (old notes are not moved). - ๐งพ Same frontmatter as
99 Templates/Error.md. - ๐ท๏ธ
source: "CertFS Quiz (<note>)",status: new,next_review= tomorrow. - ๐ So it shows up in Home under errors to redo.
- ๐ Same topic, same day, different question โ added to the same note in full.
- ๐ Same question again โ one "wrong again" log line, and the review resets to tomorrow.
- ๐ซ Turn off with Save mistakes as error notes in Settings.
๐ Errors โ Archive (mastery)
- ๐ Quiz my errors writes a new version of each error. Same concept, new wording.
- ๐ซ It never repeats a question: every version asked is logged in the note.
- ๐ฏ Types used: multiple choice, scenario, multi-select, true/false.
- ๐ Pick Due today or All active.
- ๐ข One new question per error. The count can't go above the errors found.
| Answer | What happens |
|---|---|
| โ Right, error was due | streak +1 โ next check in 3 days, then 7 days (Settings: Days between checks) |
| โ Right, not due yet | โ ๏ธ Warning. Default: logged, not counted. Or Count anyway (+1), or red Skip โ archive (asks twice) |
โ
3rd right (streak: 3) | status: mastered, moved to Errors/Archive/ (Settings: Correct answers to master, 1โ10) |
| โ Wrong | streak: 0, status: new, again tomorrow |
- ๐ Misses are logged on the same error note. No new note.
- โ๏ธ Setting Count a correct answer: only on due days (default) or any time.
Test my archive:
- ๐ New version of each archived error.
- โ Right โ ๐๏ธ Delete (to trash) or ๐ฆ Keep.
- โ Wrong โ back to active
Errors/,streak: 0, again tomorrow.
๐ Answer history + stats
- ๐งพ Every answer (right or wrong) โ
history.jsonin this folder. - ๐ข Saved: date, subject, note, topic, question, right/wrong. Max 5,000 (oldest dropped).
- ๐ซ A new quiz on the same note skips its last 40 questions.
- ๐ Ctrl+P โ Show my stats โ score per subject, last 7 days, 5 weakest topics.
- ๐
<subject folder>/Stats.mdis rewritten when a quiz ends: score, last 7 days, errors due/active/archived, weakest topics, by quiz type. - โ๏ธ Settings โ Stats note = file name (empty = off). Folder quiz skips it.
- โ ๏ธ Stats come from the history. Keep answer history off โ Stats.md shows โธ๏ธ paused and stops counting. Not a bug.
- โ๏ธ Settings โ Keep answer history (off = nothing saved) and Clear history.
- ๐ก It is a history, not a question bank: questions are always new.
๐ธ Free limits (OpenRouter)
- โฑ๏ธ 20 requests per minute.
- ๐ 50 requests per day (1000/day after buying $10 of credits once).
- ๐งฎ One quiz = 1 request (note, folder, errors or archive).
- โ๏ธ Each short-answer check = +1 request.
- ๐ Busy model (429/502/503) โ it retries twice by itself (4s, then 8s).
- ๐ A failed 429 may not show in OpenRouter Logs.
- ๐ The error message shows OpenRouter's own reason.
๐ ๏ธ Errors and fixes
| Message says | Fix |
|---|---|
| Add your API key | Paste the key in Settings |
| Pick a model | Load free models โ pick a :free one |
| 401 | Key is wrong or deleted โ make a new key |
| 402 | Model isn't free โ pick a :free model. Key's credit limit must be empty, not $0 |
| 404 | Model is gone โ Load free models again |
| 429 | Free model busy upstream โ pick another :free model. Or your limit โ wait 1 min / tomorrow |
| Did not answer in 90 s | Free model stuck โ try again, or pick another :free model |
| Response cut off | Ask for fewer questions |
| No usable questions | Try again, or pick another free model |
| Note too short | Note needs 80+ characters |
๐ Privacy
Network requests (only 2, both to openrouter.ai):
- ๐
POST https://openrouter.ai/api/v1/chat/completions: generates and grades questions. Sent only when you start a quiz (or press Check on a short answer / matching). Carries the note text, your settings for the quiz and your API key. - ๐
GET https://openrouter.ai/api/v1/models: lists free models when you press Load free models in Settings. No note text. - ๐ซ No telemetry, no analytics, no other servers.
Vault access:
- ๐ The file list (
getMarkdownFiles) is read only on your device: to find the notes of a folder quiz, to show the note picker in Quiz multiple notes, to find error notes, and for the folder / note search in Settings. File paths are never sent anywhere. - โ๏ธ Writes only inside your subject folders (error notes, archive moves,
Stats.md) andhistory.jsonin the plugin folder.
Data:
- ๐ค The note text (max 24,000 characters) is sent to OpenRouter and the chosen model.
- ๐ซ Don't quiz notes with private data.
- ๐ The key is stored in
data.jsonin this folder, unencrypted. - ๐
data.jsonandhistory.jsonare gitignored, so they never go to GitHub. - โ๏ธ iCloud still syncs it, so keep the key private.
๐ What's new
0.3.5
- ๐ New: Quiz multiple notes. Pick notes with search + checkboxes, or multi-select them in the file explorer and right-click.
- ๐ README โ Privacy now lists the 2 network calls and why the vault file list is read.
- ๐ก๏ธ Releases now carry GitHub artifact attestations (build provenance) for
main.js,manifest.json,styles.css. - ๐ค Added
CONTRIBUTING.md,CODE_OF_CONDUCT.md,SECURITY.md,ACCESSIBILITY.md, issue and PR templates.
0.3.4
- ๐ค Empty Question style โ the AI infers the exam from the subject name + folder. Name + folder is enough to start.
0.3.3
- ๐จ Subject boxes get inner space, so their top edge is no longer cut off.
0.3.2
- ๐จ Settings โ Subjects: the 3 boxes fill the row, and the Question style box is full width.
0.3.1
- ๐ Settings โ Subjects: the Folder and Rules note boxes search the vault as you type.
- ๐ Needs Obsidian 1.4.10+. On older versions they stay plain text boxes.
0.3.0: generic and shareable
- ๐ No hardcoded exams. Subjects (name, folder, rules note, style) are set in Settings.
- ๐ On first run, the CSM, PMP and CPMAI presets are added, but only if their folder exists.
- โ๏ธ In Settings now: mastery count, days between checks, Errors/Archive folder names, folder-quiz skips.
- ๐งพ Answer history in
history.json. A new quiz skips the note's last 40 questions. - ๐ Show my stats command.
- ๐
<subject>/Stats.mdis rewritten after each quiz. - โธ๏ธ History off โ Stats.md says paused. Not a bug.
0.2.x
- ๐ Review missed replaces Retry missed. It shows the right answers and does not re-test.
- โฑ๏ธ A request stops after 90 s, so it no longer hangs at "Generating".
- ๐ Each question has its own option group, so a selection can't jump between questions.
- ๐ Quiz my errors shows due vs active counts.
- โ ๏ธ Not-due errors: Count anyway or red Skip โ archive.
- ๐ข The question count is capped at the number of errors found.
- ๐ New: Quiz a folder, Quiz my errors, Test my archive, and the I was right button.
0.1
- ๐ง First version: note or selection quiz, 6 question types, hints, auto error notes.
๐งโ๐ป For developers
- ๐ฆ No build step:
main.js(CommonJS),manifest.json,styles.css. - ๐ API:
https://openrouter.ai/api/v1/chat/completionsvia ObsidianrequestUrl. - ๐ Asks for JSON (
response_format: json_object). On 400 it retries without it. - ๐งช Pure helpers are exported on
module.exports._testfor unit tests. - ๐ Subjects live in
data.json(subjects: [{name, folder, rules, style}]). Presets are inPRESET_SUBJECTS. - โ Tested: helper unit tests (parse, normalize, grade, error notes, subjects, intervals, history) + a fake-vault flow.
- โ ๏ธ Not auto-tested: the UI and live OpenRouter calls.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.