template-manager

Discover, load, and display LaTeX templates from latex_template directories.

7|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/tangshunpu/paper_granny --skill template-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: template-manager
Source: https://github.com/tangshunpu/paper_granny/tree/main/skill/template_manager
Command: npx skills add https://github.com/tangshunpu/paper_granny --skill template-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manages LaTeX template directories, enabling quick discovery, loading, and information display for templates to speed up LaTeX document workflows.

Core Features & Use Cases

  • Template discovery: scans latex_template/ subdirectories; each subdirectory is treated as a template, requiring a same-name .cls file.
  • Template information extraction: reads color schemes, custom boxes (e.g., infobox, conceptbox), and custom commands defined within templates.
  • Template usage: ensures the template's .cls and assets are prepared for use in a document, enabling straightforward document setup.

Quick Start

Create a new subdirectory under latex_template containing a MyTemplate.cls file, then use the template-manager to discover and load the template.

Frequently Asked Questions about template-manager

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

FAQPage Schema
How do I discover and load LaTeX templates automatically?

You need a well-structured latex_template directory where each subdirectory represents a template containing a same-name .cls file to enable automatic discovery and metadata extraction.

How do I extract custom commands and color schemes from a .cls file?

By scanning your latex_template directories, the tool identifies defined color schemes, custom boxes such as conceptbox, and custom commands to surface template metadata for your document setup.

What is the best way to manage multiple LaTeX templates in one project?

The best way to manage multiple LaTeX templates in one project is using a structured latex_template directory, enabling automatic discovery, metadata extraction, and straightforward loading for document preparation.

Does template-manager work with LaTeX templates that do not have a .cls file?

No, template-manager does not work with LaTeX templates lacking a .cls file, as it requires each template subdirectory to contain a same-name .cls file to extract metadata and load properly.

Why does my LaTeX template discovery not find my custom commands?

Your LaTeX template discovery might not find custom commands if the template subdirectory lacks a properly structured same-name .cls file defining the colors, boxes, and commands for extraction.