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.
| Command | Name | Role | Example |
|---|---|---|---|
~xm | MD Export | Exports the current output as a clean Markdown file. | ~xm |
~xmtoc | MD + TOC | Exports Markdown with an auto-generated Table of Contents. | ~xmtoc |
~xw | Word Export | Generates a professional .docx (Word) document. | ~xw |
~xe | Excel Export | Converts tabular data into a structured .xlsx (Excel) file. | ~xe |
~xp | PDF Export | Generates a fixed-layout PDF document. | ~xp |
~xx | XML Export | Packages data into a structured XML format for system integration. | ~xx |
~xdcms | CMS Export | Formats 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~fgroup defines the internal style (e.g.,~ft onfor tables), while~xdefines the external container (e.g.,~xeto put those tables in Excel). - With Research (
~r)
After a deep research session, use~rs(Snapshot) to summarize findings, then~xpto 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.
