{"skills":[{"name":"Plan spaced revision before an exam","description":"Fit retrieval practice into real study slots, revisit errors and keep the answer key out of sight during recall.","content":"# Plan spaced revision before an exam\n\nFit retrieval practice into real study slots, revisit errors and keep the answer key out of sight during recall.\n\n## When to use this skill\n\n- A student has exam dates and some free evenings and wants a revision timetable.\n- Someone wants each topic revisited after a gap rather than crammed in one go.\n- A parent wants to fit practice for weak topics into a busy family calendar.\n\n## When not to use it\n\n- Deciding what is on the exam. Use the exam board's specification or the teacher's topic list.\n- Exam clashes, access arrangements or the official timetable. Use the exam clash skill and the school's exams office.\n- Promising a grade. Spacing and retrieval improve the odds of remembering; they guarantee nothing.\n\n## What you need\n\n- Available slots, topics with last recall results, exam dates and required gaps between sessions.\n- How many sessions each topic needs, and the learner's priorities if not everything fits.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- When is each exam, with its start time if known? Without a time, the exam day is treated as unavailable.\n- Which free slots are real, across every calendar the learner uses, and how long is each?\n- Which topics are weakest or untested, and how did the last self-test go?\n- What gap do you want between sessions on the same topic, and does it mean that many days in between or dates that many days apart?\n\n## Method\n\n1. Merge the learner's calendars into one list of free slots. Duplicated or overlapping entries are the same time, and each slot is used once across all topics.\n2. Remove slots on or after the exam. An earlier slot on the exam day counts only if the exam's time is known and the learner is happy to revise that day; with a date only, the exam day has no usable slot.\n3. Order topics: failed or untested first, then shaky, then secure. Ask for priorities when not everything fits.\n4. Assign the earliest feasible slots. Put repeats of a topic on different days and keep the requested gap exactly as the learner defined it. Count requested sessions that cannot fit.\n5. Plan each session as closed-book retrieval: questions from the specification answered without notes, then a check against the answers, then a note of what to revisit. Later sessions use different questions on the same points.\n6. Treat the gap as the learner's planning choice. The US Institute of Education Sciences recommends reviewing key content after a delay of several weeks to several months where time allows; close to an exam, use the time there is.\n7. Explain any session that could not be scheduled and what would make room: another slot, a shorter gap or dropping a secure topic.\n\n## Checks before you deliver\n\n- Rereading the answer before attempting recall hides what needs practice.\n- A fixed number of days between sessions is a planning choice.\n- Counting one evening twice because it appears in two calendars.\n- Booking a session on exam day when only the exam's date is known.\n- Filling sessions with rereading or highlighting. The EEF review finds testing is often a better way to learn than restudying the same material.\n\n## How to present the result\n\nGive the timetable first: date, slot, topic and the retrieval task for each session, in date order. Then list what did not fit and why. Add a one-line method for each session: try without notes, check, write down what to revisit.\n\n## Worked example\n\n**Request:** Schedule two algebra recalls with two calendar days between them.\n\n**Supplied material:**\n\n```text\nExam: 2027-03-12. Free: 2027-03-08, 2027-03-09, 2027-03-11. One topic, one slot per day.\n```\n\n**Answer:** Use 8 and 11 March for closed-book algebra recall before the exam on 12 March. Try one problem unaided on the 8th, mark the first error and set a different problem testing that step on the 11th. Leave the 9th free for this topic.\n\n## Structured output for tests\n\nFor an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.\n\nFor a fixture return dates as ISO dates assigned in chronological order for the named topic and unfilled as the number of requested sessions that could not fit. Use the earliest feasible slots.\n\n## Sources\n\n- [US Institute of Education Sciences: organizing instruction and study to improve student learning](https:\/\/ies.ed.gov\/ncee\/WWC\/PracticeGuide\/1\/Published): The What Works Clearinghouse practice guide (2007) recommends spacing learning over time, reviewing key content after a delay of several weeks to several months, and using quizzes to re-expose students to key content. The dates themselves come from the learner.\n- [Education Endowment Foundation: cognitive science approaches in the classroom](https:\/\/educationendowmentfoundation.org.uk\/education-evidence\/evidence-reviews\/cognitive-science-approaches-in-the-classroom): The 2021 evidence review finds a small positive effect from spacing content across days and lessons, and that low-stakes testing is often a better learning strategy than restudying, provided pupils can retrieve some of the content. It supports closed-book sessions spread across days.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/revision-slot-planner\n","scope":"contextual","trigger_keywords":["Plan spaced revision before an exam","revision-slot-planner","revision slot planner","Can you plan my revision around the evenings I have free before my exams?","Can you plan my revision around the evenings I have free before my exams","spaced revision","schedule my revision","fit in retrieval practice"],"is_private":true,"is_active":true,"scripts":[{"name":"revision-slot-planner-check","description":"Compare a saved JSON answer with a published test. Pass tests\/case-1\/expected.json (or another case) and the path to your answer.","language":"python","filename":"revision-slot-planner-check.py","content":"from pathlib import Path\nimport runpy\n\nrunpy.run_path(str(Path(__file__).parent \/ 'tests' \/ 'check.py'), run_name='__main__')\n","supporting_files":[{"path":"SKILL.md","content":"---\nname: revision-slot-planner\ndescription: \"Plan spaced, closed-book revision sessions into a learner's real free slots before an exam, putting weak topics first and keeping the requested gap between repeats. Use when a student or parent asks to schedule revision, plan retrieval practice or spaced repetition, or fit topics into free evenings before exams.\"\nlicense: CC-BY-4.0\nmetadata:\n  author: Raq.com\n  version: \"2026-11-22\"\n  homepage: https:\/\/skills.raq.com\/skills\/revision-slot-planner\n---\n\n# Plan spaced revision before an exam\n\nFit retrieval practice into real study slots, revisit errors and keep the answer key out of sight during recall.\n\n## When to use this skill\n\n- A student has exam dates and some free evenings and wants a revision timetable.\n- Someone wants each topic revisited after a gap rather than crammed in one go.\n- A parent wants to fit practice for weak topics into a busy family calendar.\n\n## When not to use it\n\n- Deciding what is on the exam. Use the exam board's specification or the teacher's topic list.\n- Exam clashes, access arrangements or the official timetable. Use the exam clash skill and the school's exams office.\n- Promising a grade. Spacing and retrieval improve the odds of remembering; they guarantee nothing.\n\n## What you need\n\n- Available slots, topics with last recall results, exam dates and required gaps between sessions.\n- How many sessions each topic needs, and the learner's priorities if not everything fits.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- When is each exam, with its start time if known? Without a time, the exam day is treated as unavailable.\n- Which free slots are real, across every calendar the learner uses, and how long is each?\n- Which topics are weakest or untested, and how did the last self-test go?\n- What gap do you want between sessions on the same topic, and does it mean that many days in between or dates that many days apart?\n\n## Method\n\n1. Merge the learner's calendars into one list of free slots. Duplicated or overlapping entries are the same time, and each slot is used once across all topics.\n2. Remove slots on or after the exam. An earlier slot on the exam day counts only if the exam's time is known and the learner is happy to revise that day; with a date only, the exam day has no usable slot.\n3. Order topics: failed or untested first, then shaky, then secure. Ask for priorities when not everything fits.\n4. Assign the earliest feasible slots. Put repeats of a topic on different days and keep the requested gap exactly as the learner defined it. Count requested sessions that cannot fit.\n5. Plan each session as closed-book retrieval: questions from the specification answered without notes, then a check against the answers, then a note of what to revisit. Later sessions use different questions on the same points.\n6. Treat the gap as the learner's planning choice. The US Institute of Education Sciences recommends reviewing key content after a delay of several weeks to several months where time allows; close to an exam, use the time there is.\n7. Explain any session that could not be scheduled and what would make room: another slot, a shorter gap or dropping a secure topic.\n\n## Checks before you deliver\n\n- Rereading the answer before attempting recall hides what needs practice.\n- A fixed number of days between sessions is a planning choice.\n- Counting one evening twice because it appears in two calendars.\n- Booking a session on exam day when only the exam's date is known.\n- Filling sessions with rereading or highlighting. The EEF review finds testing is often a better way to learn than restudying the same material.\n\n## How to present the result\n\nGive the timetable first: date, slot, topic and the retrieval task for each session, in date order. Then list what did not fit and why. Add a one-line method for each session: try without notes, check, write down what to revisit.\n\n## Worked example\n\n**Request:** Schedule two algebra recalls with two calendar days between them.\n\n**Supplied material:**\n\n```text\nExam: 2027-03-12. Free: 2027-03-08, 2027-03-09, 2027-03-11. One topic, one slot per day.\n```\n\n**Answer:** Use 8 and 11 March for closed-book algebra recall before the exam on 12 March. Try one problem unaided on the 8th, mark the first error and set a different problem testing that step on the 11th. Leave the 9th free for this topic.\n\n## Structured output for tests\n\nFor an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.\n\nFor a fixture return dates as ISO dates assigned in chronological order for the named topic and unfilled as the number of requested sessions that could not fit. Use the earliest feasible slots.\n\n## Sources\n\n- [US Institute of Education Sciences: organizing instruction and study to improve student learning](https:\/\/ies.ed.gov\/ncee\/WWC\/PracticeGuide\/1\/Published): The What Works Clearinghouse practice guide (2007) recommends spacing learning over time, reviewing key content after a delay of several weeks to several months, and using quizzes to re-expose students to key content. The dates themselves come from the learner.\n- [Education Endowment Foundation: cognitive science approaches in the classroom](https:\/\/educationendowmentfoundation.org.uk\/education-evidence\/evidence-reviews\/cognitive-science-approaches-in-the-classroom): The 2021 evidence review finds a small positive effect from spacing content across days and lessons, and that low-stakes testing is often a better learning strategy than restudying, provided pupils can retrieve some of the content. It supports closed-book sessions spread across days.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/revision-slot-planner\n"},{"path":"LICENSE.txt","content":"Original Raq.com instructions and synthetic examples: CC BY 4.0.\nhttps:\/\/creativecommons.org\/licenses\/by\/4.0\/\nAttribution: Raq.com, https:\/\/skills.raq.com\/skills\/revision-slot-planner\nReferenced third-party materials retain their own terms.\n"},{"path":"examples\/worked-example.md","content":"# Two sessions before Friday\n\nSchedule two algebra recalls with two calendar days between them.\n\n## Supplied material\n\nExam: 2027-03-12. Free: 2027-03-08, 2027-03-09, 2027-03-11. One topic, one slot per day.\n\n## Worked answer\n\nUse 8 and 11 March for closed-book algebra recall before the exam on 12 March. Try one problem unaided on the 8th, mark the first error and set a different problem testing that step on the 11th. Leave the 9th free for this topic.\n\n## Reasoning\n\nThe Tuesday slot is too close to Monday.\n"},{"path":"tests\/check.py","content":"\"\"\"Check a saved agent answer locally with Python 3 (standard library only).\"\"\"\nimport json\nimport math\nimport sys\nfrom pathlib import Path\n\n\ndef compare(expected, actual, path=\"$\", accepted=None):\n    if isinstance(expected, bool) or isinstance(actual, bool):\n        if expected is not actual:\n            yield path\n    elif isinstance(expected, (int, float)) and isinstance(actual, (int, float)):\n        if not math.isclose(expected, actual, rel_tol=0, abs_tol=1e-8):\n            yield path\n    elif isinstance(expected, dict) and isinstance(actual, dict):\n        for key in sorted(set(expected) | set(actual)):\n            if key not in expected or key not in actual:\n                yield f\"{path}.{key}\"\n            elif not any(\n                not list(compare(option, actual[key]))\n                for option in (accepted or {}).get(key, [])\n            ):\n                yield from compare(expected[key], actual[key], f\"{path}.{key}\")\n    elif isinstance(expected, list) and isinstance(actual, list):\n        if len(expected) != len(actual):\n            yield f\"{path} (length)\"\n        for i, (left, right) in enumerate(zip(expected, actual)):\n            yield from compare(left, right, f\"{path}[{i}]\")\n    elif type(expected) != type(actual) or expected != actual:\n        yield path\n\n\ndef main():\n    if len(sys.argv) != 3:\n        raise SystemExit(\"Usage: python3 check.py expected.json answer.json\")\n    try:\n        expected, actual = [json.loads(Path(p).read_text(encoding=\"utf-8\")) for p in sys.argv[1:]]\n        alternatives = Path(sys.argv[1]).with_name(\"accepted.json\")\n        accepted = json.loads(alternatives.read_text(encoding=\"utf-8\")) if alternatives.is_file() else {}\n    except (ValueError, OSError) as error:\n        raise SystemExit(str(error))\n    differences = list(compare(expected, actual, accepted=accepted))\n    if differences:\n        raise SystemExit(\"Different fields: \" + \", \".join(differences))\n    print(\"Pass\")\n\n\nif __name__ == \"__main__\":\n    main()\n"},{"path":"tests\/README.md","content":"Give your agent SKILL.md and one request.txt in a fresh session. Keep the expected answer aside. Save the reply as answer.json, then run this from the tests folder:\n\n    python3 check.py case-1\/expected.json answer.json\n\nEach case also has an explanation. Where accepted.json exists, the checker accepts the alternatives listed there.\n"},{"path":"tests\/case-1\/request.txt","content":"Schedule two algebra recalls with two calendar days between them.\nReturn only the JSON specified in SKILL.md for this test.\n\nExam: 2027-03-12. Free: 2027-03-08, 2027-03-09, 2027-03-11. One topic, one slot per day.\n"},{"path":"tests\/case-1\/expected.json","content":"{\n    \"dates\": [\n        \"2027-03-08\",\n        \"2027-03-11\"\n    ],\n    \"unfilled\": 0\n}\n"},{"path":"tests\/case-1\/explanation.txt","content":"The Tuesday slot is too close to Monday.\n"},{"path":"tests\/case-2\/request.txt","content":"Fit two history sessions at least two calendar days apart.\nReturn only the JSON specified in SKILL.md for this test.\n\nExam 2027-05-05. Free slots 2027-05-04 and 2027-05-05.\n"},{"path":"tests\/case-2\/expected.json","content":"{\n    \"dates\": [\n        \"2027-05-04\"\n    ],\n    \"unfilled\": 1\n}\n"},{"path":"tests\/case-2\/explanation.txt","content":"The second available slot falls on the exam date.\n"},{"path":"tests\/case-3\/request.txt","content":"Fit two physics recalls on separate days, before the exam.\nReturn only the JSON specified in SKILL.md for this test.\n\nExam 2027-05-14. School calendar free 2027-05-11 18:00 to 18:20. Home calendar also shows 2027-05-11 18:00 to 18:20. No other availability.\n"},{"path":"tests\/case-3\/expected.json","content":"{\n    \"dates\": [\n        \"2027-05-11\"\n    ],\n    \"unfilled\": 1\n}\n"},{"path":"tests\/case-3\/explanation.txt","content":"The entries refer to the same 20 minutes. Only one recall session fits.\n"}],"is_active":true,"is_approved":false}]}]}