Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

homework-machine

FreeRuns bundled scriptsNot checked

End-to-end university assignment completion. Analyzes assignment requirements (PDF or text), conducts research, writes implementation code with tests, drafts…

JeanDiableby JeanDiable★ 31 GitHub stars1 install in other catalogs

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: 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
  2. 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
  3. 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
  4. 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

  1. 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
  2. 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
  3. 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

  1. 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
  2. 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
  3. Run and Verify

    • Execute all tests and confirm they p
Full SKILL.md on GitHub

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
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

scripts/bibtex_utils.pyscripts/paper_search.pyscripts/requirements.txtscripts/translate_roundtrip.py

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

Compare homework-machine with