/academic-research:homework-machine <assignment-pdf-or-text> [--format latex] [--language English]from academic-research
Completes university assignments end-to-end: analyzes requirements (PDF/text), conducts research, writes code with tests, drafts reports (LaTeX/Word) with citations, and paraphrases via translation round-trip (macOS).
Ships in academic-research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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:
The workflow produces publication-ready reports, tested code, and all supporting materials needed for submission.
<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 reportExample usage:
homework-machine /path/to/assignment.pdf --format latex --language English
homework-machine "assignment_text.txt" --format docx
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 retrievalbibtex_utils.py — BibTeX citation managementtranslate_roundtrip.py — Translation-based paraphrasing (macOS only)The homework-machine executes 6 phases in sequence. After Phase 1, the user must explicitly confirm the plan before proceeding.
Read the Assignment
Extract Deliverables
Identify Constraints and Grading Criteria
Present the Plan to User
Conduct Literature Search
python "BASE_DIR/scripts/paper_search.py" --query "<assignment-topic>" --max-results 20 --sort citations
Collect Findings
Organize Research Results
Write Implementation Code
Write Test Cases
Run and Verify
Save Code
code/ directory in the outputrequirements.txt if external packages are usedREADME.md with instructions to run the code and testsDraft Academic Report
For LaTeX Format (--format latex)
For DOCX Format (--format docx)
from docx import Document
from docx.shared import Pt, RGBColor
from docx.enum.text import WD_ALIGN_PARAGRAPH
doc = Document()
doc.add_heading('Your Title', 0)
doc.add_paragraph('Your introduction text...')
# ... add more content ...
doc.save('report.docx')
Fetch and Format Citations
python "BASE_DIR/scripts/bibtex_utils.py" fetch --title "<paper-title>"
references.bibAccuracy and Depth
This phase uses Apple's built-in translation API to automatically rephrase content while preserving technical accuracy. It is only available on macOS systems with AppleScript support.
Generate Technical Terms File
terms.txt in the output directory (one term per line)Paraphrase Substantial Paragraphs
python "BASE_DIR/scripts/translate_roundtrip.py" --input <paragraph_file> --terms-file terms.txt --diff
Review and Approve
Error Handling
Apply Approved Changes
paraphrase_diff.md showing all accepted before/after changes for referenceCollect All Outputs
./output/homework-machine/YYYY-MM-DD-HHMMSS/Directory Structure
./output/homework-machine/2026-03-03-143025/
├── report.tex (or report.docx if --format docx)
├── references.bib (LaTeX) or bibliography data (docx)
├── code/
│ ├── main.py
│ ├── tests/
│ │ └── test_main.py
│ ├── requirements.txt
│ └── README.md
├── terms.txt (if paraphrasing ran)
├── paraphrase_diff.md (if paraphrasing ran)
└── checklist.md (submission checklist)
Generate Submission Checklist
checklist.md with all required deliverables from the assignmentFinal Verification
Use this template as the foundation for LaTeX reports. If the assignment provides a specific LaTeX template, use that instead.
\documentclass[12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{amsmath, amssymb}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage[numbers]{natbib}
\usepackage{booktabs}
\title{Your Assignment Title}
\author{Your Name}
\date{\today}
\begin{document}
\maketitle
\begin{abstract}
Provide a concise summary of the problem, approach, and key results (150-250 words).
\end{abstract}
\section{Introduction}
\label{sec:intro}
Introduce the problem, explain its significance, and outline the scope of the work.
State the main contributions clearly.
\section{Related Work}
\label{sec:related}
Review relevant prior work and methods. Cite key papers using \cite{key}.
\section{Method / Approach}
\label{sec:method}
Describe the solution approach in detail. Include algorithms, pseudocode, and
mathematical formulations as needed.
\subsection{Algorithm Name}
Provide pseudocode or detailed steps here.
\section{Experiments and Results}
\label{sec:results}
Present experimental findings, results, and analysis.
\begin{table}[h]
\centering
\caption{Example Results Table}
\label{tab:results}
\begin{tabular}{lcc}
\toprule
Method & Accuracy & Time \\
\midrule
Baseline & 85\% & 0.5s \\
Proposed & 92\% & 0.6s \\
\bottomrule
\end{tabular}
\end{table}
\section{Discussion}
\label{sec:discussion}
Interpret the results, discuss limitations, and suggest directions for future work.
\section{Conclusion}
\label{sec:conclusion}
Summarize the key findings and contributions.
\bibliographystyle{plainnat}
\bibliography{references}
\end{document}
All deliverables are saved to: ./output/homework-machine/YYYY-MM-DD-HHMMSS/
The timestamp ensures each run creates a unique output directory. Contents include:
main.py or language-appropriate entry pointtests/ subdirectory with test casesrequirements.txt listing dependenciesREADME.md with build and execution instructionsAlways Confirm Before Heavy Work — After Phase 1 analysis, present the plan to the user and wait for explicit confirmation. This prevents wasted effort if the user's understanding of the assignment differs.
Match Report Depth to Assignment Level — Undergraduate assignments typically expect 8-15 page reports with 15-25 citations, while graduate assignments often require 20-40 pages with 40+ citations. Adjust accordingly.
Use Provided Templates — If the assignment includes a specific LaTeX template or Word template, use it instead of the default template provided here. Adapt the structure to match instructor expectations.
Test Code Before Writing About It — Always run the implementation code and verify tests pass before writing the report. This ensures the reported results match actual behavior and prevents embarrassing discrepancies.
Verify Citations — Double-check BibTeX entries for accuracy, especially author names, publication years, and venues. Incorrect citations reflect poorly on academic work.
Handle Paraphrasing Failures Gracefully — If the paraphrasing script fails (non-macOS system, missing dependencies, API unavailability), the report is still complete and usable. Warn the user but continue to Phase 6.
Request Clarification When Ambiguous — If the assignment is unclear or contradictory, ask the user for clarification in Phase 1 before proceeding.
Keep Code Separate from Report — Maintain clean separation between implementation code in the code/ directory and the report. Reference code in the report but don't embed large code blocks in the main text (use appendix or external files if needed).
Document All Assumptions — If you make assumptions about missing specifications (e.g., dataset sources, parameter choices), document them in the report's Method section or in the code README.
Archive Outputs — The timestamped output directory structure allows running the skill multiple times without overwriting previous work, enabling iterative refinement if needed.
What SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/citation-assistantAutomatic citation insertion for LaTeX manuscripts. Parses LaTeX source to find uncited statements (factual claims, method comparisons, background assertions, dataset references, numerical claims), searches for the correct papers via Semantic Scholar and DBLP, fetches official BibTeX (never fabricates), and inserts \cite{} commands. Returns modified .tex files and updated .bib file. Inspired by github.com/ZhangNy301/citation-assistant. Use when the user says "add citations", "find references for", "cite this", "my paper needs citations", or provides LaTeX files needing references.
/idea-to-proposalMulti-dimensional research idea evaluation with iterative refinement and publication-quality proposal generation. Takes any research idea (free text, structured brief, paper extension, or file path), scores it across 8 dimensions (novelty, technical soundness, feasibility, significance, clarity, experimental validity, scalability, positioning), refines autonomously for 2-3 rounds, then generates a detailed proposal with method design (architecture diagrams, equations, pseudocode), experiment plan (benchmarks, baselines, ablations, supplementary experiments), and qualitative/quantitative analysis plans. Use when the user wants to "evaluate my idea", "research proposal", "refine this idea", "idea to proposal", "score my research idea", or "turn this idea into a paper plan".
/literature-surveyComprehensive topic-driven literature survey for AI/ML research. Searches arXiv, Semantic Scholar, and DBLP for recent papers (default: last 1 year), identifies research gaps, performs cross-domain exploration, and proposes 2-3 innovation directions with feasibility assessment. Use this skill when the user wants to survey a research topic, find related work, identify research gaps, or generate research ideas. Also use when the user says "literature review", "related work search", "find papers about", or "what's the latest on".
/paper-polishingComprehensive academic paper draft feedback in ICML meta-review style. Analyzes correctness (equations, proofs, notation), motivation, methodology gaps, presentation quality, visualization improvements, and missing citations. Outputs structured feedback with overall assessment, strengths, critical/major issues, section-by-section comments, and a prioritized revision checklist. Use when the user wants "feedback on my paper", "polish my draft", "review my manuscript", "what should I improve", or "help me revise".
/paper-reviewingConference-style academic paper peer review. Reads a paper PDF, assesses novelty, technical soundness, clarity, significance, reproducibility, and experimental design. Generates a structured review with summary, strengths, weaknesses, major/minor issues, questions, and scores. Supports NeurIPS, ICML, CVPR, ACL, AAAI, ICCV, ICLR formats with adjustable severity. Use when the user wants to "review a paper", "write a review", "assess this submission", "what are the weaknesses", or "generate a peer review".
/paper-triggered-surveyPaper-triggered literature survey and idea generation. Given a PDF, arXiv URL, or tweet containing a paper reference, analyzes the paper, searches for related work (including papers the input may have missed), performs cross-domain exploration, and proposes 2-3 innovation directions. Use when the user provides a specific paper and wants to understand its landscape, find extensions, or generate research ideas. Also triggers for "survey this paper", "what's related to this", "extend this work".
npx claudepluginhub jeandiable/academic-research-plugin --plugin academic-researchOther plugins' skills for the same job