mail_invoice_archiver
Read supported mailbox providers such as 126, 163, and Gmail, identify invoice attachments or invoice download links, archive invoices by month, deduplicate by invoice number and amount, and prepare monthly reports plus delivery bundles. Use when OpenClaw needs to sync invoice mail, investigate failed downloads, package a month's archive, or summarize totals and high-value invoices.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/amortalsodyssey/mail-invoice-archiver-skillMail Invoice Archiver
Quick Start
- In the first session after installation, ask the user which credential storage mode they want before doing anything else.
- Run
python3 {baseDir}/scripts/cli.py providers --jsonwhen you need to show the currently supported mailbox providers and their setup notes. - Run
python3 {baseDir}/scripts/cli.py doctor --jsonfirst. If it returnssetup_required: true, guide the user through setup and wait for confirmation. - Use
python3 {baseDir}/scripts/cli.py setupfor an interactive setup wizard, or pass--mail-provider 126|163|gmail|customplus--provider system|env|config|promptfor scripted setup. - Use
python3 {baseDir}/scripts/cli.py sync --month YYYY-MM --jsonto pull a month into the local archive. - Use
python3 {baseDir}/scripts/cli.py report --month YYYY-MM --jsonto inspect totals, duplicates, conflicts, and failures. - Use
python3 {baseDir}/scripts/cli.py deliver --month YYYY-MM --jsonto prepare a zip plus summary for the current chat.
Workflow
- Run
doctor. - If
doctorreportssetup_required, ask the user which mailbox provider they want first:126,163,gmail, orcustom. - Ask the user which auth mode they want: system credential store, environment variables, config file, or prompt-each-session.
- Run
setupwith the chosen mailbox provider and auth mode, then wait for the user to confirm they completed any external steps, such as exporting environment variables. - Run
doctoragain to confirm the setup works. - Run
list --month YYYY-MM --limit 20 --jsonwhen you need a quick mailbox preview without downloading files. - Run
sync --month YYYY-MM --jsonto archive candidate invoices into~/Documents/invoice-archive/YYYY-MM/. - Run
report --month YYYY-MM --jsonafter sync and summarize: total amount, canonical invoice count, high-value invoices, duplicates, conflicts, and failures. - Run
deliver --month YYYY-MM --json, then attach the returned zip file in the current chat and paste the summary.
Windows Env Setup
- If the user chooses
envon Windows, offer one of these exact snippets and wait for confirmation before rerunningdoctor.
$env:MAIL_INVOICE_ARCHIVER_EMAIL = "[email protected]"
$env:MAIL_INVOICE_ARCHIVER_AUTH_CODE = "your-provider-secret"
python "{baseDir}/scripts/cli.py" doctor --json
set [email protected]
set MAIL_INVOICE_ARCHIVER_AUTH_CODE=your-provider-secret
python "{baseDir}\scripts\cli.py" doctor --json
- For Gmail,
MAIL_INVOICE_ARCHIVER_AUTH_CODEmust be a Gmail app password, not the normal Google account password.
Rules
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-amortalsodyssey-mail-invoice-archiver-skill": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
wechat-article-to-obsidian
Save WeChat public account articles (微信公众号文章) as clean Markdown notes in Obsidian. Use this skill whenever the user shares a mp.weixin.qq.com link and wants to save it to Obsidian, or mentions '微信文章', '公众号文章', '保存微信', '导入微信文章到Obsidian', 'save wechat article', 'clip wechat'. Also triggers when the user wants to batch-save multiple WeChat article URLs to their Obsidian vault. Zero external dependencies — just curl and Node.js.
conversation-recap-to-obsidian
Build high-value Obsidian daily and weekly review notes from conversation or existing markdown notes. Use this skill whenever the user asks to summarize the current chat into Obsidian, append a structured session recap, regenerate a daily summary from a full daily note, create or refresh a weekly report, merge same-topic work across multiple days, group work by project/task instead of by date, or extract structured review notes with conclusions, key points, tags, and wikilinks.
follow-builders-sidecar
OpenClaw-only sidecar for the original follow-builders skill. Use when the user wants to take over scheduling and delivery without modifying the upstream skill, configure digest delivery, inspect takeover status, or roll back to the original cron.