ts-paper

Generates publication-format LaTeX papers from ideas, proposals, or real experimental results.

1.1k|19|Updated Jun 18, 2026
One-click install
npx skills add https://github.com/Spark-To-Paper-Skills/spark-to-paper-skills --skill ts-paper-spark-to-paper-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ts-paper
Source: https://github.com/Spark-To-Paper-Skills/spark-to-paper-skills/tree/main/skills/ts-paper
Command: npx skills add https://github.com/Spark-To-Paper-Skills/spark-to-paper-skills --skill ts-paper-spark-to-paper-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Turning a raw research idea or proposal into a complete, compiled academic paper with real citations, editable vector figures, and verified numbers normally requires weeks of manual writing, citation hunting, and LaTeX debugging. This Skill orchestrates that entire pipeline automatically while enforcing strict integrity rules against fabricated results. ## Core Features & Use Cases - Input routing and staged pipeline: Classifies the dropped input (bare idea, structured proposal, or proposal with real results) and runs plan, cite, write, refine, review, figure, and LaTeX assembly stages, producing a compiled main.pdf. - Citation and integrity enforcement: Builds a refs.bib of 40+ real, fully-specified references via web search, and machine-checks that every reported number traces to the user's actual data in data-aware mode. - Editable vector figures and templates: Routes figures to matplotlib (results plots) or an image model with vision critique, then vectorizes them to editable PDFs; ships template-agnostic specs for Traitement du Signal and NeurIPS styles. - Use Case: Drop a one-line research idea and receive a compiled, citation-complete journal-format PDF with adversarially reviewed text and editable vector figures, ready for further experiment-driven revision. ## Quick Start Ask the assistant to turn your research proposal or idea into a complete compiled paper using the ts-paper skill, optionally naming a template such as ts_iieta or neurips.

Frequently Asked Questions about ts-paper

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn a research idea into a full paper with AI?

Drop a one-line idea or proposal and the skill routes it through plan, cite, write, refine, review, figure, and LaTeX stages, producing a compiled main.pdf. A bare idea first goes through an idea-to-story stage that grows it into a full proposal before writing begins.

How does the paper generator handle citations and references?

The cite stage builds a refs.bib of roughly 40 to 50 real, fully-specified papers using WebSearch and WebFetch, reading each candidate's abstract to triage relevance. A citations linter fails the build on title-only stubs, off-topic filler, or unresolved references.

Can I use my own LaTeX template or a specific conference style?

Yes, the suite is template-agnostic: add a templates/<name>/ directory with a template.json spec plus the venue's official .sty or .cls files. Bundled ts_iieta and neurips templates are unofficial approximations for demo only and must be replaced with official files before real submission.

Does it fabricate experimental results or numbers?

No. In proposal mode result tables stay blank and prose is forward-looking; in data-aware mode every number must trace to the user's real data, enforced by a draft linter that flags any prose decimal or percent absent from the extracted facts file.

What API keys or environment setup does the pipeline need?

Figure generation needs an image-model key such as OPENROUTER_API_KEY, GOOGLE_API_KEY, or TS_FIG_API_KEY; optional KG-grounded recall needs a TS_EMBED embedding endpoint. Python dependencies, LaTeX tooling, and SVG backends are self-configured by the skill when missing.

Why does the figure stage fail the build on some figures?

The figure gate rejects hand-authored flat SVGs and requires image-model figures to have a non-empty critique trace, at least two critic rounds, and grounding on a real reference figure. Matplotlib is permitted only for real measured-data plots in the results section.