rebalance

GitHub

用于投资组合再平衡,包括加载目标、分析偏离度、选择策略(如税务优化)并生成具体交易计划。

data/skills-md/aaronremiss661/wealth-stack/rebalance/SKILL.md NeverSight/learn-skills.dev

触发场景

用户要求重新平衡投资组合 检查资产分配偏离度 修复资产配置

安装

npx skills add NeverSight/learn-skills.dev --skill rebalance -g -y
更多选项

非标准路径

npx skills add https://github.com/NeverSight/learn-skills.dev/tree/main/data/skills-md/aaronremiss661/wealth-stack/rebalance -g -y

不安装直接使用

npx skills use NeverSight/learn-skills.dev@rebalance

指定 Agent (Claude Code)

npx skills add NeverSight/learn-skills.dev --skill rebalance -a claude-code -g -y

安装 repo 全部 skill

npx skills add NeverSight/learn-skills.dev --all -g -y

预览 repo 内 skill

npx skills add NeverSight/learn-skills.dev --list

SKILL.md

Frontmatter
{
    "name": "rebalance",
    "agent": "portfolio-analyzer",
    "context": "fork",
    "description": "Portfolio rebalancing — drift analysis, target allocation, tax-aware trade generation. Use when asked to rebalance, fix allocation, or check drift."
}

Portfolio Rebalancing

Step 1: Load Portfolio & Target

Load portfolio from ~/.wealthstack/portfolios/. Check for target at ~/.wealthstack/target-allocation.json.

If no target, ask the user:

  • A) Conservative: 30% Equity / 60% Debt / 10% Gold
  • B) Moderate: 60% Equity / 30% Debt / 10% Gold
  • C) Growth: 80% Equity / 15% Debt / 5% Gold
  • D) Aggressive: 95% Equity / 5% Cash
  • E) Custom

Save target to ~/.wealthstack/target-allocation.json.

Step 2: Drift Analysis

Asset Class Target Current Drift Status

Flag drift >5%.

Step 3: Rebalancing Strategy

Ask:

  • A) Full rebalance (taxable events)
  • B) Cash-flow rebalance (new money to underweight only)
  • C) Tax-aware (minimize STCG)
  • D) Threshold-only (only positions drifting >5%)

Step 4: Trade Generation

Calculate specific trades. For tax-aware: prioritize selling loss lots, avoid short-term gain positions, flag wash sale concerns.

Step 5: Post-Rebalance Projection

Show before/after allocation and save plan to ~/.wealthstack/reports/.

版本历史

  • e0220ca 当前 2026-07-05 22:13

同 Skill 集合

data/skills-md/00prabalk00/claude-skills/knowledge-base-gap-finder/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-agile/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-auth/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-issues/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-project-management/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-projects/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-safe/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-search/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-spaces/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-transitions/SKILL.md
data/skills-md/0731coderlee-sudo/wechat-publisher/wechat-publisher/SKILL.md
data/skills-md/0froq/skills/conventionalcommits/SKILL.md
data/skills-md/0froq/skills/nuxt/SKILL.md
data/skills-md/0froq/skills/oq/SKILL.md
data/skills-md/0froq/skills/pinia/SKILL.md
data/skills-md/0froq/skills/pnpm/SKILL.md
data/skills-md/0froq/skills/slidev/SKILL.md
data/skills-md/0froq/skills/tsdown/SKILL.md
data/skills-md/0froq/skills/turborepo/SKILL.md
data/skills-md/0froq/skills/unocss/SKILL.md
data/skills-md/0froq/skills/vitepress/SKILL.md
data/skills-md/0froq/skills/vitest/SKILL.md
data/skills-md/0froq/skills/vue-best-practices/SKILL.md
data/skills-md/0froq/skills/vue-router-best-practices/SKILL.md
data/skills-md/0froq/skills/vue-testing-best-practices/SKILL.md
data/skills-md/0froq/skills/vue/SKILL.md
data/skills-md/0froq/skills/vueuse-functions/SKILL.md
data/skills-md/0froq/skills/web-design-guidelines/SKILL.md
data/skills-md/0juano/agent-skills/bondterminal-x402/SKILL.md
data/skills-md/0juano/agent-skills/edgeone-pages-deploy/SKILL.md
data/skills-md/0juano/agent-skills/ley-ar/SKILL.md
data/skills-md/0juano/agent-skills/ticktick/SKILL.md
data/skills-md/0juano/agent-skills/x-image-cards/SKILL.md
data/skills-md/0juano/x-image-cards/x-image-cards/SKILL.md
data/skills-md/0x0funky/agent-sprite-forge/generate2dsprite/SKILL.md
data/skills-md/0x0funky/agent-sprite-forge/video2dsprite/SKILL.md
data/skills-md/0x2e/superpowers/brainstorming/SKILL.md
data/skills-md/0x2e/superpowers/dispatching-parallel-agents/SKILL.md
data/skills-md/0x2e/superpowers/executing-plans/SKILL.md
data/skills-md/0x2e/superpowers/finishing-a-development-branch/SKILL.md
data/skills-md/0x2e/superpowers/receiving-code-review/SKILL.md
data/skills-md/0x2e/superpowers/requesting-code-review/SKILL.md
data/skills-md/0x2e/superpowers/subagent-driven-development/SKILL.md
data/skills-md/0x2e/superpowers/systematic-debugging/SKILL.md
data/skills-md/0x2e/superpowers/test-driven-development/SKILL.md
data/skills-md/0x2e/superpowers/using-git-worktrees/SKILL.md
data/skills-md/0x2e/superpowers/using-superpowers/SKILL.md
data/skills-md/0x2e/superpowers/verification-before-completion/SKILL.md
data/skills-md/0x2e/superpowers/writing-plans/SKILL.md
data/skills-md/0x2e/superpowers/writing-skills/SKILL.md

元信息

文件数
0
版本
f4b4cf1
Hash
b3533eb6
收录时间
2026-07-05 22:13

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-09 17:43
浙ICP备14020137号-1 $访客地图$