Pst converter
Convert Microsoft Outlook Personal Storage Table (.pst) files into AI-friendly formats (Markdown, JSON, CSV). Use this skill to extract emails, metadata, and attachments from legacy email archives for analysis, context, or migration.From its SKILL.md
npx -y skills add nweii/convert-psts --skill pst_converterAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, 376 tokens by cl100k_base, as published. Nobody here has run it
PST Converter Skill
Description
This skill provides a tool to extract and format data from Outlook PST files. It is useful for:
- Reading legacy email archives.
- Converting PST content to Markdown for LLM context.
- Extracting metadata for analysis (CSV/JSON).
Requirements
- System:
libpstmust be installed.- macOS:
brew install libpst - Linux:
sudo apt-get install pst-utils
- macOS:
- Python: Python 3.8+ (Standard library only).
Instructions
Run the cli.py script found in this directory.
Basic Syntax
python3 cli.py <path_to_pst_file> [options]
Options
-f, --format: Output format. Choices:markdown(default),json,csv,both(md+json),all.--full: Include full email bodies (default is metadata-only).--folders: Preserve original folder structure.--include-threading: Include thread ID metadata.-o, --output <dir>: Specify output directory (default:./output).
Examples
1. Quick Summary (Metadata only)
Good for scanning an archive's contents.
python3 cli.py archive.pst
2. Prepare for LLM Context (Markdown)
Extracts full content into a readable Markdown format.
python3 cli.py archive.pst --full -f markdown
3. Data Analysis (JSON/CSV)
Extract structured data.
python3 cli.py archive.pst --full -f json
Troubleshooting
readpstnot found: Installlibpstvia your system package manager.
What ships with it: 7 files
32.1 KB alongside SKILL.md, 7 of them executable
formatters/
- csv_format.pyruns3.2 KB
- __init__.pyruns76 B
- json_format.pyruns4.0 KB
- markdown.pyruns6.4 KB
- cli.pyruns6.9 KB
- extractor.pyruns11.4 KB
- __init__.pyruns114 B