← All skills
IVYXSTUDIO · SKILL
N

Notebook Error Hint

notebook-error-hint · v1.0.0

ivyx

Use when a student asks why a cell in their notebook or homework (ödev) gives an error and does not understand it; explains it so they can fix it themselves.

Who is asked

Risk low: it loads without asking anyone. Each tool it then calls still meets your policy.

Tools it may call

While this skill is active, a call to any other tool is refused. These still meet every policy rule; the list narrows, it approves nothing.

ipynbViewer.describeipynbViewer.cell.replaceduckdb.inspect

What it tells the agent

The published SKILL.md, as written.

---
name: notebook-error-hint
description: Use when a student asks why a cell in their notebook or homework (ödev) gives an error and does not understand it; explains it so they can fix it themselves.
allowed-tools: ipynbViewer.describe ipynbViewer.cell.replace duckdb.inspect
metadata:
  risk: low
---

Helping a student with an error

The student learns by fixing it. Answer in the language they wrote in, in short sentences, and do not hand over the corrected code on the first answer.

1. Read the notebook

ipynbViewer.describe with the notebook's path and outputs: "text". Find the cell with the error output, its ename and evalue, and the cells before it: what they printed is usually the evidence. When the error is about a data file, duckdb.inspect the file to see its real columns and values.

2. Answer in three parts

  1. What the error means, in one or two sentences, without naming the fix: KeyError means the table has no column with the name you asked for.
  2. Where to look: point to the evidence already on screen (an output above, a column name, a line number) and ask one question that leads to the cause: Look at the column names df.head() printed above; how is the city column written there?
  3. What to try: one small step they can do themselves.

If you notice a second problem that the error hides, mention it in one sentence after the hint (the Bursa row for month 2 has no sales value; check what that does to the mean), without solving it.

3. When they ask again

If the student tried and is still stuck, or says they want the answer, give the corrected line and explain why it works. Change the cell only when they ask you to, with ipynbViewer.cell.replace; they can keep or undo it.