Zenith Finance Sync logo

Zenith Finance Sync

Community
adityahimaone
zenith-finance-sync

Auto-sync Zenith Finance data (transactions, ledger) to Google Sheets. Creates/updates a spreadsheet with Dashboard and History sheets.

Overview

Publisheradityahimaone
Repositoryhermes-agent-rtk-caveman
Skill namezenith-finance-sync
Stars
84
Forks
4
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by adityahimaone on GitHub. Read the source before you install it.

Installation

Install the Zenith Finance Sync AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/adityahimaone/hermes-agent-rtk-caveman/tree/main/skills/finance/zenith-finance-sync
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/adityahimaone/hermes-agent-rtk-caveman.git /tmp/hermes-agent-rtk-caveman
mkdir -p .claude/skills
cp -r /tmp/hermes-agent-rtk-caveman/skills/finance/zenith-finance-sync .claude/skills/zenith-finance-sync
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Zenith Finance Sync in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Zenith Finance Sync on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Zenith Finance Sync is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Zenith Finance to Google Sheets Auto-Sync Skill

Purpose

Automatically synchronizes Zenith Finance transaction data and ledger balances to a Google Sheets spreadsheet with:

  • Dashboard sheet: Summary metrics, charts-ready data with correct formulas
  • History sheet: Complete transaction log with timestamps

Enhanced Features

  • Correctly references Category column (D) for income/expense calculations
  • Account balances calculated as Income - Expense per account
  • Robust transaction handling with duplicate prevention
  • Extended dashboard with monthly summaries and detailed accounting
  • Preserves custom formulas in Dashboard cells (especially B2 and B3 for Income/Expense SUMIFs) by using user-specified column references in the sync script
  • Supports enhanced pipe-separated Transactions.md format: [timestamp] | description | amount | Income/Expense | Category | Source | Balance
  • ENHANCED: Now includes actual Category field (Food/Transport/etc.) in Google Sheets Column E for detailed tracking
  • Updated to sync 7 columns: Timestamp, Description, Amount, Income/Expense, Category, Source, Balance

Prerequisites

  1. Google Workspace skill must be authenticated with scopes including:
  2. Zenith Finance data must exist in ~/Documents/Obsidian/Notes/Finance/

Configuration

The skill stores the target spreadsheet ID in:

  • ~/.hermes/zenith_spreadsheet_id.txt
  • Can be overridden by setting ZENITH_SPREADSHEET_ID environment variable

Workflow

  1. Check if Google authentication is valid
  2. Load Zenith Finance data from Ledger.md and Transactions.md
  3. If no target spreadsheet exists, create one with Dashboard and History sheets
  4. Append new transactions to History sheet (since last sync)
  5. Update Dashboard summary metrics
  6. Record sync timestamp for next run

Troubleshooting\n\n### Regex Pattern Issues\nIf encountering "bad character range" errors in parse_transactions_file:\n1. Timestamp regex (around line 91): Should be r'$$\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}$$' to match [2026-04-07 21:32]\n2. Transaction parser (around line 109): Should be r'$$(\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2})$$\\s*\\|\\s*(.+?)\\s*\\|\\s*(.+?)\\s*\\|\\s*(.+?)\\s*\\|\\s*(.+)'\n3. Amount extraction (around line 117): Should be r'-\\s*Rp([\\d,.]+)$' to extract amounts like "- Rp12345.67"\n4. Amount/Balance cleaning (around lines 126, 134): Should be re.sub(r'[Rp,\\s]', '', string) to remove Rp, commas, and spaces\n\n### String Escaping Issues\nIf encountering "unexpected character after line continuation character" errors:\n- Check print statements for incorrectly escaped quotes\n- Should be print(f\"Warning: message {variable}\") not print(f\\\"Warning: message {variable}\\\")\n\n### PATH Construction Issues\nIf seeing "google_token.json not found" errors despite file existing:\n- Check TOKEN_PATH assignment - should be Path(HERMES_HOME) / \"google_token.json\" not malformed concatenation\n\n### Sync State Issues\nIf load_sync_state() errors occur:\n- Ensure the sync state file (~/.hermes/zenith_sync_state.json) contains valid JSON\n- Is absent for first run (will be created after successful sync)\n\n### Google Auth Problems\nIf API calls fail with authentication errors:\n- Re-authenticate using the google-workspace-setup skill\n- Verify token file exists at ~/.hermes/google_token.json\n- Ensure required scopes are granted: spreadsheets and drive

Trigger this skill after any Zenith Finance transaction is recorded, or run manually to sync all data.

Data Mapping

History Sheet Columns:

  • Timestamp: ISO format from transaction
  • Description: Transaction description/item
  • Amount: Numeric amount (positive for income, negative for expense)
  • Category: Transaction category (Income, Expense)
  • Source: Account involved (BCA, Gopay, Dompet, etc.)
  • Balance: Running net worth after transaction

Dashboard Sheet:

  • Metrics: Total Income, Total Expenses, Net Savings, Last Updated
  • Formulas that auto-calculate from History data

Implementation

This skill uses the scripts/sync.py script to perform the actual synchronization. The script handles robust parsing of Transactions.md format in two versions:

Legacy Format (still supported):

  • Multiple transactions may appear on the same line without separators
  • Transaction descriptions follow the format "Description - RpAmount" where the amount needs extraction
  • Special formats like "-RpAmount" (without description dash) are handled for consistency

New Pipe-Separated Format (current):

  • Each transaction on its own line: [timestamp] | description | amount | Income/Expense | Category | Source | Balance

  • Amount is a numeric value (may include commas)

  • Income/Expense field indicates transaction type

  • Category provides detailed categorization (Food, Transport, etc.)

  • Source indicates the account involved

  • Balance shows running net worth after transaction (prefixed with "Rp")

  • Opening balance transactions are identified and processed correctly

  • Sync state is tracked using timestamps to only process new transactions since last sync

  • The parser handles malformed lines gracefully with warnings rather than failures

  • Dashboard summary formulas are preserved per user specification, specifically ensuring B2 and B3 use column D (Category) for SUMIF calculations rather than column E (Source)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Zenith Finance Sync AI skill do?

Auto-sync Zenith Finance data (transactions, ledger) to Google Sheets. Creates/updates a spreadsheet with Dashboard and History sheets.

Why use Zenith Finance Sync on TypingMind?

Because you install it once and use it with any model. Zenith Finance Sync is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Zenith Finance Sync in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/adityahimaone/hermes-agent-rtk-caveman/tree/main/skills/finance/zenith-finance-sync. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Zenith Finance Sync?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Zenith Finance Sync?

As many as you like. As long as a model supports skills, you can use Zenith Finance Sync with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Zenith Finance Sync AI skill free?

Yes. It is published on GitHub by adityahimaone under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇