本文へ移動
cccskills
無料GitHub で公開

pandic-office

Convert Markdown to PDF (or DOCX/EPUB/HTML) using the `pandoc` CLI. Use when asked to produce a PDF report, brief, summary, or any document where the input is Markdown and the output should be a polished, paginated file.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

pandic-office — Markdown → PDF / DOCX / EPUB / HTML via pandoc

Pandoc is installed at /usr/bin/pandoc. The XeLaTeX engine (xelatex) is installed for PDF output. Both work non-interactively in the agent workspace.

Common conversions

# Markdown → PDF (default LaTeX engine)
pandoc input.md -o output.pdf --pdf-engine=xelatex

# Markdown → DOCX (Word document)
pandoc input.md -o output.docx

# Markdown → EPUB (e-book)
pandoc input.md -o output.epub

# Markdown → standalone HTML
pandoc input.md -o output.html --standalone

Producing a one-page brief

cat > /workspace/$(basename "$PWD")/brief.md <<'EOF'
# Q1 Engineering Brief

## Highlights
- Shipped feature X
- Closed Y bugs

## Risks
- Z dependency upgrade pending
EOF

pandoc /workspace/$(basename "$PWD")/brief.md \
  -o /workspace/$(basename "$PWD")/brief.pdf \
  --pdf-engine=xelatex \
  -V geometry:margin=1in \
  -V fontsize=11pt

Useful flags

FlagEffect
--tocInsert a table of contents
-V geometry:margin=1inSet page margins
-V fontsize=11ptSet body font size
--number-sectionsAuto-number headings
--metadata title="..."Set document title
-o file.pdfOutput filename + format (inferred from extension)

After producing the file

Attach it to chat using the commonly_attach_file tool (a kernel verb):

commonly_attach_file({
  podId: "<the pod>",
  filePath: "brief.pdf",      // workspace-relative
  message: "Q1 brief attached."
})

The file path must stay inside /workspace/<accountId>/ — .. and absolute paths outside the workspace are rejected.

Troubleshooting

  • "xelatex not found" — pandoc fell back to a missing TeX engine. Always pass --pdf-engine=xelatex.
  • "Could not convert image" — embedded images need to be local file paths inside the workspace, not http URLs (unless you pre-fetch them).
  • Tables render badly in PDF — add --variable=tables:true and use simple Markdown table syntax (no merged cells).

When NOT to use pandic-office

  • For DOCX/XLSX/PPTX with rich layouts → use officecli instead.
  • For PDF manipulation (extract text, merge, split) → use the pdf skill.
  • For converting binary docs → markdown for input → use markdown-converter.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

commonly

無料

You are a member of a Commonly workspace — a shared space where humans and AI agents from any origin collaborate in pods (chat rooms with memory). Use this whenever you are connected to Commonly via the commonly_* MCP tools: to read what's happening, post, remember things across sessions, react, DM other agents, and work the task board. Load it the moment you see any commonly_* tool available.

日本語の概要は準備中です。原文の説明を表示しています。

Team-Commonly/commonly1,3612026年10月10日 更新

github

無料

Interact with GitHub (issues, PRs, repos, releases) using the `gh` CLI. Use when asked to read or write GitHub state — open an issue, fetch PR diff, comment, list runs, etc.

日本語の概要は準備中です。原文の説明を表示しています。

Team-Commonly/commonly1,3612026年10月10日 更新

Convert binary documents (PDF, DOCX, XLSX, PPTX, HTML, EPUB, images) to clean LLM-friendly Markdown using Microsoft's `markitdown` Python tool. Use when a user attaches a binary file and you need to read its contents.

日本語の概要は準備中です。原文の説明を表示しています。

Team-Commonly/commonly1,3612026年10月10日 更新

morph-ppt

無料

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style transition', 'animated slide sequence', 'shape continuity across slides'. Output is a single .pptx. This skill is a scene layer on top of officecli-pptx — inherits every pptx v2 rule (visual floor, grid, palettes, connector canon, Delivery Gate 1–5a). DO NOT invoke for a generic deck, pitch deck, or board review without cross-slide motion — route those to officecli-pptx base or officecli-pitch-deck.

日本語の概要は準備中です。原文の説明を表示しています。

Team-Commonly/commonly1,3612026年10月10日 更新

3D Morph PPT — extends morph-ppt with GLB model insertion, cinematographic camera, model-content layout, and enriched visual design system.

日本語の概要は準備中です。原文の説明を表示しています。

Team-Commonly/commonly1,3612026年10月10日 更新

officecli

無料

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

日本語の概要は準備中です。原文の説明を表示しています。

Team-Commonly/commonly1,3612026年10月10日 更新

Team-Commonly のスキルをすべて見る

このスキルの問題を報告する