dividend-tracking
Automate your dividend tracking by importing Fidelity CSV data into your dividend analysis spreadsheet.
Install
mkdir -p .claude/skills/dividend-tracking && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/9286" && unzip -o skill.zip -d .claude/skills/dividend-tracking && rm skill.zipInstalls to .claude/skills/dividend-tracking
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Sync dividend data from Fidelity CSV to Dividends sheet. Reads dividend.csv from notebooks/updates/, calculates actual dividends received (shares × amount per share), writes to input area (rows 2-46), then clicks Add Dividend button to process. Triggers on sync dividends, update dividends, dividend tracker, layer 2 income, or monthly dividend analysis.Key capabilities
- →Read Fidelity dividend CSV files
- →Calculate total dividends per ticker
- →Write dividend records to spreadsheet input area
- →Trigger Apps Script for historical logging
- →Aggregate dividend data by ticker and month
How it works
The skill parses a CSV, calculates total dividends per ticker, writes the data to a specific spreadsheet range, and triggers an Apps Script to append the records to a historical log.
Inputs & outputs
When to use dividend-tracking
- →Sync monthly dividend data
- →Update dividend tracker spreadsheet
- →Calculate total income from stock dividends
About this skill
Dividend Tracking
Purpose
Read received-dividend records from the local DB transactions table (refreshed sync-first) and report Layer 2 income against target.
family_office.db is the system of record. The Dividends sheet and its Apps Script automation were retired 2026-07-31.
Step 0: Refresh (sync-first, mandatory)
Dividend records come from the DB, refreshed FIRST so income can never be stale. Follow the shared Sync-First + DB-Read pattern.
uv run python -m src.integrations.snaptrade.sync_transactions_db # writes transactions
uv run python -m src.integrations.snaptrade.sync_transactions_db --show # confirm freshness
Completion criterion: the transactions table carries this run's synced_at before any dividend is read.
Reading dividends
sqlite3 family_office.db \
"SELECT date, symbol, amount, description FROM transactions WHERE type = 'DIVIDEND' ORDER BY date;"
Each row carries date, symbol, amount, and description. Null-symbol dividends already have a ticker resolved during the activities sync (parsed from the description, for example ... ETF (SCHD), mirroring the positions/options symbol fallback), so symbol is reliable.
Dedupe needs no external ledger: the activities sync is idempotent via dedupe_key, so re-running never double-counts.
Monthly analysis
Aggregate by ticker and month:
sqlite3 family_office.db \
"SELECT strftime('%Y-%m', date) AS month, symbol, ROUND(SUM(amount), 2) AS received
FROM transactions WHERE type = 'DIVIDEND'
GROUP BY month, symbol ORDER BY month DESC, received DESC;"
Monthly total against the Layer 2 target:
sqlite3 family_office.db \
"SELECT strftime('%Y-%m', date) AS month, ROUND(SUM(amount), 2) AS total
FROM transactions WHERE type = 'DIVIDEND' GROUP BY month ORDER BY month DESC LIMIT 12;"
Evaluation standard
- Judge holdings on trailing 12-month yield, not month-to-month distribution changes.
- ±5-15% monthly distribution variance is NORMAL for options-based funds. Do not flag it as risk.
- Sell triggers are red flags only: sustained decline greater than 30%, NAV erosion, or a strategy change. Not normal variance.
Margin coverage
Dividend income against margin interest is the coverage ratio that drives the scaling triggers. See the margin-management skill; do not recompute the thresholds here.
CSV fallback
notebooks/updates/dividend.csv (the Fidelity dividend view export) remains a manual reconciliation source if the live activities sync is unavailable. It is not the primary path.
Reference Files
- User Profile:
fin-guru/data/user-profile.yaml - Sync-first pattern:
.claude/skills/_shared/SyncFirstDbRead.md - Income vehicle framework:
fin-guru/data/modern-income-vehicles.md
Educational purposes only. Not investment advice. Dividend distributions are not guaranteed, past yield does not predict future income, and options-based income funds carry risk of principal loss. Consult licensed financial and tax professionals before acting.
Skill Type: Domain (workflow guidance) Enforcement: SUGGEST Priority: High
When not to use it
- →When the input area (A2:D43) is full
- →When pay dates have not yet passed
Prerequisites
Limitations
- →Maximum 42 records per batch
- →Requires specific CSV column structure
- →Must not write to rows 44+ or historical log columns
How it compares
This workflow automates the calculation and data entry process, replacing manual spreadsheet updates and manual button clicking.
Compared to similar skills
dividend-tracking side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| dividend-tracking (this skill) | 0 | 6mo | No flags | Intermediate |
| analyzing-financial-statements | 32 | 8mo | Review | Intermediate |
| financial-document-parser | 20 | 2mo | No flags | Beginner |
| portfoliosyncing | 3 | 5mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by AojdevStudio
View all by AojdevStudio →You might also like
analyzing-financial-statements
anthropics
This skill calculates key financial ratios and metrics from financial statement data for investment analysis
financial-document-parser
OneWave-AI
Extract and analyze data from invoices, receipts, bank statements, and financial documents. Categorize expenses, track recurring charges, and generate expense reports. Use when user provides financial PDFs or images.
portfoliosyncing
AojdevStudio
Import and sync broker CSV portfolio data to Google Sheets DataHub. Supports multiple brokers (Fidelity, Schwab, Vanguard, etc.). USE WHEN user mentions import broker data OR sync portfolio OR update positions OR CSV import OR portfolio-sync OR working with Portfolio_Positions CSVs. Handles position updates, SPAXX/margin validation, safety checks, and formula protection.
finance-manager
ailabs-393
Comprehensive personal finance management system for analyzing transaction data, generating insights, creating visualizations, and providing actionable financial recommendations. Use when users need to analyze spending patterns, track budgets, visualize financial data, extract transactions from PDFs, calculate savings rates, identify spending trends, generate financial reports, or receive personalized budget recommendations. Triggers include requests like "analyze my finances", "track my spending", "create a financial report", "extract transactions from PDF", "visualize my budget", "where is my money going", "financial insights", "spending breakdown", or any finance-related analysis tasks.
financial-analyst
alirezarezvani
Performs financial ratio analysis, DCF valuation, budget variance analysis, and rolling forecast construction for strategic decision-making
business-analytics-reporter
ailabs-393
This skill should be used when analyzing business sales and revenue data from CSV files to identify weak areas, generate statistical insights, and provide strategic improvement recommendations. Use when the user requests a business performance report, asks to analyze sales data, wants to identify areas of weakness, or needs recommendations on business improvement strategies.