|

VAPA Export Command Group (~x)

Export Command Group (~x): Managing Output Formats and Delivery

The ~x command group governs the final stage of the VAPA workflow: packaging and delivery. It controls how AI-generated content is transformed from a chat response into a professional, portable, and ready-to-use file. Whether you need a structured spreadsheet, a polished report, or code-ready XML, the ~x group ensures your data is delivered in the exact format required for your next task.

Purpose

To enable the seamless transition of AI insights into real-world assets, providing a wide array of file formats and delivery modes for sharing, publishing, and professional integration.


Key Capabilities

  • Multi-Format Support: Export to industry-standard formats including Word (.docx), Excel (.xlsx), PDF, Markdown (.md), and XML.
  • CMS Integration: Generate content optimized for specific platforms like WordPress, Notion, or generic CMS structures.
  • Delivery Flexibility: Choose between inline text blocks, downloadable file attachments, or zipped packages for multi-file datasets.
  • Structural Enhancements: Automatically generate Tables of Contents (TOC), page breaks, and print-ready layouts during the export process.
  • Metadata Management: Control file naming conventions and internal metadata to ensure exports remain organized and identifiable.

~x Command Structure

Export commands are typically one-shot (once) operations that trigger a file generation or formatting event based on the current session data.

CommandNameRoleExample
~xmMD ExportExports the current output as a clean Markdown file.~xm
~xmtocMD + TOCExports Markdown with an auto-generated Table of Contents.~xmtoc
~xwWord ExportGenerates a professional .docx (Word) document.~xw
~xeExcel ExportConverts tabular data into a structured .xlsx (Excel) file.~xe
~xpPDF ExportGenerates a fixed-layout PDF document.~xp
~xxXML ExportPackages data into a structured XML format for system integration.~xx
~xdcmsCMS ExportFormats content for CMS platforms (WordPress, Notion, etc.).~xdcms

Export Options (~xo)

The ~xo modifier can be used to change the delivery mode of the export:

  • ~xo f (File): Forces the export to be delivered as a downloadable file attachment.
  • ~xo i (Inline): Displays the export code/text directly in the chat window.

Examples of Use

  • Professional Report Delivery
    ~xw ~xo f
    Result: The current session content is packaged into a Word document and provided as a download.
  • Data Analysis to Spreadsheet
    ~xe
    Result: Any tables generated in the session are extracted and formatted into an Excel file.
  • Web Content Preparation
    ~xmtoc ~xdcms wordpress
    Result: A Markdown file with a TOC, optimized specifically for a WordPress block editor.
  • Developer Integration
    ~xx ~xo i
    Result: The data is displayed inline as a structured XML block for quick copy-pasting into code.

Workflow Integration

  • With Format (~f)
    The ~f group defines the internal style (e.g., ~ft on for tables), while ~x defines the external container (e.g., ~xe to put those tables in Excel).
  • With Research (~r)
    After a deep research session, use ~rs (Snapshot) to summarize findings, then ~xp to create a permanent PDF record of the inquiry.
  • With Secure (~s)
    When exporting sensitive data, ensure ~sp on (Privacy Mode) was active during generation to ensure the exported content adheres to privacy-preserving guidelines.