Communitygithub.com

VRIL-LABS/skill-jam

分析投資組合配置偏離程度,並生成跨帳戶的再平衡交易建議。考量稅務影響、交易成本及洗售規則。觸發詞包括「rebalance」、「portfolio drift」、「allocation check」、「rebalancing trades」或「my portfolio is out of balance」。

skill-jam 是什麼?

此技能用於分析投資組合的資產配置偏離情況,並自動生成再平衡交易建議。它適用於需要管理多帳戶(如應稅帳戶、IRA、Roth、401k)的開發者或顧問,支援自訂資產類別目標與再平衡區間。技能會先擷取各帳戶的當前持倉與成本基礎,然後與投資政策聲明(IPS)目標進行比較,找出偏離超過容忍範圍的資產類別。接著,它會生成一組稅務優化的交易建議,優先使用稅務優惠帳戶進行調整,並在應稅帳戶中規避短期資本利得,同時利用稅務損失收割機會。最後,技能會輸出偏離分析表、交易清單、稅務影響摘要,以及資產配置前後對比,幫助用戶做出明智的再平衡決策。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/VRIL-LABS/skill-jam/tree/HEAD/skills/ai-ml/financial-services-plugins-main/financial-services-plugins-main/wealth-management/skills/portfolio-rebalance

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

投資組合再平衡

description: 分析投資組合配置偏離程度,並生成跨帳戶的再平衡交易建議。考量稅務影響、交易成本及洗售規則。觸發詞包括「rebalance」、「portfolio drift」、「allocation check」、「rebalancing trades」或「my portfolio is out of balance」。

工作流程

步驟 1:當前狀態

針對每個帳戶,記錄:

  • 帳戶類型(應稅、IRA、Roth、401k)
  • 持倉及其當前市場價值
  • 成本基礎(適用於應稅帳戶)
  • 每檔部位的未實現損益

步驟 2:偏離分析

將當前配置與 IPS 目標進行比較:

資產類別目標 %當前 %偏離超額/不足金額
美國大型股
美國中小型股
國際已開發市場
新興市場
投資級債券
高收益/信用債
TIPS / 抗通膨債券
另類投資
現金

標記超出再平衡區間(通常為 ±3-5%)的部位。

步驟 3:交易建議

生成交易以使配置回歸目標:

稅務意識再平衡規則:

  • 優先於稅務優惠帳戶(IRA、Roth)進行再平衡——無稅務後果
  • 在應稅帳戶中,避免賣出有大量短期收益的部位
  • 在再平衡時盡可能實現損失
  • 注意所有帳戶間的洗售規則(30 天視窗)
  • 考慮將新資金導向配置不足的資產類別,而非進行交易

交易清單:

帳戶操作證券股數/金額原因稅務影響
買/賣再平衡 / TLH短期收益 / 長期收益 / 損失

步驟 4:資產配置位置檢討

優化各帳戶類型應持有的資產:

  • 稅務遞延帳戶(IRA/401k):債券、REITs、高週轉率基金(稅務負擔最高)
  • Roth:預期增長最高的資產(免稅增長)
  • 應稅帳戶:稅務效率高的股票(指數型基金、ETF、市政債)、稅務損失收割候選標的

步驟 5:執行

  • 各帳戶的總交易筆數
  • 預估交易成本
  • 預估稅務影響(已實現損益)
  • 對配置偏離的淨影響

步驟 6:輸出

  • 偏離分析表
  • 建議交易清單(Excel)
  • 稅務影響摘要
  • 配置前後對比

重要注意事項

  • 不要為了再平衡而再平衡——小幅偏離在區間內是正常的
  • 在應稅帳戶中,稅務成本可能超過再平衡的效益——請計算損益平衡點
  • 在交易前考慮即將到來的現金流(資金投入、提領、RMD)
  • 檢查是否有任何客戶特定的限制(ESG、集中持股、鎖倉期)
  • 為每筆交易記錄理由,以供合規留存
  • 洗售規則適用於所有帳戶——需協調全戶交易

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

VRIL-LABS/skill-jam

Review fixed income portfolios by pricing multiple bonds, retrieving reference data, analyzing cashflows, and running scenario analysis. Use when reviewing bond portfolios, computing portfolio duration and DV01, analyzing cashflow waterfalls, stress testing rate scenarios, or assessing portfolio composition.

VRIL-LABS/skill-jam

description: Track and analyze portfolio company performance against plan. Ingests monthly/quarterly financial packages (Excel, PDF), extracts KPIs, flags variances to budget, and produces summary dashboards. Use when reviewing portfolio company financials, preparing board materials, or monitoring covenant compliance. Triggers on "review portfolio company", "monthly financials", "how is [company] performing", "covenant check", or "portfolio update".

VRIL-LABS/skill-jam

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

VRIL-LABS/skill-jam

Search personal websites and blogs using Exa advanced search. Full filter support for finding individual perspectives, portfolios, and personal blogs. Use when searching for personal sites, blog posts, or portfolio websites.

VRIL-LABS/skill-jam

Build distinctive, production-grade websites and web apps. Routes to the right guidance based on framework (Next.js, React Native, vanilla HTML). Covers design tokens, typography, motion, layout, accessibility, and deployment.

相關技能