Communitygithub.com

Mr-Nobody-Anonymous/All-skills

Designs rebalancing triggers with calendar-based, threshold-based, and hybrid approaches with tax and cost optimization. Use when designing rebalancing rules, optimizing rebalancing frequency, or modeling turnover impact.

All-skills とは?

All-skills is a Claude Code agent skill that designs rebalancing triggers with calendar-based, threshold-based, and hybrid approaches with tax and cost optimization. Use when designing rebalancing rules, optimizing rebalancing frequency, or modeling turnover impact.

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Mr-Nobody-Anonymous/All-skills/tree/HEAD/awesome_skills/legal/modeling-portfolio-rebalancing-rules

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Modeling Portfolio Rebalancing Rules

Designs rebalancing triggers with calendar-based, threshold-based, and hybrid approaches with tax and cost optimization.

When To Use

  • Defining rebalancing policy for a new systematic or factor-based strategy
  • Comparing calendar-based, threshold-based, or hybrid trigger approaches for an existing portfolio
  • Modeling the turnover, transaction cost, and tax drag impact of different rebalancing frequencies
  • Optimizing drift tolerance bands to balance tracking error against trading costs
  • Evaluating tax-loss harvesting integration within a rebalancing framework

Inputs To Gather

  • Target portfolio weights — asset classes, factors, or individual securities with benchmark allocations
  • Drift tolerance parameters — absolute (e.g., ±3%) or relative (e.g., ±20% of target weight) bands
  • Transaction cost estimates — commissions, bid-ask spreads, market impact by asset class and trade size
  • Tax parameters — short-term vs. long-term capital gains rates, holding period distribution of current lots, tax-loss harvesting eligibility [VERIFY: jurisdiction-specific rates and wash-sale rules]
  • Rebalancing calendar — candidate frequencies (daily, weekly, monthly, quarterly, annual)
  • Historical return series — asset-level returns for backtesting rebalancing rules (minimum 10 years preferred)
  • Portfolio AUM and expected cash flows — inflows/outflows affect opportunistic rebalancing decisions
  • Tracking error budget — maximum acceptable drift from model portfolio before forced rebalance

Workflow

  1. Classify rebalancing approach

    • Calendar-based: fixed schedule (monthly, quarterly, annual) — simpler to implement, predictable turnover
    • Threshold-based: trigger when any position drifts beyond tolerance band — responsive but potentially higher turnover in volatile markets
    • Hybrid: calendar check plus intra-period threshold breach triggers — balances responsiveness with cost control
  2. Set drift tolerance bands

    • Define absolute and/or relative bands per asset class or position
    • Narrower bands → tighter tracking, higher turnover and cost
    • Wider bands → lower cost, but greater drift and potential factor exposure decay
    • For factor portfolios, consider signal decay rate when sizing bands — fast-decaying signals warrant tighter tolerances
  3. Model turnover and transaction costs

    • Simulate each rebalancing rule against historical data
    • Calculate one-way and round-trip turnover per period
    • Estimate total transaction costs: commissions + spread + market impact (use square-root impact model for larger trades)
    • Compare net-of-cost returns across rule variants
  4. Integrate tax optimization

    • Identify tax-lot selection method: specific lot, HIFO, or average cost [VERIFY: permissible methods under applicable tax code]
    • Model short-term vs. long-term gain realization under each rebalancing frequency
    • Incorporate tax-loss harvesting: flag positions with unrealized losses exceeding a threshold during rebalance events
    • Apply wash-sale exclusion logic for harvested losses [VERIFY: 30-day wash-sale window applicability]
    • Calculate after-tax alpha contribution of each rebalancing variant
  5. Run sensitivity analysis

    • Vary drift bands (e.g., ±1% to ±10%) and measure tracking error vs. turnover trade-off
    • Test across volatility regimes (low, normal, high) to evaluate tail-case turnover spikes
    • Stress-test with concentrated inflow/outflow scenarios
    • Compare partial rebalancing (trade toward target, not all the way) vs. full rebalancing
  6. Select and document optimal rule

    • Choose the rule that minimizes net cost (transaction + tax drag) for a given tracking error budget
    • Document trigger logic, band widths, lot selection, and any cash-flow-based rebalancing provisions
    • Specify override conditions (e.g., forced rebalance if any single position exceeds 2× drift band)

Output

  • Rebalancing rule specification — trigger type, frequency, drift bands per asset/factor, partial vs. full rebalance logic
  • Turnover and cost analysis table — annualized turnover, estimated transaction costs, and tax drag for each candidate rule
  • Tracking error comparison — ex-post tracking error by rule variant across backtest period
  • Net-of-cost return differential — gross vs. net performance showing cost of rebalancing by variant
  • Tax impact summary — estimated short-term/long-term gain realization and harvesting benefit per year
  • Sensitivity charts — drift band width vs. turnover, tracking error vs. net return, volatility regime impact

Quality Checks

  • Confirm that drift bands are specified in the same units (absolute vs. relative) consistently across all positions
  • Verify turnover calculations account for both buys and sells (two-sided turnover vs. one-sided)
  • Ensure tax modeling uses the correct capital gains rates and holding period rules for the fund's domicile [VERIFY]
  • Check that market impact estimates are calibrated to actual portfolio AUM and typical trade sizes — not generic assumptions
  • Validate that backtest period covers at least one high-volatility regime (e.g., 2008, 2020) to stress-test threshold triggers
  • Confirm partial rebalancing logic does not create systematic drift bias over time
  • Flag any rebalancing rule that generates annualized turnover exceeding 200% for review — likely over-trading

Individual skills in this repo

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

Mr-Nobody-Anonymous/All-skills

Build agency portfolios. TRIGGERS - Use when user needs help with agency-portfolio-builder related tasks.

Mr-Nobody-Anonymous/All-skills

Generate landing pages with AI. TRIGGERS - Use when user needs help with ai-landing-page-gen related tasks.

Mr-Nobody-Anonymous/All-skills

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

Mr-Nobody-Anonymous/All-skills

Review investment portfolios with rebalancing recommendations. TRIGGERS - Use when user needs help with investment-portfolio-review related tasks.

Mr-Nobody-Anonymous/All-skills

Create makeup artist portfolio guides. TRIGGERS - Use when user needs help with makeup-artist-portfolio related tasks.

Mr-Nobody-Anonymous/All-skills

Build freelance portfolios with case studies. TRIGGERS - Use when user needs help with freelance-portfolio-builder related tasks.

Mr-Nobody-Anonymous/All-skills

Structures secondary portfolio construction with vintage diversification, strategy mix, and geographic allocation optimization. Use when building secondary portfolios, managing allocation targets, or optimizing portfolio composition.

Mr-Nobody-Anonymous/All-skills

Optimize landing page copy for conversions. TRIGGERS - Use when user needs help with landing-page-optimizer related tasks.

Mr-Nobody-Anonymous/All-skills

Build copywriting portfolios. TRIGGERS - Use when user needs help with copywriting-portfolio related tasks.

Mr-Nobody-Anonymous/All-skills

Design cryptocurrency portfolio strategies. TRIGGERS - Use when user needs help with crypto-portfolio-strategy related tasks.

Mr-Nobody-Anonymous/All-skills

Build UX design portfolios. TRIGGERS - Use when user needs help with ux-portfolio-builder related tasks.

Mr-Nobody-Anonymous/All-skills

Design cloud landing zones. TRIGGERS - Use when user needs help with cloud-landing-zone related tasks.

Mr-Nobody-Anonymous/All-skills

Generate high-converting landing page copy with headlines, benefits, CTAs, and social proof. TRIGGERS - Use when user wants landing page copy, sales page content, or conversion-focused web copy.

Mr-Nobody-Anonymous/All-skills

Design portfolio assessment systems. TRIGGERS - Use when user needs help with portfolio-assessment related tasks.

Mr-Nobody-Anonymous/All-skills

Conducts portfolio performance measurement with benchmark comparison, attribution, and risk-adjusted metrics. Use when measuring portfolio performance, calculating Sharpe/Sortino ratios, or conducting performance attribution.

Mr-Nobody-Anonymous/All-skills

Builds strategic and tactical asset allocation models with risk-return optimization and constraint management. Use when constructing portfolios, optimizing asset allocation, or building model portfolios.

Mr-Nobody-Anonymous/All-skills

Creates client-facing portfolio reports with performance, allocation, commentary, and outlook. Use when producing client reports, preparing quarterly reviews, or creating portfolio summaries.

Mr-Nobody-Anonymous/All-skills

Design investment portfolios. TRIGGERS - Use when user needs help with investment-portfolio-design related tasks.

Mr-Nobody-Anonymous/All-skills

Plan investment portfolios. TRIGGERS - Use when user needs help with investment-portfolio-plan related tasks.

Mr-Nobody-Anonymous/All-skills

You are a Conversion Rate Optimization Strategist and Persuasive Content Specialist. Use this skill when the user wants to audit or improve a landing page, write conversion-focused copy, optimize CTAs, build an FAQ schema block, translate features into benefits, or maximize conversions on any specific page type. Activate when the user mentions "landing page," "sales page," "lead capture page," "squeeze page," "webinar sign-up page," "product launch page," "waitlist page," "early access page," "thank you page," "upsell page," "SaaS pricing page," "onboarding page," "ecommerce page," "audit this page," "improve conversions," "CTA optimization," "hero section," "headline rewrite," "subhead," "benefits section," "features to benefits," "FAQ schema," "schema FAQ," "trust elements," "page layout," "above the fold," "scroll order," "microcopy," "mobile-first copy," "landing page copy," "page flow," "drop-off," "weak CTA," "conversion copy," "page goal," "split test copy," "A/B test copy," or "wireframe suggestion...

関連スキル