From d823dafb4d331bc06b7f2190c5db8503f66abeaf Mon Sep 17 00:00:00 2001 From: willamhou Date: Thu, 5 Mar 2026 11:46:42 +0800 Subject: [PATCH] feat: add arXiv Paper Reader and LaTeX Paper Writing use cases Two academic research use cases powered by Prismer's builtin OpenClaw skills: - arxiv-reader: conversational arXiv paper reading (fetch, browse sections, compare abstracts) - latex-compiler: conversational LaTeX writing with instant PDF compilation (no local TeX needed) Both run inside a self-hosted Docker container with zero local setup. --- README.md | 2 ++ usecases/arxiv-paper-reader.md | 45 +++++++++++++++++++++++++++++++++ usecases/latex-paper-writing.md | 39 ++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 usecases/arxiv-paper-reader.md create mode 100644 usecases/latex-paper-writing.md diff --git a/README.md b/README.md index 22c290d..e924a9b 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,8 @@ Solving the bottleneck of OpenClaw adaptation: Not ~~skills~~, but finding **way | [Market Research & Product Factory](usecases/market-research-product-factory.md) | Mine Reddit and X for real pain points using the Last 30 Days skill, then have OpenClaw build MVPs that solve them. | | [Pre-Build Idea Validator](usecases/pre-build-idea-validator.md) | Automatically scan GitHub, HN, npm, PyPI, and Product Hunt before building anything new — stop if the space is crowded, proceed if it's open. | | [Semantic Memory Search](usecases/semantic-memory-search.md) | Add vector-powered semantic search to your OpenClaw markdown memory files with hybrid retrieval and auto-sync. | +| [arXiv Paper Reader](usecases/arxiv-paper-reader.md) | Read and analyze arXiv papers conversationally — fetch by ID, browse sections, compare abstracts, and get AI summaries. | +| [LaTeX Paper Writing](usecases/latex-paper-writing.md) | Write and compile LaTeX papers conversationally with instant PDF preview — no local TeX installation needed. | ## Finance & Trading diff --git a/usecases/arxiv-paper-reader.md b/usecases/arxiv-paper-reader.md new file mode 100644 index 0000000..2b667c4 --- /dev/null +++ b/usecases/arxiv-paper-reader.md @@ -0,0 +1,45 @@ +# arXiv Paper Reader + +Reading arXiv papers means downloading PDFs, losing context when switching between papers, and struggling to parse dense LaTeX notation. You want to read, analyze, and compare papers conversationally without leaving your workspace. + +This workflow turns your agent into a research reading assistant: + +- Fetch any arXiv paper by ID and get clean, readable text (LaTeX flattened automatically) +- Browse paper structure first — list sections to decide what to read before committing to the full text +- Quick-scan abstracts across multiple papers to triage a reading list +- Ask the agent to summarize, compare, or critique specific sections +- Results are cached locally — revisiting a paper is instant + +## Skills you Need + +- [arxiv-reader](https://github.com/Prismer-AI/Prismer/tree/main/skills/arxiv-reader) skill (3 tools: `arxiv_fetch`, `arxiv_sections`, `arxiv_abstract`) +- Prismer workspace container (runs the arXiv server on port 8082) + +## How to Set it Up + +1. Deploy Prismer with Docker (the arXiv server starts automatically): +```bash +docker compose -f docker/docker-compose.dev.yml up +``` + +2. The `arxiv-reader` skill is builtin — no installation needed. Prompt OpenClaw: +```text +I'm researching [topic]. Here's my workflow: + +1. When I give you an arXiv ID (like 2301.00001): + - First fetch the abstract so I can decide if it's relevant + - If I say "read it", fetch the full paper (remove appendix by default) + - Summarize the key contributions, methodology, and results + +2. When I give you multiple IDs: + - Fetch all abstracts and give me a comparison table + - Rank them by relevance to my research topic + +3. When I ask about a specific section: + - List the paper's sections first + - Then fetch and explain the relevant section in detail + +Keep a running list of papers I've read and their key takeaways. +``` + +3. Try it: "Read 2401.04088 — what's the main contribution?" diff --git a/usecases/latex-paper-writing.md b/usecases/latex-paper-writing.md new file mode 100644 index 0000000..704e6bf --- /dev/null +++ b/usecases/latex-paper-writing.md @@ -0,0 +1,39 @@ +# LaTeX Paper Writing + +Setting up a local LaTeX environment is painful — installing TeX Live takes gigabytes, debugging compilation errors is tedious, and switching between your editor and PDF viewer breaks flow. You want to write and compile LaTeX papers conversationally without any local setup. + +This workflow turns your agent into a LaTeX writing assistant with instant compilation: + +- Write LaTeX collaboratively with the agent — describe what you want and it generates the source +- Compile to PDF instantly with pdflatex, xelatex, or lualatex (no local TeX installation needed) +- Preview PDFs inline without switching to another app +- Use starter templates (article, IEEE, beamer, Chinese article) to skip boilerplate +- Bibliography support with BibTeX/BibLaTeX — just paste your .bib content + +## Skills you Need + +- [latex-compiler](https://github.com/Prismer-AI/Prismer/tree/main/skills/latex-compiler) skill (4 tools: `latex_compile`, `latex_preview`, `latex_templates`, `latex_get_template`) +- Prismer workspace container (runs the LaTeX server on port 8080 with full TeX Live) + +## How to Set it Up + +1. Deploy Prismer with Docker (the LaTeX server with full TeX Live starts automatically): +```bash +docker compose -f docker/docker-compose.dev.yml up +``` + +2. The `latex-compiler` skill is builtin — no installation needed. Prompt OpenClaw: +```text +Help me write a research paper in LaTeX. Here's my workflow: + +1. Start from the IEEE template (or article/beamer depending on what I need) +2. When I describe a section, generate the LaTeX source for it +3. After each major edit, compile and preview the PDF so I can check formatting +4. If there are compilation errors, read the log and fix them automatically +5. When I provide BibTeX entries, add them to the bibliography and recompile + +Use xelatex if I need Chinese/CJK support, otherwise default to pdflatex. +Always run 2 passes for cross-references. +``` + +3. Try it: "Start a new IEEE paper titled 'A Survey of LLM Agents'. Give me the template with abstract and introduction sections filled in, then compile it."