Communitygithub.com

leecyno1/boutique-skills

分析投资组合配置偏移并生成跨账户的再平衡交易建议,考虑税务影响、交易成本和洗售规则。触发词包括“rebalance”、“portfolio drift”、“allocation check”、“rebalancing trades”或“my portfolio is out of balance”。

boutique-skills 是什么?

该技能旨在帮助用户自动分析投资组合的实际配置与目标配置之间的偏差(即“漂移”),并生成具体的再平衡交易建议。它能跨多个账户(如应税账户、IRA、Roth、401k)进行分析,特别强调税务效率,优先在税收优惠账户中进行调整,避免在应税账户中产生不必要的短期资本利得,并利用亏损收割来抵消收益。同时会严格遵守洗售规则,检查交易是否在30天窗口内触发禁止项。技能还会考虑资产定位优化(如将债券放在递延税账户,高增长资产放在Roth账户),最终输出包含漂移分析表格、推荐交易列表、税务影响摘要及调整前后对比的详细报告。适用于Claude Code、Cursor、Codex等支持自定义技能的AI代理平台。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/leecyno1/boutique-skills/tree/HEAD/skills/default/anthropic-fs-wealth-management-portfolio-rebalance

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

投资组合再平衡

工作流程

第一步:当前状态

针对每个账户,记录:

  • 账户类型(应税、IRA、Roth、401k)
  • 持仓及其当前市场价值
  • 成本基础(适用于应税账户)
  • 每个持仓的未实现损益

第二步:漂移分析

将当前配置与IPS目标进行比较:

资产类别目标%当前%漂移$ 超/欠
美国大盘股
美国小/中盘股
国际发达市场
新兴市场
投资级债券
高收益/信用债
TIPS / 通胀保护
另类投资
现金

标记超出再平衡范围(通常±3-5%)的仓位。

第三步:交易建议

生成使配置回归目标的交易:

税务敏感再平衡规则:

  • 优先在税收优惠账户(IRA、Roth)中进行再平衡——无税务后果
  • 在应税账户中,避免卖出具有大额短期收益的仓位
  • 在再平衡过程中尽可能进行亏损收割
  • 关注所有账户的洗售规则(30天窗口)
  • 考虑将新资金投入低配资产类别,而非直接交易

交易列表:

账户操作证券股数/$原因税务影响
买入/卖出再平衡 / TLH短期收益 / 长期收益 / 亏损

第四步:资产定位评估

优化各个账户类型中持有的资产:

  • 递延税账户(IRA/401k):债券、REITs、高周转率基金(税务拖累最高)
  • Roth:预期增长最高的资产(免税增长)
  • 应税账户:税务高效股权(指数基金、ETF、市政债券)、税务亏损收割候选标的

第五步:实施

  • 按账户计算总交易笔数
  • 估算交易成本
  • 估算税务影响(已实现损益)
  • 对配置漂移的净影响

第六步:输出

  • 漂移分析表格
  • 推荐交易列表(Excel)
  • 税务影响摘要
  • 调整前后配置对比

重要说明

  • 不要为再平衡而再平衡——小幅漂移在范围内可以接受
  • 应税账户中,税务成本可能超过再平衡收益——需计算盈亏平衡点
  • 交易前考虑待定现金流(缴款、提款、RMD)
  • 检查是否存在客户特定的限制(ESG、集中持股、锁定期)
  • 为每笔交易记录理由,以满足合规要求
  • 洗售规则适用于所有账户——需协调家庭范围内的交易

Individual skills in this repo

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

leecyno1/boutique-skills

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.

leecyno1/boutique-skills

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".

leecyno1/boutique-skills

Router skill for LLMQuant portfolio-lab workflows. Use when the user needs portfolio exposure maps, what-if simulations, scenario states, or virtual portfolio comparisons.

leecyno1/boutique-skills

Router skill for LLMQuant portfolio workflows. Use when the user needs company profiles, thesis tracking, theme research, watchlist monitoring, or alert management.

leecyno1/boutique-skills

Comprehensive portfolio analysis using Alpaca MCP Server integration to fetch holdings and positions, then analyze asset allocation, risk metrics, individual stock positions, diversification, and generate rebalancing recommendations. Use when user requests portfolio review, position analysis, risk assessment, performance evaluation, or rebalancing suggestions for their brokerage account.

leecyno1/boutique-skills

Best practices for Remotion - Video creation in React

leecyno1/boutique-skills

Agent skill at skills/default/video-autopilot-kit/SKILL.md

相关技能