agent.json
{
"id": "agentrove.study-assistant",
"name": "Study Assistant",
"version": "0.2.1",
"license": "MIT",
"summary": "Makes flashcards from your markdown notes (Q:/A: pairs, \"term — definition\" and \"**term**: definition\" lines, headings + first sentence), schedules reviews with the SM-2 algorithm, and builds seeded multiple-choice quizzes. Offline.",
"description": "Cards are extracted verbatim from your notes; nothing is generated by an AI model. Reviews follow SuperMemo-2: give the card state, a 0-5 quality grade and the time, get the new interval, ease and due date. Quizzes use other cards' answers as distractors, shuffled with a seeded RNG so the same seed gives the same quiz.",
"tools": [
{
"name": "make_flashcards",
"description": "Extract flashcards from markdown: \"Q:\"/\"A:\" pairs, \"term — definition\" lines (also –, -- and ::), \"**term**: definition\" lines, \"- term: definition\" list items, and heading + first sentence of the paragraph directly under it. New cards are due immediately with SM-2 defaults (ease 2.5).",
"side_effects": "none",
"requires_confirmation": false,
"input_schema": {
"type": "object",
"required": [
"text"
],
"additionalProperties": false,
"properties": {
"text": {
"type": "string",
"maxLength": 2000000,
"description": "Markdown study notes."
},
"tags": {
"type": "array",
"maxItems": 20,
"items": {
"type": "string",
"pattern": "^[^\\s,]{1,40}$"
},
"description": "Tags added to every card (each card also gets its section heading as a tag)."
},
"deck": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"include_headings": {
"type": "boolean",
"description": "Make heading + first-sentence cards. Default true."
},
"now": {
"type": "string",
"format": "date-time",
"description": "Initial due time. Defaults to the current time."
}
}
},
"output_schema": {
"type": "object",
"required": [
"cards",
"skipped",
"counts"
],
"properties": {
"cards": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"front",
"back",
"tags"
],
"properties": {
"id": {
"type": "string"
},
"front": {
"type": "string"
},
"back": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"deck": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"qa",
"term",
"heading"
]
},
"source_line": {
"type": "integer",
"minimum": 1
},
"due": {
"type": "string"
},
"interval_days": {
"type": "integer",
"minimum": 0
},
"ease": {
"type": "number",
"minimum": 1.3
},
"repetitions": {
"type": "integer",
"minimum": 0
},
"lapses": {
"type": "integer",
"minimum": 0
}
}
}
},
"skipped": {
"type": "array",
"items": {
"type": "object",
"required": [
"line",
"reason"
],
"properties": {
"line": {
"type": "integer"
},
"reason": {
"type": "string"
}
}
}
},
"counts": {
"type": "object",
"required": [
"qa",
"term",
"heading",
"total"
],
"properties": {
"qa": {
"type": "integer"
},
"term": {
"type": "integer"
},
"heading": {
"type": "integer"
},
"total": {
"type": "integer"
}
}
}
}
}
},
{
"name": "review",
"description": "Apply one SM-2 review: card state + quality (0 = blackout ... 5 = perfect) + now -> new repetitions, interval_days, ease, lapses and due date. Quality below 3 is a lapse (interval resets to 1 day).",
"side_effects": "none",
"requires_confirmation": false,
"input_schema": {
"type": "object",
"required": [
"card",
"quality"
],
"additionalProperties": false,
"properties": {
"card": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"front": {
"type": "string"
},
"back": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"interval_days": {
"type": "number",
"minimum": 0,
"maximum": 36500
},
"ease": {
"type": "number",
"minimum": 1.3,
"maximum": 10
},
"repetitions": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"lapses": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"due": {
"type": "string"
}
}
},
"quality": {
"type": "integer",
"minimum": 0,
"maximum": 5
},
"now": {
"type": "string",
"format": "date-time",
"description": "Review time. Defaults to the current time."
}
}
},
"output_schema": {
"type": "object",
"required": [
"card",
"previous",
"quality",
"lapse",
"repeat_today"
],
"properties": {
"card": {
"type": "object",
"required": [
"id",
"interval_days",
"ease",
"repetitions",
"lapses",
"due",
"last_reviewed"
],
"properties": {
"id": {
"type": "string"
},
"interval_days": {
"type": "integer",
"minimum": 1
},
"ease": {
"type": "number",
"minimum": 1.3
},
"repetitions": {
"type": "integer",
"minimum": 0
},
"lapses": {
"type": "integer",
"minimum": 0
},
"due": {
"type": "string"
},
"last_reviewed": {
"type": "string"
}
}
},
"previous": {
"type": "object",
"required": [
"interval_days",
"ease",
"repetitions"
],
"properties": {
"interval_days": {
"type": "number"
},
"ease": {
"type": "number"
},
"repetitions": {
"type": "integer"
}
}
},
"quality": {
"type": "integer"
},
"lapse": {
"type": "boolean"
},
"repeat_today": {
"type": "boolean"
},
"algorithm": {
"type": "string"
}
}
}
},
{
"name": "quiz",
"description": "Multiple-choice quiz from flashcards. Distractors are other cards' answers (same kind of card and same section preferred; deck-wide tags ignored); questions and choices are shuffled with a seeded RNG, so the same cards and seed give the same quiz.",
"side_effects": "none",
"requires_confirmation": false,
"input_schema": {
"type": "object",
"required": [
"cards"
],
"additionalProperties": false,
"properties": {
"cards": {
"type": "array",
"minItems": 1,
"maxItems": 5000,
"items": {
"type": "object",
"required": [
"id",
"front",
"back"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"front": {
"type": "string",
"minLength": 1,
"maxLength": 5000
},
"back": {
"type": "string",
"minLength": 1,
"maxLength": 5000
},
"tags": {
"type": "array",
"maxItems": 50,
"items": {
"type": "string"
}
},
"due": {
"type": "string",
"format": "date-time"
}
}
},
"description": "flashcards, e.g. from make_flashcards."
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 200,
"description": "Number of questions. Default 10."
},
"choices": {
"type": "integer",
"minimum": 2,
"maximum": 6,
"description": "Choices per question. Default 4."
},
"seed": {
"type": [
"integer",
"string"
],
"maxLength": 200,
"description": "RNG seed. Default 1."
},
"due_only": {
"type": "boolean",
"description": "Only ask about cards that are due at now (cards without due count as due)."
},
"now": {
"type": "string",
"format": "date-time"
}
}
},
"output_schema": {
"type": "object",
"required": [
"questions",
"seed",
"notes"
],
"properties": {
"seed": {
"type": [
"integer",
"string"
]
},
"available_cards": {
"type": "integer"
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"questions": {
"type": "array",
"items": {
"type": "object",
"required": [
"n",
"card_id",
"prompt",
"choices",
"answer_index",
"answer"
],
"properties": {
"n": {
"type": "integer",
"minimum": 1
},
"card_id": {
"type": "string"
},
"prompt": {
"type": "string"
},
"choices": {
"type": "array",
"minItems": 2,
"items": {
"type": "string"
}
},
"answer_index": {
"type": "integer",
"minimum": 0
},
"answer": {
"type": "string"
}
}
}
}
}
}
}
],
"permissions": {
"filesystem": "none",
"network": [],
"credentials": []
},
"io": {
"inputs": [
{
"name": "text",
"type": "text"
},
{
"name": "cards",
"type": "flashcards"
}
],
"outputs": [
{
"name": "cards",
"type": "flashcards"
}
]
},
"runtimes": [
{
"id": "node",
"version": ">=20",
"tested": true
},
{
"id": "claude-code",
"tested": false,
"notes": "MCP stdio server; not yet verified in Claude Code by AgentRove"
}
],
"external_costs": "None. Runs entirely offline on notes you supply; no network access, no API keys, no AI model calls."
}