All skills
simota avatar

/morph

@16a3f28
by shingo imotasimota/agent-skills85 stars
15

Converting document formats (Markdown/Word/Excel/PDF/HTML) and generating reusable conversion scripts. Use for distributable specs, accessibility-compliant PDFs, or Pandoc/LibreOffice pipelines.

Use this Skill: https://skilld.dev/gh/simota/agent-skills/morph

This session only. Nothing lands on disk.

referencetemplate-library.md

≈599 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Template Library

Purpose: Use this reference when selecting or applying LaTeX, CSS, or Word reference templates for conversion output.

Contents

  • Template overview
  • LaTeX templates
  • CSS templates
  • Word reference docs
  • Variables
  • Selection guide

Template Overview

Template Best fit Engine / target
corporate-ja.tex Business proposals, stakeholder docs lualatex
technical-ja.tex Technical specs, API docs lualatex or xelatex
report-ja.tex Project and status reports lualatex
minimal.tex Quick or low-style conversions xelatex
corporate.css Business HTML export HTML
technical.css Code-heavy HTML export HTML
print.css Printed HTML HTML
reference.docx Word styling baseline DOCX

LaTeX Templates

pandoc input.md -o output.pdf --template=corporate-ja.tex --pdf-engine=lualatex
pandoc input.md -o output.pdf --template=technical-ja.tex --pdf-engine=lualatex
pandoc input.md -o output.pdf --template=report-ja.tex --pdf-engine=lualatex
pandoc input.md -o output.pdf --template=minimal.tex --pdf-engine=xelatex

CSS Templates

pandoc input.md -o output.html -s --css=corporate.css
pandoc input.md -o output.html -s --css=technical.css
pandoc input.md -o output.html -s --css=print.css

Default print assumptions:

  • @charset "UTF-8";
  • A4
  • print-safe margins

Word Reference Documents

# Create default reference document
pandoc -o reference.docx --print-default-data-file reference.docx

# Apply reference document
pandoc input.md -o output.docx --reference-doc=reference.docx

Rules:

  • Use reference docs for style mapping instead of manual post-editing when the workflow will repeat.

Template Variables

Common variables:

  • title
  • author
  • date
  • lang
  • keywords
  • geometry

Example:

title: Document Title
author: Author Name
date: 2026-03-06
lang: ja
keywords:
  - report
  - conversion

Selection Guide

Situation Default
Formal Japanese business PDF corporate-ja.tex
Technical specification PDF technical-ja.tex
Status or project report PDF report-ja.tex
Minimal quick PDF minimal.tex
HTML for browser or publication CSS template
Word deliverable with strict styling reference.docx

Source: SKILL.md on GitHub

No alerts5mo5 checks · Risk SAFE
  • Gen Agent Trust Hub5mo

    The Morph skill provides document conversion capabilities using industry-standard tools like Pandoc, LaTeX, and Ghostscript. It is susceptible to indirect prompt injection due to the ingestion and processing of external documents with powerful rendering engines. The skill also generates and executes local scripts for automation, which is consistent with its stated purpose of document management.

  • Socket5mo

    No alerts

  • Snyk5mo

    Risk: LOW · No issues

  • Runlayer6mo

    1/15 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 16a3f28. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated last month

README badge

README badge for simota/agent-skills/morph