Automated summary
Turns exercise statements from course materials into interactive marimo practice items that show the problem first, then hints, then a complete explained solution.
Strengths
- Implements a problem-first learning loop with hints, full worked solutions, verification cells and source page references.
- Extracts problems from PDFs, problem sheets and lecture slides using parallel question-banker agents, flagging handwritten or figure-heavy pages for review.
- Handles assessed questions by exposing only hints and a checker, with full solutions date-gated behind an unlock flag.
- Aligns with marimo-notes formatting and links into hub notes and study-pack workflows.
Limitations
- Depends on marimo-notes, model-routing and their scripts/agent setup; it is not standalone.
- Includes course-specific conventions, such as MA2403 Orange-book solutions, that may not generalize.
- Still requires manual inspection of flagged statements and PNGs, and relies on external deadline information for gating.
Use it when you need to turn a set of exercises, slides or past-paper questions into interactive marimo practice, especially before an exam or seminar.
Avoid it for building a whole study guide or a multi-note mock exam (use study-pack instead), or when the source is not sanctioned by the course.
Security analysis
CautionThe content is an elaborate but transparent authoring guide for building marimo practice notebooks; it contains no destructive commands, no credential or data exfiltration, and no obfuscated payloads. The only real concerns are capability-vs-manifest mismatch (undeclared shell/subagent use), dependence on local paths and scripts that are not shipped, and reliance on the agent's own judgment about which questions are assessed coursework. All of these are legitimate-use concerns rather than malicious ones, hence caution rather than risky.
- •Manifest declares no allowed-tools, but the body instructs the agent to run shell/Python commands (`.venv/Scripts/python.exe skills/marimo-notes/scripts/build_notes.py …`, `scripts/extract_slide_examples.py`, `new_note.py`, `add_quiz_summary.py`) and to dispatch multiple subagents — this execution/subagent capability is not reflected in the declared tools and should be declared before listing.
- •No destructive, exfiltration, network-fetch, obfuscation, or safety-disabling instructions were found; the powerful actions are all local file generation and build/QA automation.
- •The skill explicitly handles assessed/coursework material and implements a date-gated solution unlock plus hint-only checkers. The safeguards are sound and integrity-positive, but correct behaviour depends on the agent reliably classifying what is 'assessed', a judgment risk worth flagging.
- •References private/local infrastructure by absolute-looking paths and personal tooling (e.g. `Statistical Distributions and Inference/marimo-notes/W1_L3_discrete_and_normal_practice.py`, `_tools/orange_tables.py`, course codes MA2403/AF2007). These are not bundled, so an agent outside that environment will hit missing files.
- •Instructions delegate work to local scripts (`.venv/Scripts/python.exe skills/marimo-notes/scripts/build_notes.py`, `scripts/extract_slide_examples.py`) and to sub-agents (question-banker, notebook-drafter, doc-extractor) — the safety of those scripts/skills must be assessed separately, since this file only describes invoking them.
- •Hard-coded Windows relative paths (`.venv/Scripts/python.exe`) and cross-skill references (`skills/marimo-notes/...`) are assumed to exist; nothing here fetches remote content or transmits data.
- •No obfuscated payloads, no `curl | sh`, no destructive filesystem operations, no credential/token handling, and no instruction to disable safety controls. The only 'gating' logic is marimo cell visibility for pedagogical answer-hiding, which is benign.
Examples
Make practice problems from Chapter 4 of the MA2403 problem sheet. Show each problem first, then hints, then the full worked solution in the Orange-book style.Turn the Example and Try it slides from today's lecture into a marimo practice note, one item per example, with hints, a tabulated variant and the full solution.Quiz me on the exercises in this PDF: present each problem first, let me attempt it, then reveal hints and the complete explained solution.name: practice-problems description: | Practice problems, problem first: extracts problems from a source (a seminar or problem sheet, textbook exercises, lecture slides, a past paper, a handout) and turns each one into an interactive marimo practice item. The reader sees the problem and attempts it first (a marimo-learn widget, a graded form, a Tangle/explorer variant, or a studio page). Hints come next, then the complete explained solution with a green verification cell, the common mistakes and the source page. Assessed questions get a hint and checker only, with the solution date-gated. Use this skill whenever the user asks for practice problems, practice questions, exercises, drills, "problems from chapter N", "make me questions from this sheet/PDF", "quiz me on …", worked problems they can try first, a problem set, extra practice before an exam or seminar, "practice from the lecture slides", "the slide examples as problems", or a practice note per lecture, in any course (MA2403, MA1115, AF2007, FDS, Bloomberg). For MA2403, solutions are worked the Orange-book way (formula page, table, row and column, interpolation) and then checked in code. Builds on marimo-notes (format, build) and model-routing (who reads the source); for whole study guides or mock exams across many notes use study-pack instead.
Practice problems: ask first, then explain fully
The note format, glossary, ⟦links⟧ and build come from marimo-notes. Widget signatures are in
skills/marimo-notes/references/teaching-widgets.md §2–§5, and the assessed-work gate is in
skills/marimo-notes/references/teaching-patterns.md §Assessed work. This skill adds the problem-first
loop and how to get the problems out of a source.
1. Scope and placement (ask only if unclear)
- Source: which file(s) and pages or question numbers. Only course-sanctioned sources (the dropped book is never used).
- Assessed? Is any question from coursework, marked homework or a quiz before its deadline,
word-for-word or near it? Check the handbook, Blackboard dates and the course hub's deadlines.
Assessed means hint + checker, with the full solution behind
--unlock. - Where it goes:
- a few problems tied to one note go into that note's Self-Check section;
- a set goes into a new
G<n>_<scope>_practice_problems.py(new_note.py --kind guide), linked from the hub and from each source note's Practice line; - lecture-slide examples go into one
<lecture-note stem>_practice.pyper lecture note, linked from the end of that note and from its hub row (§2b).
2. Extract the problems (cheap models)
- Each source PDF gets one question-banker agent (haiku), all in parallel. The brief gives
the path, the page range and the output path in the scratchpad. It returns one row per problem:
id | page | verbatim statement (LaTeX) | given data | printed answer (if any) | type | topic | difficulty | assessed flag | figure PNG path. - Pages with plots, tables or handwriting are rendered to PNG by the agent. Look at the flagged PNGs yourself before trusting the statement.
- A long chapter can go to
doc-extractorfirst, then question-banker on its digest.
2b. From lecture slides (slides mode)
Full recipe in references/slides-mode.md. In short:
scripts/extract_slide_examples.py DECKS… --out <scratchpad>/slides(tier 0). It finds the Example / Try it / Try these slides, marks repeats across decks, flags handwriting (ink) and renders PNGs.- One question-banker per practice note runs on its candidate ids, copying clean statements from an existing slide-examples guide where one exists.
- Opus maps the items to lecture notes, writes the item specs (key, hints, solution route, one tabulated variant per item) and reads every ink PNG.
- notebook-drafter ×N write
<lecture stem>_practice.py. Then link each from the end of its lecture note and from its hub row.
3. Design each item (Opus)
Choose the interaction from what the problem asks for:
| Problem asks for | Attempt widget |
|---|---|
| A number (probability, price, determinant) | NumericEntryWidget(question, correct_answer=<computed>, tolerance) or a .batch().form() with several inputs |
| A choice of method, distribution or conclusion | MultipleChoiceWidget. Distractors = the real common mistakes (wrong tail, trials vs failures, forgot to annualise) |
| The steps of a proof, test or algorithm | OrderingWidget |
| Matching terms, formulas or graphs | MatchingWidget |
| "What will this R/Python print?" | PredictThenCheckWidget |
| Code (a function, a dplyr pipeline) | stub + # BEGIN/END YOUR CODE + test cell + "Run my tests" (teaching-widgets.md §5) |
| A parameter family ("for which k …") | a Tangle sentence or a small explorer, then a numeric check at one value |
| A static revision page, no Python | studio view with a "question" and an "answer" state (studio-explainer) |
- Stats (MA2403) solutions take the Orange route (
references/orange-book-route.md): name the distribution with its ⟦ob p⟧ page, set up, read the table (page, row, column, entry as printed), interpolate, box the answer, then add one line comparing the table with the exact value._tools/orange_tables.pyreproduces each lookup at table precision, and scipy is only the check. - Answers are computed in code (scipy, sympy, polars, live R), never typed. A printed answer from the source goes into the checks box comparison, not into the widget.
- Write a variant (new numbers, same method, (own example)) for any problem that is assessed or too easy to memorise.
4. Item layout (problem first)
## P3 — <short title>with the ⟦source page⟧ link line.- The problem statement (source wording, LaTeX, the figure if any).
- The attempt widget in its own cell, named with a prefix (
p3_attempt). /// details | Hint 1(direction) and/// details | Hint 2(first step). Hints never give the number.- A reveal cell with a "Show me the solution" run button (
p3_giveup). - The solution cell is gated until the reader has answered or given up:
Numeric and multiple-choice widgets report_answered = (p3_attempt.value.get("value") or {}).get("answered", False) mo.stop(not (_answered or p3_giveup.value), mo.md("*Attempt the problem (or press “Show me the solution”) to see the worked solution.*")) mo.md(rf""" /// details | Full solution — P3 open: True **Step 1 — set up.** … *why this step* **Step 2 — …** … $$\boxed{{…}}$$ **Common mistakes.** … /// """)answered.OrderingWidgetreports only{order, correct}, and it sets that while the reader drags, so gate it oncorrect is True(plus the give-up button). Thepp_answeredhelper inStatistical Distributions and Inference/marimo-notes/W1_L3_discrete_and_normal_practice.pyhandles all three kinds, and forms too. The solution explains why at each step in the user's voice, ends with the boxed answer, and names the common mistakes and the related note (?file=link + page). - A verification cell that is NOT gated, so the build always checks the key. It must not
reveal the number before the attempt:
Put_ok = abs(P3_KEY - P3_PRINTED) < 5e-4 if P3_PRINTED is not None else True mo.callout(mo.md(f"**Answer key check (P3):** matches the source: **{_ok}**"), kind="success" if _ok else "danger")P3_KEY(computed) andP3_PRINTEDin one hidden key cell near the top of the file. For an Orange-route item the same cell also checksP3_TABLE(the value read the table way withorange_tables) againstP3_KEYwithin the table's tolerance (ob.tol(...)). That proves the book method gives the right answer to the precision printed. A source answer that disagrees is reported in the checks box, and the key is never edited to match. - Close with a 📊 quiz summary (
add_quiz_summary.py) when there are 3+ public widgets, the checks box and the tags.
Assessed items: steps 1–4 plus a checker form (right/wrong only). Steps 5–6 become the
date-gated solution (new_note.py … --unlock <deadline> pattern), and step 7 stays.
Persistence (optional): progress across reloads via moutils StorageItem
(libraries-widgets.md §1). It is [R] until it has been tried in one note, so check it renders
under marimo run before using it widely.
5. Build and check
.venv/Scripts/python.exe skills/marimo-notes/scripts/build_notes.py "<Course>/marimo-notes/G4_….py" --python .venv/Scripts/python.exe --summary
Then run note-qa. The visual pass must show each problem with no solution visible before an attempt, and the interaction pass must answer one widget and press one give-up button. Script-mode validation leaves widgets unanswered, so solution cells stop silently (expected) and the key-check cells must all be green.
Routing
| Step | Who |
|---|---|
| Find slide examples, repeats, ink | extract_slide_examples.py (script) |
| Extract problems, render figures | question-banker ×N (haiku), parallel; doc-extractor for long chapters |
| Assessed? / widget choice / solutions / variants | Opus |
| Drafting a large set (≥ 8 items) from Opus's item specs | notebook-drafter (sonnet), then Opus reviews every solution |
| Build, visual check | build_notes.py yourself; visual-reviewer (haiku) for the screenshots |
Never
- Show a solution or the numeric answer before the attempt, or before the deadline for assessed work.
- Type an answer key by hand, or change a key to make a check green.
- Use a source the course does not sanction, or quote a whole textbook chapter. Problem statements are for the user's own study notes.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/interactive-practice-problems-mvj1od1b/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/interactive-practice-problems-mvj1od1b' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/interactive-practice-problems-mvj1od1b/download' --output '.skill-downloads/interactive-practice-problems-mvj1od1b/SKILL.md.part' && mv '.skill-downloads/interactive-practice-problems-mvj1od1b/SKILL.md.part' '.skill-downloads/interactive-practice-problems-mvj1od1b/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/interactive-practice-problems-mvj1od1b/SKILL.md' && test -s '.skill-downloads/interactive-practice-problems-mvj1od1b/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/practice-problems' && cp -R '.skill-downloads/interactive-practice-problems-mvj1od1b' '.claude/skills/practice-problems'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/interactive-practice-problems-mvj1od1b'openskills read 'interactive-practice-problems-mvj1od1b'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/interactive-practice-problems-mvj1od1b/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Writing Fragments
Content
Mine raw writing fragments through a relentless interview, without imposing structure. Capture ideas, quotes, and leading words for later use.
UI Copywriting & Auditing
Content
Write or audit user-facing UI copy including buttons, errors, empty states, and tooltips across the monorepo, following the design system source of truth.
Music MIDI Extraction
Content
Extracts the MIDI or score from an existing music production via the CogMusic MCP tool and confirms availability.