โ† All skills
Tencent SkillHub ยท Productivity

Invoice Collector

Collect invoices/receipts from Gmail and send a summary email with attachments. Automatically downloads PDF attachments or takes screenshots of emails withou...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Collect invoices/receipts from Gmail and send a summary email with attachments. Automatically downloads PDF attachments or takes screenshots of emails withou...

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, scripts/collect_invoices.sh

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.2.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 15 sections Open source page

Invoice Collector

Collect invoices from Gmail and send them as a summary email with all attachments.

Puppeteer --no-sandbox Flag

This skill uses --no-sandbox when launching Puppeteer/Chromium. This is required in many environments: WSL (Windows Subsystem for Linux): Chrome sandbox requires kernel features not available in WSL1/WSL2 Docker containers: Unless running with --privileged or specific seccomp profiles CI/CD environments: Most runners don't support Chrome's sandbox Risk: Disabling the sandbox means if a malicious HTML email were rendered, it could potentially execute code outside the browser context. Mitigation: This skill only renders emails from your own Gmail inbox. The risk is limited to emails you've already received. If you're concerned, review emails before processing or run in an isolated environment.

Installation via curl | tar

The gogcli installation example uses curl -sL ... | tar xz, which is a common pattern but carries supply chain risks if the source were compromised. Safer alternative (verify checksum): # Download and verify curl -sLO https://github.com/steipete/gogcli/releases/latest/download/gogcli_linux_amd64.tar.gz curl -sLO https://github.com/steipete/gogcli/releases/latest/download/checksums.txt sha256sum -c checksums.txt --ignore-missing tar xzf gogcli_linux_amd64.tar.gz mv gog ~/.local/bin/ macOS users: Use brew install steipete/tap/gogcli which handles verification automatically.

1. Install gogcli

# Linux (download binary) curl -sL https://github.com/steipete/gogcli/releases/latest/download/gogcli_linux_amd64.tar.gz | tar xz mv gog ~/.local/bin/ # macOS brew install steipete/tap/gogcli

2. Setup Google OAuth

Go to Google Cloud Console Create project โ†’ Enable Gmail API Create OAuth credentials (Desktop app) Download JSON gog auth credentials ~/path/to/client_secret.json gog auth add your@gmail.com

3. Install Puppeteer (for email screenshots)

cd /tmp && npm install puppeteer

4. Install Japanese fonts (optional, for JP emails)

sudo apt install fonts-noto-cjk

Generic Invoice Search

Search for any invoice/receipt without specifying specific senders: export GOG_ACCOUNT="user@gmail.com" export GOG_KEYRING_PASSWORD="your-password" # Search all invoices in date range gog gmail search '(invoice OR receipt OR ่ซ‹ๆฑ‚ๆ›ธ OR ้ ˜ๅŽๆ›ธ OR billing OR payment) after:2026/01/01 before:2026/02/01' # Search with specific criteria gog gmail search 'subject:(invoice OR receipt) has:attachment after:2026/01/01'

Workflow

Search - Find invoice emails Download - Get PDFs or screenshot emails Summarize - Create summary with amounts Send - Email to destination with attachments

Step 1: Search Invoices

# All invoices from last month LAST_MONTH=$(date -d "1 month ago" +%Y/%m/01) THIS_MONTH=$(date +%Y/%m/01) gog gmail search "(invoice OR receipt OR ่ซ‹ๆฑ‚ๆ›ธ OR ้ ˜ๅŽๆ›ธ) after:$LAST_MONTH before:$THIS_MONTH" --json

Step 2: Process Each Email

mkdir -p /tmp/invoices For emails WITH PDF attachments: # Get message details MSG_ID="<message_id_here>" EMAIL_JSON=$(gog gmail read $MSG_ID --json) # Find PDF attachment ATTACH_INFO=$(echo "$EMAIL_JSON" | jq -r '.thread.messages[0].payload.parts[]? | select(.filename | test("\\.pdf$"; "i")) | "\(.body.attachmentId)|\(.filename)"' | head -1) ATTACH_ID=$(echo "$ATTACH_INFO" | cut -d'|' -f1) FILENAME=$(echo "$ATTACH_INFO" | cut -d'|' -f2) # Download gog gmail attachment $MSG_ID "$ATTACH_ID" --out "/tmp/invoices/$FILENAME" For emails WITHOUT PDF (take screenshot): MSG_ID="<message_id_here>" # Extract HTML gog gmail read $MSG_ID --json | node -e " const fs = require('fs'); let data = ''; process.stdin.on('data', chunk => data += chunk); process.stdin.on('end', () => { const json = JSON.parse(data); const msg = json.thread.messages[0]; let html = ''; const findHtml = (p) => { if (p.mimeType === 'text/html' && p.body?.data) { html = Buffer.from(p.body.data, 'base64').toString('utf-8'); } if (p.parts) p.parts.forEach(findHtml); }; (msg.payload.parts || []).forEach(findHtml); if (!html && msg.payload.body?.data) { html = Buffer.from(msg.payload.body.data, 'base64').toString('utf-8'); } fs.writeFileSync('/tmp/invoices/email.html', html || '<html><body>No content</body></html>'); }); " # Screenshot node -e " const puppeteer = require('puppeteer'); const fs = require('fs'); (async () => { const browser = await puppeteer.launch({ headless: 'new', args: ['--no-sandbox'] }); const page = await browser.newPage(); await page.setViewport({ width: 800, height: 1200 }); await page.setContent(fs.readFileSync('/tmp/invoices/email.html', 'utf-8'), { waitUntil: 'networkidle0' }); await page.screenshot({ path: '/tmp/invoices/receipt.png', fullPage: true }); await browser.close(); })(); "

Step 3: Extract Invoice Info

Parse email for sender, date, amount: # Get basic info from email gog gmail read $MSG_ID --json | jq '{ from: .thread.messages[0].payload.headers[] | select(.name=="From") | .value, subject: .thread.messages[0].payload.headers[] | select(.name=="Subject") | .value, date: .thread.messages[0].payload.headers[] | select(.name=="Date") | .value }'

Step 4: Send Summary Email

gog gmail send \ --to "recipient@example.com" \ --subject "ใ€$(date +%Yๅนด%mๆœˆ)ใ€‘่ซ‹ๆฑ‚ๆ›ธใพใจใ‚" \ --body "่ซ‹ๆฑ‚ๆ›ธใƒป้ ˜ๅŽๆ›ธใ‚’ๆทปไป˜ใ—ใพใ™ใ€‚ โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” ๐Ÿ“Š ่ซ‹ๆฑ‚ๆ›ธใพใจใ‚ โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” ใ€ๆทปไป˜ใƒ•ใ‚กใ‚คใƒซใ€‘ 1. Invoice-001.pdf - Service A 2. Receipt.png - Service B (ใƒกใƒผใƒซใ‚นใ‚ฏใ‚ทใƒง) โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” ใ“ใฎใƒกใƒผใƒซใฏ่‡ชๅ‹•็”Ÿๆˆใ•ใ‚Œใพใ—ใŸใ€‚ " \ --attach /tmp/invoices/Invoice-001.pdf \ --attach /tmp/invoices/Receipt.png

Example Prompts

Generic: "ๅ…ˆๆœˆใฎ่ซ‹ๆฑ‚ๆ›ธใ‚’ๅ…จ้ƒจ้›†ใ‚ใฆใพใจใ‚ใฆ้€ใฃใฆ" "invoiceใงๆคœ็ดขใ—ใฆไปŠๆœˆๅฑŠใ„ใŸ่ซ‹ๆฑ‚ๆ›ธใ‚’keiri@company.comใซ่ปข้€ใ—ใฆ" "has:attachment receipt ใงๆคœ็ดขใ—ใฆ่ซ‹ๆฑ‚ๆ›ธ้›†ใ‚ใฆ" Specific: "AnthropicใจVercelใจAWSใฎ่ซ‹ๆฑ‚ๆ›ธใ‚’้›†ใ‚ใฆ" "from:stripe ใฎ่ซ‹ๆฑ‚ๆ›ธใ‚’้ŽๅŽป3ใƒถๆœˆๅˆ†ใพใจใ‚ใฆ"

Tips

Date format: YYYY/MM/DD for gog search PDF priority: Always prefer PDF attachments over screenshots Japanese fonts: Required for correct rendering of JP emails Cleanup: rm -rf /tmp/invoices after sending Cron: Set up monthly cron job for recurring collection

Category context

Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs1 Scripts
  • SKILL.md Primary doc
  • scripts/collect_invoices.sh Scripts