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-exportSKILL.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
| File | Required | When Used | Purpose | |
|---|---|---|---|---|
paper.md | Required | Start | Source CoPaper draft to convert | |
writingrules.md | Required | Start | Interpret CoPaper heading and paragraph structure | |
templates/latex/ | Required | Start | User-provided LaTeX template directory | |
relatedwork/paper_list.bib | Optional | Bibliography step | BibTeX entries to copy or reference | |
fig/ | Optional | Asset step | Figures referenced by the paper |
Workflow
- Confirm that
templates/latex/exists and contains at least one.textemplate file. - 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. - Read
paper.mdandwritingrules.md. - Inspect the template files to identify the main
.texfile, document class, bibliography commands, package conventions, and author/title placeholders. - Create or update an output directory such as
target/latex/. - Copy the template contents into
target/latex/, preserving class files, style files, bibliography style files, images, and auxiliary files. - Convert
paper.mdinto 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.
- 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. - Copy
relatedwork/paper_list.bibinto the output directory when present and wire it to the template's bibliography command if needed. - Copy referenced figures from
fig/when present. - Report the output directory and main
.texfile. 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 undertarget/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
.texfiles 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
- SKILL.md in the repositoryCheckingcopaper/scaffold/skills/template-latex-export/SKILL.md
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
[](https://verified-skill.com/skills/pku-asal/copaper-opencode/template-latex-export)