Token导航 LogoToken导航TokenDH.com
待分类操作浏览器github未标认证来源可访问clear审计提醒

dividend-tracking股息追踪

Agent Skill

dividend-tracking 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

636

周安装

26

GitHub Stars

302

下载量

204
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:dividend-tracking(股息追踪)
来源仓库:https://github.com/aojdevstudio/finance-guru
仓库路径:skills/dividend-tracking
安装命令:
npx skills add https://github.com/aojdevstudio/finance-guru --skill dividend-tracking
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/aojdevstudio/finance-guru --skill dividend-tracking

简介

dividend-tracking 将 Fidelity 等券商的 CSV 分红数据导入本地追踪系统。

  • 适用于个人投资者历史分红记录的自动化归集与税务准备。
  • 通过 Apps Script 处理原始数据并生成可查询的时间线视图。
  • 需手动上传 CSV 并在电子表格中点击按钮触发同步流程。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Dividend Tracking

Purpose

Import Fidelity dividend CSV data into the Dividends sheet input area, then trigger the Apps Script to process records into the historical log.

Workflow Routing

When executing this workflow, output this notification:

Running the **SyncDividends** workflow from the **dividend-tracking** skill...
WorkflowTriggerAction
SyncDividends"sync dividends", "update dividends", "dividend tracker"CSV → Input Area → Click Button

Dividends Sheet Architecture

The Dividends tab has TWO SECTIONS:

Left Side: INPUT AREA (Columns A-D, Rows 2-43)

This is where YOU write dividend records.

ColumnFieldSource
ATicketCSV Symbol
BDividends ReceivedCalculated: Quantity × Amount per share
CDateCSV Pay date (MM/DD/YYYY format)
DDRIPTRUE/FALSE

RULES:

  • ✅ Write to rows 2-43 ONLY (row 1 is header)
  • ✅ Maximum 42 records per batch
  • ❌ NEVER write past row 43
  • After writing, click "Add Dividend" button to process

Right Side: HISTORICAL LOG (Columns G-U, Rows 4+)

This is populated by the Apps Script - DO NOT WRITE HERE.

ColumnField
GFund Name
HTicker
I-TMonthly amounts (JAN-DEC)
UTotal

The Apps Script reads from the input area (A-D) and appends to the historical log (G onwards).

Core Workflow

1. Read Dividend CSV

File Location: notebooks/updates/dividend.csv

Key CSV Columns:

CSV ColumnUse
Symbol→ Column A (Ticket)
QuantityUsed to calculate dividend received
Amount per shareUsed to calculate dividend received
Pay date→ Column C (Date) - format as MM/DD/YYYY
TypeMargin/Cash (for aggregation)

2. Calculate Dividends Received

Dividends Received = Quantity × Amount per share

Aggregation Rules:

  • Sum quantities for same ticker (Margin + Cash accounts)
  • Use single row per ticker
  • Skip rows with -- in Amount per share (non-dividend payers)
  • Only include pay dates that have PASSED (already received)

3. Check Input Area Status

Read current input area:

mcp__gdrive__sheets(
    operation: "readSheet",
    params: {
        spreadsheetId: "{spreadsheet_id}",
        range: "Dividends!A2:D43"
    }
)

Determine:

  • First empty row (where to start writing)
  • Available slots (max 45 - current entries)
  • If full, STOP and alert user to click button first

4. Write to Input Area

Write starting at first empty row:

mcp__gdrive__sheets(
    operation: "updateCells",
    params: {
        spreadsheetId: "{spreadsheet_id}",
        range: "Dividends!A2:D13",  // Adjust range based on record count
        values: [
            ["JEPI", "$51.63", "01/05/2026", "TRUE"],
            ["JEPQ", "$78.62", "01/05/2026", "TRUE"],
            // ... more records
        ]
    }
)

5. Click "Add Dividend" Button (Browser Automation)

After writing records, use browser automation to process them:

// 1. Open Google Sheets
mcp__claude-in-chrome__tabs_create_mcp({
    url: "https://docs.google.com/spreadsheets/d/{spreadsheet_id}/edit#gid=2068577140"
})

// 2. Wait for sheet to load
// 3. Look for "Add Dividend" button or custom menu
// 4. Click to trigger Apps Script

Alternative: Use Apps Script Menu

  • Extensions → Apps Script macros
  • Or custom menu added by the script

6. Verify Processing

After clicking button:

  • Input area (A2:D43) should be cleared
  • Historical log should have new entries
  • Monthly totals should update

Data Flow Diagram

┌─────────────────────────────────┐
│  dividend.csv (Fidelity export) │
│  - Symbol, Quantity             │
│  - Amount per share, Pay date   │
└──────────────┬──────────────────┘
               │
               ▼
┌─────────────────────────────────┐
│  Calculate Dividends Received   │
│  Qty × Amount = Total Dividend  │
│  Aggregate by ticker            │
│  Filter: only PAST pay dates    │
└──────────────┬──────────────────┘
               │
               ▼
┌─────────────────────────────────┐
│  INPUT AREA (A2:D43)            │
│  Write calculated dividends     │
│  Max 42 records per batch       │
└──────────────┬──────────────────┘
               │
               ▼
┌─────────────────────────────────┐
│  CLICK "Add Dividend" BUTTON    │
│  (Browser automation or manual) │
└──────────────┬──────────────────┘
               │
               ▼
┌─────────────────────────────────┐
│  HISTORICAL LOG (G4+)           │
│  Apps Script processes input    │
│  Appends to monthly columns     │
└─────────────────────────────────┘

Apps Script Integration

The Dividends sheet has Apps Script automation that:

  • Reads records from input area (A2:D43)
  • Parses ticker, amount, date, DRIP status
  • Appends to historical log with proper date formatting
  • Updates monthly income columns (I-T)
  • Clears input area after processing

Script Location: scripts/google-sheets/portfolio-optimizer/Dividend.js

Custom Menu: "Portfolio Optimizer" → (dividend-related options)

Critical Rules

WRITABLE Area

  • ✅ Columns A-D, Rows 2-43 (input area)
  • ✅ Maximum 42 records per batch
  • ✅ Must click "Add Dividend" button after writing

DO NOT MODIFY

  • ❌ Row 1 (header)
  • ❌ Rows 44+ in columns A-D
  • ❌ Columns G-U (historical log - Apps Script managed)
  • ❌ Any formulas

Date Format

  • Use MM/DD/YYYY (e.g., "01/05/2026")
  • Match existing entries in the sheet

DRIP Status

  • TRUE = dividend was reinvested (shares increased)
  • FALSE = dividend paid as cash
  • Default TRUE for accumulation phase

Pre-Flight Checklist

Before syncing dividends:

  • dividend.csv exists in notebooks/updates/
  • CSV is recent (check "Date downloaded" at bottom)
  • Input area (A2:D43) has available slots
  • If input area has data, click button first to clear it
  • Browser automation available for button click

Example Scenario

User: "sync dividends"

Agent workflow:

  1. ✅ Read CSV - found 40 rows
  2. ✅ Filter - 12 tickers with dividend data for past pay dates
  3. ✅ Aggregate - combined Margin/Cash positions
  4. ✅ Calculate - total dividends: $786.86
  5. ✅ Check input area - rows 2-43 empty, 42 slots available
  6. ✅ Write records - added 12 rows to A2:D13
  7. ✅ Open browser - navigate to Dividends sheet
  8. ✅ Click button - trigger "Add Dividend" Apps Script
  9. ✅ Verify - input area cleared, historical log updated
  10. ✅ LOG: "Synced 12 dividend records totaling $786.86"

Google Sheets Integration

Spreadsheet ID: {spreadsheet_id} Dividends Sheet ID: 2068577140 Direct URL: https://docs.google.com/spreadsheets/d/{spreadsheet_id}/edit#gid=2068577140

Reference Files

  • Dividend CSV: notebooks/updates/dividend.csv
  • Apps Script: scripts/google-sheets/portfolio-optimizer/Dividend.js
  • Spreadsheet: Finance Guru Portfolio Tracker (Dividends tab)

Skill Type: Domain (workflow guidance) Enforcement: SUGGEST (high priority advisory) Priority: High

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.69%
按下载量换算59

windsurf

25.28%
按下载量换算52

trae

18.45%
按下载量换算38

OpenCode

14.61%
按下载量换算30

Codex

7.31%
按下载量换算15

Antigravity

3.35%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills