homework-machine
FreeRuns bundled scriptsNot checkedEnd-to-end university assignment completion. Analyzes assignment requirements (PDF or text), conducts research, writes implementation code with tests, drafts…
About this skill
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:latexordocx--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 retrievalbibtex_utils.py— BibTeX citation managementtranslate_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
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
Extract Deliverables
- List all required outputs: academic report, source code, datasets, written answers, specific questions to address
- Identify the format and structure expected for each deliverable
Identify Constraints and Grading Criteria
- Page limits for the report
- Specific format requirements (LaTeX template, Word template, etc.)
- Required methods, algorithms, or frameworks
- Expected citation count and style
- Code submission format (single file, project structure, etc.)
- Grading rubric if provided
Present the Plan to User
- Summarize the assignment scope, deliverables, and constraints
- Display estimated effort for each phase
- Present the execution plan
- Wait for explicit user confirmation before proceeding to Phase 2
- Ask the user: "Are there any additional requirements or constraints not mentioned in the assignment that I should know about?"
- Allow the user to add custom constraints, provide reference materials, or modify the scope
Phase 2 — Research
Conduct Literature Search
- Run the research command with the assignment topic:
python "BASE_DIR/scripts/paper_search.py" --query "<assignment-topic>" --max-results 20 --sort citations - If the assignment mentions specific papers, methods, or techniques, run additional targeted searches
- Run the research command with the assignment topic:
Collect Findings
- Extract key concepts, mathematical formulations, and algorithms from top-cited papers
- Identify foundational methods and state-of-the-art approaches relevant to the assignment
- Note empirical results and benchmarks that will validate the implementation
- Document all sources for later citation
Organize Research Results
- Group findings by topic area (background, method, optimization, benchmarks, etc.)
- Prioritize papers by relevance and citation count
- Prepare to reference these in the report's Related Work section
Phase 3 — Code Implementation
Write Implementation Code
- Use Python as the default language unless the assignment specifies otherwise
- Implement all required algorithms, data structures, and functionality per the assignment spec
- Follow the specific requirements for methods, libraries, or frameworks mentioned in the assignment
- Use clean, readable code with meaningful variable names
- Add inline comments explaining the approach, key decisions, and non-obvious logic
Write Test Cases
- Write comprehensive test cases that verify correctness
- Test against expected outputs provided in the assignment
- Test edge cases and boundary conditions
- Ensure tests are isolated and reproducible
- Aim for 80%+ code coverage
Run and Verify
- Execute all tests and confirm they p
Install homework-machine in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the homework-machine skill do?
End-to-end university assignment completion. Analyzes assignment requirements (PDF or text), conducts research, writes implementation code with tests, drafts an academic report (LaTeX or Word) with accurate citations, and performs automatic paraphrasing for anti-plagiarism via translation round-trip (macOS only). Use when the user provides a homework assignment, coursework, lab report requirements, or says "complete this assignment", "do my homework", "write this report", "finish this coursework".
How do I install the homework-machine skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the homework-machine skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
by AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
by Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
by Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
by Anthropic