smartstudy

smartstudy is a skill for Claude Code, Codex from HumphreySun98/Smart-Study-Agent. It costs 72 tokens per session (610 once invoked), scanned A, original, MIT.

A study coach that turns lecture notes, PDFs, or web pages into quizzes and review sessions. It tracks what you know and schedules future reviews using spaced repetition, a method that revisits information at increasing intervals.

In plain words
What is it for?
Use it to learn from provided material, answer one quiz question at a time, review mistakes, and choose whether to advance, practise more, or revisit a topic.
Why use it?
It removes the need to decide what to study next or manually track which topics you keep forgetting.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/humphreysun98/smart-study-agent/smartstudy
Any agent
npx skills add HumphreySun98/Smart-Study-Agent --skill smartstudy
Clone the repo
git clone --depth 1 https://github.com/HumphreySun98/Smart-Study-Agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for smartstudy

README.md
[![agentmods](https://agentmods.dev/badge/skills/humphreysun98/smart-study-agent/smartstudy.svg)](https://agentmods.dev/skills/humphreysun98/smart-study-agent/smartstudy)
Your own site
<a href="https://agentmods.dev/skills/humphreysun98/smart-study-agent/smartstudy"><img src="https://agentmods.dev/badge/skills/humphreysun98/smart-study-agent/smartstudy.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 610 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00072 $0.00610
Opus 5 $0.00036 $0.00305
Sonnet 5 $0.00014 $0.00122
Haiku 4.5 $0.00007 $0.00061

Measured 3d ago against content hash 6d7ae03712cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

smartstudy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/smartstudy/SKILL.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SmartStudy Coach

You are running inside a repo (or machine) that has the SmartStudy Agent installed. Drive its Python API to run a real adaptive study session — do not simulate the scheduling yourself; the FSRS scheduler and RL policy are the source of truth.

Session flow (OPEAA loop)

  1. Observe — get the material (user paste, file, or URL the user provides).
    from smartstudy_agent import SmartStudyAgent
    agent = SmartStudyAgent()          # auto-picks backend; mock works offline
    observed = agent.observe(lecture_text)
    
  2. Planplan = agent.plan(observed), then present plan.sequence with its rationale. Respect the concept-graph order.
  3. Act — for the chosen topic, agent.act(topic, description, n=3). Present ONE question at a time; wait for the user's answer letter.
  4. Evaluateagent.evaluate(questions, answers). Report the score and explain misses using each question's explanation.
  5. Adaptagent.adapt(topic, evaluation). Tell the user the policy's action (advance / reinforce / review) and why.

Persistence (do this every session)

import storage
record = storage.load_student(name)            # creates if missing
# ... after adapt():
record["topics_mastered"] = agent.profile.topics_mastered
record["weak_areas"] = agent.profile.weak_areas
record["quiz_history"] = agent.profile.quiz_history
storage.save_student(name, record)
storage.add_questions(name, [vars(q) for q in questions])   # feeds Anki export

What's due today

from spaced_repetition import get_review_queue, get_full_schedule
due = get_review_queue(record["quiz_history"])   # FSRS: weakest memories first

Open every session by checking this queue. If something is due, recommend reviewing it BEFORE new material, and say the recall probability.

Anki hand-off

If the user wants flashcards: from anki_export import export_student_deck; export_student_deck(name) and tell them the .apkg path.

Read the full file on GitHub · 62 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 62 lines · 72 tokens per session scan A 6d7ae03712cb

Subscribe to this mod's changes

smartstudy is a skill published in the GitHub repository HumphreySun98/Smart-Study-Agent (55 stars, last pushed 17d ago), licensed MIT. It adds 72 tokens to every session and 610 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

coding-tutor

Personalized coding tutorials that build on your existing knowledge and use your actual codebase for examples. Creates a persistent learning trail that compounds over time using the power of AI, spaced repetition and quizes.

foryourhealth111-pixel/Vibe-Skills · 44 tokens

kungfu-agent-onboarding

Use when a user asks to understand, start, inspect, extend, or safely operate installed Kungfu; verify the installed pack, select one intent route, personalize the explanation, and propose one smallest safe next action.

kungfu-systems/kungfu · 49 tokens

llmtornado-tutorial-generator

Generates comprehensive code tutorials on LlmTornado API formatted for Medium publication with examples, explanations, and best practices.

lofcz/LLMTornado · 31 tokens

new-article

在 zero2Agent 项目中创建新的学习文章。当用户说"写一篇新文章"、"创建文章"、"新建文章"、"在某模块下添加一篇关于X的文章"、"帮我起草一篇讲XX的内容"、"整理面经"时触发。适用于所有模块下新建内容,包括面试维度拆解文章和面经实录。即使用户没有明确说"文章",只要涉及给 zero2Agent 项目增加教学内容,也应当触发此技能。.

ranxi2001/zero2Agent · 124 tokens

new-module

在 zero2Agent 项目中创建新的学习模块。当用户说"新建模块"、"添加模块"、"创建一个新的学习章节"、"我想增加一个关于X的模块"时触发。负责创建模块目录结构、index.md,并同步更新主页 index.html 和 layouts/default.html 的导航。即使用户只是说"我想增加一个讲XX的章节",也应当触发此技能。.

ranxi2001/zero2Agent · 95 tokens

distill-session-knowledge

Offline-mine this project's pi session JSONL logs into reusable, verified knowledge: extracts faults, decisions, corrections, procedures and docs, promotes only recurring patterns, and routes artifacts into skillmanage, memory and docs. Use on "mine my sessions", "distill session knowledge", "extract lessons from…

BlackBeltTechnology/pi-agent-dashboard · 78 tokens