Skip to content

Commit 69d85d7

Browse files
authored
Merge pull request #53 from willamhou/add-prismer-usecases
Add arXiv Paper Reader & LaTeX Paper Writing use cases
2 parents a1dcb1e + d8a6bf0 commit 69d85d7

File tree

3 files changed

+85
-0
lines changed

3 files changed

+85
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ Solving the bottleneck of OpenClaw adaptation: Not ~~skills~~, but finding **way
8686
| [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. |
8787
| [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. |
8888
| [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. |
89+
| [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. |
90+
| [LaTeX Paper Writing](usecases/latex-paper-writing.md) | Write and compile LaTeX papers conversationally with instant PDF preview — no local TeX installation needed. |
8991

9092
## Finance & Trading
9193

usecases/arxiv-paper-reader.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# arXiv Paper Reader
2+
3+
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.
4+
5+
This workflow turns your agent into a research reading assistant:
6+
7+
- Fetch any arXiv paper by ID and get clean, readable text (LaTeX flattened automatically)
8+
- Browse paper structure first — list sections to decide what to read before committing to the full text
9+
- Quick-scan abstracts across multiple papers to triage a reading list
10+
- Ask the agent to summarize, compare, or critique specific sections
11+
- Results are cached locally — revisiting a paper is instant
12+
13+
## Skills you Need
14+
15+
- [arxiv-reader](https://github.com/Prismer-AI/Prismer/tree/main/skills/arxiv-reader) skill (3 tools: `arxiv_fetch`, `arxiv_sections`, `arxiv_abstract`)
16+
17+
No Docker or Python required — the skill runs standalone using Node.js built-ins. It downloads directly from arXiv, decompresses the LaTeX source, and flattens includes automatically.
18+
19+
## How to Set it Up
20+
21+
1. Install the `arxiv-reader` skill from the [Prismer repository](https://github.com/Prismer-AI/Prismer/tree/main/skills/arxiv-reader) — copy the `skills/arxiv-reader/` directory into your OpenClaw skills folder.
22+
23+
2. The skill is ready to use. Prompt OpenClaw:
24+
```text
25+
I'm researching [topic]. Here's my workflow:
26+
27+
1. When I give you an arXiv ID (like 2301.00001):
28+
- First fetch the abstract so I can decide if it's relevant
29+
- If I say "read it", fetch the full paper (remove appendix by default)
30+
- Summarize the key contributions, methodology, and results
31+
32+
2. When I give you multiple IDs:
33+
- Fetch all abstracts and give me a comparison table
34+
- Rank them by relevance to my research topic
35+
36+
3. When I ask about a specific section:
37+
- List the paper's sections first
38+
- Then fetch and explain the relevant section in detail
39+
40+
Keep a running list of papers I've read and their key takeaways.
41+
```
42+
43+
3. Try it: "Read 2401.04088 — what's the main contribution?"

usecases/latex-paper-writing.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# LaTeX Paper Writing
2+
3+
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.
4+
5+
This workflow turns your agent into a LaTeX writing assistant with instant compilation:
6+
7+
- Write LaTeX collaboratively with the agent — describe what you want and it generates the source
8+
- Compile to PDF instantly with pdflatex, xelatex, or lualatex (no local TeX installation needed)
9+
- Preview PDFs inline without switching to another app
10+
- Use starter templates (article, IEEE, beamer, Chinese article) to skip boilerplate
11+
- Bibliography support with BibTeX/BibLaTeX — just paste your .bib content
12+
13+
## Skills you Need
14+
15+
- [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`)
16+
- Prismer workspace container (runs the LaTeX server on port 8080 with full TeX Live)
17+
18+
## How to Set it Up
19+
20+
1. Clone and deploy [Prismer](https://github.com/Prismer-AI/Prismer) with Docker (the LaTeX server with full TeX Live starts automatically):
21+
```bash
22+
git clone https://github.com/Prismer-AI/Prismer.git && cd Prismer
23+
docker compose -f docker/docker-compose.dev.yml up
24+
```
25+
26+
2. The `latex-compiler` skill is built-in — no installation needed. Prompt OpenClaw:
27+
```text
28+
Help me write a research paper in LaTeX. Here's my workflow:
29+
30+
1. Start from the IEEE template (or article/beamer depending on what I need)
31+
2. When I describe a section, generate the LaTeX source for it
32+
3. After each major edit, compile and preview the PDF so I can check formatting
33+
4. If there are compilation errors, read the log and fix them automatically
34+
5. When I provide BibTeX entries, add them to the bibliography and recompile
35+
36+
Use xelatex if I need Chinese/CJK support, otherwise default to pdflatex.
37+
Always run 2 passes for cross-references.
38+
```
39+
40+
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."

0 commit comments

Comments
 (0)