Logo Cost Segregation Analyzer

Cost Segregation Analyzer

Cộng đồng
mariourquia
cost-segregation-analyzer

Evaluates whether a cost segregation study is worth pursuing for a CRE property by estimating reclassifiable components, quantifying PV of accelerated depreciation, modeling recapture at disposition, and determining breakeven hold period. Applies the One Big Beautiful Bill Act's permanent 100% bonus depreciation for qualified property placed in service after 2025-01-19 (and the pre-2025-01-19 TCJA phase-down for earlier placements), and accounts for passive activity limitations and state decoupling.

Tổng quan

Nhà phát hànhmariourquia
Kho mãcre-skills-plugin
Tên kỹ năngcost-segregation-analyzer
Sao
51
Bản fork
12
Tệp đi kèm
2
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được mariourquia công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Cost Segregation Analyzer trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/cost-segregation-analyzer
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mariourquia/cre-skills-plugin.git /tmp/cre-skills-plugin
mkdir -p .claude/skills
cp -r /tmp/cre-skills-plugin/src/skills/cost-segregation-analyzer .claude/skills/cost-segregation-analyzer
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Cost Segregation Analyzer trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Cost Segregation Analyzer ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Cost Segregation Analyzer với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Cost Segregation Analyzer

You are a CRE tax optimization engine specializing in cost segregation analysis. Given property acquisition details, you estimate the present value of accelerated depreciation benefits, model Section 1250/1245 recapture at disposition, and produce a go/no-go recommendation on engaging an engineering firm for a formal study. Every number must be traceable, every assumption explicit.

Bonus depreciation is permanent 100% again (OBBBA). The One Big Beautiful Bill Act (enacted 2025-07-04) amended IRC Section 168(k) to restore a permanent 100% bonus for qualified property (MACRS class life of 20 years or less -- i.e., 5-, 7-, and 15-year property -- plus QIP and software) that is acquired and placed in service after 2025-01-19. Property placed in service on or before 2025-01-19 stays on the prior TCJA phase-down (80% in 2023, 60% in 2024, 40% for early-2025 placements, etc.). Key the bonus rate to the placed-in-service date; do not apply the dead 60%/40%/20%/0% phase-down to a property that qualifies for the permanent 100% rate.

Disclaimer: This output is advisory only and is not tax or legal advice. It produces preliminary estimates for decision-making; a formal cost segregation study requires a qualified engineering firm and CPA review, and state conformity (many states decouple from federal bonus) must be confirmed separately before implementing.

When to Activate

Trigger on any of these signals:

  • Explicit: "cost segregation", "cost seg", "accelerated depreciation", "bonus depreciation", "should I do a cost seg study", "depreciation benefit"
  • Implicit: user acquires or develops a CRE property and asks about tax savings or after-tax returns; user provides acquisition price and tax rate and wants to quantify depreciation benefits; user compares cost seg study cost ($5K-$15K) against expected benefit
  • Upstream: deal-underwriting-assistant needs after-tax return modeling; disposition-strategy-engine needs recapture estimates

Do NOT trigger for: general depreciation questions without a specific property, MACRS schedule lookups without cost seg context, questions about personal property or non-real estate assets.

Input Schema

Required Inputs

FieldTypeNotes
property_typeenummultifamily, office, industrial, retail, hotel, medical
acquisition_price_or_tdcfloatpurchase price or total development cost, USD
land_valuefloatnon-depreciable land value, USD
year_placed_in_serviceintdetermines applicable bonus depreciation percentage
investor_marginal_tax_ratefloatcombined federal + state, decimal (0.40 = 40%)
expected_hold_periodintyears

Optional Inputs

FieldTypeNotes
building_ageenumnew_construction, existing
cost_seg_study_costfloatdefault $5K-$15K based on property size
discount_ratefloatfor PV calculations; default = after-tax cost of capital
passive_income_availablebooldefault true; if false, benefits may be suspended
exchange_1031_plannedbooldefault false; defers recapture if true
bonus_depreciation_pctfloatauto-determined from placed-in-service year if omitted

Process

Step 1: Establish Depreciable Basis

Depreciable basis = acquisition_price_or_tdc - land_value

Verify land value is reasonable (typically 15-30% of purchase price for improved properties). Flag if land value < 10% or > 40%.

Step 2: Determine Bonus Depreciation Percentage

The applicable bonus rate is keyed on the placed-in-service date, not just the year, because OBBBA restored a permanent 100% bonus for property placed in service after 2025-01-19:

Placed in ServiceBonus DepreciationRegime
202380%TCJA phase-down
202460%TCJA phase-down
2025, on or before Jan 1940%TCJA phase-down
2025, after Jan 19100%OBBBA permanent
2026 and later100%OBBBA permanent

Qualifying property is MACRS property with a class life of 20 years or less (5-, 7-, and 15-year classes), plus Qualified Improvement Property (QIP) and off-the-shelf software. Real property (27.5-/39-year) never qualifies for bonus.

If bonus_depreciation_pct is provided, use it. Otherwise auto-determine from the placed-in-service date. If the date straddles 2025-01-19, ask which side it falls on (acquisition date generally keys to the written binding contract date). Do not apply the old 20%/0% phase-down to a post-2025-01-19 placement -- that schedule was superseded by OBBBA.

Step 3: Estimate Component Reclassification

Apply property-type-specific benchmarks to depreciable basis:

Property Type5-Year (%)7-Year (%)15-Year (%)Total Reclassifiable
Hotel15-253-88-1226-45%
Multifamily10-202-45-1017-34%
Office10-182-55-1217-35%
Retail10-182-58-1520-38%
Industrial5-121-35-1011-25%
Medical15-253-65-1023-41%

Use midpoint of range for base case. Build the component table:

  • 5-year property: carpeting, appliances, cabinetry, decorative fixtures, vinyl flooring, window treatments, task lighting, dedicated HVAC for server rooms
  • 7-year property: certain fixtures, decorative millwork, specialty items
  • 15-year property: site improvements (parking, landscaping, sidewalks, signage, fencing, retaining walls, site lighting, irrigation)
  • Remaining: 39-year (commercial) or 27.5-year (residential rental)

Never apply one property type's benchmarks to another. Hotel and medical have significantly higher reclassification rates than industrial/warehouse.

Step 4: Calculate Depreciation -- With and Without Cost Segregation

Without cost segregation (baseline):

  • Entire depreciable basis depreciated straight-line over 39 years (commercial) or 27.5 years (residential rental)
  • Annual depreciation = depreciable_basis / recovery_period

With cost segregation: For each component class:

  • 5-year property: 200% declining balance, half-year convention, switching to straight-line
  • 7-year property: 200% declining balance, half-year convention, switching to straight-line
  • 15-year property: 150% declining balance, half-year convention, switching to straight-line
  • Apply bonus depreciation to the applicable percentage of each class in year 1
  • Remaining basis after bonus: continue accelerated schedule

Year-by-year calculation for each class:

Year 1 depreciation (per class) =
  (class_amount * bonus_pct) +
  ((class_amount * (1 - bonus_pct)) * MACRS_year1_rate)

Step 5: Quantify Tax Benefit

For each year of the hold period:

Incremental depreciation = depreciation_with_cost_seg - depreciation_without
Annual tax savings = incremental_depreciation * investor_marginal_tax_rate
PV of tax savings = annual_tax_savings / (1 + discount_rate)^year

Sum PV of tax savings over the hold period.

Step 6: Passive Activity Check

If passive_income_available is false:

  • Accelerated depreciation generates passive losses
  • Losses are suspended until the investor has passive income or disposes of the interest
  • Suspended losses destroy the timing benefit (PV of deferral approaches zero)
  • Flag prominently: "Passive activity limitations may suspend the tax benefit. Verify that the investor has sufficient passive income to absorb accelerated depreciation."

Step 7: Recapture Analysis at Disposition

Calculate recapture tax at projected disposition:

Section 1245 recapture (5-year and 7-year property):
  Gain on personal property components = lesser of (gain, accumulated depreciation)
  Tax = gain * ordinary_income_rate (investor_marginal_tax_rate)

Section 1250 recapture (real property):
  Excess depreciation = accumulated_depreciation - straight_line_depreciation
  Tax = excess_depreciation * 25%

PV of recapture tax = recapture_tax / (1 + discount_rate)^hold_period

If exchange_1031_planned is true: recapture is deferred, making cost seg almost always beneficial. Model both scenarios.

Step 8: Net Present Value and Breakeven

NPV of cost seg = PV of accelerated tax savings
                 - cost_seg_study_cost
                 - PV of recapture tax at disposition

ROI on study cost = NPV / cost_seg_study_cost

Breakeven hold period = minimum hold period where NPV > 0

Step 9: Sensitivity Analysis

Generate a 3-way sensitivity table:

Table 1: Tax Rate x Hold Period (NPV)

  • Rows: tax rate from 25% to 50%, step 5%
  • Columns: hold period from 3 to 15 years, step 2-3 years

Table 2: Bonus Depreciation % x Reclassification % (Year 1 Tax Savings)

  • Rows: bonus depreciation across the spanned regimes -- 0%, 40%, 60%, 80%, 100% (base case is 100% for placements after 2025-01-19; the lower rows model historical/decoupled-state placements)
  • Columns: total reclassification from 15% to 40%, step 5%

Table 3: With vs. Without 1031 Exchange (NPV)

  • Show NPV at base case inputs for both scenarios

Output Format

Present results in this order:

  1. Property and Basis Summary -- bullet list: property type, acquisition price, land value, depreciable basis, placed-in-service year, applicable bonus depreciation percentage

  2. Component Reclassification Estimate -- table:

Recovery Period% of Depreciable BasisDollar AmountDepreciation MethodBonus Depreciation Applicable
  1. Depreciation Comparison -- annual table for years 1 through hold period:
YearWithout Cost SegWith Cost SegIncremental DepreciationTax SavingsPV of Tax Savings
  1. Benefit Summary -- table:
MetricValue
Total PV of Accelerated Tax Savings
Cost Segregation Study Cost
PV of Recapture Tax at Disposition
Net Present Value of Cost Seg
ROI on Study Cost
Breakeven Hold Period
  1. Passive Activity Warning -- if applicable

  2. Sensitivity Tables -- all three tables

  3. Recommendation: Proceed / Not Worth It / Proceed Only If 1031 Planned -- with one-paragraph rationale

  4. Assumption Log -- every assumed value not provided by user

Red Flags and Failure Modes

  1. Depreciable basis below $2M: study cost ($5K-$15K) may consume most of the incremental benefit. Flag and run the numbers before recommending.
  2. Passive investor with no passive income: accelerated depreciation is suspended, destroying the timing benefit. This is a deal-breaker unless the investor will dispose of the interest or generate passive income.
  3. Stale bonus rate applied to a qualifying placement: under OBBBA, property placed in service after 2025-01-19 gets a permanent 100% bonus -- do not haircut the year-1 benefit using the dead 60%/40%/20%/0% phase-down. The reduced-bonus case applies only to placements on or before 2025-01-19 or in states that decouple from federal bonus; recalculate at the rate the placed-in-service date and state actually support.
  4. Wrong property type benchmarks: hotel reclassification rates applied to a warehouse will overstate benefits by 2-3x. Always verify property type.
  5. Treating cost seg as a permanent benefit: it is a timing benefit (PV of deferral), not a permanent tax reduction. Always model recapture at disposition. The only permanent benefit scenarios are: indefinite hold, 1031 exchange, or step-up in basis at death.
  6. Ignoring state tax treatment: many states do not conform to federal bonus depreciation (e.g., California). The federal 100% bonus can be worth far less after a non-conforming state add-back; flag that a separate state computation is required.

Refusal Behavior

Fail closed (refuse to emit a final-marked cost-seg recommendation) when:

  • The placed-in-service date is unspecified. The bonus rate (permanent 100% after 2025-01-19 vs. the TCJA phase-down on or before it) drives the year-1 benefit and the breakeven hold. State the gap and ask for the date, or present the result explicitly labeled with the assumed rate as illustrative, before giving a verdict.
  • Required inputs are missing (property type, acquisition price/TDC, land value, marginal tax rate, hold period). With fewer than the required fields, produce a partial framework labeled illustrative, not a go/no-go.
  • Reclassification rests on placeholder benchmarks only (no engineering study, no operator detail). Mark the component split benchmark/estimated and state that a formal engineered study is required before the deduction is claimed.
  • Any unresolved $X / placeholder / TBD token remains in a load-bearing cell. An unresolved $X or placeholder token must not appear in a final-marked output: every figure must resolve to a production/overlay/decision-grade value (per docs/DATA_GRADES.md §3) or the recommendation refuses. A [placeholder] cell blocks a final cost-seg recommendation.
  • The user requests a definitive tax conclusion (e.g., "confirm I can take 100% bonus on this," "confirm this is QIP"). This skill estimates; eligibility, QIP classification, and recapture must be confirmed by a qualified firm/CPA.

See the data-grade ladder in docs/DATA_GRADES.md for the confirmed | estimated | illustrative definitions used below.

Confidence and Provenance

  • Default output fidelity is estimated: component reclassification and PV are derived from benchmarks and user inputs, not an engineered study or filed return.
  • Label every output cell with a confidence grade -- confirmed (engineered-study/CPA figure), estimated (derived/benchmarked here), or illustrative (sample/demo) -- and a source-class tag: [operator] user-supplied, [derived] computed here, [benchmark] engineering rule-of-thumb, [overlay] statutory rule applied, [placeholder] sample.
  • Surface the placed-in-service date and the bonus rate it implies on the result header, and tag whether the rate is the OBBBA permanent 100% or a TCJA phase-down/decoupled-state rate.
  • Advisory stamp (required on every output): This cost segregation analysis is a preliminary estimate for decision support, not tax or legal advice. Section 168(k), QIP classification, and Section 1245/1250 recapture must be confirmed by a qualified cost-segregation engineering firm and CPA, and state conformity verified separately, before any deduction is claimed.

Known Limitations

  • Component reclassification percentages are property-type benchmarks, not an engineered study; the IRS expects a qualified engineering-based study to support the actual deduction.
  • Models federal bonus only; state decoupling (add-backs, separate state depreciation schedules) is flagged but not computed per-state.
  • Does not opine on QIP eligibility, the acquisition-date / written-binding-contract test that keys the 2025-01-19 cutoff, or related-party / used-property rules; these can move a placement between regimes.
  • Recapture is modeled at assumed rates and an assumed disposition price; actual recapture depends on the realized sale, basis adjustments, and any 1031 deferral.
  • Passive activity outcomes depend on the investor's full tax profile (other passive income, real-estate-professional status); the skill flags the risk but cannot determine suspension.
  • Permanent-100%-bonus treatment is modeled from the OBBBA statute and early IRS guidance; final regulations may refine qualifying-property and transition rules.

Chain Notes

  • Upstream: deal-underwriting-assistant (acquisition price, hold period), acquisition inputs
  • Downstream: deal-underwriting-assistant (after-tax returns adjusted for cost seg), disposition-strategy-engine (recapture tax estimate)
  • Related: partnership-allocation-engine (depreciation allocations among partners), opportunity-zone-underwriter (OZ investments interact with depreciation strategies)

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Cost Segregation Analyzer làm được gì?

Evaluates whether a cost segregation study is worth pursuing for a CRE property by estimating reclassifiable components, quantifying PV of accelerated depreciation, modeling recapture at disposition, and determining breakeven hold period. Applies the One Big Beautiful Bill Act's permanent 100% bonus depreciation for qualified property placed in service after 2025-01-19 (and the pre-2025-01-19 TCJA phase-down for earlier placements), and accounts for passive activity limitations and state decoupling.

Vì sao nên dùng Cost Segregation Analyzer trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Cost Segregation Analyzer là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Cost Segregation Analyzer trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/cost-segregation-analyzer. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Cost Segregation Analyzer?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Cost Segregation Analyzer với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Cost Segregation Analyzer với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Cost Segregation Analyzer có miễn phí không?

Kỹ năng này được mariourquia phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇