document-export

star 6

Export text content to various formats (PDF, Excel, Markdown, Mermaid mindmap)

XSpoonAi By XSpoonAi schedule Updated 2/8/2026

name: document_export description: Export text content to various formats (PDF, Excel, Markdown, Mermaid mindmap) version: 1.0.0 author: XSpoon Team tags: [document, export, pdf, excel, markdown, mermaid] triggers:

  • type: keyword keywords: [export, convert, generate pdf, generate excel, generate markdown, mindmap, mermaid] priority: 80
  • type: pattern patterns:
    • "(?i)(export|convert|generate) .*(pdf|excel|markdown|mermaid|mindmap)"
    • "(?i)(create|make) .*(document|report|spreadsheet)" priority: 75 scripts: enabled: true definitions:
    • name: document_export description: Export content to PDF, Excel, Markdown, or Mermaid mindmap format type: python file: scripts/export.py timeout: 60 input_schema: type: object properties: content: {type: string, description: "Text content to export"} format: {type: string, description: "Export format: markdown, pdf, excel, or mermaid"} title: {type: string, description: "Document title"} output_path: {type: string, description: "Output file path"} required: [content, format]

Document Export Skill

Export text content to various document formats.

Supported Formats

  • Markdown — Plain markdown or formatted JSON
  • Mermaid — Mindmap diagram in mermaid syntax
  • Excel — Spreadsheet with optional multiple sheets (pipe-delimited rows)
  • PDF — Simple text-based PDF document

Usage

Provide content and a target format. Optionally specify a title and output path.

Input (JSON via stdin)

{
  "content": "Your text content here",
  "format": "markdown|pdf|excel|mermaid",
  "title": "Optional document title",
  "output_path": "Optional output file path"
}

Output (JSON via stdout)

{
  "success": true,
  "file_path": "/path/to/exported/file",
  "message": "Exported markdown: /path/to/file.md"
}
Install via CLI
npx skills add https://github.com/XSpoonAi/spoon-bot --skill document-export
Repository Details
star Stars 6
call_split Forks 2
navigation Branch main
article Path SKILL.md
More from Creator