homework-machine

homework-machine is a skill for Claude Code from JeanDiable/academic-research-plugin. It costs 102 tokens per session (3,659 once invoked), scanned A, original, MIT.

An end-to-end workflow for completing university assignments from their requirements to the final submission materials. It can analyze an assignment file, research the topic, write tested code, prepare a report, add citations, and assemble the deliverables.

In plain words
What is it for?
Use it with an assignment PDF or text file to create code and tests, produce a LaTeX or Word report, gather citations, and prepare a submission checklist.
Why use it?
It brings the separate tasks of understanding coursework, implementing a solution, testing it, researching sources, and writing the report into one process.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./output/homework-machine/2026-03-03-143025/.

Part of the academic-research plugin — 10 skills shipped together

Good fit Use it with an assignment PDF or text file to create code and tests, produce a LaTeX or Word report, gather citations, and prepare a submission checklist.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/JeanDiable/academic-research-plugin
agentmods
npx agentmods add skills/jeandiable/academic-research-plugin/homework-machine

Made for: Claude Code.

Or install academic-research, the plugin that ships this one along with the rest of its 10 skills.

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 homework-machine

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeandiable/academic-research-plugin/homework-machine/github.svg)](https://agentmods.dev/skills/jeandiable/academic-research-plugin/homework-machine)
Your own site
<a href="https://agentmods.dev/skills/jeandiable/academic-research-plugin/homework-machine"><img src="https://agentmods.dev/badge/skills/jeandiable/academic-research-plugin/homework-machine/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for homework-machine

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeandiable/academic-research-plugin/homework-machine"><img src="https://agentmods.dev/badge/skills/jeandiable/academic-research-plugin/homework-machine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,659 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00102 $0.03659
Opus 5 $0.00051 $0.01829
Sonnet 5 $0.00020 $0.00732
Haiku 4.5 $0.00010 $0.00366

Measured 8d ago against content hash d5d3cabfe770, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

homework-machine 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 8d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/bibtex_utils.py, scripts/paper_search.py, scripts/translate_roundtrip.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/homework-machine/SKILL.md · 382 lines

How it starts

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

Overview

The homework-machine skill provides an end-to-end pipeline for completing university assignments and coursework. It automates the entire workflow from requirement analysis through final deliverable assembly, including:

  • Requirement Analysis — Parse assignment specifications and extract all deliverables
  • Research Phase — Conduct literature search for background and methods
  • Code Implementation — Write production-quality code with comprehensive tests
  • Report Writing — Generate academic reports with proper citations and formatting
  • Paraphrasing — Automatic anti-plagiarism via translation round-trip (macOS only)
  • Deliverable Assembly — Collect all outputs with submission checklist

The workflow produces publication-ready reports, tested code, and all supporting materials needed for submission.

Arguments

  • <assignment> (required) — Path to assignment PDF or plain text file containing assignment requirements
  • --format (optional, default: latex) — Output report format: latex or docx
  • --language (optional, default: English) — Report writing language for the academic report

Example usage:

homework-machine /path/to/assignment.pdf --format latex --language English
homework-machine "assignment_text.txt" --format docx

Setup

Before running this skill, ensure all dependencies are installed:

pip install -r "BASE_DIR/scripts/requirements.txt"

If using .docx output format, also install the Word document library:

pip install python-docx

Verify that the following helper scripts exist in BASE_DIR/scripts/:

  • paper_search.py — Academic paper search and retrieval
  • bibtex_utils.py — BibTeX citation management
  • translate_roundtrip.py — Translation-based paraphrasing (macOS only)

Workflow

The homework-machine executes 6 phases in sequence. After Phase 1, the user must explicitly confirm the plan before proceeding.

Phase 1 — Analyze Assignment

  1. Read the Assignment
    • If the input is a PDF, read it using appropriate tools
    • Paginate large PDFs (>20 pages) to avoid context overflow
    • If the input is a text file, read the entire content

Read the full file on GitHub · 382 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 382 lines · 102 tokens per session scan A d5d3cabfe770

Subscribe to this mod's changes

homework-machine is a skill published in the GitHub repository JeanDiable/academic-research-plugin (20 stars, last pushed 5mo ago), licensed MIT. It adds 102 tokens to every session and 3,659 once invoked, about $0.0005 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

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

miniapp

Build a tiny interactive HTML playground only when someone asks to see, play with, or step through a mechanism.

yc-software/qm · 25 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

deck-course-module

A course or workshop slide template with persistent learning goals, teaching pages, multiple-choice self-tests, and a wrap-up.

nexu-io/html-anything · 25 tokens

master-yinguang

A reference-based assistant for questions about Yinguang and Pure Land Buddhism, a Buddhist tradition focused on faith, ethical living, and practice connected with rebirth in the Pure Land. It can answer in Yinguang’s historical teaching style.

xr843/Master-skill · 274 tokens