pku-asal/copaper-opencode/template-latex-export

Claude Code and agent skill by pku-asal/copaper-opencode

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Convert `paper.md` into a final LaTeX paper project using a user-provided conference or journal template placed under `templates/latex/`. Use when the user asks to generate the final LaTeX paper from the CoPaper markdown draft with a local template.

Install

npx vskill@latest install pku-asal/copaper-opencode/template-latex-export

SKILL.md

Template LaTeX Export

This skill converts paper.md into a final LaTeX paper using a template that the user has placed in templates/latex/.

Input Files

FileRequiredWhen UsedPurpose
paper.mdRequiredStartSource CoPaper draft to convert
writingrules.mdRequiredStartInterpret CoPaper heading and paragraph structure
templates/latex/RequiredStartUser-provided LaTeX template directory
relatedwork/paper_list.bibOptionalBibliography stepBibTeX entries to copy or reference
fig/OptionalAsset stepFigures referenced by the paper

Workflow

  1. Confirm that templates/latex/ exists and contains at least one .tex template file.
  2. If no template exists, ask the user to place the target venue template under templates/latex/ and stop. Do not invent or download a template.
  3. Read paper.md and writingrules.md.
  4. Inspect the template files to identify the main .tex file, document class, bibliography commands, package conventions, and author/title placeholders.
  5. Create or update an output directory such as target/latex/.
  6. Copy the template contents into target/latex/, preserving class files, style files, bibliography style files, images, and auxiliary files.
  7. Convert paper.md into LaTeX content:
  • # becomes the paper title unless the template already has a title placeholder.
  • ## to ##### become sectioning commands appropriate for the template.
  • ###### headings become topic sentences at the start of paragraphs, followed by their body text.
  • HTML metadata comments are omitted.
  • $...$ and $$...$$ math are preserved.
  • Existing citation markers are preserved or converted conservatively; do not invent citations.
  1. Insert the converted content into the copied template. Prefer explicit placeholders such as CONTENT_HERE, % CONTENT, or \input{sections/...} when present. If no placeholder exists, replace only the main body between \begin{document} and bibliography/backmatter commands.
  2. Copy relatedwork/paper_list.bib into the output directory when present and wire it to the template's bibliography command if needed.
  3. Copy referenced figures from fig/ when present.
  4. Report the output directory and main .tex file. If a LaTeX engine is available and the user asked for compilation, compile from the output directory.

Constraints

  • The user must provide the template in templates/latex/; do not auto-download templates.
  • Preserve the original template files in templates/latex/; write generated output under target/latex/.
  • Do not fabricate author names, affiliations, citations, venue names, or experimental results.
  • Do not remove template license comments or required style files.
  • If multiple .tex files look like main files, ask the user which one to use.
  • Keep the conversion faithful to paper.md; polish only enough to produce valid LaTeX.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
50
Repository forks
3
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/pku-asal/copaper-opencode/template-latex-export/badge)](https://verified-skill.com/skills/pku-asal/copaper-opencode/template-latex-export)

Something wrong with this skill or its page? Tell us.