Install
openclaw skills install hobohan-sync-adapterSync local .md data files to Google Sheets with dedup hashing. Reusable for expenses, investments, and any key-value data.
openclaw skills install hobohan-sync-adapterPattern for syncing structured .md data to Google Sheets. Uses a service account, JWT auth, and content-hash dedup to avoid duplicates.
/home/hobopi/.openclaw/secrets/google-service-account.jsonhttps://sheets.googleapis.com/v4/spreadsheets/{id}1Ikbydh-Xzc6F3pk1Q5lbCTbdEERSb4Hq8obzbABVZbUKey generation: (normalized_date|normalized_amount|notes)
normalize_amount(str) — strips trailing zeros from decimal: $18.00 → $18, $18.50 → $18.50$18.00 as float 18.0) and sheet (18 as string)Flow:
*.md files → parse entriesm = re.match(r'^- ([^$]+) \$([0-9]+\.?[0-9]*) \| (.+)', line)
Parses: - Category $Amount | Notes
Investment format:
m = re.match(r'^- ([^$]+) \$([0-9.]+)(?: \| (.+))?', line)
scripts/sync-ledger-to-sheet.pySheet1deepseek/deepseek-v4-flash, timeout 60sscripts/sync-investments-to-sheet.py (or agent reads ledger + writes to sheet directly)Investmentsdeepseek/deepseek-v4-flash, timeout 600svalueInputOption: 'USER_ENTERED' for date/currency formattingYYYY-MM-DD (string) — prevents auto-conversion to different format' prefix