/blackrock-advisor-center-plugin:tax-and-capital-gains-analysisfrom blackrock-advisor-center-plugin
Analyses capital gains distribution exposure for a saved portfolio, household or model with Advisor Center analytics in one section rendered inline in the chat — estimate status, distribution cut-offs, tax cost of upcoming distributions and iShares Ideas — closing with follow-ups earned by what it found. Use when asked for a tax analysis, a capital gains analysis, capital gains distributions, upcoming distributions, sell-by or cut-off dates, or the tax cost of holding a fund through its distribution.
Ships in blackrock-advisor-center-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Organizes one pass of Advisor Center 360° capital gains analytics over a single portfolio, household or model — estimate status, cut-off dates, the tax cost of each upcoming distribution and the ideas offered against it — so the advisor can see which funds are exposed and decide what, if anything, to do before the sell-by date.
The returned payload is a capital gains distribution estimate per fund, subject to change, as of the analysis date: a status per fund, a sell-by date, the estimated distribution as a share of net asset value, and the tax that receiving it would cost at the highest federal rates. No estimate carries a cost basis, a purchase date or a client rate, so the figure is what the distribution costs a holder of that position, never this client's realised gain. The rates sit in assumptions and are already applied inside every tax cost; a tax-deferred account shows the same tax cost as a taxable one, because no figure reads the subject's tax status.
The response carries each status's name and wording. Year-end estimates are published from about October, so outside the season every fund arrives not tracked, with totals.tracked_count at zero. Report that as the answer for the date it was read as of.
The generated output is not a BlackRock-authored conclusion. Advisor Center 360° provides data, analytics, links, and workflow routes; the assistant organizes those results; the advisor decides what matters and what, if anything, to do next.
Render the header and the capital gains section inline in the conversation as the result is returned. Use references/design-tokens.md for colour, type and number formats and references/components.md for component anatomy and fallbacks. Do not render into a document, canvas, webpage, side panel, file, or download.
● its status map declares.omit-and-name.Sequence — call, write, then call. The section is emitted as one visual — header, heading, marks, lead, bullets, footnotes, citations, in that order — before the closing is written. Nothing is written ahead of the call, and a call that fails still emits the header, the heading and the gap statement. Chat text between two tool calls is folded into the collapsed tool-use step, so a citation left beside the visual is one the advisor never sees.
get_capital_gains_and_tax_analysis → write header + the capital gains section
→ write the closing
→ a follow-up tool only once the advisor picks one
portfolio-review when the advisor asked for the open-ended review — "review this", "run the numbers", "pull up their account".guided-portfolio-builder when no saved portfolio, household, model, pasted holdings or resolvable subject exists, or when the advisor wants to build, clone or vary a portfolio.wealth-projections when the ask is modelled performance, wealth projection or methodology.ac360-capability-router when the advisor asks for a report or PDF, or for a workflow that exists in Advisor Center but not in this chat.tracked: false on a fund, and a not-tracked status group, both mean no estimate is being followed. not_expected is the only status reporting no expected distribution.by_subject split, so here that split holds one entry.Every card, chart, or callout generated in this workflow must use local references/design-tokens.md and references/components.md at the point it is created. Do not use default chart-library or card palettes.
Anything not specified here or in the step that emits it is not rendered. Never add, rename, reorder or decorate a block, label or string.
The figures are the platform's. The reading is yours. The decision is the advisor's. Give an estimate or status in its own words, as an estimate, and an idea as offered for consideration, and say it is unvetted against the advisor's constraints.
| Field | Link text | Where |
|---|---|---|
tax_evaluator_url | Open full tax analysis in Advisor Center | the section's first citation |
methodology_url | See methodology for ideas | after the first citation, where the link arrived |
comparison_url | Open comparison in Advisor Center, then the line That view renders live under its own analysis date and fee settings, so its figures can differ from these. | the last citation, where the link arrived |
ideas[].product_url | ideas[].value, the candidate's ticker | its own fund card |
Those are the only citation strings here, at most one of each, and they are the section's last lines inside the visual, one per line. Never print a URL as visible text, and never build one by pattern; where links do not render at all, print the URL in full after the words.
| Tool | When to call |
|---|---|
list_portfolios / list_household_portfolios | Use when the advisor gave a name or nothing, or when an id arrived with no record, to resolve the subject and hold its record. |
list_models / get_model | Use when the subject is a model, to resolve its id and its group's comparison_id_type. |
search_securities | Use when pasted holdings carry tickers or names needing identity resolution before a save. |
create_portfolio | Use only after an explicit yes, to save unsaved holdings before analysing them. Writes real data. |
get_analysis_date | Use only when the capital gains response carries no analysis_date. |
get_capital_gains_and_tax_analysis | Use for the section: the status groups, the cut-off dates, the tax cost of each upcoming distribution and the ideas offered against it. |
Resolve the subject, and anything else the section depends on, before a single heading is
written. The capital gains tool takes subjects: [{type, id}]. Both members required. No
inline positions.
type | Addresses | Id from |
|---|---|---|
PROSPECT_ID | one saved portfolio | list_portfolios, create_portfolio |
AW_AGGREGATE | one household | list_household_portfolios |
MODEL_ID | a BlackRock model | list_models, get_model |
ENTITLED_MODEL_ID | a third-party model | list_models, get_model |
Route on what the advisor gave:
list_portfolios and list_household_portfolios, present the candidates, let the advisor pick. Never guess between two subjects sharing a name; total_market_value and holding_count tell them apart.latest, most recent, the newest one — takes the present-the-candidates path. The list arrives most-recently-updated first, so taking the top row looks like obedience and is a guess.list_models, then pair model_id with its group's comparison_id_type.Take comparison_id_type off whatever read or created the subject. Never build a TYPE:id string or comma-join ids.
Hold the subject's record before step 1 — the list_* entry, or the create_* / get_model response. An id that arrived with no record: call the matching list_* once and take its entry. The header reads from this record.
create_portfolio writes real data. State that, wait for an explicit yes. Then:
cusip, ISIN → isin. A CUSIP in isin returns "no such security".search_securities. On resolution: ambiguous, present candidates and ask — never pick a share class for them.portfolio_type is required by rule though schema-optional. Ask; do not default.Write the consolidated confirmation, naming exactly what will be written, before calling create_portfolio. Analyse the returned id as PROSPECT_ID.
Preflight is finished before the header. Resolution, every candidate list and any write confirmation are done before the first heading, so the only calls left are get_capital_gains_and_tax_analysis and the get_analysis_date lookup an absent analysis_date triggers.
get_capital_gains_and_tax_analysisOnce the call returns, and before the first tile, write two headings in this order: the ## Summary Analysis — <subject name> header with its line 2, then ### Capital gains. The response header always precedes the section heading, and neither is written before the call.
Renders, in this order: header · ### Capital gains · stat tiles (no label) · Estimate status list · Distribution cut-offs timeline · cut-off table · assumptions disclaimer · fund cards · ideas disclaimer · bold lead · bullets · footnotes · citations — all of it inside one visual. Each part is specified below.
{label, value}: <field> below is its value, and <field>.label the words for it, printed as they arrived. A figure may also carry <field>.definition, what it means: wherever the lead or a bullet explains that figure, use the definition as it arrived. A figure with none is named by its label, never explained in your own words. A status group names itself status_label and its count fund_count_label the same way. Where the response carries no words for a figure, the words written here stand.status is upcoming gets a timeline dot, a table row and a card. Every other group is named by count and ticker in the status list.assumptions, and the disclaimer already names them with their tax year. Print the disclaimer; never write your own tax-rate wording, and never print the rates a second time.totals.tracked_count at zero: the section renders its heading · its bold lead from the lead table · the footnotes · the citations, and nothing else. A call that fails renders the heading and the gap statement.The status map, read by the status list rows and the fund-card status tags:
status | Role | Glyph |
|---|---|---|
upcoming | Warning | ● |
pending | Informational | ● |
not_expected | Good | ● |
not_tracked | Neutral | ● |
| absent | Neutral | ● |
Words ← the group's status_label, verbatim; a group carrying none takes
status_text, verbatim.
## Summary Analysis — <subject name>
<value> · <n> holdings · <tax status> · analytics as of <day month year>
| Key | Value |
|---|---|
| Component | Block label · line 2, parts joined by · |
| Data | the held subject record · the step-1 response |
| Empty | drop the part, keep the separators between those that remain |
| Rules | from-field-only(tax status, subjects[].tax_status) · required-when-present(tax status) · once-per-response(as-of) · as-arrived(value) |
| Fallback | line 2 as plain text, same parts, same separators |
| Slot | Source | Absent |
|---|---|---|
subject name | subjects[].name, else the held subject record | the held record's own label |
value | subject-record currency · household <n> accounts · <n> holdings · model none | omit |
holdings | holding count, integer · model none | omit |
tax status | subjects[].tax_status as returned | omit |
as-of | analysis_date, else get_analysis_date, in words | always present |
| Key | Value |
|---|---|
| Component | Stat tile · one row, no label above the row |
| Data | the upcoming status group · totals |
| Encode | label ← the tile name · figure ← the source below, verbatim when it arrived carrying its own % or currency symbol · sub ← its context line |
| Limit | one figure per tile · fund_count_label takes its denominator after of |
| Empty | drop the tile, and never re-space to close the gap |
| Rules | omit-and-name · no-derive(high estimates) · no-derive(potential tax impact) · no-derive(nearest cut-off) · as-arrived(figure) · verbatim(label) · verbatim(fund_count_label) · footnote-markers |
| Fallback | the tile labels as column heads, the figures on the row beneath |
| Slot | Source | Absent |
|---|---|---|
fund_count_label | the group's fund_count, then of, then totals.fund_count | totals.fund_count absent: the count alone · the group's fund_count absent: omit |
high_estimate_fund_count.label | the group's high_estimate_fund_count, in Critical text above zero and primary ink at zero | omit |
position_tax_cost_total.label | the group's position_tax_cost_total; sub ← Tax cost | omit |
Nearest cut-off | the group's first fund, its days_until_sell_by, as <n> days | omit |
No upcoming group: no tiles, and the lead reports the status groups that did arrive.
| Key | Value |
|---|---|
| Component | Status list |
| Label | Estimate status |
| Data | funds_by_status |
| Order | response order |
| Variant | recently-posted split · the upcoming row only, when any of its funds carries recently_posted true · keeps row and count, and splits members into two labelled lines |
| Empty | funds_by_status empty: no list, and the lead names the gap |
| Rules | never-replaces(fund cards) · verbatim(status_label) · verbatim(status_text) · from-field-only(row, funds_by_status[].status) |
| Fallback | the same rows as a table, the status words first |
| Slot | Source | Absent |
|---|---|---|
row | the status dot and the words in the status map above | a status with no group has no row |
count | fund_count | — |
members | the group's funds' ticker, joined by · | a fund with no ticker is left out |
members split lines | recently_posted_fund_count.label ← the funds carrying recently_posted true · Posted earlier ← the rest, each label in secondary ink and its tickers in primary ink, parted by a 1px divider | no fund carries recently_posted true: one unsplit line |
| Key | Value |
|---|---|
| Component | Timeline |
| Label | Upcoming capital gains distribution cut-offs |
| Data | the upcoming group's funds |
| Order | response order |
| Encode | position ← days_until_sell_by · fill ← Critical on high_estimate, else Warning · name ← ticker |
| Guides | ticks: today, 30 days, 60 days, 90 days |
| Limit | a fund past 90 days sits at the right end |
| Empty | no upcoming funds: no timeline |
| Rules | never-replaces(cut-off table) · omit-and-name |
| Fallback | one row per fund, no axis |
| Slot | Source | Absent |
|---|---|---|
dot | one per fund at its days_until_sell_by | omit |
label | ticker | name, else no label |
| Key | Value |
|---|---|
| Component | Table |
| Data | the upcoming group's funds |
| Order | response order |
| Exclude | short_term_estimate · long_term_estimate · estimate_date · cusip · by_subject |
| Empty | no upcoming funds: no table, and the lead says so |
| Rules | verbatim(total_estimate) · verbatim(tax_cost_pct) · as-arrived(position_value) · verbatim(label) · omit-and-name · footnote-markers |
| Fallback | Fund | days_until_sell_by.label | position_value.label | total_estimate.label | position_tax_cost.label |
| Slot | Source | Absent |
|---|---|---|
Fund | ticker, weight 500 | name, else Unidentified holding |
days_until_sell_by.label | <days_until_sell_by> days in primary ink · sell_by_date as day and month in words, secondary ink, never wrapping | omit the absent part |
position_value.label | position_value | omit |
total_estimate.label | total_estimate, in Critical text on high_estimate | omit |
position_tax_cost.label | tax_cost_pct in secondary ink · position_tax_cost in primary ink | omit the absent part |
A fund's distribution in dollars is returned by nothing. totals.estimated_distribution_total is the one distribution amount that arrives, it is gross over every fund carrying an estimate including those already distributed, and it is never read as a saving or as any one fund's figure.
| Key | Value |
|---|---|
| Component | Footnote · directly beneath the cut-off table |
| Data | assumptions.assumptions_disclaimer |
| Slots | assumptions.assumptions_disclaimer, printed as it arrived |
| Empty | absent: no footnote, and the coverage bullet reads No tax-rate assumptions were returned. |
| Rules | verbatim(assumptions_disclaimer) · omit-and-name |
| Fallback | the same line as an italic line under the table |
| Key | Value |
|---|---|
| Component | Status card · grid 3-col, cards top-aligned and stretched to the row's tallest |
| Data | the upcoming group's funds |
| Order | response order |
| Encode | fill ← Critical on high_estimate, else Warning |
| Exclude | short_term_estimate · long_term_estimate · cusip · by_subject · tracked · ideas[].fund_name · ideas[].expense_ratio |
| Empty | no upcoming funds: no cards, and the lead says so |
| Rules | omit-and-name · required-when-present(explore) · verbatim(product_url) · verbatim(label) · verbatim(ideas[].label) · footnote-markers |
| Fallback | Fund | Name | Status | position_tax_cost.label | total_estimate.label | Ideas |
Five slots — header.left, header.right, name, tax cost, explore — in this order, none merged:
| Slot | Source | Absent |
|---|---|---|
header.left | ticker, weight 500 · Pill recently_posted.label on recently_posted true | name, else Unidentified holding |
header.right | Status tag ← the upcoming row of the status map above | — |
name | name | omit, and omit when already header.left |
tax cost | Inset block position_tax_cost.label: position_tax_cost, then the line from a capital gains distribution of <total_estimate> of NAV, that figure in Critical text on high_estimate | omit the absent part; both absent: omit the block |
explore | one Inset block per distinct ideas[].label, in arrival order: block label ← that label · one line per idea carrying it, value → product_url | the one line No ideas returned |
| Key | Value |
|---|---|
| Component | Footnote · directly beneath the cards |
| Data | ideas_disclaimer |
| Empty | no card rendered an idea: no footnote |
| Rules | verbatim(ideas_disclaimer) · omit-and-name |
| Fallback | the same line as an italic line beneath the table |
| Slot | Source | Absent |
|---|---|---|
line | ideas_disclaimer, printed as it arrived | no footnote, and the coverage bullet reads No ideas disclaimer was returned. |
The bold lead is the row its case matches, filled. <analysis date> is analysis_date in words, day month year; <marker> is the field's Footnote marker, empty when it carries none.
| Case | Lead |
|---|---|
totals.tracked_count at zero | **No capital gains distribution estimates are available as of <analysis date>.** |
no upcoming group | **No fund has an upcoming capital gains distribution as of <analysis date>.** |
an upcoming group | **<fund_count> of <totals.fund_count> funds have an upcoming capital gains distribution, with a <position_tax_cost_total.label><marker> of <position_tax_cost_total>.** |
Then bullets in this order — each only when its field arrived, at most three — each its Form, filled, and nothing after it:
| Bullet | Figure | Form |
|---|---|---|
| the most exposed upcoming fund | the upcoming fund carrying the largest position_tax_cost | <ticker> carries the largest <position_tax_cost.label><marker>, <position_tax_cost>, cut-off <sell_by_date>. |
| a recently posted estimate | a fund carrying recently_posted true | <ticker>: <recently_posted.label>, <total_estimate.label> <total_estimate>. |
| what is untracked and what is pending | the not_tracked group, then the pending group | <fund_count> <status_label> per group, joined by ·; a group that did not arrive drops |
Then coverage, naming unrecognized_holdings by count and by stored identifier, and naming by label every tile, column or block this response did not carry. Coverage names nothing else: no feature, tool or skill names, and no word on how the data was sourced. Then citations. No other paragraph.
No bullet repeats a figure an earlier bullet used. An absent figure is named, never explained. footnote-markers holds here too: every mention of a footnoted figure carries its marker, the bold lead and the closing included.
| Key | Value |
|---|---|
| Component | Footnotes · after the bullets, before the citations |
| Data | footnotes |
| Order | arrival order |
| Empty | footnotes absent: no block |
| Rules | footnote-markers · footnotes-verbatim |
| Fallback | title in bold, then one line per entry, its marker a superscript digit |
| Slot | Source | Absent |
|---|---|---|
title | footnotes.title | omit |
entries | footnotes.entries: Footnote marker ← marker, then text | an entry with no marker starts with its text |
Renders whenever footnotes arrived, the off-season section included.
Write step 1 now, before the closing — every part the Renders line names, in that order, inside one visual.
Renders, in this order: caveats · the most material finding · follow-ups · disclaimer. The closing follows the analysis's last tool call, so it is the one region whose chat text is reliably visible — its prose does not need a visual to survive. Each part is specified below.
Report/PDF handoff is reactive only. Do not proactively mention report generation, PDFs, or Generate Report in the closing. If the advisor asks for a report or PDF, route through ac360-capability-router.
| Key | Value |
|---|---|
| Component | Footnote · one line per caveat that applied |
| Slots | inferred column mapping · resolved identifier · unrecognised holdings left out of the analysis · a model subject carrying weights only |
| Empty | none applied: no block |
| Fallback | the same lines as plain text |
One sentence, required in every response except off season — the row its case matches, filled:
| Case | Sentence |
|---|---|
totals.tracked_count at zero | no sentence: the lead states it |
an upcoming group | The most material finding is <ticker>: <position_tax_cost.label><marker> of <position_tax_cost>, cut-off in <days_until_sell_by> days. — the fund the first bullet names |
no upcoming group | the bold lead, as plain text |
Up to five, each earned by something this analysis found: fund health on an upcoming fund, deeper risk, ESG or carbon, simulated performance, wealth projection, style factors, the stress scenario set, or scenario contributors. Offer only what the findings motivate. End with Say which of those you want and I'll run it on this portfolio. None earned: no follow-ups and no closing line.
| Key | Value |
|---|---|
| Component | Footnote · the closing's last line |
| Data | disclaimer |
| Slots | disclaimer, printed as it arrived, from the first response carrying one |
| Empty | no response carried disclaimer: no line |
| Rules | verbatim(disclaimer) · once-per-response(disclaimer) |
| Fallback | the same line as plain text |
Write step 2 now; nothing follows it.
Every status, material metric, analytic result, methodology detail, security or fund reference, and approved content link must come from the returned Advisor Center 360° payload or an approved public, security, fund, or methodology page.
Do not cite BlackRock as the source of advisor or assistant-generated review points.
Every figure traces to one field in a response. Never compute, derive or aggregate one: no arithmetic on returned values, no totalling across records, no re-deriving a figure the response already carries. A figure no tool returns is a gap in the tool — name it in the output. Axis steps, dot positions and segment geometry are the exception, because they describe drawing and no tool returns them.
If a status, metric, link, methodology detail, or workflow route is not returned or listed as approved, label it unavailable.
Links are part of the output. Surface every returned link near the block it supports. An analysis that returns a link and shows none has dropped part of the answer.
Read-only by default. create_portfolio, update_portfolio, clone_portfolio, the household writes and update_advisory_fee write real data. Ask first, every time, and say what will be written.
Never present an estimate as the client's realised gain, an estimated percentage as a dollar amount, or a not-tracked status as a fund that will not distribute. Never write your own wording over a returned disclaimer. Footnotes are returned disclaimers: never reworded, never dropped, never a marker without its line. Never write real data without naming what will be written and getting an explicit yes. An analysis that drops the section, builds a link by pattern, or fills a tile the response left absent has stopped organizing what came back and started authoring a conclusion this skill is not entitled to reach.
What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/ac360-capability-routerRoutes Advisor Center workflow requests that belong in the web experience or cannot be completed by another loaded skill or direct tool. Use when asked to open the tax evaluator, run a tax analysis, run income projections, import a book of business, import client accounts, analyze imported accounts, enroll or service a Separately Managed Account (SMA) or My Managed Accounts (MMA) account, get documentation, access a report workflow, or continue a known Advisor Center workflow unavailable in this chat. Skip when another skill or tool can directly complete the request./guided-benchmark-selectionHelps choose or confirm a benchmark subject for portfolio comparison. Use when asked what benchmark fits, to compare a portfolio to a model or index, to set a benchmark, or to use an advisor-saved portfolio as the benchmark. Skip when a benchmark is already selected and the advisor is asking for the analysis itself.Other plugins' skills for the same job
/guided-portfolio-builderBuilds, imports, modifies or clones portfolios after the advisor confirms the holdings and write action. Use when asked to build from tickers or weights, create a portfolio from a statement, start from a model or saved portfolio, create a comparison portfolio, or explore a specific what-if variation. Skip when the portfolio already exists and the advisor is only asking for review or analysis.claude plugin install blackrock-advisor-center-plugin@claude-plugins-official