academic-writerProfessional LaTeX writing assistant. Capabilities include: scanning existing LaTeX templates, reading reference materials (Word/Text), drafting content strictly following templates, and compiling PDFs. Triggers include: 'write thesis', 'draft section', 'compile pdf', 'check latex format'. Designed to work in tandem with 'academic-research-hub' for citation retrieval.
Install via ClawdBot CLI:
clawdbot install dayunyan/academic-writerA comprehensive agent skill for orchestrating academic paper writing in a WSL2/Linux environment. It manages the lifecycle from template analysis to PDF compilation.
โ ๏ธ Prerequisite: This skill requires a full LaTeX distribution and Python 3.
Since you are running this in WSL2 (Ubuntu), you must install both system-level LaTeX packages and a Python virtual environment for the worker script.
Open your WSL terminal and run:
# Update package lists
sudo apt-get update
# Install the full TeX Live distribution (Required for all templates)
# Warning: This download is approx 4GB-7GB
sudo apt-get install texlive-full
# Install latexmk for automated compilation
sudo apt-get install latexmk
It is best practice to use a virtual environment to avoid conflicts.
# Go to your skill directory
cd ~/.openclaw/skills/academic-writer
# Create a virtual environment
python3 -m venv venv
# Activate the environment
source venv/bin/activate
# Install required Python packages
# python-docx: For reading Word documents
pip install python-docx
| Task | Tool Command |
|------|--------------|
| Analyze Project | scan_template |
| Read Notes | read_reference |
| Draft Content | write_latex |
| Generate PDF | compile_pdf |
| Find Citations | Delegate to academic-research-hub |
Role: You are an expert Academic Writer and LaTeX Typesetter.
Primary Objective: Create high-quality academic PDFs by strictly adhering to provided templates and user content.
scan_template on the current directory.article structure.read_reference.academic-research-hub skill.1. Pause writing.
2. Invoke search (e.g., "Find papers on X using academic-research-hub").
3. Get the BibTeX.
4. Resume writing: Append BibTeX to the .bib file using write_latex (mode='a') and use \cite{key} in the text.
write_latex to create .tex files.compile_pdf.compile_pdf returns an error log, analyze it, fix the LaTeX syntax, and re-compile.Analyzes the current directory to identify LaTeX structure, main files, and templates.
${PYTHON_CMD} scripts/writer_tools.py scan_template {{directory}}directory: (string) Path to scan. Default is ".".Reads raw text from reference files. Supports .docx, .txt, .tex, .md.
${PYTHON_CMD} scripts/writer_tools.py read_reference {{filepath}}filepath: (string) Path to the reference file.Writes content to a specific file. Can overwrite or append.
${PYTHON_CMD} scripts/writer_tools.py write_latex {{filename}} {{content}} {{mode}}filename: (string) Target filename (e.g., "introduction.tex").content: (string) Raw LaTeX content.mode: (string) "w" for overwrite, "a" for append. Default is "w".Compiles the project using latexmk. Returns success message or error logs.
${PYTHON_CMD} scripts/writer_tools.py compile_pdf {{main_file}}main_file: (string) The root TeX file (e.g., "main.tex").Use this when the user provides a conference template (e.g., IEEEtrans).
notes.docx in this folder."scan_template -> Detects main.tex (IEEE class).read_reference -> Gets content from notes.docx.write_latex -> Writes intro.tex following IEEE style.write_latex -> Updates main.tex to \input{intro}.compile_pdf -> Checks for layout errors.Use this when the user needs external citations.
academic-research-hub (e.g., search arXiv for "LLM Agents 2025").write_latex (mode='a') -> Appends to references.bib.write_latex -> Writes paragraph with \cite{...}.compile_pdf.latexmk: command not foundsudo apt-get install latexmk.! LaTeX Error: File 'article.cls' not found.sudo apt-get install texlive-full.! Package citation Errorlatexmk is used (it handles re-runs automatically).ModuleNotFoundError: No module named 'docx'pip install python-docx.Generated Mar 1, 2026
Assists graduate students in drafting and formatting their theses by scanning university-provided LaTeX templates, integrating notes from Word documents, and managing citations through external research tools. It ensures compliance with academic formatting standards and automates PDF compilation for review.
Helps researchers prepare papers for academic conferences by enforcing specific template styles (e.g., IEEE, ACM), drafting content from reference materials, and delegating citation retrieval to external skills. It streamlines the submission process by handling LaTeX errors and generating final PDFs.
Supports professionals in creating detailed technical reports by analyzing custom LaTeX templates, incorporating data from text files, and compiling polished PDFs. It is ideal for industries requiring standardized documentation, such as engineering or scientific research.
Aids educators in designing course materials like syllabi or lecture notes by using LaTeX templates, reading input from various file formats, and producing high-quality PDFs. It ensures consistency and professional presentation for educational institutions.
Facilitates authors in writing journal articles by scanning journal-specific LaTeX templates, integrating reference content, and managing citations through delegated searches. It reduces manual formatting effort and helps meet publisher guidelines efficiently.
Offers tiered monthly or annual subscriptions for academic institutions or individual researchers, providing access to the skill with premium features like advanced template support and priority error handling. Revenue is generated through recurring payments based on usage levels.
Provides a free basic version with limited templates and tools, while charging for advanced functionalities such as integration with external research skills, custom template scanning, and enhanced compilation options. Revenue comes from upgrades and in-app purchases.
Sells licenses to universities, research labs, or corporations for bulk deployment, including dedicated support, customization options, and integration with existing academic workflows. Revenue is generated through one-time or annual licensing fees per user or organization.
๐ฌ Integration Tip
Ensure seamless integration with the 'academic-research-hub' skill by setting up clear delegation protocols for citation retrieval, and verify LaTeX dependencies are installed in the environment to avoid compilation errors.
Search, download, and summarize academic papers from arXiv. Built for AI/ML researchers.
Search and summarize papers from ArXiv. Use when the user asks for the latest research, specific topics on ArXiv, or a daily summary of AI papers.
Assistance with writing literature reviews by searching for academic sources via Semantic Scholar, OpenAlex, Crossref and PubMed APIs. Use when the user needs to find papers on a topic, get details for specific DOIs, or draft sections of a literature review with proper citations.
Baidu Scholar Search - Search Chinese and English academic literature (journals, conferences, papers, etc.)
Use this skill when users need to search academic papers, download research documents, extract citations, or gather scholarly information. Triggers include: requests to "find papers on", "search research about", "download academic articles", "get citations for", or any request involving academic databases like arXiv, PubMed, Semantic Scholar, or Google Scholar. Also use for literature reviews, bibliography generation, and research discovery. Requires OpenClawCLI installation from clawhub.ai.
Outcome-driven scientific publishing for AI agents. Publish research papers, hypotheses, and experiments with validated artifacts, structured claims, milestone tracking, and independent replications. Claim replication bounties, submit peer reviews, and collaborate with other AI researchers.