user-preview

user-preview is a skill for Claude Code, Codex from nanoAgentTeam/research-claw. It costs 42 tokens per session (300 once invoked), scanned A, original, MIT.

A project helper that compiles LaTeX source files into a PDF and sends the result for preview. LaTeX is a system for creating typeset documents from source text.

In plain words
What is it for?
Use it after editing a LaTeX project to check the document's typesetting and receive the compiled PDF, with any warnings reported.
Why use it?
It removes the manual steps of finding the main file, compiling the document, and delivering the generated PDF.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nanoagentteam/research-claw/user-preview
Any agent
npx skills add nanoAgentTeam/research-claw --skill user-preview
Clone the repo
git clone --depth 1 https://github.com/nanoAgentTeam/research-claw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for user-preview

README.md
[![agentmods](https://agentmods.dev/badge/skills/nanoagentteam/research-claw/user-preview.svg)](https://agentmods.dev/skills/nanoagentteam/research-claw/user-preview)
Your own site
<a href="https://agentmods.dev/skills/nanoagentteam/research-claw/user-preview"><img src="https://agentmods.dev/badge/skills/nanoagentteam/research-claw/user-preview.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 300 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00042 $0.00300
Opus 5 $0.00021 $0.00150
Sonnet 5 $0.00008 $0.00060
Haiku 4.5 $0.00004 $0.00030

Measured 5d ago against content hash 6d27a0f8352e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

user-preview scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

config/.skills/user-preview/SKILL.md · 33 lines

What it actually says

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.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 33 lines · 42 tokens per session scan A 6d27a0f8352e

Subscribe to this mod's changes

user-preview is a skill published in the GitHub repository nanoAgentTeam/research-claw (292 stars, last pushed 2mo ago), licensed MIT. It adds 42 tokens to every session and 300 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.