Skip to content

Lesson 23 ยท Projects and Reference

Project: Build a Study Assistant

Build a study assistant with a Claude project: write instructions, prepare sources, set quiz rules, test with known answers and schedule spaced review.

In this project you create an assistant that helps you learn a subject from your own material. It needs no code, and it combines prompting, projects, verification and privacy. The runnable blocks are small helper programs that you can keep. They do not call Claude.

Pick a small, low-risk subject that you are really studying, such as one chapter of a biology course, a language topic or one unit for a software certification. Check that you are allowed to upload the material.

Step 1: Define success

Write down what "helpful" means before you build:

  • Questions come from your sources.
  • It asks one question at a time and waits for your answer.
  • It explains mistakes and points to the source section.
  • It says when the sources do not cover something.
  • It does not do graded work for you.

Step 2: Prepare the sources

Use two or three clean documents with clear headings. Delete old versions. If a diagram matters, make sure that the format lets Claude read it, or add a text description that you have checked. Remove names, grades and other personal details of classmates or students.

Step 3: Write the instructions

Create a project, add the files and paste instructions like these, with your own subject and level:

TEXT
You are my study coach for [subject]. I am a [level] learner.

Use the project files as the source of truth. After each correction, name
the file and heading you used. If the files don't cover a question, say
"Not in your material", then label any general knowledge as unverified.

Quiz mode (when I say "quiz me"):
1. Ask one question and stop. Don't reveal the answer.
2. After I answer, say what was right, what was missing, and why.
3. If I ask for a hint, give one before the full answer.
4. Mix recall, explanation and application questions.
5. After 8 questions, list my weak topics with the source headings.

Explain mode: give a short plain explanation and one new example, then ask
me to explain it back in my own words.

Don't write graded assignments for me. Help me plan and check my own work.

These rules support learning: trying to recall an answer yourself teaches you more than only reading it.

Step 4: Test it

Run a short conversation for each rule, and record the result.

Test What you do It passes if
Wait Say "quiz me" It asks one question and shows no answer
Grounding Ask about a covered fact It is correct and names the right heading
Gap Ask about something not covered It says that it is not in your material
Wrong answer Answer wrongly on purpose It corrects you clearly instead of agreeing
Pushback Insist that a wrong answer is right It stays with the source and shows it
Homework Ask it to write your assignment It offers help instead

If a test fails, change one thing in the instructions or sources, then repeat all the tests. Instructions guide behavior but do not guarantee it, so a test that passed once can fail later. Check a sample of explanations against the original text yourself.

Step 5: Review with spacing

Coming back to a topic after a delay helps you remember it. A simple "box" system works: a correct answer moves a topic to a longer interval, and a wrong one sends it back to the start. Keep your results in a small file of your own, because old chats are not a reliable database.

Python A tiny spaced-review scheduler

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The intervals are arbitrary starting values. Change them to suit your exam date.

Step 6: Turn weak topics into a prompt

You can feed your results back to the assistant. Building the prompt from data keeps it short and consistent.

Python Build a focused review prompt from your results

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Copy the printed text into a chat in your project.

Stretch goals

  • Make a skill with your preferred question styles, if you use skills.
  • Create a one-page artifact that shows your topic list and progress, then check every number in it.
  • Ask for questions at three difficulty levels and judge whether the levels really differ.
  • Share a cleaned version with a study group, after checking your plan's sharing options and everyone's data rights.

What you should have at the end

A project with current sources, a short instruction text, a table of six tests with results, and a review list. Write two sentences about where the assistant still fails. That note is part of the project: it tells you when to go back to the textbook or to ask a teacher.

An example of a test note

Suppose the pushback test fails: you insist on a wrong date and the coach agrees with you. Write down what you typed and what happened. Then change one instruction, for example: "If I disagree with a correction, quote the source sentence again. Change your answer only if the source supports my view." Run all six tests again, because a fix for one behavior can weaken another. If the coach now refuses to reconsider even when you are right, refine the rule and repeat.

Keep it honest over time

Update the sources when your course changes, and run the six tests again after each update. If the assistant and your teacher or textbook disagree, do not assume that either the chat or your memory of the book is right. Open the source, and ask your teacher when the point stays unclear. Add each real mistake that you find to your test table, so that your checks grow with your use.

Common mistake: reading explanations and feeling that you have learned. Close the chat and explain the topic from memory. Also confirm your school or course rules about AI before you use it for assessed work.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Why should the quiz coach wait before showing the answer?

    Trying to recall is part of the learning.
  2. 2. What is the pushback test for?

    A study coach should not simply agree with you.
  3. 3. A test fails. What is a good next step?

    Small changes show what fixed or broke the behavior.
  4. 4. Where should your review history live?

    A file you control is dependable and easy to check.

Summary

  • Define success, prepare clean sources and write behavior rules.
  • Test waiting, grounding, gaps, corrections and homework limits.
  • Use spaced review with your own records.
  • Note the remaining weaknesses honestly.

Next: Project: A Document Extraction Pipeline

Your progress is saved in this browser. No account needed.