Agent skill

User Preview

by nanoAgentTeam in nanoAgentTeam/research-claw

Compile the current project's LaTeX files and send the generated PDF to the user for preview.

MITAuto-check passedDocuments & Office

Install User Preview

skills CLI
$ npx skills add nanoAgentTeam/research-claw --skill user-preview -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nanoAgentTeam/research-claw user-preview --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nanoAgentTeam/research-claw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/config/.skills/user-preview .claude/skills/user-preview && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
user-preview
GitHub stars
293
Token cost
~312 tokens
SKILL.md length
147 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

Compile the current project's LaTeX files and send the generated PDF to the user for preview.

  • Works in 3 steps: Compile — Call latex_compile with… → Send PDF — Extract the PDF filename from… → Report — Inform the user the PDF has…
  • The user wants to check typesetting results
  • SKILL.md covers SOP and Notes
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

User Preview is an agent skill from nanoAgentTeam/research-claw. Compile the current project's LaTeX files and send the generated PDF to the user for preview. Use when the user wants to check typesetting results or confirm the effect of recent edits.

Its SKILL.md is about 310 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering LaTeX and PDF. It works with LaTeX. The repository describes itself as: A self-hosted AI assistant for academic research — manages your papers, searches literature, tracks deadlines, and answers you on the channels you already use. The licence is MIT.

When your agent uses it

  • The user wants to check typesetting results
  • Confirm the effect of recent edits

Example prompts

  • “/user-preview”

Requirements

  • Pre-approved tools (allowed-tools): latex_compile, send_file, read_file

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Compile — Call latex_compile with main_file set to the project's main .tex file path (e.g. main.tex or subdir/main.tex). Use read_file to…
  2. Send PDF — Extract the PDF filename from the latex_compile result and call send_file to deliver it.
  3. Report — Inform the user the PDF has been sent. Mention warning count if any.

What it can do on your machine

Read from SKILL.md and the folder at commit ce3a4ac. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • latex_compile
    • send_file
    • read_file

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

User Preview loads about 312 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 147 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~312

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from nanoAgentTeam/research-claw at commit ce3a4ac, republished under its MIT licence (© nanoAgentTeam). 147 words, ~312 tokens.

Download SKILL.mdSave it as .claude/skills/user-preview/SKILL.md (or your agent's skills folder).
name
user-preview
description
Compile the current project's LaTeX files and send the generated PDF to the user for preview. Use when the user wants to check typesetting results or confirm the effect of recent edits.
allowed-tools
latex_compile, send_file, read_file

User Preview: Compile & Deliver PDF

Compile the project and deliver the PDF to the user in chat.

SOP

  1. Compile — Call latex_compile with main_file set to the project's main .tex file path (e.g. main.tex or subdir/main.tex). Use read_file to locate it first if unsure.

    • If compilation fails, report the errors to the user and stop.
  2. Send PDF — Extract the PDF filename from the latex_compile result and call send_file to deliver it.

    • Use a brief caption summarizing the result (e.g. success, warning count).
  3. Report — Inform the user the PDF has been sent. Mention warning count if any.

    • If the user requests changes, make edits and re-run this flow.

Notes

  • The PDF path is relative to the project core directory, typically main.pdf.
  • If latex_compile reports warnings, mention the count in the caption — no need to list each one.
  • Never attempt to send a PDF without compiling first.

© nanoAgentTeam, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in config/.skills/user-preview of nanoAgentTeam/research-claw.

Open the folder on GitHubat commit ce3a4ac

Compare with similar skills

User Preview next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

User Preview compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
User Preview this skillnanoAgentTeam/research-claw293—~312Automated safety check: PassMIT
AI Review SkillNeuroDong/Ai-Review626—~2.5kAutomated safety check: PassMIT
MineruNebutra/MinerU-Skill122—~504Automated safety check: PassMIT
Lecture To Mdysyecust/lecture-to-notes270—~3.9kAutomated safety check: PassCustom licence
Pdf2texCalix-L/awesome-latex-skills180—~1.4kAutomated safety check: PassMIT
Chinese Copyright Applicationokooo5km/Skills4U183—~2.8kAutomated safety check: NotesMIT

Similar skills

  • AI Review Skill

    NeuroDong/Ai-Review

    Generates structured AI paper reviews (SoT style) for LaTeX, PDF, and Word manuscripts.

    626 GitHub stars~2.5k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Mineru

    Nebutra/MinerU-Skill

    An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents.

    122 GitHub stars~504 tokensUpdated 14 days ago
    Documents & OfficeAuto-check passed
  • Lecture To Md

    ysyecust/lecture-to-notes

    把课堂视频(本地或 B 站/YouTube)、文字稿、课件三者(任意组合)整理成一份详细的中文 Markdown 课堂笔记,输出按课程标题命名的 {titlename}.md(首行为 文档标题)+ 相对路径图片。Markdown 工作流,与上游 lecture-to-notes 的 LaTeX/PDF 输出并行存在;上游 skill 完全不动。触发词:markdown 笔记、md 笔记、视频转…

    270 GitHub stars~3.9k tokensUpdated 5 days ago
    Documents & OfficeAuto-check passed
  • Pdf2tex

    Calix-L/awesome-latex-skills

    Reconstruct editable LaTeX from PDF content using page-aware extraction and visual comparison.

    180 GitHub stars~1.4k tokensUpdated today
    Documents & OfficeAuto-check passed
  • 中国软件著作权申请材料生成工具。申请表直接输出 Markdown 提交,源程序/用户手册/设计说明书三份生成 LaTeX 并编译为 PDF。自动分析项目代码,生成四份材料(前后各30页共60页源程序、含页眉页脚的用户手册和设计说明书、Markdown…

    183 GitHub stars~2.8k tokensUpdated yesterday
    Documents & OfficeAuto-check: notes
  • PDF

    flonat/flonat-research

    Read, create, combine, split, rotate, OCR, watermark, secure, or extract content from PDF files.

    145 GitHub stars~488 tokensUpdated 8 days ago
    Documents & OfficeAuto-check passed

More from nanoAgentTeam/research-claw

All 14 skills in this repo
  • Aaai

    nanoAgentTeam/research-claw

    AAAI paper formatting — activate when the user wants AAAI template setup, migration, or formatting/compilation fixes.

    293 GitHub stars~2.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Acl Venues

    nanoAgentTeam/research-claw

    ACL-family venue paper formatting (ACL, EMNLP, NAACL, EACL, AACL, COLING, ARR, Findings) — activate when the user wants any ACL-series template setup, migration, or format fixes.

    293 GitHub stars~2.3k tokensUpdated 4 mo ago
    Auto-check passed
  • Colm

    nanoAgentTeam/research-claw

    COLM (Conference on Language Modeling) paper formatting — activate when the user wants COLM template setup, migration, or formatting/compilation fixes.

    293 GitHub stars~2.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Conference Research

    nanoAgentTeam/research-claw

    Academic venue paper discovery — activate when you need to find papers accepted at specific conferences or journals (ACL, EMNLP, NeurIPS, ICML, ICLR, MLSys, etc.), analyze venue acceptance…

    293 GitHub stars~823 tokensUpdated 4 mo ago
    Auto-check passed
  • Cvpr Iccv Eccv

    nanoAgentTeam/research-claw

    CVPR / ICCV / ECCV paper formatting — activate when the user wants to submit to CVPR, ICCV, or ECCV, follow their template, or fix format issues for these computer vision conferences.

    293 GitHub stars~3.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Iclr

    nanoAgentTeam/research-claw

    ICLR (International Conference on Learning Representations) paper formatting — activate when the user wants to submit to ICLR, follow ICLR template, or fix ICLR format issues.

    293 GitHub stars~2.7k tokensUpdated 4 mo ago
    Auto-check passed

Works with

Questions about User Preview

What does User Preview do?

Compile the current project's LaTeX files and send the generated PDF to the user for preview. User Preview is an agent skill from nanoAgentTeam/research-claw. Compile the current project's LaTeX files and send the generated PDF to the user for preview.

When should I use User Preview?

User Preview fits situations like: the user wants to check typesetting results; confirm the effect of recent edits.

How do I install User Preview in Claude Code?

Run `npx skills add nanoAgentTeam/research-claw --skill user-preview -a claude-code`. Or copy the skill folder (config/.skills/user-preview in nanoAgentTeam/research-claw) into .claude/skills/user-preview in your project. Claude Code loads it when a task matches its description.

How do I install User Preview in Codex?

Run `npx skills add nanoAgentTeam/research-claw --skill user-preview -a codex`. Or copy the skill folder (config/.skills/user-preview in nanoAgentTeam/research-claw) into .agents/skills/user-preview in your project. Codex loads it when a task matches its description.

Can I use User Preview in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nanoAgentTeam/research-claw --skill user-preview -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/user-preview, .gemini/skills/user-preview, .github/skills/user-preview and .opencode/skills/user-preview in your project.

What does User Preview need to run?

SKILL.md names no scripts, command-line tools or credentials: User Preview is instructions for the agent only. Its frontmatter pre-approves these tools: latex_compile, send_file, read_file.

Does User Preview access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is User Preview safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does User Preview use?

User Preview is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does User Preview use?

About 312 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to User Preview?

Skills that share tags, products or a category with User Preview: AI Review Skill (NeuroDong/Ai-Review, 626 stars), Mineru (Nebutra/MinerU-Skill, 122 stars), Lecture To Md (ysyecust/lecture-to-notes, 270 stars) and Pdf2tex (Calix-L/awesome-latex-skills, 180 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains User Preview?

nanoAgentTeam (a GitHub organization) maintains it in nanoAgentTeam/research-claw, which has 293 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on June 8, 2026.

Source: nanoAgentTeam/research-claw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.