Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计提醒

academic-writer学术作家

Agent Skill

academic-writer 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

51,849

周安装

2,118

GitHub Stars

2

下载量

16,775
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:academic-writer(学术作家)
来源仓库:https://github.com/dayunyan/academic-writer
安装命令:
openclaw skills install academic-writer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install academic-writer

简介

专业的LaTeX写作助手。功能包括:扫描现有的 LaTeX 模板、阅读参考资料(Word/文本)、严格按照模板起草内容以及编译 PDF。触发器包括:“写论文”、“草稿部分”、“编译 pdf”、“检查 Latex 格式”。旨在与“学术研究中心”协同工作以进行引文检索。

SKILL.md

name
academic-writer
description
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.
license
Proprietary
permissions
env
PYTHON_CMD
python3

Academic Writer & LaTeX Composer

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.

Installation & Setup

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.

1. System Dependencies (LaTeX)

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

2. Python Environment & Dependencies

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

Quick Reference

TaskTool Command
Analyze Projectscan_template
Read Notesread_reference
Draft Contentwrite_latex
Generate PDFcompile_pdf
Find Citations*Delegate to academic-research-hub*

System Instructions & Workflow

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.

Core Logic Steps

1. Initialization (Template Enforcement)

  • Action: Always start by calling scan_template on the current directory.
  • Logic:

* If a template exists (e.g., IEEE, ACM, local .cls files): You MUST respect the class structure. Do not change the preamble unless necessary for a new package. * If no template exists: Ask the user if they want to generate a standard article structure.

2. Context Loading (Reference Material)

  • Action: If the user mentions input files (e.g., "use my notes.docx" or "reference draft.txt"), call read_reference.
  • Logic: Use this content as the "Ground Truth" for your writing. Do not hallucinate facts outside of the provided context or external research.

3. Literature Search (Cross-Skill Delegation)

  • Trigger: When you need to support a claim with a citation and the user hasn't provided it.
  • Action: DO NOT make up citations. Instead, instruct the agent to use the academic-research-hub skill.
  • Protocol:

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.

4. Writing & Compilation

  • Action: Use write_latex to create .tex files.
  • Action: After finishing a significant section, call compile_pdf.
  • Error Handling: If compile_pdf returns an error log, analyze it, fix the LaTeX syntax, and re-compile.

Tools Definition

tool: scan_template

Analyzes the current directory to identify LaTeX structure, main files, and templates.

  • command: ${PYTHON_CMD} scripts/writer_tools.py scan_template {{directory}}
  • params:

- directory: (string) Path to scan. Default is ".".

tool: read_reference

Reads raw text from reference files. Supports .docx, .txt, .tex, .md.

  • command: ${PYTHON_CMD} scripts/writer_tools.py read_reference {{filepath}}
  • params:

- filepath: (string) Path to the reference file.

tool: write_latex

Writes content to a specific file. Can overwrite or append.

  • command: ${PYTHON_CMD} scripts/writer_tools.py write_latex {{filename}} {{content}} {{mode}}
  • params:

- filename: (string) Target filename (e.g., "introduction.tex"). - content: (string) Raw LaTeX content. - mode: (string) "w" for overwrite, "a" for append. Default is "w".

tool: compile_pdf

Compiles the project using latexmk. Returns success message or error logs.

  • command: ${PYTHON_CMD} scripts/writer_tools.py compile_pdf {{main_file}}
  • params:

- main_file: (string) The root TeX file (e.g., "main.tex").


Common Workflows

1. The "Strict Template" Flow

Use this when the user provides a conference template (e.g., IEEEtrans).

  1. User: "Draft the intro using notes.docx in this folder."
  2. Agent: Calls scan_template -> Detects main.tex (IEEE class).
  3. Agent: Calls read_reference -> Gets content from notes.docx.
  4. Agent: Calls write_latex -> Writes intro.tex following IEEE style.
  5. Agent: Calls write_latex -> Updates main.tex to \input{intro}.
  6. Agent: Calls compile_pdf -> Checks for layout errors.

2. The "Research & Write" Flow

Use this when the user needs external citations.

  1. User: "Write a paragraph about LLM Agents and cite recent papers."
  2. Agent: *Thinking:* "I need citations."
  3. Agent: Calls academic-research-hub (e.g., search arXiv for "LLM Agents 2025").
  4. Agent: Receives BibTeX data.
  5. Agent: Calls write_latex (mode='a') -> Appends to references.bib.
  6. Agent: Calls write_latex -> Writes paragraph with \cite{...}.
  7. Agent: Calls compile_pdf.

Troubleshooting

Compilation Failures

  • Error: latexmk: command not found

* Fix: Ensure you ran sudo apt-get install latexmk.

  • Error: ! LaTeX Error: File 'article.cls' not found.

* Fix: Ensure you ran sudo apt-get install texlive-full.

  • Error: ! Package citation Error

* Fix: Run the compilation twice, or ensure latexmk is used (it handles re-runs automatically).

Python Errors

  • Error: ModuleNotFoundError: No module named 'docx'

* Fix: Ensure you activated the venv and ran pip install python-docx.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

74.64%
按下载量换算12,521

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install academic-writer 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills