skill/academic-writer/SKILL.md
Professional 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.
npx skillsauth add Centaurioun/osteogenesis_imperfecta academic-writerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A 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..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 found
sudo apt-get install latexmk.! LaTeX Error: File 'article.cls' not found.
sudo apt-get install texlive-full.! Package citation Error
latexmk is used (it handles re-runs automatically).ModuleNotFoundError: No module named 'docx'
pip install python-docx.tools
Automated generation of baseline characteristics tables (Table 1) for clinical research papers.
development
Statistical models library for Python. Use when you need specific model classes (OLS, GLM, mixed models, ARIMA) with detailed diagnostics, residuals, and inference. Best for econometrics, time series, rigorous inference with coefficient tables. For guided statistical test selection with APA reporting use statistical-analysis.
development
Configure and manage - Calculate statistical significance calculator operations. Auto-activating skill for Data Analytics. Triggers on: statistical significance calculator, statistical significance calculator Part of the Data Analytics skill category. Use when working with statistical significance calculator functionality. Trigger with phrases like "statistical significance calculator", "statistical calculator", "statistical".
development
Statistical test selection, assumption checking, and APA-formatted reporting. Use when analyzing experimental results or writing results sections.