{"id":78763,"plugin_id":"plugin_asdk_app_6a215179debc8191a28dd0f3723c0646","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-03T18:24:16.474Z","digest":"50eb4761d584659dce6c029124f25f2616ec54bcc5aa457ddc721419977fe78a","against":9598,"payload":{"description":"Produce a comprehensive Issuer Brief HTML report for a company using Moody's GenAI MCP tools. Use this skill whenever the user asks to create an Issuer Brief, company profile report, credit memo, investment book, or comprehensive company analysis. Also trigger when they ask for a report combining company overview, financials, peer comparison, industry overview, strategic developments, management, credit profile, risks, and ESG into a single document. Trigger even if they just name a company and say \"Issuer Brief\", \"info book\", \"company book\", \"credit book\", or \"full company report\".\n","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":577},{"relative_path":"assets/icon.png","size_in_bytes":1753},{"relative_path":"assets/template.html","size_in_bytes":15947},{"relative_path":"evals/evals.json","size_in_bytes":4248}],"name":"issuer-brief","skill_md_contents":"---\nname: issuer-brief\ndescription: >\n  Produce a comprehensive Issuer Brief HTML report for a company using Moody's\n  GenAI MCP tools. Use this skill whenever the user asks to create an Issuer Brief,\n  company profile report, credit memo, investment book, or comprehensive company analysis. Also\n  trigger when they ask for a report combining company overview, financials, peer comparison,\n  industry overview, strategic developments, management, credit profile, risks, and ESG into a\n  single document. Trigger even if they just name a company and say \"Issuer Brief\", \"info book\", \"company\n  book\", \"credit book\", or \"full company report\".\n---\n\n# Issuer Brief Skill\n\nGenerates a professional HTML report (styled like a Moody's Issuer Brief) for a\ntarget company. The report consolidates data from multiple Moody's MCP tools, annual/quarterly\nreports, earnings calls, and news into 10 structured sections plus a pre-rendered table of\ncontents and a Citations block.\n\nThe workflow is **single-artifact streaming**: gather all data, then stream the entire filled\nHTML document back to the user as one ` ```html ` fenced code block in the final assistant\nmessage. No file copy, no `open` step, no progressive `StrReplace` edits, no JSON payload, and no\nclient-side render logic. The fenced code block is the deliverable.\n\n> ## ⚠️ CRITICAL — NON-NEGOTIABLE OUTPUT CONTRACT\n>\n> **The LLM MUST stream the final report back as a single HTML artifact inside the assistant\n> response.** This is the only acceptable form of delivery for this skill. Specifically:\n>\n> - The final assistant message **MUST** contain exactly one ` ```html ` fenced code block\n>   holding the **complete, standalone HTML document** (`<!doctype html>` → `</html>`), with\n>   every section from the streaming protocol populated inline.\n> - The LLM **MUST NOT** write the report to a file on disk (no `Write`, no `cp` of the\n>   template, no `StrReplace` into a working artifact, no `open` command).\n> - The LLM **MUST NOT** split the report across multiple code blocks, multiple messages,\n>   partial snippets, or summaries.\n> - The LLM **MUST NOT** substitute prose, Markdown, JSON, attachments, or links for the\n>   fenced HTML artifact. The artifact itself is the answer.\n> - If data gathering fails partially, still emit the single ` ```html ` artifact with\n>   the best-available content and `\"--\"` placeholders for missing cells — never skip the\n>   artifact.\n>\n> Treat any other output shape as a hard failure of the skill.\n\n> ## ⚠️ CRITICAL — NO ESTIMATED OR APPROXIMATED NUMBERS ALLOWED\n>\n> **Every numeric value in the report — financial table cells, Key Indicators table cells,\n> ratings, ESG scores, PD scores, debt maturity chart values, KPI/pie-chart values, and numbers\n> quoted in prose — MUST come directly from a Moody's MCP tool response or a company filing\n> retrieved via `searchCompanyFilings`.** Never compute, interpolate, average, or split an\n> aggregate to approximate a missing figure. Estimation, approximation, interpolation, and\n> inference from indirect sources are strictly forbidden. Specifically:\n>\n> - **NEVER** write `~`, `approx.`, `estimated`, or any similar qualifier next to a number.\n>   When a value is genuinely unavailable from the data gathered, write `\"--\"` instead of\n>   guessing.\n> - **NEVER** derive a number by splitting, distributing, or back-calculating from an aggregate\n>   (e.g. do not allocate total debt across maturity buckets by assumption).\n> - **NEVER** invent segment revenue, EPS, FCF, ROE, debt maturity amounts, or any other\n>   metric that was not explicitly returned by a tool call. (The only permitted derived values\n>   are the ones this skill defines explicitly: YoY% in the financial table, EBITDA Margin in\n>   the Key Indicators table, Net Debt = Total Debt − Cash & Equivalents when only a variant is\n>   offered, and the percentage shares / geometry computed for the charts.)\n> - **Charts are not exempt**: every slice, bar height, and label in every SVG chart (segment\n>   revenue pie chart, debt maturity bar chart) must map 1-to-1 to a value returned by a tool.\n>   If tool data is insufficient to build a chart accurately, omit the chart and leave the\n>   container empty rather than render fabricated values.\n> - **Peer data is not exempt**: only populate peer columns/rows with values explicitly returned\n>   by `getCreditOpinion`, `getEntityFinancials_v2`, `getEntityRatings`, or `getEntityEsg` for\n>   that peer.\n>\n> The field-level versions of this rule are restated in the relevant parts of Step 4 below\n> (financial table, Key Indicators table, debt maturity chart, segment chart, ratings) — those\n> are authoritative for their fields.\n>\n> Treat any estimated or approximated number in the emitted report as a hard failure of the skill.\n\n> ## ⚠️ CRITICAL — NARRATIVE GROUNDING RULES (apply to every prose block)\n>\n> - **Source-stated claims only.** Every causal explanation (\"driven by\", \"reflecting\",\n>   \"supported by\", \"due to\"), segment or business-line figure, management statement, guidance\n>   item, or governance attribute MUST be explicitly stated in the visible content of the\n>   specific tool result you cite, and must concern the **same entity and the same period** as\n>   the figure it explains. Do not move drivers between periods (quarterly earnings-call\n>   commentary cannot explain a fiscal-year change). Do not add plausible-sounding drivers from\n>   general knowledge; if no source gives the cause, report the change without a causal clause.\n> - **Period-specific statements must match the cited period.** If support comes from a\n>   different period, name that period or describe the point generically.\n> - **No invented segments or commentary.** If no source provides a segment breakdown, do not\n>   name segments or attribute growth or margins to them. If earnings-call results contain only\n>   logistics, introductions, or disclaimers, do not write management commentary, guidance, or\n>   performance-driver bullets.\n> - **Read full text before citing.** If a tool result is truncated or saved to a file, read the\n>   full content first. Never complete or infer the rest of a cut-off sentence.\n> - **Do not recast views as commitments.** Moody's/analyst expectations are not management\n>   statements; do not add unsupported use-of-proceeds, brand/segment attributions, or singular\n>   governance claims.\n> - **Do not describe a line item beyond its source label** (e.g. do not relabel a generic\n>   \"other non-operating income\" line as gains on a specific asset class, or a plain \"Earnings\n>   per share\" figure as \"diluted EPS\").\n> - **Attribute each claim to the party the source names** (regulator, rating agency, company\n>   management, another company, journalist). Present Moody's views (\"we\", \"our\" in Moody's\n>   documents) as the agency's views, not as management statements, and the reverse. When a\n>   source covers several companies, use only statements explicitly about the target; do not say\n>   the target is affected by or named in an industry development unless the source names it.\n\n## Required MCP server\n\n`Moodys MCP server` — tools used: `findEntity`, `getEntityPeers`, `getEntityRatings`,\n`getEntityProfile`, `getEntitySectorOutlook`, `getEntityManagersDirectors_v2`,\n`getEntitySubsidiaries`, `getEntityCountryProfile`, `getEntitySegmentFinancials`,\n`getEntityFinancials_v2`, `getCreditOpinion`, `getEntityEsg`, `getEntityProbabilityOfDefault`,\n`searchEntityDocuments`, `searchCompanyFilings`, `searchNews`,\n`searchPrecisReports`, `searchAllDocuments`, `currencyConverter`, `calculator`.\n\nIf any of the tools required for a section do not exist, inform the user: One or more tools required for this section are not available under your current subscription. Unlock more of the expert insights, data, and analytics you trust. Get Link:https://www.moodys.com/web/en/us/capabilities/gen-ai/ai-ready-data.html with us to learn more. \n\n> Tool-name notes: use the **`_v2`** versions of `getEntityFinancials_v2` and\n> `getEntityManagersDirectors_v2` (the un-suffixed `getEntityFinancials` and\n> `getEntityManagersDirectors` are no longer used). Most tools take `orgId`;\n> `getEntitySegmentFinancials` takes `entities: [{ entityId }]`. ESG scores (CIS, E, S, G) come\n> from `getCreditOpinion` via the `ESGConsiderations` section, supplemented by `getEntityEsg`.\n> Earnings call materials are no longer retrieved with a separate `searchEntityEarningsCall`\n> tool — `searchCompanyFilings` now covers both company filings (10-K/20-F, interim reports) and\n> earnings call materials, so every earnings-call query below uses `searchCompanyFilings`\n> (`{ orgId, query }`).\n\n## Bundled files\n\n- `assets/template.html` — self-contained static report shell: all CSS (including the cover,\n  table of contents, section, outlook-badge, credit-box, executive-mosaic, and pie-legend\n  styles), a hardcoded 10-entry table of contents plus a Citations entry, pre-shaped tables\n  with element IDs, and empty targets (containers, `<tbody>`, `<ul>`, `<div>`) for variable\n  content. Treat this file as the **read-only structural reference**: read it, fill it in\n  mentally, and emit the complete filled document in the final response.\n- `evals/evals.json` — evaluation prompts and assertions for this skill.\n\n## Template\n\nRead `assets/template.html` once before emitting. The document chrome (head boilerplate, cover,\ntable of contents, section block, footer, outlook-badge, design tokens, and reset) is **already\ninlined** in that file using the `cover-left`/`cover-top` split-panel cover. Copy it verbatim;\ndo not re-define or restyle any of it, and do not emit inline `style=\"...\"` overrides on\noutlook badges.\n\nSkill-specific CSS that lives in the template: `table.data-table`, `table.fin-table`,\n`.chart-container` (`margin: 28px 0 20px; text-align: center;` — the larger top margin keeps\nchart titles from visually merging with the preceding heading), `.pie-legend`,\n`.credit-boxes-grid` / `.credit-box*`, and `.exec-mosaic` / `.exec-card`. Body font size is\n`12.5px` and `.page` is `max-width: 920px`.\n\n**Outlook badges** use the canonical pastel variant — pastel background + colored text with the\nfive class variants `stable` / `positive` / `negative` / `review` / `na`. The `--green`,\n`--red`, `--amber` custom properties do not exist and must not be referenced anywhere in the\nemitted HTML (use `--positive`, `--negative`, `--neutral`).\n\n## Citations (shared)\n\nBefore emitting any `[n]` reference inline, any per-section recap block, or the end-of-document\nCitations block, **read both**:\n1. [`skills/shared/citations/SKILL.md`](../shared/citations/SKILL.md) — authoring rules\n   (numbering, hyperlinking, source data shape, carve-outs).\n2. [`skills/shared/citations/assets/template.html`](../shared/citations/assets/template.html) —\n   canonical CSS (inside `<style id=\"shared-citations-css\">`) and literal HTML markup snippets\n   (inside `<template>` tags) for inline references, the end-of-document Citations block, and\n   the optional `.section-citations` recap.\n\nAt emit time, copy the **contents** (not the wrapper) of `<style id=\"shared-citations-css\">`\nfrom the shared asset into the template's reserved marker region, located inside\n`assets/template.html` between the CSS-comment markers\n`/* BEGIN shared-citations-css … */` and `/* END shared-citations-css */`. The template does not\ncarry duplicated citation CSS — those rules ship only in the shared asset. (The small\n`.sources-section` / `.sources-heading` wrapper styles are local to the template.)\n\nSkill-specific carve-out: **never put citation markup inside data cells** (financial,\nkey-indicators, rating, risk, or ESG tables, or the executive mosaic cards and chart legends).\nThe prefix used for the end-of-document container in this skill is `pib`, so the container id is\n`#pib-sources`. Per-section recap blocks live in `#pib-cite-a` … `#pib-cite-j`, mapped\none-to-one to the ten report sections in document order:\n\n| Letter | Section                                          |\n|--------|--------------------------------------------------|\n| `a`    | 1. Company Overview                              |\n| `b`    | 2. Business Segments and Operations              |\n| `c`    | 3. Historical Financials                         |\n| `d`    | 4. Peer Comparison and Competitive Landscape     |\n| `e`    | 5. Industry Overview and Trends                  |\n| `f`    | 6. Strategic Developments                        |\n| `g`    | 7. Management and Governance                     |\n| `h`    | 8. Credit Profile                                |\n| `i`    | 9. Risks and Challenges                          |\n| `j`    | 10. ESG Profile                                  |\n\nEach `#pib-cite-{x}` should be filled with a single `<div class=\"section-citations\">…</div>`\nrecap as defined in the shared skill (`.cite-label` \"Citations\" pill plus one `.cite-item` per\nsource referenced in that section). The recap re-uses the same global `[n]` numbering as the\ninline references and `#pib-sources` — it never starts a new sequence. If a section has no\ninline citations, leave the corresponding `#pib-cite-{x}` empty.\n\n## Parameters\n\nThe user should provide:\n- **Company Name** (required) — target company. Resolution also needs peers and filings.\n- **Currency** (optional, defaults to USD) — currency for financial figures. If it is not USD,\n  convert monetary values with `currencyConverter` before populating the report.\n\n---\n\n## Step 1 — Resolve the target company and peers\n\n**Target entity.**\n- If a `preferredOrgId` is present in the request/context, use it directly as the target's\n  `orgId` for all downstream calls and do **not** call `findEntity`. `preferredOrgId` always\n  references the rated parent entity and takes precedence over any `orgId`, `orbisId`, or\n  `bvdId` also present.\n- Otherwise call `findEntity` with the company name and store the canonical `entityId`\n  (orbisId / bvdId), `orgName`, `orgId`, and `ticker`.\n\n**Validate against ratings.** Call `getEntityRatings` with the resolved `orgId`. If it returns\nno ratings **and** the context indicates the company is rated (`isUnrated: false`), treat the\nresolved entity as a subsidiary rather than the rated parent and re-resolve using\n`preferredOrgId`; keep a note of which `orgId` was ultimately used and why. If it returns\nratings, or the company is unrated/unspecified, proceed as-is.\n\n**Peers.**\n- If the request/context supplies a non-empty `peers` list, use those peers directly without\n  calling `getEntityPeers` (this path does not depend on the resolved `orgId`, so it can run in\n  parallel with the ratings validation).\n- Otherwise wait for the validation above, then call `getEntityPeers` for the target (using the\n  resolved `orgId`) to get up to 3 peers, and call `findEntity` for each peer to resolve their\n  `entityId` / `orgId`.\n- **Like-for-like check.** Validate the target's and each peer's organizational lineage and\n  specialization (e.g. with `getEntityProfile`) so the peer set is at the same entity level:\n  parent/holding-company peers for a parent target, subsidiary/operating-bank peers for a\n  subsidiary target. Do not treat an operating subsidiary as a direct peer to a parent entity;\n  when a returned peer is a subsidiary but the target is a parent, use the appropriate\n  parent/ultimate-parent peer instead or exclude that peer.\n\nKeep `orgName`, `orgId`, `entityId`, `ticker`, domicile, and sector for the target and each peer\nin working notes — every later step uses them.\n\n---\n\n## Step 2 — Read the template\n\nRead `assets/template.html` (relative to this skill directory) once. Keep its exact structure —\nCSS, `<head>`, hardcoded TOC, section order, table skeletons, row labels, and element IDs — as\nthe scaffold for the final artifact. Do **not** copy it to the workspace and do **not** open it.\n\n---\n\n## Step 3 — Gather all data in parallel\n\nFire ALL of the following in a **single parallel batch**. This is the heaviest step — launch\neverything at once. Only call peer tools for peers that exist; skip missing peers. Replace\n`{Company}` with the target's canonical `orgName`.\n\n### For the target company\n\n| Tool Call | Purpose |\n|-----------|---------|\n| `getEntityProfile` `{ orgId }` | Entity profile, headquarters, description, sector |\n| `getEntitySectorOutlook` `{ orgId }` | Sector outlook for the Industry section |\n| `getEntityManagersDirectors_v2` `{ orgId }` | Names and roles of current managers and directors (executive mosaic + Management & Governance) |\n| `getEntitySubsidiaries` `{ orgId }` | Material subsidiaries for Business Segments |\n| `getEntityCountryProfile` `{ orgId }` | Country/domicile risk context |\n| `getEntitySegmentFinancials` `{ entities: [{ entityId }] }` | Per-segment revenue/profit/asset breakdown — **PRIMARY and required source for segment revenue** (list + pie chart) |\n| `getEntityFinancials_v2` `{ orgId }` | Primary source for historical financials (3 full fiscal years + LTM) and key-indicator metrics |\n| `getEntityRatings` `{ orgId }` | Current rating, outlook, historical ratings |\n| `getEntityEsg` `{ orgId }` | ESG scores, supplementing `getCreditOpinion` `ESGConsiderations` |\n| `getEntityProbabilityOfDefault` `{ orgId }` | PD scores for the Credit Profile section |\n| `getCreditOpinion` `{ orgId, sections: [Profile, Summary, CreditStrengths, CreditChallenges, FactorsLeadingToUpgrade, FactorsLeadingToDowngrade, KeyIndicatorsTable, ScorecardTable, ESGConsiderations] }` | Credit profile, strengths/challenges, upgrade/downgrade factors, ESG |\n| `searchEntityDocuments` with \"Credit Opinion\" | Credit opinion documents |\n| `searchEntityDocuments` with \"Business units, Segment Revenue, Profile, Segments, Revenue Drivers\" | Business segment data |\n| `searchEntityDocuments` with \"Risk factors, competitive pressures, market volatility, regulatory compliance, litigation\" | Risk analysis |\n| `searchEntityDocuments` with \"Leverage, Debt, Liquidity, Credit Facilities, Coverage, Ratings, Outlook\" | Credit profile data |\n| `searchCompanyFilings` with \"long-term debt maturities schedule obligations\" | Debt maturity schedule for the Credit Profile chart (**required**) |\n| `searchCompanyFilings` (earnings call materials) with \"Target Market, Services, Products, Mission, Vision, Markets, Geographies, Revenue\" | Company overview from earnings call |\n| `searchCompanyFilings` (earnings call materials) with \"Business units, Segment Revenue, Drivers, Revenue Drivers, Earnings\" | Business segments from earnings call |\n| `searchCompanyFilings` (earnings call materials) with \"revenue guidance earnings highlights performance drivers\" | Earnings call highlights for Historical Financials |\n| `searchCompanyFilings` (earnings call materials) with \"Market Size, Growth Rate, Demand, Competition, Market Share, Regulation, Trends\" | Industry analysis |\n| `searchCompanyFilings` (earnings call materials) with \"merger, acquisitions, strategic developments, alliances, partnerships\" | Strategic developments |\n| `searchCompanyFilings` (earnings call materials) with \"Risk factors, competitive pressures, market volatility, economic uncertainty\" | Risks from earnings call |\n| `searchNews` with \"{Company} Market, Industry Overview and Trends\" | Industry news |\n| `searchNews` with \"{Company} merger, acquisitions, strategic developments\" | M&A news |\n| `searchNews` with \"{Company} Management, governance, leadership\" | Management news |\n| `searchNews` with \"{Company} risk factors regulatory challenges litigation\" | Risk-related news |\n| `searchNews` with \"{Company} competitive landscape peers comparison\" | Competitive context for Peer Comparison |\n| `searchPrecisReports` with \"{Company}\" | Moody's Précis reports |\n| `searchAllDocuments` with \"{Company} credit\" | Cross-document supplementary research |\n\n### For each peer (up to 3 peers)\n\n| Tool Call | Purpose |\n|-----------|---------|\n| `getCreditOpinion` `{ orgId, sections: [Profile, KeyIndicatorsTable, CreditStrengths, CreditChallenges, FactorsLeadingToUpgrade, FactorsLeadingToDowngrade, ScorecardTable, ESGConsiderations] }` | Peer description, comparison data + ESG |\n| `getEntityProfile` `{ orgId }` | Peer profile |\n| `getEntityFinancials_v2` `{ orgId }` | Peer financial data for the Key Indicators table |\n| `getEntityRatings` `{ orgId }` | Peer ratings |\n| `getEntityEsg` `{ orgId }` | Peer ESG scores |\n\nIf the currency is not USD, use `currencyConverter` to convert values. Use `calculator` for\nYoY% computations and chart geometry (if no `calculator` tool is available, use bash or Python —\nnever compute these mentally).\n\n---\n\n## Step 4 — Synthesize + emit the complete artifact\n\nUse Moody's internal research as the **primary foundation**. Earnings call data and news\nsupplement. Write in professional credit-research language with numbered citation references\ninline in narrative text. The exact inline markup, the URL-less fallback, and the rule that\n`n` matches the row position of the source inside `#pib-sources` are defined in\n[skills/shared/citations/SKILL.md](../shared/citations/SKILL.md) — read it before authoring\nany `[n]` reference. Inline `[n]` references go in narrative HTML only, never inside table cells.\n\nAfter data is gathered, produce **one** final assistant message. The message contains:\n\n1. A one-line summary sentence (e.g. `Issuer Brief for {Target Company}:`).\n2. A single fenced ` ```html ` code block containing the **entire filled\n   `template.html` document** — with every element from the streaming protocol populated in\n   place. No partial documents, no separate code blocks per section.\n\nThe code block **must**:\n\n- Start at column 0 with ` ```html ` and end with a closing ` ``` ` on its own line.\n- Contain a complete, standalone HTML document (doctype → `</html>`) that renders without\n  external dependencies.\n- Preserve the template's `<head>` (CSS, fonts), hardcoded TOC, section order, table\n  skeletons, and element IDs exactly. Only the empty targets defined below are populated.\n\nRender order of content inside the code block follows the page top-to-bottom so the artifact\nis human-readable as well as browser-renderable.\n\n### Cover + footer\n\n- `#pib-cover-company` — plain text, canonical target name.\n- `#pib-company` — plain text target name.\n- `#pib-date` — report date in `Month DD, YYYY` form, e.g. `April 15, 2026`.\n- `#pib-footer-date` — same date string.\n\n### Section 1 — Company Overview\n\n- `#pib-overview` — **2–3 paragraphs** in `<p>…</p>` covering: (1) opening statement of\n  significance, founding info, headquarters, and core business; (2) industry position, key\n  products/services, and target markets; (3) financial overview snapshot (revenue, margins, key\n  metrics) and strategic priorities. No bullet points, no bold text in the body. Use hyperlinked\n  inline citations per the shared citations skill.\n\n### Section 2 — Business Segments and Operations\n\nRevenue per segment **must be sourced exclusively from `getEntitySegmentFinancials`**. Do **not**\nuse earnings call data, filings, or Moody's estimates for segment revenue figures.\n\n- `#pib-segments-intro` — one introductory paragraph in `<p>…</p>`.\n- `#pib-segments-chart` — revenue-by-segment **pie chart** (see \"Segment Revenue Pie Chart\"\n  below), or empty if a usable breakdown isn't available.\n- `#pib-segments-list` — one `<li>` per segment. Each `<li>` contains a\n  `<strong>Segment Name</strong>` header followed by **one paragraph** of prose describing the\n  segment's business activities, key products/services, end markets, and revenue contribution.\n  Revenue figures cited must match the `getEntitySegmentFinancials` data used in the pie chart.\n  Structure: `<li><strong>Segment Name</strong><p>Description paragraph with revenue\n  context…</p></li>`.\n- `#pib-segments-outro` — one closing paragraph in `<p>…</p>`.\n\n### Section 3 — Historical Financials\n\n**ALL numeric values in the financial table MUST be populated exclusively from data returned by\nthe `getEntityFinancials_v2` MCP tool.** Do not supplement or override table cells with figures\nfrom earnings calls, credit opinions, news, or any other source. If a value is not available in\n`getEntityFinancials_v2`, write `\"--\"` in that cell.\n\n**Columns.** Annual columns are limited to exactly 3 full fiscal years (oldest → most recent).\nInclude a single YoY% column calculated **only between the last two fully completed years**\n(FY−1 vs FY), and an LTM column. The layout runs left to right as: line items | FY−2 | FY−1 | FY\n| YoY% (FY vs FY−1) | LTM.\n\n- `#pib-fin-col-1` … `#pib-fin-col-5` — plain-text period labels. Canonical order: FY−2, FY−1,\n  FY, YoY% (FY vs FY−1), LTM (adapt labels to actual fiscal years, e.g. `2022`, `2023`, `2024`,\n  `YoY%`, `LTM`). Leave `#pib-fin-col-6`, `#pib-fin-col-7`, `#pib-fin-col-8` empty.\n- YoY% = `(FY value − FY−1 value) / |FY−1 value| × 100`, formatted as `+4.2%` or `−3.1%`. Write\n  `\"--\"` when the value is zero or unavailable.\n- Values are in millions (except ratios/percentages, which are unitless or `%`).\n\n**Rows.** `#pib-fin-tbody` is populated with literal `<tr>` markup assembled from the candidate\nlist below, **in this display order**, after applying the omission rule:\n\n| Row | Metric |\n|-----|--------|\n| 1 | Revenues (net sales) |\n| 2 | Gross profit |\n| 3 | SG&A |\n| 4 | Operating expenses |\n| 5 | Net income |\n| 6 | EBITDA |\n| 7 | FCF |\n| 8 | CAPEX |\n| 9 | Share repurchased |\n| 10 | Dividends |\n| 11 | Cash Flow from operations |\n| 12 | Taxes |\n| 13 | Cash & Equivalents |\n| 14 | Total debt |\n| 15 | Net debt |\n| 16 | Total Debt/EBITDA |\n| 17 | Net Debt/EBITDA |\n| 18 | ROE |\n| 19 | EPS |\n\nFormat each row exactly as:\n`<tr><td class=\"row-label\">Metric Name</td><td>col1</td><td>col2</td><td>col3</td><td>col4 (YoY%)</td><td>col5 (LTM)</td><td></td><td></td><td></td></tr>`\n— 8 data `<td>` cells per row (matching `#pib-fin-col-1`–`#pib-fin-col-8`), the last three always\nempty. No citation markup inside table cells.\n\n**Omitting blank / all-zero rows.** After computing a row's values, check columns 1, 2, 3, and 5\nonly (the actual reported values — column 4 is a derived growth rate, not an independent data\npoint). If **every one** of those four values is blank, `\"--\"`, empty, or numerically zero\n(`0`, `0.0`, `$0`, `-0`, …), **omit that row entirely** — do not emit a `<tr>` for it, not even\nwith `\"--\"` placeholders. If **at least one** is a genuine non-zero, non-blank number, include\nthe row and use `\"--\"` only for the individually unavailable cells.\n\nNarrative:\n\n- `#pib-fin-summary` — one dense 6–8 sentence paragraph in `<p>…</p>` integrating revenue,\n  EBITDA margin, leverage, cash flow, and key operational metrics.\n- `#pib-fin-highlights` — `<ul><li>…</li></ul>` bullet points covering headline results vs\n  guidance, performance drivers, updated guidance, and strategic commentary (only where the\n  earnings-call results actually contain such content).\n- `#pib-fin-analysis` — HTML with subsection headers and dense analytical bullets organised by\n  Revenue & End-Market Performance, Profitability & Margins, Leverage & Liquidity. Use\n  `<strong class=\"subsection-title\">…</strong>` for each sub-heading, followed by\n  `<ul><li>…</li></ul>`.\n\n**Comparison wording rule** (applies to the summary, highlights, and analysis): before writing\nany comparison of a metric across periods or against an average (e.g. ROE vs a prior year,\n\"pre-20XX levels\", \"long-run average\"), compute the actual difference from the\n`getEntityFinancials_v2` values and make the wording match the size of the gap — \"in line with\",\n\"roughly flat\", or \"slightly above/below\" for small gaps (under about 1 percentage point for\nratios or under about 5% relative for amounts); reserve \"well above\", \"significantly\", or\n\"sharply\" for large gaps. A comparison against a range of periods or an average must hold for\nevery period in that range; otherwise name the specific periods or drop the claim. When in\ndoubt, state the two numbers without an adjective.\n\n**Reconcile before attributing.** When explaining a change in profit, net income, or margin\nfrom `getEntityFinancials_v2`, compare the **absolute** period-over-period change of each\ncomponent between revenue and the bottom line (operating expenses, impairment/provision charges,\nother/non-operating income, unusual/non-recurring items, taxes), check adjusted-vs-reported\ndifferences and any gap between operating margin and EBITDA/EBITA margin, and attribute the\nchange to the components that actually account for it. Never conclude \"expenses outpaced revenue\"\nfrom percentage growth rates alone; if pre-provision/pre-impairment profit rose, the decline did\nnot come from expenses; if non-operating or one-time items account for the change, say so. Never\nattribute such a change to operational efficiency, and never call a result recurring or \"not\none-off\" when any source identifies a one-time or non-operating item affecting it. Historical\nfinancials analysis must include specific numbers for every claim.\n\n### Section 4 — Peer Comparison and Competitive Landscape\n\n- `#pib-peers-intro` — one short intro paragraph in `<p>…</p>`.\n- `#pib-peers-table` — one `<tr>` per company (target first), descriptions from the\n  `getCreditOpinion` Profile section (supplemented by `getEntityProfile`):\n  `<tr><td>Target Co</td><td>Description from Credit Opinion Profile…</td></tr>`. No citation\n  markup in cells.\n- `#pib-peers-rating` — one `<tr>` per company (target first):\n  `<tr><td>Target Co</td><td>Aaa</td><td><span class=\"outlook-badge stable\">Stable</span></td></tr>`.\n  See \"Ratings rules\" in Section 8.\n- `#pib-ki-header` and `#pib-ki-tbody` — the Key Indicators table (rules below).\n- `#pib-peers-conclusion` — **1–2 paragraphs** in `<p>…</p>` limited to peer comparisons\n  explicitly supported by the retrieved sources for the target and peers. Describe only\n  source-stated differences in business mix, scale, geography, ratings, or risk factors; if the\n  sources do not support a direct comparison, keep the summary neutral and descriptive rather\n  than comparative. Do not infer rankings, superiority, franchise-breadth differences, or\n  relative business/risk positioning not directly evidenced.\n\n**Key Indicators table.** All KI cells come from `getEntityFinancials_v2` only (one call per\nentity). Each row must correspond to the metric defined for it — never to a different metric\nthat happens to be available.\n\n| Row | Metric | `getEntityFinancials_v2` field |\n|-----|--------|--------------------------------|\n| 1 | Revenue | `revenue` / `totalRevenue` |\n| 2 | EBITDA | `ebitda` |\n| 3 | EBITDA Margin | computed: EBITDA / Revenue (`\"--\"` if either is unavailable) |\n| 4 | Debt/EBITDA | `debtToEbitda` |\n| 5 | Interest Coverage | `interestCoverageRatio` |\n| 6 | Total Debt | `totalDebt` |\n| 7 | Net Debt | `netDebt` |\n| 8 | Free Cash Flow | `freeCashFlow` |\n\n- **Same definition across every column.** Every value in a row must use the identical metric\n  definition for the target and all peers; similarly named variants are NOT substitutes (e.g.\n  \"Net Long-term Debt\" is not Net Debt; EBITA / Interest Expense and (EBITDA − CAPEX) / Interest\n  Expense are different coverage ratios). Check that the source line's label matches the row's\n  metric exactly. If an entity only offers a variant, compute the row's defined metric from\n  components in that same `getEntityFinancials_v2` response (e.g. Net Debt = Total Debt − Cash &\n  Equivalents) or emit `\"--\"` — never fill the cell with the variant. Sanity check: the target's\n  Net Debt in the KI table must agree with Total debt − Cash & Equivalents in your financial\n  table for the same period.\n- **Consistency.** Net Debt and all KI metrics for an entity must come from the same\n  `getEntityFinancials_v2` call — never from a credit opinion, earnings call, or other source.\n  If two calls return different Net Debt values, prefer `getEntityFinancials_v2` and use that\n  value everywhere, including narrative.\n- **Layout.** Column 1 is the target; the following columns are peers 1–3 in order. Header\n  (`#pib-ki-header`): `<th>Account Name</th><th>Company 1 Name</th>…` — one `<th>` per company\n  column that survives the omission rule. Rows (`#pib-ki-tbody`):\n  `<tr><td>Metric Name</td><td>col1 value</td>…</tr>` — one data `<td>` per surviving column in\n  header order; `\"--\"` for individually missing cells. No citation markup.\n- **Omitting blank / all-zero columns and rows.** Build the full matrix in memory (up to 4\n  company columns × the 8 rows). A cell is blank if missing, `\"--\"`, empty, or numerically zero.\n  First, drop any **company column** whose 8 values are all blank (remove its header and every\n  cell). Then, for each remaining metric row, drop the row if it is blank across the remaining\n  columns. A row or column with at least one genuine non-zero, non-blank value survives. Never\n  drop the target's column or a row just because one peer lacks that metric.\n\n### Section 5 — Industry Overview and Trends\n\n- `#pib-industry` — **exactly 3 paragraphs** in `<p>…</p>`, one per subsection, with the\n  subsection title rendered as `<strong class=\"subsection-title\">…</strong>` before the\n  paragraph text, in this order:\n  (1) **Macroeconomic Context** — macro conditions affecting the sector;\n  (2) **Industry Size and Growth** — market size, growth rates, and key demand drivers;\n  (3) **Industry Outlook and Trends** — forward-looking view, emerging trends, and regulatory\n  considerations.\n\n### Section 6 — Strategic Developments\n\n- `#pib-strategy-list` — one `<li>` per strategic development from the past 12 months (M&A,\n  partnerships, strategic shifts, capital allocation), with inline citations:\n  `<li><strong>Title</strong>: 2026-01-15 — description with citation <a href=\"…\" target=\"_blank\" class=\"cite-ref\">[3]</a>.</li>`.\n\n### Section 7 — Management and Governance\n\n- `#pib-exec-mosaic` — one `<div class=\"exec-card\">` per top executive, from\n  `getEntityManagersDirectors_v2`:\n  `<div class=\"exec-card\"><div class=\"exec-name\">Full Name</div><div class=\"exec-role\">Title/Role</div></div>`.\n  Include up to 10 of the most senior current executives (CEO, CFO, COO, other C-suite, and\n  board chair/president roles), prioritizing seniority if more than 10 are returned. If fewer\n  than 10 (or none) are available, include only what's available — do not pad with placeholders\n  or invent names. Names/titles must come from `getEntityManagersDirectors_v2` only (not\n  earnings calls, news, or estimates). No citation markup inside the cards.\n- `#pib-mgmt` — **1–2 paragraphs** in `<p>…</p>` covering leadership team experience and recent\n  leadership or governance changes, using only roles, committee memberships/chairmanships,\n  governance attributes, and management-structure details explicitly stated in\n  `getEntityManagersDirectors_v2` or another cited source. Do not infer Operating Committee\n  membership, committee chair status, director independence, or similar governance conclusions\n  from titles alone. Normal text only; no subsection headers.\n\n### Section 8 — Credit Profile\n\n- `#pib-credit-analysis` — **1–2 paragraphs** in `<p>…</p>` covering the key aspects of the debt\n  profile, leverage trends, maturity schedule, liquidity position, credit ratings, and (where\n  returned by `getEntityProbabilityOfDefault`) the PD scores.\n- `#pib-credit-chart` — one inline `<svg>` (see **Debt Maturity** template) inside\n  `<div class=\"chart-container\">`, or empty if the filing doesn't return a per-year schedule.\n- `#pib-rating-table` — one `<tr>` per rating class:\n  `<tr><td>Senior Unsecured - Fgn Curr</td><td>Aaa</td><td><span class=\"outlook-badge stable\">Stable</span></td><td>2024-11-20</td></tr>`.\n- `#pib-credit-strengths` / `#pib-credit-challenges` / `#pib-credit-upgrade` /\n  `#pib-credit-downgrade` — each `<ul><li>…</li></ul>` with one bullet per item from\n  `getCreditOpinion` `CreditStrengths`, `CreditChallenges`, `FactorsLeadingToUpgrade`, and\n  `FactorsLeadingToDowngrade` respectively. These MUST be sourced **exclusively** from those\n  sections — do not paraphrase beyond the source or add items not present in the data.\n\n**Ratings rules** (apply to `#pib-peers-rating` and `#pib-rating-table`):\n- Use only the **current** (most recently assigned) long-term issuer rating for that exact\n  entity from `getEntityRatings` (`currentRating` field, or the first/most-recent entry in the\n  ratings history). Never use a historical rating that has since been superseded.\n- `#pib-rating-table` includes only current ratings/assessments explicitly assigned to that same\n  legal entity. Do **not** include subsidiary or affiliate ratings/assessments (e.g. deposit\n  ratings, BCAs, other bank-only measures) in a parent-company table unless the source\n  explicitly assigns them to the parent itself, and do not use a subsidiary-bank BCA/LGF\n  rationale to explain a parent issuer rating unless the source says it applies to the parent.\n- If `getEntityRatings` and `getCreditOpinion` return conflicting current ratings for the same\n  entity, `getEntityRatings` is authoritative.\n\n### Section 9 — Risks and Challenges\n\n- `#pib-risks-narrative` — **1–2 paragraphs** in `<p>…</p>` summarising the current key risks\n  and challenges facing the company, spanning market/competitive, operational, regulatory, and\n  technology dimensions. Each sentence must stay within what its cited source actually says — do\n  not broaden scope (adding actors, geographies, or causes the source doesn't mention) or merge\n  wording from unrelated passages into one claim.\n- `#pib-risk-table` — up to 7 `<tr>`s covering distinct risk categories, but include a row only\n  for a risk that the retrieved tool results actually raise — never pad to reach a row count,\n  and omit categories (e.g. litigation, regulatory) for which searches returned nothing:\n  `<tr><td>Market &amp; Competitive</td><td>Description…</td><td>Impact…</td><td>Mitigation…</td></tr>`.\n  No citation markup inside cells, but every cell must still be traceable to the tool results.\n  The Mitigation cell must describe only measures, strengths, or offsets that a source\n  explicitly attributes to the issuer; if none is stated, write `Not disclosed in sources`\n  rather than supplying generic mitigants (balance-sheet strength, diversification, compliance\n  programs, governance). Never state a mitigant that contradicts the sources.\n\n### Section 10 — ESG Profile\n\n- `#pib-esg-narrative` — **three short paragraphs** in `<p>…</p>`, one per ESG dimension, each\n  preceded by `<strong class=\"subsection-title\">…</strong>`:\n  (1) **Environmental** — key environmental initiatives, risks, and performance;\n  (2) **Social** — social policies, workforce practices, and community impact;\n  (3) **Governance** — governance structure, board practices, and oversight quality.\n- `#pib-esg-r{1..3}-focus` / `#pib-esg-r{1..3}-score` — category-row cells (Environmental,\n  Social, Governance rows are pre-labelled). Focus is a short text; score is the Moody's ESG\n  score (e.g. `E-3`) from `getCreditOpinion` (`ESGConsiderations`), supplemented by\n  `getEntityEsg`. No citations inside cells.\n\n### Citations\n\n- `#pib-sources` — end-of-document Citations rows. One `<div class=\"source-item\">` per\n  source, in `[1], [2], …` order. Use the canonical row markup defined in\n  [skills/shared/citations/SKILL.md](../shared/citations/SKILL.md). Numbering must match\n  inline `[n]` references.\n\n---\n\n## Step 5 — Present the report to the user\n\n> ## ⚠️ CRITICAL — THIS STEP MUST NEVER BE SKIPPED\n>\nAfter the ` ```html ` code block, add a single short sentence confirming the artifact is\ncomplete (e.g. `Artifact rendered above — the report is fully self-contained HTML.`). Do not\nwrite the artifact to disk and do not suggest shell commands. The code block itself is the\ndeliverable.\n\nUse whatever tool is available in your current environment to present or display the final report to the user (e.g. a file presenter, inline renderer, or widget) at the end of running the skill.\n\n---\n\n## Streaming protocol (element → content)\n\n| Element ID | Content type |\n|---|---|\n| `#pib-cover-company`, `#pib-company`, `#pib-date`, `#pib-footer-date` | Plain text |\n| `#pib-overview`, `#pib-mgmt` | `<p>…</p>` paragraphs |\n| `#pib-segments-intro`, `#pib-segments-outro`, `#pib-peers-intro`, `#pib-peers-conclusion`, `#pib-fin-summary`, `#pib-credit-analysis`, `#pib-risks-narrative`, `#pib-esg-narrative`, `#pib-industry` | `<p>…</p>` paragraphs (with `<strong class=\"subsection-title\">` headers where noted) |\n| `#pib-fin-highlights`, `#pib-credit-strengths`, `#pib-credit-challenges`, `#pib-credit-upgrade`, `#pib-credit-downgrade` | `<ul><li>…</li></ul>` |\n| `#pib-fin-analysis` | Subsection headers + `<ul><li>…</li></ul>` |\n| `#pib-segments-list` | One `<li>` per segment (with `<strong>` header + prose paragraph) |\n| `#pib-strategy-list` | One `<li>` per development |\n| `#pib-exec-mosaic` | One `<div class=\"exec-card\">` per executive (up to 10) |\n| `#pib-fin-col-{1..5}` | Plain text period label (FY−2, FY−1, FY, YoY%, LTM); `#pib-fin-col-{6..8}` stay empty |\n| `#pib-fin-tbody` | One `<tr>` per surviving financial row (8 data cells each, last 3 empty) |\n| `#pib-ki-header` | `<th>` cells for surviving Key Indicators columns (leading \"Account Name\") |\n| `#pib-ki-tbody` | One `<tr>` per surviving Key Indicators row |\n| `#pib-peers-table`, `#pib-peers-rating`, `#pib-rating-table`, `#pib-risk-table` | One `<tr>…</tr>` per row |\n| `#pib-esg-r{1..3}-focus`, `#pib-esg-r{1..3}-score` | Plain text |\n| `#pib-segments-chart`, `#pib-credit-chart` | One `<div class=\"chart-container\">` with inline `<svg>` (see templates below), or empty |\n| `#pib-cite-{a..j}` | Optional per-section recap as one `<div class=\"section-citations\">…</div>` (markup defined in [skills/shared/citations/SKILL.md](../shared/citations/SKILL.md)). Empty when the corresponding section carries no inline `[n]` references. |\n| `#pib-sources` | One `<div class=\"source-item\">…</div>` per source |\n\n**Variable company/row layout**: the Key Indicators table assumes target + up to 3 peers\n(4 columns) and drops blank columns/rows per the omission rule; the financial table drops blank\nrows. If fewer than 3 peers are available, simply emit fewer columns — do not insert placeholder\ncolumns.\n\n## Reference markup snippets\n\n```html\n<!-- Financial table row (into #pib-fin-tbody) -->\n<tr><td class=\"row-label\">Total debt</td><td>1,234</td><td>1,300</td><td>1,410</td><td>+8.5%</td><td>1,450</td><td></td><td></td><td></td></tr>\n\n<!-- Key Indicators header (into #pib-ki-header) and row (into #pib-ki-tbody) -->\n<th>Account Name</th><th>Target Co</th><th>Peer 1</th>\n<tr><td>Revenue</td><td>412,300</td><td>389,100</td></tr>\n\n<!-- Peers table row (into #pib-peers-table) -->\n<tr><td>Target Co</td><td>Description from Credit Opinion Profile…</td></tr>\n\n<!-- Peers rating row (into #pib-peers-rating) -->\n<tr><td>Target Co</td><td>Aaa</td><td><span class=\"outlook-badge stable\">Stable</span></td></tr>\n\n<!-- Rating table row (into #pib-rating-table) -->\n<tr><td>Senior Unsecured - Fgn Curr</td><td>Aaa</td><td><span class=\"outlook-badge stable\">Stable</span></td><td>2024-11-20</td></tr>\n\n<!-- Risk table row (into #pib-risk-table) -->\n<tr><td>Market &amp; Competitive</td><td>Description…</td><td>Impact…</td><td>Mitigation…</td></tr>\n\n<!-- Segment bullet (into #pib-segments-list) -->\n<li><strong>iPhone</strong><p>The iPhone segment encompasses Apple's line of smartphones running iOS. It is the company's largest revenue contributor, generating $209,586.0m (50.4% of total revenue) in FY2024 as reported by getEntitySegmentFinancials. The segment benefits from strong brand loyalty, a growing services attach rate, and continued premium pricing power across global markets.</p></li>\n\n<!-- Strategy bullet (into #pib-strategy-list) -->\n<li><strong>Title</strong>: 2026-01-15 — description of the development with citation <a href=\"https://www.moodys.com/research/doc--PBC_…\" target=\"_blank\" class=\"cite-ref\">[3]</a>.</li>\n\n<!-- Executive card (into #pib-exec-mosaic) -->\n<div class=\"exec-card\"><div class=\"exec-name\">Full Name</div><div class=\"exec-role\">Chief Executive Officer</div></div>\n```\n\nFor `#pib-sources` source-item rows, use the canonical row markup defined in\n[skills/shared/citations/SKILL.md](../shared/citations/SKILL.md).\n\n## SVG chart templates\n\nEvery chart is wrapped in `<div class=\"chart-container\">…</div>` so the existing CSS applies.\nThis report has two charts: the segment revenue pie chart and the debt maturity bar chart.\n**If you do not have a calculator tool, use bash or Python to compute all geometry values before\nemitting any SVG — do not attempt to calculate them mentally.**\n\n### Segment Revenue Pie Chart (`#pib-segments-chart`)\n\nBuild the chart from the same `getEntitySegmentFinancials` response used for\n`#pib-segments-list` — use each segment's **latest available fiscal period** revenue figure (the\nmost recent period returned; do not mix periods across segments). Do not use earnings call data\nor estimates for these values.\n\n**If `getEntitySegmentFinancials` does not return a usable per-segment revenue breakdown (fewer\nthan 2 segments with a genuine non-zero revenue figure), leave `#pib-segments-chart` empty —\ndo NOT render a chart with fabricated or estimated values.**\n\nPie geometry: `cx=130`, `cy=130`, `r=110`, viewBox `0 0 260 260`. Let `total` = sum of the\nincluded segments' revenue values (drop any segment with zero/blank revenue). For segment `i`\n(0-indexed, in the same order as `#pib-segments-list`), compute `fraction_i = value_i / total`,\ncumulative start angle `a0_i` (radians, 0 = 12 o'clock, clockwise) = `2π × (sum of fractions\nbefore i)`, end angle `a1_i = a0_i + 2π × fraction_i`. Slice point `x = cx + r × sin(angle)`,\n`y = cy − r × cos(angle)`. Each slice is an SVG path:\n`M {cx},{cy} L {x(a0_i)},{y(a0_i)} A {r},{r} 0 {largeArcFlag},1 {x(a1_i)},{y(a1_i)} Z`, where\n`largeArcFlag = 1` if `fraction_i > 0.5` else `0`. Round all coordinates to 1 decimal place.\n\nFill each slice from this palette, cycling if there are more segments than colors:\n`#0066cc`, `#00205b`, `#4d94ff`, `#7a6500`, `#1a7a4a`, `#c0392b`, `#9aa0ab`, `#444c58`.\n\nAssemble as:\n\n```html\n<div class=\"chart-container\">\n  <svg viewBox=\"0 0 260 260\" width=\"320\" height=\"320\">\n    <path d=\"{slice path}\" fill=\"{COLOR}\"></path>\n    <!-- one path per slice -->\n  </svg>\n  <ul class=\"pie-legend\">\n    <li><span class=\"swatch\" style=\"background:{COLOR}\"></span>Segment Name (XX%)</li>\n    <!-- one item per slice; percentage rounded to the nearest whole number -->\n  </ul>\n</div>\n```\n\nNo citation markup inside the SVG or legend (the revenue figures are covered by the citation in\n`#pib-segments-list`).\n\n### Debt Maturity (`#pib-credit-chart`)\n\n> **⚠️ MANDATORY DATA REQUIREMENT — NO ESTIMATION PERMITTED**\n>\n> `searchCompanyFilings` **MUST** be called with a query targeting the debt maturity schedule\n> (e.g. `\"long-term debt maturities schedule obligations\"`) before this chart can be emitted.\n> This is a required tool call — it cannot be skipped, inferred from total debt figures, or\n> substituted with data from any other source.\n>\n> - **NEVER** estimate, split, distribute, or approximate maturity amounts from aggregate debt.\n> - **NEVER** construct buckets from total debt divided by assumed years.\n> - If `searchCompanyFilings` does not return an explicit per-year maturity schedule, leave\n>   `#pib-credit-chart` **empty** and omit the chart entirely. Do not render a chart with\n>   fabricated values.\n\n**Source data exclusively from `searchCompanyFilings`** (annual reports, 10-K, or debt/liquidity\nfootnotes in the filing itself) — do **not** use Moody's estimates or earnings call materials\n(even though the same tool can return them) for maturity amounts.\nBuild the chart using **future debt obligation periods** as reported in the filing's debt\nmaturity schedule. Use the actual future years (e.g. 2025, 2026, 2027, 2028, 2029, Thereafter)\nrather than generic buckets; drop any year with zero obligations before computing layout.\n\nBar chart. Constants:\n\n- `W=700`, `H=250`; padding `{top:20, right:20, bottom:60, left:70}`; plot area `cW=610`, `cH=170`.\n- Buckets: the actual future calendar years from the filing's debt maturity schedule. **Drop any\n  year whose value is 0** before computing layout. Let `N` = remaining bucket count.\n- `bw = min(cW / N × 0.6, 50)`; `gap = (cW − bw × N) / (N + 1)`.\n- `mx = max(values)`; `yPos(v) = 20 + 170 − (v / mx) × 170`.\n- Bar `x` for bucket `i` = `70 + gap × (i + 1) + bw × i`.\n- Fill bars with `#0066cc`. Emit the value above each bar as `{v}B` (centred on the bar) and the\n  label below rotated `-25°`.\n- Title `<text x=\"350\" y=\"14\" text-anchor=\"middle\" font-size=\"12\" fill=\"#00205b\" font-weight=\"700\">Debt Maturity Profile (USD-Billion)</text>`.\n\n```html\n<div class=\"chart-container\">\n  <svg width=\"700\" height=\"250\" viewBox=\"0 0 700 250\" xmlns=\"http://www.w3.org/2000/svg\">\n    <text x=\"350\" y=\"14\" text-anchor=\"middle\" font-size=\"12\" fill=\"#00205b\" font-weight=\"700\">Debt Maturity Profile (USD-Billion)</text>\n    <!-- baseline -->\n    <line x1=\"70\" y1=\"190\" x2=\"680\" y2=\"190\" stroke=\"#9aa0ab\"/>\n    <!-- per bucket: <rect> + value label + rotated x-label -->\n    <rect x=\"{bx}\" y=\"{yPos(v)}\" width=\"{bw}\" height=\"{190 − yPos(v)}\" fill=\"#0066cc\"/>\n    <text x=\"{bx + bw/2}\" y=\"{yPos(v) − 4}\" text-anchor=\"middle\" font-size=\"10\" fill=\"#444c58\">{v}B</text>\n    <text x=\"{bx + bw/2}\" y=\"210\" text-anchor=\"middle\" font-size=\"10\" fill=\"#444c58\" transform=\"rotate(-25 {bx + bw/2} 210)\">{label}</text>\n  </svg>\n</div>\n```\n\n## Class-selection rules\n\n- `outlook-badge` variants: `stable` / `positive` / `negative` / `review` / `na` (canonical\n  pastel set defined in the template). Map by outlook text, as returned by `getEntityRatings`:\n  `Stable → stable`, `Positive → positive`, `Negative → negative`,\n  `Review for Upgrade` / `Review for Downgrade` / `RUR` → `review`. If the outlook is missing\n  or unknown, use `na` (renders as muted gray) — do not default to `stable`.\n- `subsection-title` on a `<strong>` is the canonical way to render a sub-heading inside a\n  `section-content` block (the three Industry sub-topics, the three Financial Analysis\n  sub-topics, the three ESG dimensions).\n\n## Tips\n\n- Run ALL research searches in a single parallel batch to minimize latency.\n- **No estimated or approximated numbers anywhere in the report.** Every figure in tables,\n  charts, and prose must come directly from a tool response. If a value is not available from\n  the data gathered, use `\"--\"`. Never use `~`, `approx.`, or any similar qualifier. See the\n  CRITICAL no-estimation block above for full rules.\n- **`searchCompanyFilings` is a required call** for the debt-maturity chart, and\n  **`getEntitySegmentFinancials` is a required call** for the segment revenue list and pie chart.\n  If either does not return the required per-year schedule or segment breakdown, leave the chart\n  container empty rather than fabricate values.\n- Always order the target company first, then peers, in any table or list that lists multiple\n  companies (Key Indicators table, peers table, peers rating table).\n- Financial table and Key Indicators table values are in millions (except ratios/percentages,\n  which are unitless or `%`); use `\"--\"` for individually unavailable cells. Drop rows/columns\n  that are blank or all-zero across their whole span per the omission rules — do not leave empty\n  placeholder rows.\n- Net Debt (and every KI metric) must agree between the financial table, the Key Indicators\n  table, and any narrative — all from `getEntityFinancials_v2`.\n- Emit each chart SVG directly into its container inside the artifact — the template does not\n  render charts at load time. Use the reference templates + palette above.\n- The segment pie chart (`#pib-segments-chart`) goes between `#pib-segments-intro` and\n  `#pib-segments-list` in Section 2. Revenue data must match `getEntitySegmentFinancials`.\n- For the debt-maturity chart, source future obligation amounts from `searchCompanyFilings` and\n  use actual calendar years as x-axis labels. Drop any year whose value is 0 (do **not** emit a\n  `<rect>` for it). Filter buckets before computing bar positions.\n- The report has no share-price, market-valuation, or \"Company Metrics\" section, and no KPI\n  strip, rating-timeline, Porter's, or strategy-timeline graphics. Do not emit elements for them.\n- Citation references `[n]` are used inline throughout narrative text per\n  [skills/shared/citations/SKILL.md](../shared/citations/SKILL.md). Never put citation markup\n  inside table cells (financial / key-indicators / rating / risk / ESG), executive cards, or\n  chart legends.\n- Each section carries an optional per-section recap target `#pib-cite-{a..j}` (one per\n  section, in order). Fill it with a single `<div class=\"section-citations\">…</div>` block\n  listing only the `[n]` numbers referenced in that section. The recap re-uses global numbering\n  and never starts a new sequence; if the section has no citations, leave the target empty.\n- Pre-filled row-label cells and static table headers in `template.html` are copied verbatim\n  into the artifact; only the empty data cells and variable-row `<tbody>`/`<ul>`/`<div>`\n  targets are filled.\n- The final response must contain **exactly one** ` ```html ` fenced block — the complete\n  document. Do not split sections across multiple code blocks and do not emit the artifact to\n  disk.\n"},"changes":[{"path":"/description","type":"changed","before":"Produce a comprehensive Issuer Brief HTML report for a company using Moody's GenAI MCP tools. Use this skill whenever the user asks to create an Issuer Brief, company profile report, credit memo, investment book, or comprehensive company analysis. Also trigger when they ask for a report combining company overview, financials, peer comparison, industry overview, strategic developments, management, credit profile, risks, and ESG into a single document. Trigger even if they just name a company and say \"Issuer Brief\", \"info book\", \"company book\", \"credit book\", or \"full company report\".","after":"Produce a comprehensive Issuer Brief HTML report for a company using Moody's GenAI MCP tools. Use this skill whenever the user asks to create an Issuer Brief, company profile report, credit memo, investment book, or comprehensive company analysis. Also trigger when they ask for a report combining company overview, financials, peer comparison, industry overview, strategic developments, management, credit profile, risks, and ESG into a single document. Trigger even if they just name a company and say \"Issuer Brief\", \"info book\", \"company book\", \"credit book\", or \"full company report\".\n"},{"path":"/included_files","type":"changed","before":[{"relative_path":"__MACOSX/._SKILL.md","size_in_bytes":163},{"relative_path":"__MACOSX/._assets","size_in_bytes":163},{"relative_path":"__MACOSX/._evals","size_in_bytes":163},{"relative_path":"__MACOSX/._references","size_in_bytes":163},{"relative_path":"__MACOSX/assets/._template.html","size_in_bytes":163},{"relative_path":"__MACOSX/evals/._evals.json","size_in_bytes":163},{"relative_path":"__MACOSX/references/._report-spec.md","size_in_bytes":163},{"relative_path":"__MACOSX/references/._shared-citations.md","size_in_bytes":163},{"relative_path":"__MACOSX/references/._shared-template.md","size_in_bytes":163},{"relative_path":"assets/template.html","size_in_bytes":28606},{"relative_path":"evals/evals.json","size_in_bytes":4423},{"relative_path":"references/report-spec.md","size_in_bytes":27721},{"relative_path":"references/shared-citations.md","size_in_bytes":5814},{"relative_path":"references/shared-template.md","size_in_bytes":8111}],"after":[{"relative_path":"agents/openai.yaml","size_in_bytes":577},{"relative_path":"assets/icon.png","size_in_bytes":1753},{"relative_path":"assets/template.html","size_in_bytes":15947},{"relative_path":"evals/evals.json","size_in_bytes":4248}]},{"path":"/skill_md_contents","type":"changed","before":"---\nname: issuer-brief\ndescription: >\n  Produce a comprehensive Issuer Brief HTML report for a company using Moody's\n  GenAI MCP tools. Use this skill whenever the user asks to create an Issuer Brief,\n  company profile report, credit memo, investment book, or comprehensive company analysis. Also\n  trigger when they ask for a report combining company overview, financials, peer comparison,\n  industry overview, strategic developments, management, credit profile, risks, and ESG into a\n  single document. Trigger even if they just name a company and say \"Issuer Brief\", \"info book\", \"company\n  book\", \"credit book\", or \"full company report\".\n---\n\n# Issuer Brief Skill\n\nGenerates a professional HTML report (styled like a Moody's Issuer Brief) for a\ntarget company. The report consolidates data from multiple Moody's MCP tools, annual/quarterly\nreports, earnings calls, and news into 11 structured sections plus a pre-rendered table of\ncontents. Section 4 is titled \"Company Metrics\" (formerly \"Share Price Performance and Valuation\").\n\nThe workflow is **single-artifact delivery**: gather all data, then write the entire filled\nHTML document to a single `.html` file in `/mnt/user-data/outputs/` and actively render it to\nthe user with **both** `present_files` and `visualize:show_widget`. The rendered HTML artifact\nis the deliverable — writing the file without rendering it is a failed run.\n\n> ## ⚠️ CRITICAL — NON-NEGOTIABLE OUTPUT CONTRACT\n>\n> **The LLM MUST deliver the final report as a single standalone HTML artifact file that it\n> then actively renders on screen.** Creating the file is only half the job — a file that is\n> written but never surfaced is a failed run, and is the single most common failure mode for\n> this skill. Specifically:\n>\n> - The LLM **MUST** write the **complete, standalone HTML document** (`<!doctype html>` →\n>   `</html>`), with every section from the streaming protocol populated inline, to a single\n>   `.html` file in `/mnt/user-data/outputs/` using the `create_file` tool.\n> - The LLM **MUST** then render that file with **both** display tools — `present_files`\n>   **and** `visualize:show_widget` — before ending its turn. Firing both renderers is what\n>   guarantees the report always appears even if one tool is unavailable.\n> - The LLM **MUST NOT** end its turn after `create_file` without having called the display tools.\n> - The LLM **MUST NOT** emit the report inline as a fenced ` ```html ` code block, as prose,\n>   Markdown, JSON, attachments, or links. The rendered HTML artifact itself is the answer.\n> - The LLM **MUST NOT** split the report across multiple files, multiple messages, partial\n>   snippets, or summaries.\n> - If data gathering fails partially, still produce the single HTML artifact file with the\n>   best-available content and `\"--\"` placeholders for missing cells — never skip the artifact\n>   or the render step.\n>\n> Treat any other output shape as a hard failure of the skill.\n\n> ## ⚠️ CRITICAL — NO ESTIMATED OR APPROXIMATED NUMBERS ALLOWED\n>\n> **Every numeric value in the report — in tables, charts, KPI cards, prose, and SVGs — MUST\n> come directly from a Moody's MCP tool response or a company filing retrieved via\n> `searchCompanyFilings`.** Estimation, approximation, interpolation, and inference from\n> indirect sources are strictly forbidden. Specifically:\n>\n> - **NEVER** write `~`, `approx.`, `estimated`, or any similar qualifier next to a number.\n>   If the exact figure is unavailable from the data gathered, use `\"--\"` instead.\n> - **NEVER** derive a number by splitting, distributing, or back-calculating from an aggregate\n>   (e.g. do not allocate total debt across maturity buckets by assumption).\n> - **NEVER** invent segment revenue, EPS, FCF, ROE, debt maturity amounts, or any other\n>   metric that was not explicitly returned by a tool call.\n> - **Charts are not exempt**: every bar height, data point, and label in every SVG chart\n>   (KPI scorecard, rating timeline, segment revenue bar, debt maturity bar) must map 1-to-1\n>   to a value returned by a tool. If tool data is insufficient to build a chart accurately,\n>   omit the chart and leave the container empty rather than render fabricated values.\n> - **Peer data is not exempt**: only populate peer columns with values explicitly returned\n>   by `getCreditOpinion`, `getEntityFinancials_v2`, or `getEntityRatings` for that peer.\n>\n> Treat any estimated or approximated number in the emitted report as a hard failure of the skill.\n\n## Required MCP server\n\n`Moodys MCP server` — tools used: `findEntity`, `getEntityPeers`, `getEntityRatings`,\n`getCreditOpinion`, `getEntitySectorOutlook`, `searchAllDocuments`,\n`searchEntityEarningsCall`, `searchNews`, `getEntityFinancials_v2`, `getEntityManagersDirectors`,\n`searchCompanyFilings`.\n\nIf any of the tools required for a section do not exist, inform the user: One or more tools required for this section are not available under your current subscription. Unlock more of the expert insights, data, and analytics you trust. Get Link:https://www.moodys.com/web/en/us/capabilities/gen-ai/ai-ready-data.html with us to learn more. \n\n> ESG data (CIS, E, S, G) comes from `getCreditOpinion` via the `ESGConsiderations` section.\n\n## Bundled files\n\n- `assets/template.html` — self-contained static report shell: CSS, layout, a hardcoded 11-entry\n  table of contents, pre-shaped tables (financial / 5 valuation / key-indicators / ESG-score)\n  with cell-level IDs, and empty targets (containers, `<tbody>`, `<ul>`, `<div>`) for variable\n  content. Treat this file as the **read-only structural reference**: read it, fill it in\n  mentally, and emit the complete filled document in the final response.\n\n## Shared chrome & citations\n\nBefore emitting, read [`references/shared-template.md`](references/shared-template.md) (page\nchrome: cover, TOC, section block, sources-section wrapper, footer, outlook-badge, design\ntokens) and [`references/shared-citations.md`](references/shared-citations.md) (citation\nnumbering, hyperlinking, source data shape, markup snippets). Both are **authoritative** — do\nnot invent, duplicate, or restyle anything they already define. The canonical CSS is already\ninlined in `assets/template.html` between the `/* BEGIN/END shared-template-css */` and\n`/* BEGIN/END shared-citations-css */` markers; never re-copy it at emit time.\n\nThe rest of this section is the skill-specific binding.\n\nThis skill uses the **`cover-simple`** variant. Skill-specific overrides retained above the\nmarker region: `**body { font-size: 12.5px }**` (PIB renders denser financial tables than the\n13px canonical default) and `**.page { max-width: 920px }**` (slightly wider than the 900px\ncanonical default). Skill-specific CSS that stays local: `table.data-table`, `table.fin-table`,\nand the PIB chart helper (`.chart-container` PIB variant — centered, no background).\n\n**Chart spacing rule:** Every `.chart-container` must have `margin-top: 28px` (increased from the\ntemplate default of 16px) so that visualization titles do not visually merge with the preceding\nsection or subsection headings. When emitting the final HTML, ensure the `.chart-container` CSS\nrule reads `.chart-container { margin: 28px 0 20px; text-align: center; }` — update the value\nin the `<style>` block if it differs from the template default.\n\n**Outlook-badge migration.** PIB previously shipped a solid-fill `.outlook-badge` styling\n(white text on solid `--green` / `--red` / `--amber` / `--accent` backgrounds) inside its own\ntemplate. That carve-out has been **removed**. PIB now inherits the canonical pastel variant\nfrom the shared skill — pastel background + colored text, with the same five class variants\n(`stable` / `positive` / `negative` / `review` / `na`) used everywhere else. Do not re-define\n`.outlook-badge` rules locally and do not emit inline `style=\"...\"` overrides on outlook\nbadges. The `--green`, `--red`, `--amber` custom properties are no longer present and must not\nbe referenced anywhere in the emitted HTML.\n\nSkill-specific carve-out: **never put citation markup inside data cells** (financial,\nvaluation, key-indicators, rating, risk, or ESG tables). The prefix used for the\nend-of-document container in this skill is `pib`, so the container id is `#pib-sources`.\nPer-section recap blocks live in `#pib-cite-a` … `#pib-cite-k`, mapped one-to-one to the\neleven report sections in document order; the full letter→section mapping and recap rules\nare in [`references/report-spec.md`](references/report-spec.md). Each recap reuses the global\n`[n]` numbering and is left empty when its section carries no inline citations.\n\n## Parameters\n\nThe user should provide:\n- **Company Name** (required)\n- **Currency** (optional, defaults to USD)\n\n---\n\n## Step 1 — Resolve the target company and peers\n\nCall `findEntity` with the company name. Store the canonical entity name and ID.\nThen call `getEntityPeers` for the target to get up to 3 peers. Call `findEntity`\nfor each peer to resolve their entity IDs.\n\n---\n\n## Step 2 — Read the template\n\nRead `assets/template.html` (relative to this skill directory) once. Keep its exact structure —\nCSS, `<head>`, hardcoded TOC, section order, table skeletons, row labels, and element IDs — as\nthe scaffold for the final artifact. Do **not** copy it to the workspace and do **not** open it.\n\n---\n\n## Step 3 — Gather all data in parallel\n\nFire ALL of the following in a **single parallel batch**. This is the heaviest step — launch\neverything at once.\n\n### For the target company\n\n| Tool Call | Purpose |\n|-----------|---------|\n| `getCreditOpinion` (sections: Profile, Summary, CreditStrengths, CreditChallenges, FactorsLeadingToUpgrade, FactorsLeadingToDowngrade, KeyIndicatorsTable, ScorecardTable, ESGConsiderations) | Credit profile, strengths/challenges, financials, ESG |\n| `getEntityFinancials_v2` | Primary source for historical financials (3 full fiscal years + LTM) and valuation table data |\n| `getEntityRatings` | Current rating, outlook, historical ratings |\n| `getEntitySectorOutlook` | Sector outlook |\n| `searchAllDocuments` with \"Credit Opinion\" | Credit opinion documents |\n| `searchAllDocuments` with \"Business units, Segment Revenue, Profile, Segments, Revenue Drivers\" | Business segment data |\n| `searchCompanyFilings` with \"segment revenue, business segments, revenue by segment\" | Per-segment revenue from annual/quarterly filings to populate Business Segments and Operations section |\n| `searchAllDocuments` with \"Risk factors, competitive pressures, market volatility, regulatory compliance, litigation\" | Risk analysis |\n| `searchAllDocuments` with \"Leverage, Debt, Liquidity, Credit Facilities, Coverage, Ratings, Outlook\" | Credit profile data |\n| `searchEntityEarningsCall` with \"Target Market, Services, Products, Mission, Vision, Markets, Geographies, Revenue\" | Company overview from earnings call |\n| `searchEntityEarningsCall` with \"Business units, Segment Revenue, Drivers, Revenue Drivers, Earnings\" | Business segments from earnings call |\n| `searchEntityEarningsCall` with \"Market Size, Growth Rate, Demand, Competition, Market Share, Regulation, Trends\" | Industry analysis |\n| `searchEntityEarningsCall` with \"Share, Stock, Price, Market capitalization, Earnings per share, Dividend, Valuation\" | Share price data |\n| `searchEntityEarningsCall` with \"Risk factors, competitive pressures, market volatility, economic uncertainty\" | Risks from earnings call |\n| `searchEntityEarningsCall` with \"merger, acquisitions, strategic developments, alliances, partnerships\" | Strategic developments |\n| `searchNews` with \"{Company} Market, Industry Overview and Trends\" | Industry news |\n| `searchNews` with \"{Company} merger, acquisitions, strategic developments\" | M&A news |\n| `searchNews` with \"{Company} Share, Stock, Price, Valuation\" | Share price news |\n| `searchNews` with \"{Company} Management, governance, leadership\" | Management news |\n| `getEntityManagersDirectors` | Names and roles of current managers and directors for Management & Governance section |\n\n### For each peer (up to 3 peers)\n\n| Tool Call | Purpose |\n|-----------|---------|\n| `getCreditOpinion` (Profile, KeyIndicatorsTable, CreditStrengths, CreditChallenges, FactorsLeadingToUpgrade, FactorsLeadingToDowngrade, ScorecardTable, ESGConsiderations) | Peer comparison data + ESG |\n| `getEntityFinancials_v2` | Peer valuation and financial data for Share Price Performance and Valuation section |\n| `getEntityRatings` | Peer ratings |\n\n---\n\n## Step 4 — Synthesize + emit the complete artifact\n\nUse Moody's internal research as the **primary foundation**. Earnings call data and news\nsupplement. Write in professional credit-research language with numbered citation references\ninline in narrative text. The exact inline markup, the URL-less fallback, and the rule that\n`n` matches the row position of the source inside `#pib-sources` are defined in\n[references/shared-citations.md](references/shared-citations.md) — read it before authoring\nany `[n]` reference.\n\nAfter data is gathered, write the **entire filled `template.html` document** — with every\nelement from the streaming protocol populated in place — to a single `.html` file in\n`/mnt/user-data/outputs/`, then render it. The full required delivery sequence (`create_file`\n→ `present_files` → `visualize:show_widget` → one short sentence) is specified in the\n**Step 5 — Output and presentation** section below; follow it exactly.\n\nThe HTML file **must**:\n\n- Be written in a single `create_file` call (no progressive `StrReplace` edits, no multi-file\n  split).\n- Contain a complete, standalone HTML document (doctype → `</html>`) that renders without\n  external dependencies.\n- Preserve the template's `<head>` (CSS, fonts), hardcoded TOC, section order, table\n  skeletons, row labels, and element IDs exactly. Only the empty targets defined below are\n  populated.\n\nRender order of content inside the file follows the page top-to-bottom so the artifact is\nhuman-readable as well as browser-renderable.\n\n### Cover + footer\n\n1. `#pib-cover-company` — plain text, canonical target name.\n2. `#pib-company` — plain text target name.\n3. `#pib-date` — report date, e.g. `April 15, 2026`.\n4. `#pib-footer-date` — same date string.\n\n### Section-by-section authoring (Sections 1–11)\n\nBefore emitting, read [`references/report-spec.md`](references/report-spec.md) for the full\nper-section element specs — every `#pib-*` target for Sections 1 through 11 (Company\nOverview, Business Segments and Operations, Historical Financials, Company Metrics, Peer\nComparison and Competitive Landscape, Industry Overview and Trends, Strategic Developments,\nManagement and Governance, Credit Profile, Risks and Challenges, ESG Profile), the exact SVG\nlayout constants for each chart, the financial-table row/column mapping, and the\n`#pib-sources` Citations rows. Populate every target exactly as specified there, honoring the\nno-estimation contract above.\n\n---\n\n## Step 5 — Output and presentation (required final steps)\n\n> ## ⚠️ CRITICAL — THE SKILL IS NOT COMPLETE UNTIL THE REPORT IS VISIBLY RENDERED\n>\n> Writing the file is **not** delivery. After you write the HTML you **must** actively render\n> it with every display tool available, in order, before you say anything else. Do not end\n> your turn until the rendered report is on screen.\n\nFollow this exact sequence. Do not skip a step, reorder, or substitute alternatives:\n\n1. **Write the HTML file in a single call.** Call `create_file` to write the entire standalone\n   HTML document (`<!doctype html>` → `</html>`) to\n   `/mnt/user-data/outputs/{company_slug}_issuer_brief.html` in **one** call. No progressive\n   edits, no multi-file split.\n2. **Present the file.** Immediately call `present_files` on that exact path to surface the\n   artifact to the user.\n3. **Show the widget.** Immediately call `visualize:show_widget` on the same file to render the\n   report visually. Call this even if `present_files` already succeeded — firing both renderers\n   is what guarantees the report always appears.\n4. **Confirm in one short sentence.** Only after the renderers return, add a single brief\n   sentence in chat (e.g. `Issuer Brief for {Target Company} — the report is available above as\n   a self-contained HTML artifact.`). Nothing more.\n\nIf a display tool call fails or is unavailable, immediately try the other one rather than\nstopping. Never end your turn at step 1, and never paste the HTML into chat or suggest shell\ncommands.\n\n---\n\n## Streaming protocol, markup snippets & chart templates\n\nThe element → content mapping table, the reference markup snippets (financial row, peers\ntable / rating rows, rating-table row, risk-table row, segment bullet, strategy bullet), the\nSVG chart templates (KPI scorecard, rating step-line, segment revenue bar, debt-maturity bar,\nPorter's Five Forces diagram, management cards) with their layout constants and palette, and\nthe class-selection rules all live in\n[`references/report-spec.md`](references/report-spec.md). Read it before emitting any `#pib-*`\ncontent or chart. The debt-maturity and segment charts require `searchCompanyFilings` data —\nleave the container empty rather than fabricate values.\n\n## Tips\n\n- Run ALL research searches in a single parallel batch to minimize latency.\n- **No estimated or approximated numbers anywhere in the report.** Every figure in tables,\n  charts, KPI cards, and prose must come directly from a tool response; use `\"--\"` when a\n  value is unavailable. See the CRITICAL no-estimation block above.\n- **`searchCompanyFilings` is a required call** for the debt-maturity and segment-revenue\n  charts. If it does not return the per-year schedule or segment breakdown, leave the chart\n  container empty rather than fabricate values.\n- Target company appears first in every table and comparison; reuse the same column labels\n  across the valuation / key-indicators tables. Financial values are in millions; never hide\n  a row. If fewer than 3 peers are returned, leave unused columns/cells blank — do not\n  collapse the tables.\n- Emit each chart SVG directly into its container — the template does not render charts at\n  load time. Exact placement, layout constants, and the Section 4 / `#pib-val-1-*` omissions\n  are in [`references/report-spec.md`](references/report-spec.md).\n- Citation references `[n]` go inline in narrative text per\n  [references/shared-citations.md](references/shared-citations.md); never inside table cells.\n  Each section's optional `#pib-cite-{a..k}` recap reuses the global numbering.\n- Deliver the report as **one** `.html` file in `/mnt/user-data/outputs/`, then render it with\n  **both** `present_files` and `visualize:show_widget` (see Step 5). Never paste it as a fenced\n  ` ```html ` code block, never split across files or messages, and never stop at file creation.\n","after":"---\nname: issuer-brief\ndescription: >\n  Produce a comprehensive Issuer Brief HTML report for a company using Moody's\n  GenAI MCP tools. Use this skill whenever the user asks to create an Issuer Brief,\n  company profile report, credit memo, investment book, or comprehensive company analysis. Also\n  trigger when they ask for a report combining company overview, financials, peer comparison,\n  industry overview, strategic developments, management, credit profile, risks, and ESG into a\n  single document. Trigger even if they just name a company and say \"Issuer Brief\", \"info book\", \"company\n  book\", \"credit book\", or \"full company report\".\n---\n\n# Issuer Brief Skill\n\nGenerates a professional HTML report (styled like a Moody's Issuer Brief) for a\ntarget company. The report consolidates data from multiple Moody's MCP tools, annual/quarterly\nreports, earnings calls, and news into 10 structured sections plus a pre-rendered table of\ncontents and a Citations block.\n\nThe workflow is **single-artifact streaming**: gather all data, then stream the entire filled\nHTML document back to the user as one ` ```html ` fenced code block in the final assistant\nmessage. No file copy, no `open` step, no progressive `StrReplace` edits, no JSON payload, and no\nclient-side render logic. The fenced code block is the deliverable.\n\n> ## ⚠️ CRITICAL — NON-NEGOTIABLE OUTPUT CONTRACT\n>\n> **The LLM MUST stream the final report back as a single HTML artifact inside the assistant\n> response.** This is the only acceptable form of delivery for this skill. Specifically:\n>\n> - The final assistant message **MUST** contain exactly one ` ```html ` fenced code block\n>   holding the **complete, standalone HTML document** (`<!doctype html>` → `</html>`), with\n>   every section from the streaming protocol populated inline.\n> - The LLM **MUST NOT** write the report to a file on disk (no `Write`, no `cp` of the\n>   template, no `StrReplace` into a working artifact, no `open` command).\n> - The LLM **MUST NOT** split the report across multiple code blocks, multiple messages,\n>   partial snippets, or summaries.\n> - The LLM **MUST NOT** substitute prose, Markdown, JSON, attachments, or links for the\n>   fenced HTML artifact. The artifact itself is the answer.\n> - If data gathering fails partially, still emit the single ` ```html ` artifact with\n>   the best-available content and `\"--\"` placeholders for missing cells — never skip the\n>   artifact.\n>\n> Treat any other output shape as a hard failure of the skill.\n\n> ## ⚠️ CRITICAL — NO ESTIMATED OR APPROXIMATED NUMBERS ALLOWED\n>\n> **Every numeric value in the report — financial table cells, Key Indicators table cells,\n> ratings, ESG scores, PD scores, debt maturity chart values, KPI/pie-chart values, and numbers\n> quoted in prose — MUST come directly from a Moody's MCP tool response or a company filing\n> retrieved via `searchCompanyFilings`.** Never compute, interpolate, average, or split an\n> aggregate to approximate a missing figure. Estimation, approximation, interpolation, and\n> inference from indirect sources are strictly forbidden. Specifically:\n>\n> - **NEVER** write `~`, `approx.`, `estimated`, or any similar qualifier next to a number.\n>   When a value is genuinely unavailable from the data gathered, write `\"--\"` instead of\n>   guessing.\n> - **NEVER** derive a number by splitting, distributing, or back-calculating from an aggregate\n>   (e.g. do not allocate total debt across maturity buckets by assumption).\n> - **NEVER** invent segment revenue, EPS, FCF, ROE, debt maturity amounts, or any other\n>   metric that was not explicitly returned by a tool call. (The only permitted derived values\n>   are the ones this skill defines explicitly: YoY% in the financial table, EBITDA Margin in\n>   the Key Indicators table, Net Debt = Total Debt − Cash & Equivalents when only a variant is\n>   offered, and the percentage shares / geometry computed for the charts.)\n> - **Charts are not exempt**: every slice, bar height, and label in every SVG chart (segment\n>   revenue pie chart, debt maturity bar chart) must map 1-to-1 to a value returned by a tool.\n>   If tool data is insufficient to build a chart accurately, omit the chart and leave the\n>   container empty rather than render fabricated values.\n> - **Peer data is not exempt**: only populate peer columns/rows with values explicitly returned\n>   by `getCreditOpinion`, `getEntityFinancials_v2`, `getEntityRatings`, or `getEntityEsg` for\n>   that peer.\n>\n> The field-level versions of this rule are restated in the relevant parts of Step 4 below\n> (financial table, Key Indicators table, debt maturity chart, segment chart, ratings) — those\n> are authoritative for their fields.\n>\n> Treat any estimated or approximated number in the emitted report as a hard failure of the skill.\n\n> ## ⚠️ CRITICAL — NARRATIVE GROUNDING RULES (apply to every prose block)\n>\n> - **Source-stated claims only.** Every causal explanation (\"driven by\", \"reflecting\",\n>   \"supported by\", \"due to\"), segment or business-line figure, management statement, guidance\n>   item, or governance attribute MUST be explicitly stated in the visible content of the\n>   specific tool result you cite, and must concern the **same entity and the same period** as\n>   the figure it explains. Do not move drivers between periods (quarterly earnings-call\n>   commentary cannot explain a fiscal-year change). Do not add plausible-sounding drivers from\n>   general knowledge; if no source gives the cause, report the change without a causal clause.\n> - **Period-specific statements must match the cited period.** If support comes from a\n>   different period, name that period or describe the point generically.\n> - **No invented segments or commentary.** If no source provides a segment breakdown, do not\n>   name segments or attribute growth or margins to them. If earnings-call results contain only\n>   logistics, introductions, or disclaimers, do not write management commentary, guidance, or\n>   performance-driver bullets.\n> - **Read full text before citing.** If a tool result is truncated or saved to a file, read the\n>   full content first. Never complete or infer the rest of a cut-off sentence.\n> - **Do not recast views as commitments.** Moody's/analyst expectations are not management\n>   statements; do not add unsupported use-of-proceeds, brand/segment attributions, or singular\n>   governance claims.\n> - **Do not describe a line item beyond its source label** (e.g. do not relabel a generic\n>   \"other non-operating income\" line as gains on a specific asset class, or a plain \"Earnings\n>   per share\" figure as \"diluted EPS\").\n> - **Attribute each claim to the party the source names** (regulator, rating agency, company\n>   management, another company, journalist). Present Moody's views (\"we\", \"our\" in Moody's\n>   documents) as the agency's views, not as management statements, and the reverse. When a\n>   source covers several companies, use only statements explicitly about the target; do not say\n>   the target is affected by or named in an industry development unless the source names it.\n\n## Required MCP server\n\n`Moodys MCP server` — tools used: `findEntity`, `getEntityPeers`, `getEntityRatings`,\n`getEntityProfile`, `getEntitySectorOutlook`, `getEntityManagersDirectors_v2`,\n`getEntitySubsidiaries`, `getEntityCountryProfile`, `getEntitySegmentFinancials`,\n`getEntityFinancials_v2`, `getCreditOpinion`, `getEntityEsg`, `getEntityProbabilityOfDefault`,\n`searchEntityDocuments`, `searchCompanyFilings`, `searchNews`,\n`searchPrecisReports`, `searchAllDocuments`, `currencyConverter`, `calculator`.\n\nIf any of the tools required for a section do not exist, inform the user: One or more tools required for this section are not available under your current subscription. Unlock more of the expert insights, data, and analytics you trust. Get Link:https://www.moodys.com/web/en/us/capabilities/gen-ai/ai-ready-data.html with us to learn more. \n\n> Tool-name notes: use the **`_v2`** versions of `getEntityFinancials_v2` and\n> `getEntityManagersDirectors_v2` (the un-suffixed `getEntityFinancials` and\n> `getEntityManagersDirectors` are no longer used). Most tools take `orgId`;\n> `getEntitySegmentFinancials` takes `entities: [{ entityId }]`. ESG scores (CIS, E, S, G) come\n> from `getCreditOpinion` via the `ESGConsiderations` section, supplemented by `getEntityEsg`.\n> Earnings call materials are no longer retrieved with a separate `searchEntityEarningsCall`\n> tool — `searchCompanyFilings` now covers both company filings (10-K/20-F, interim reports) and\n> earnings call materials, so every earnings-call query below uses `searchCompanyFilings`\n> (`{ orgId, query }`).\n\n## Bundled files\n\n- `assets/template.html` — self-contained static report shell: all CSS (including the cover,\n  table of contents, section, outlook-badge, credit-box, executive-mosaic, and pie-legend\n  styles), a hardcoded 10-entry table of contents plus a Citations entry, pre-shaped tables\n  with element IDs, and empty targets (containers, `<tbody>`, `<ul>`, `<div>`) for variable\n  content. Treat this file as the **read-only structural reference**: read it, fill it in\n  mentally, and emit the complete filled document in the final response.\n- `evals/evals.json` — evaluation prompts and assertions for this skill.\n\n## Template\n\nRead `assets/template.html` once before emitting. The document chrome (head boilerplate, cover,\ntable of contents, section block, footer, outlook-badge, design tokens, and reset) is **already\ninlined** in that file using the `cover-left`/`cover-top` split-panel cover. Copy it verbatim;\ndo not re-define or restyle any of it, and do not emit inline `style=\"...\"` overrides on\noutlook badges.\n\nSkill-specific CSS that lives in the template: `table.data-table`, `table.fin-table`,\n`.chart-container` (`margin: 28px 0 20px; text-align: center;` — the larger top margin keeps\nchart titles from visually merging with the preceding heading), `.pie-legend`,\n`.credit-boxes-grid` / `.credit-box*`, and `.exec-mosaic` / `.exec-card`. Body font size is\n`12.5px` and `.page` is `max-width: 920px`.\n\n**Outlook badges** use the canonical pastel variant — pastel background + colored text with the\nfive class variants `stable` / `positive` / `negative` / `review` / `na`. The `--green`,\n`--red`, `--amber` custom properties do not exist and must not be referenced anywhere in the\nemitted HTML (use `--positive`, `--negative`, `--neutral`).\n\n## Citations (shared)\n\nBefore emitting any `[n]` reference inline, any per-section recap block, or the end-of-document\nCitations block, **read both**:\n1. [`skills/shared/citations/SKILL.md`](../shared/citations/SKILL.md) — authoring rules\n   (numbering, hyperlinking, source data shape, carve-outs).\n2. [`skills/shared/citations/assets/template.html`](../shared/citations/assets/template.html) —\n   canonical CSS (inside `<style id=\"shared-citations-css\">`) and literal HTML markup snippets\n   (inside `<template>` tags) for inline references, the end-of-document Citations block, and\n   the optional `.section-citations` recap.\n\nAt emit time, copy the **contents** (not the wrapper) of `<style id=\"shared-citations-css\">`\nfrom the shared asset into the template's reserved marker region, located inside\n`assets/template.html` between the CSS-comment markers\n`/* BEGIN shared-citations-css … */` and `/* END shared-citations-css */`. The template does not\ncarry duplicated citation CSS — those rules ship only in the shared asset. (The small\n`.sources-section` / `.sources-heading` wrapper styles are local to the template.)\n\nSkill-specific carve-out: **never put citation markup inside data cells** (financial,\nkey-indicators, rating, risk, or ESG tables, or the executive mosaic cards and chart legends).\nThe prefix used for the end-of-document container in this skill is `pib`, so the container id is\n`#pib-sources`. Per-section recap blocks live in `#pib-cite-a` … `#pib-cite-j`, mapped\none-to-one to the ten report sections in document order:\n\n| Letter | Section                                          |\n|--------|--------------------------------------------------|\n| `a`    | 1. Company Overview                              |\n| `b`    | 2. Business Segments and Operations              |\n| `c`    | 3. Historical Financials                         |\n| `d`    | 4. Peer Comparison and Competitive Landscape     |\n| `e`    | 5. Industry Overview and Trends                  |\n| `f`    | 6. Strategic Developments                        |\n| `g`    | 7. Management and Governance                     |\n| `h`    | 8. Credit Profile                                |\n| `i`    | 9. Risks and Challenges                          |\n| `j`    | 10. ESG Profile                                  |\n\nEach `#pib-cite-{x}` should be filled with a single `<div class=\"section-citations\">…</div>`\nrecap as defined in the shared skill (`.cite-label` \"Citations\" pill plus one `.cite-item` per\nsource referenced in that section). The recap re-uses the same global `[n]` numbering as the\ninline references and `#pib-sources` — it never starts a new sequence. If a section has no\ninline citations, leave the corresponding `#pib-cite-{x}` empty.\n\n## Parameters\n\nThe user should provide:\n- **Company Name** (required) — target company. Resolution also needs peers and filings.\n- **Currency** (optional, defaults to USD) — currency for financial figures. If it is not USD,\n  convert monetary values with `currencyConverter` before populating the report.\n\n---\n\n## Step 1 — Resolve the target company and peers\n\n**Target entity.**\n- If a `preferredOrgId` is present in the request/context, use it directly as the target's\n  `orgId` for all downstream calls and do **not** call `findEntity`. `preferredOrgId` always\n  references the rated parent entity and takes precedence over any `orgId`, `orbisId`, or\n  `bvdId` also present.\n- Otherwise call `findEntity` with the company name and store the canonical `entityId`\n  (orbisId / bvdId), `orgName`, `orgId`, and `ticker`.\n\n**Validate against ratings.** Call `getEntityRatings` with the resolved `orgId`. If it returns\nno ratings **and** the context indicates the company is rated (`isUnrated: false`), treat the\nresolved entity as a subsidiary rather than the rated parent and re-resolve using\n`preferredOrgId`; keep a note of which `orgId` was ultimately used and why. If it returns\nratings, or the company is unrated/unspecified, proceed as-is.\n\n**Peers.**\n- If the request/context supplies a non-empty `peers` list, use those peers directly without\n  calling `getEntityPeers` (this path does not depend on the resolved `orgId`, so it can run in\n  parallel with the ratings validation).\n- Otherwise wait for the validation above, then call `getEntityPeers` for the target (using the\n  resolved `orgId`) to get up to 3 peers, and call `findEntity` for each peer to resolve their\n  `entityId` / `orgId`.\n- **Like-for-like check.** Validate the target's and each peer's organizational lineage and\n  specialization (e.g. with `getEntityProfile`) so the peer set is at the same entity level:\n  parent/holding-company peers for a parent target, subsidiary/operating-bank peers for a\n  subsidiary target. Do not treat an operating subsidiary as a direct peer to a parent entity;\n  when a returned peer is a subsidiary but the target is a parent, use the appropriate\n  parent/ultimate-parent peer instead or exclude that peer.\n\nKeep `orgName`, `orgId`, `entityId`, `ticker`, domicile, and sector for the target and each peer\nin working notes — every later step uses them.\n\n---\n\n## Step 2 — Read the template\n\nRead `assets/template.html` (relative to this skill directory) once. Keep its exact structure —\nCSS, `<head>`, hardcoded TOC, section order, table skeletons, row labels, and element IDs — as\nthe scaffold for the final artifact. Do **not** copy it to the workspace and do **not** open it.\n\n---\n\n## Step 3 — Gather all data in parallel\n\nFire ALL of the following in a **single parallel batch**. This is the heaviest step — launch\neverything at once. Only call peer tools for peers that exist; skip missing peers. Replace\n`{Company}` with the target's canonical `orgName`.\n\n### For the target company\n\n| Tool Call | Purpose |\n|-----------|---------|\n| `getEntityProfile` `{ orgId }` | Entity profile, headquarters, description, sector |\n| `getEntitySectorOutlook` `{ orgId }` | Sector outlook for the Industry section |\n| `getEntityManagersDirectors_v2` `{ orgId }` | Names and roles of current managers and directors (executive mosaic + Management & Governance) |\n| `getEntitySubsidiaries` `{ orgId }` | Material subsidiaries for Business Segments |\n| `getEntityCountryProfile` `{ orgId }` | Country/domicile risk context |\n| `getEntitySegmentFinancials` `{ entities: [{ entityId }] }` | Per-segment revenue/profit/asset breakdown — **PRIMARY and required source for segment revenue** (list + pie chart) |\n| `getEntityFinancials_v2` `{ orgId }` | Primary source for historical financials (3 full fiscal years + LTM) and key-indicator metrics |\n| `getEntityRatings` `{ orgId }` | Current rating, outlook, historical ratings |\n| `getEntityEsg` `{ orgId }` | ESG scores, supplementing `getCreditOpinion` `ESGConsiderations` |\n| `getEntityProbabilityOfDefault` `{ orgId }` | PD scores for the Credit Profile section |\n| `getCreditOpinion` `{ orgId, sections: [Profile, Summary, CreditStrengths, CreditChallenges, FactorsLeadingToUpgrade, FactorsLeadingToDowngrade, KeyIndicatorsTable, ScorecardTable, ESGConsiderations] }` | Credit profile, strengths/challenges, upgrade/downgrade factors, ESG |\n| `searchEntityDocuments` with \"Credit Opinion\" | Credit opinion documents |\n| `searchEntityDocuments` with \"Business units, Segment Revenue, Profile, Segments, Revenue Drivers\" | Business segment data |\n| `searchEntityDocuments` with \"Risk factors, competitive pressures, market volatility, regulatory compliance, litigation\" | Risk analysis |\n| `searchEntityDocuments` with \"Leverage, Debt, Liquidity, Credit Facilities, Coverage, Ratings, Outlook\" | Credit profile data |\n| `searchCompanyFilings` with \"long-term debt maturities schedule obligations\" | Debt maturity schedule for the Credit Profile chart (**required**) |\n| `searchCompanyFilings` (earnings call materials) with \"Target Market, Services, Products, Mission, Vision, Markets, Geographies, Revenue\" | Company overview from earnings call |\n| `searchCompanyFilings` (earnings call materials) with \"Business units, Segment Revenue, Drivers, Revenue Drivers, Earnings\" | Business segments from earnings call |\n| `searchCompanyFilings` (earnings call materials) with \"revenue guidance earnings highlights performance drivers\" | Earnings call highlights for Historical Financials |\n| `searchCompanyFilings` (earnings call materials) with \"Market Size, Growth Rate, Demand, Competition, Market Share, Regulation, Trends\" | Industry analysis |\n| `searchCompanyFilings` (earnings call materials) with \"merger, acquisitions, strategic developments, alliances, partnerships\" | Strategic developments |\n| `searchCompanyFilings` (earnings call materials) with \"Risk factors, competitive pressures, market volatility, economic uncertainty\" | Risks from earnings call |\n| `searchNews` with \"{Company} Market, Industry Overview and Trends\" | Industry news |\n| `searchNews` with \"{Company} merger, acquisitions, strategic developments\" | M&A news |\n| `searchNews` with \"{Company} Management, governance, leadership\" | Management news |\n| `searchNews` with \"{Company} risk factors regulatory challenges litigation\" | Risk-related news |\n| `searchNews` with \"{Company} competitive landscape peers comparison\" | Competitive context for Peer Comparison |\n| `searchPrecisReports` with \"{Company}\" | Moody's Précis reports |\n| `searchAllDocuments` with \"{Company} credit\" | Cross-document supplementary research |\n\n### For each peer (up to 3 peers)\n\n| Tool Call | Purpose |\n|-----------|---------|\n| `getCreditOpinion` `{ orgId, sections: [Profile, KeyIndicatorsTable, CreditStrengths, CreditChallenges, FactorsLeadingToUpgrade, FactorsLeadingToDowngrade, ScorecardTable, ESGConsiderations] }` | Peer description, comparison data + ESG |\n| `getEntityProfile` `{ orgId }` | Peer profile |\n| `getEntityFinancials_v2` `{ orgId }` | Peer financial data for the Key Indicators table |\n| `getEntityRatings` `{ orgId }` | Peer ratings |\n| `getEntityEsg` `{ orgId }` | Peer ESG scores |\n\nIf the currency is not USD, use `currencyConverter` to convert values. Use `calculator` for\nYoY% computations and chart geometry (if no `calculator` tool is available, use bash or Python —\nnever compute these mentally).\n\n---\n\n## Step 4 — Synthesize + emit the complete artifact\n\nUse Moody's internal research as the **primary foundation**. Earnings call data and news\nsupplement. Write in professional credit-research language with numbered citation references\ninline in narrative text. The exact inline markup, the URL-less fallback, and the rule that\n`n` matches the row position of the source inside `#pib-sources` are defined in\n[skills/shared/citations/SKILL.md](../shared/citations/SKILL.md) — read it before authoring\nany `[n]` reference. Inline `[n]` references go in narrative HTML only, never inside table cells.\n\nAfter data is gathered, produce **one** final assistant message. The message contains:\n\n1. A one-line summary sentence (e.g. `Issuer Brief for {Target Company}:`).\n2. A single fenced ` ```html ` code block containing the **entire filled\n   `template.html` document** — with every element from the streaming protocol populated in\n   place. No partial documents, no separate code blocks per section.\n\nThe code block **must**:\n\n- Start at column 0 with ` ```html ` and end with a closing ` ``` ` on its own line.\n- Contain a complete, standalone HTML document (doctype → `</html>`) that renders without\n  external dependencies.\n- Preserve the template's `<head>` (CSS, fonts), hardcoded TOC, section order, table\n  skeletons, and element IDs exactly. Only the empty targets defined below are populated.\n\nRender order of content inside the code block follows the page top-to-bottom so the artifact\nis human-readable as well as browser-renderable.\n\n### Cover + footer\n\n- `#pib-cover-company` — plain text, canonical target name.\n- `#pib-company` — plain text target name.\n- `#pib-date` — report date in `Month DD, YYYY` form, e.g. `April 15, 2026`.\n- `#pib-footer-date` — same date string.\n\n### Section 1 — Company Overview\n\n- `#pib-overview` — **2–3 paragraphs** in `<p>…</p>` covering: (1) opening statement of\n  significance, founding info, headquarters, and core business; (2) industry position, key\n  products/services, and target markets; (3) financial overview snapshot (revenue, margins, key\n  metrics) and strategic priorities. No bullet points, no bold text in the body. Use hyperlinked\n  inline citations per the shared citations skill.\n\n### Section 2 — Business Segments and Operations\n\nRevenue per segment **must be sourced exclusively from `getEntitySegmentFinancials`**. Do **not**\nuse earnings call data, filings, or Moody's estimates for segment revenue figures.\n\n- `#pib-segments-intro` — one introductory paragraph in `<p>…</p>`.\n- `#pib-segments-chart` — revenue-by-segment **pie chart** (see \"Segment Revenue Pie Chart\"\n  below), or empty if a usable breakdown isn't available.\n- `#pib-segments-list` — one `<li>` per segment. Each `<li>` contains a\n  `<strong>Segment Name</strong>` header followed by **one paragraph** of prose describing the\n  segment's business activities, key products/services, end markets, and revenue contribution.\n  Revenue figures cited must match the `getEntitySegmentFinancials` data used in the pie chart.\n  Structure: `<li><strong>Segment Name</strong><p>Description paragraph with revenue\n  context…</p></li>`.\n- `#pib-segments-outro` — one closing paragraph in `<p>…</p>`.\n\n### Section 3 — Historical Financials\n\n**ALL numeric values in the financial table MUST be populated exclusively from data returned by\nthe `getEntityFinancials_v2` MCP tool.** Do not supplement or override table cells with figures\nfrom earnings calls, credit opinions, news, or any other source. If a value is not available in\n`getEntityFinancials_v2`, write `\"--\"` in that cell.\n\n**Columns.** Annual columns are limited to exactly 3 full fiscal years (oldest → most recent).\nInclude a single YoY% column calculated **only between the last two fully completed years**\n(FY−1 vs FY), and an LTM column. The layout runs left to right as: line items | FY−2 | FY−1 | FY\n| YoY% (FY vs FY−1) | LTM.\n\n- `#pib-fin-col-1` … `#pib-fin-col-5` — plain-text period labels. Canonical order: FY−2, FY−1,\n  FY, YoY% (FY vs FY−1), LTM (adapt labels to actual fiscal years, e.g. `2022`, `2023`, `2024`,\n  `YoY%`, `LTM`). Leave `#pib-fin-col-6`, `#pib-fin-col-7`, `#pib-fin-col-8` empty.\n- YoY% = `(FY value − FY−1 value) / |FY−1 value| × 100`, formatted as `+4.2%` or `−3.1%`. Write\n  `\"--\"` when the value is zero or unavailable.\n- Values are in millions (except ratios/percentages, which are unitless or `%`).\n\n**Rows.** `#pib-fin-tbody` is populated with literal `<tr>` markup assembled from the candidate\nlist below, **in this display order**, after applying the omission rule:\n\n| Row | Metric |\n|-----|--------|\n| 1 | Revenues (net sales) |\n| 2 | Gross profit |\n| 3 | SG&A |\n| 4 | Operating expenses |\n| 5 | Net income |\n| 6 | EBITDA |\n| 7 | FCF |\n| 8 | CAPEX |\n| 9 | Share repurchased |\n| 10 | Dividends |\n| 11 | Cash Flow from operations |\n| 12 | Taxes |\n| 13 | Cash & Equivalents |\n| 14 | Total debt |\n| 15 | Net debt |\n| 16 | Total Debt/EBITDA |\n| 17 | Net Debt/EBITDA |\n| 18 | ROE |\n| 19 | EPS |\n\nFormat each row exactly as:\n`<tr><td class=\"row-label\">Metric Name</td><td>col1</td><td>col2</td><td>col3</td><td>col4 (YoY%)</td><td>col5 (LTM)</td><td></td><td></td><td></td></tr>`\n— 8 data `<td>` cells per row (matching `#pib-fin-col-1`–`#pib-fin-col-8`), the last three always\nempty. No citation markup inside table cells.\n\n**Omitting blank / all-zero rows.** After computing a row's values, check columns 1, 2, 3, and 5\nonly (the actual reported values — column 4 is a derived growth rate, not an independent data\npoint). If **every one** of those four values is blank, `\"--\"`, empty, or numerically zero\n(`0`, `0.0`, `$0`, `-0`, …), **omit that row entirely** — do not emit a `<tr>` for it, not even\nwith `\"--\"` placeholders. If **at least one** is a genuine non-zero, non-blank number, include\nthe row and use `\"--\"` only for the individually unavailable cells.\n\nNarrative:\n\n- `#pib-fin-summary` — one dense 6–8 sentence paragraph in `<p>…</p>` integrating revenue,\n  EBITDA margin, leverage, cash flow, and key operational metrics.\n- `#pib-fin-highlights` — `<ul><li>…</li></ul>` bullet points covering headline results vs\n  guidance, performance drivers, updated guidance, and strategic commentary (only where the\n  earnings-call results actually contain such content).\n- `#pib-fin-analysis` — HTML with subsection headers and dense analytical bullets organised by\n  Revenue & End-Market Performance, Profitability & Margins, Leverage & Liquidity. Use\n  `<strong class=\"subsection-title\">…</strong>` for each sub-heading, followed by\n  `<ul><li>…</li></ul>`.\n\n**Comparison wording rule** (applies to the summary, highlights, and analysis): before writing\nany comparison of a metric across periods or against an average (e.g. ROE vs a prior year,\n\"pre-20XX levels\", \"long-run average\"), compute the actual difference from the\n`getEntityFinancials_v2` values and make the wording match the size of the gap — \"in line with\",\n\"roughly flat\", or \"slightly above/below\" for small gaps (under about 1 percentage point for\nratios or under about 5% relative for amounts); reserve \"well above\", \"significantly\", or\n\"sharply\" for large gaps. A comparison against a range of periods or an average must hold for\nevery period in that range; otherwise name the specific periods or drop the claim. When in\ndoubt, state the two numbers without an adjective.\n\n**Reconcile before attributing.** When explaining a change in profit, net income, or margin\nfrom `getEntityFinancials_v2`, compare the **absolute** period-over-period change of each\ncomponent between revenue and the bottom line (operating expenses, impairment/provision charges,\nother/non-operating income, unusual/non-recurring items, taxes), check adjusted-vs-reported\ndifferences and any gap between operating margin and EBITDA/EBITA margin, and attribute the\nchange to the components that actually account for it. Never conclude \"expenses outpaced revenue\"\nfrom percentage growth rates alone; if pre-provision/pre-impairment profit rose, the decline did\nnot come from expenses; if non-operating or one-time items account for the change, say so. Never\nattribute such a change to operational efficiency, and never call a result recurring or \"not\none-off\" when any source identifies a one-time or non-operating item affecting it. Historical\nfinancials analysis must include specific numbers for every claim.\n\n### Section 4 — Peer Comparison and Competitive Landscape\n\n- `#pib-peers-intro` — one short intro paragraph in `<p>…</p>`.\n- `#pib-peers-table` — one `<tr>` per company (target first), descriptions from the\n  `getCreditOpinion` Profile section (supplemented by `getEntityProfile`):\n  `<tr><td>Target Co</td><td>Description from Credit Opinion Profile…</td></tr>`. No citation\n  markup in cells.\n- `#pib-peers-rating` — one `<tr>` per company (target first):\n  `<tr><td>Target Co</td><td>Aaa</td><td><span class=\"outlook-badge stable\">Stable</span></td></tr>`.\n  See \"Ratings rules\" in Section 8.\n- `#pib-ki-header` and `#pib-ki-tbody` — the Key Indicators table (rules below).\n- `#pib-peers-conclusion` — **1–2 paragraphs** in `<p>…</p>` limited to peer comparisons\n  explicitly supported by the retrieved sources for the target and peers. Describe only\n  source-stated differences in business mix, scale, geography, ratings, or risk factors; if the\n  sources do not support a direct comparison, keep the summary neutral and descriptive rather\n  than comparative. Do not infer rankings, superiority, franchise-breadth differences, or\n  relative business/risk positioning not directly evidenced.\n\n**Key Indicators table.** All KI cells come from `getEntityFinancials_v2` only (one call per\nentity). Each row must correspond to the metric defined for it — never to a different metric\nthat happens to be available.\n\n| Row | Metric | `getEntityFinancials_v2` field |\n|-----|--------|--------------------------------|\n| 1 | Revenue | `revenue` / `totalRevenue` |\n| 2 | EBITDA | `ebitda` |\n| 3 | EBITDA Margin | computed: EBITDA / Revenue (`\"--\"` if either is unavailable) |\n| 4 | Debt/EBITDA | `debtToEbitda` |\n| 5 | Interest Coverage | `interestCoverageRatio` |\n| 6 | Total Debt | `totalDebt` |\n| 7 | Net Debt | `netDebt` |\n| 8 | Free Cash Flow | `freeCashFlow` |\n\n- **Same definition across every column.** Every value in a row must use the identical metric\n  definition for the target and all peers; similarly named variants are NOT substitutes (e.g.\n  \"Net Long-term Debt\" is not Net Debt; EBITA / Interest Expense and (EBITDA − CAPEX) / Interest\n  Expense are different coverage ratios). Check that the source line's label matches the row's\n  metric exactly. If an entity only offers a variant, compute the row's defined metric from\n  components in that same `getEntityFinancials_v2` response (e.g. Net Debt = Total Debt − Cash &\n  Equivalents) or emit `\"--\"` — never fill the cell with the variant. Sanity check: the target's\n  Net Debt in the KI table must agree with Total debt − Cash & Equivalents in your financial\n  table for the same period.\n- **Consistency.** Net Debt and all KI metrics for an entity must come from the same\n  `getEntityFinancials_v2` call — never from a credit opinion, earnings call, or other source.\n  If two calls return different Net Debt values, prefer `getEntityFinancials_v2` and use that\n  value everywhere, including narrative.\n- **Layout.** Column 1 is the target; the following columns are peers 1–3 in order. Header\n  (`#pib-ki-header`): `<th>Account Name</th><th>Company 1 Name</th>…` — one `<th>` per company\n  column that survives the omission rule. Rows (`#pib-ki-tbody`):\n  `<tr><td>Metric Name</td><td>col1 value</td>…</tr>` — one data `<td>` per surviving column in\n  header order; `\"--\"` for individually missing cells. No citation markup.\n- **Omitting blank / all-zero columns and rows.** Build the full matrix in memory (up to 4\n  company columns × the 8 rows). A cell is blank if missing, `\"--\"`, empty, or numerically zero.\n  First, drop any **company column** whose 8 values are all blank (remove its header and every\n  cell). Then, for each remaining metric row, drop the row if it is blank across the remaining\n  columns. A row or column with at least one genuine non-zero, non-blank value survives. Never\n  drop the target's column or a row just because one peer lacks that metric.\n\n### Section 5 — Industry Overview and Trends\n\n- `#pib-industry` — **exactly 3 paragraphs** in `<p>…</p>`, one per subsection, with the\n  subsection title rendered as `<strong class=\"subsection-title\">…</strong>` before the\n  paragraph text, in this order:\n  (1) **Macroeconomic Context** — macro conditions affecting the sector;\n  (2) **Industry Size and Growth** — market size, growth rates, and key demand drivers;\n  (3) **Industry Outlook and Trends** — forward-looking view, emerging trends, and regulatory\n  considerations.\n\n### Section 6 — Strategic Developments\n\n- `#pib-strategy-list` — one `<li>` per strategic development from the past 12 months (M&A,\n  partnerships, strategic shifts, capital allocation), with inline citations:\n  `<li><strong>Title</strong>: 2026-01-15 — description with citation <a href=\"…\" target=\"_blank\" class=\"cite-ref\">[3]</a>.</li>`.\n\n### Section 7 — Management and Governance\n\n- `#pib-exec-mosaic` — one `<div class=\"exec-card\">` per top executive, from\n  `getEntityManagersDirectors_v2`:\n  `<div class=\"exec-card\"><div class=\"exec-name\">Full Name</div><div class=\"exec-role\">Title/Role</div></div>`.\n  Include up to 10 of the most senior current executives (CEO, CFO, COO, other C-suite, and\n  board chair/president roles), prioritizing seniority if more than 10 are returned. If fewer\n  than 10 (or none) are available, include only what's available — do not pad with placeholders\n  or invent names. Names/titles must come from `getEntityManagersDirectors_v2` only (not\n  earnings calls, news, or estimates). No citation markup inside the cards.\n- `#pib-mgmt` — **1–2 paragraphs** in `<p>…</p>` covering leadership team experience and recent\n  leadership or governance changes, using only roles, committee memberships/chairmanships,\n  governance attributes, and management-structure details explicitly stated in\n  `getEntityManagersDirectors_v2` or another cited source. Do not infer Operating Committee\n  membership, committee chair status, director independence, or similar governance conclusions\n  from titles alone. Normal text only; no subsection headers.\n\n### Section 8 — Credit Profile\n\n- `#pib-credit-analysis` — **1–2 paragraphs** in `<p>…</p>` covering the key aspects of the debt\n  profile, leverage trends, maturity schedule, liquidity position, credit ratings, and (where\n  returned by `getEntityProbabilityOfDefault`) the PD scores.\n- `#pib-credit-chart` — one inline `<svg>` (see **Debt Maturity** template) inside\n  `<div class=\"chart-container\">`, or empty if the filing doesn't return a per-year schedule.\n- `#pib-rating-table` — one `<tr>` per rating class:\n  `<tr><td>Senior Unsecured - Fgn Curr</td><td>Aaa</td><td><span class=\"outlook-badge stable\">Stable</span></td><td>2024-11-20</td></tr>`.\n- `#pib-credit-strengths` / `#pib-credit-challenges` / `#pib-credit-upgrade` /\n  `#pib-credit-downgrade` — each `<ul><li>…</li></ul>` with one bullet per item from\n  `getCreditOpinion` `CreditStrengths`, `CreditChallenges`, `FactorsLeadingToUpgrade`, and\n  `FactorsLeadingToDowngrade` respectively. These MUST be sourced **exclusively** from those\n  sections — do not paraphrase beyond the source or add items not present in the data.\n\n**Ratings rules** (apply to `#pib-peers-rating` and `#pib-rating-table`):\n- Use only the **current** (most recently assigned) long-term issuer rating for that exact\n  entity from `getEntityRatings` (`currentRating` field, or the first/most-recent entry in the\n  ratings history). Never use a historical rating that has since been superseded.\n- `#pib-rating-table` includes only current ratings/assessments explicitly assigned to that same\n  legal entity. Do **not** include subsidiary or affiliate ratings/assessments (e.g. deposit\n  ratings, BCAs, other bank-only measures) in a parent-company table unless the source\n  explicitly assigns them to the parent itself, and do not use a subsidiary-bank BCA/LGF\n  rationale to explain a parent issuer rating unless the source says it applies to the parent.\n- If `getEntityRatings` and `getCreditOpinion` return conflicting current ratings for the same\n  entity, `getEntityRatings` is authoritative.\n\n### Section 9 — Risks and Challenges\n\n- `#pib-risks-narrative` — **1–2 paragraphs** in `<p>…</p>` summarising the current key risks\n  and challenges facing the company, spanning market/competitive, operational, regulatory, and\n  technology dimensions. Each sentence must stay within what its cited source actually says — do\n  not broaden scope (adding actors, geographies, or causes the source doesn't mention) or merge\n  wording from unrelated passages into one claim.\n- `#pib-risk-table` — up to 7 `<tr>`s covering distinct risk categories, but include a row only\n  for a risk that the retrieved tool results actually raise — never pad to reach a row count,\n  and omit categories (e.g. litigation, regulatory) for which searches returned nothing:\n  `<tr><td>Market &amp; Competitive</td><td>Description…</td><td>Impact…</td><td>Mitigation…</td></tr>`.\n  No citation markup inside cells, but every cell must still be traceable to the tool results.\n  The Mitigation cell must describe only measures, strengths, or offsets that a source\n  explicitly attributes to the issuer; if none is stated, write `Not disclosed in sources`\n  rather than supplying generic mitigants (balance-sheet strength, diversification, compliance\n  programs, governance). Never state a mitigant that contradicts the sources.\n\n### Section 10 — ESG Profile\n\n- `#pib-esg-narrative` — **three short paragraphs** in `<p>…</p>`, one per ESG dimension, each\n  preceded by `<strong class=\"subsection-title\">…</strong>`:\n  (1) **Environmental** — key environmental initiatives, risks, and performance;\n  (2) **Social** — social policies, workforce practices, and community impact;\n  (3) **Governance** — governance structure, board practices, and oversight quality.\n- `#pib-esg-r{1..3}-focus` / `#pib-esg-r{1..3}-score` — category-row cells (Environmental,\n  Social, Governance rows are pre-labelled). Focus is a short text; score is the Moody's ESG\n  score (e.g. `E-3`) from `getCreditOpinion` (`ESGConsiderations`), supplemented by\n  `getEntityEsg`. No citations inside cells.\n\n### Citations\n\n- `#pib-sources` — end-of-document Citations rows. One `<div class=\"source-item\">` per\n  source, in `[1], [2], …` order. Use the canonical row markup defined in\n  [skills/shared/citations/SKILL.md](../shared/citations/SKILL.md). Numbering must match\n  inline `[n]` references.\n\n---\n\n## Step 5 — Present the report to the user\n\n> ## ⚠️ CRITICAL — THIS STEP MUST NEVER BE SKIPPED\n>\nAfter the ` ```html ` code block, add a single short sentence confirming the artifact is\ncomplete (e.g. `Artifact rendered above — the report is fully self-contained HTML.`). Do not\nwrite the artifact to disk and do not suggest shell commands. The code block itself is the\ndeliverable.\n\nUse whatever tool is available in your current environment to present or display the final report to the user (e.g. a file presenter, inline renderer, or widget) at the end of running the skill.\n\n---\n\n## Streaming protocol (element → content)\n\n| Element ID | Content type |\n|---|---|\n| `#pib-cover-company`, `#pib-company`, `#pib-date`, `#pib-footer-date` | Plain text |\n| `#pib-overview`, `#pib-mgmt` | `<p>…</p>` paragraphs |\n| `#pib-segments-intro`, `#pib-segments-outro`, `#pib-peers-intro`, `#pib-peers-conclusion`, `#pib-fin-summary`, `#pib-credit-analysis`, `#pib-risks-narrative`, `#pib-esg-narrative`, `#pib-industry` | `<p>…</p>` paragraphs (with `<strong class=\"subsection-title\">` headers where noted) |\n| `#pib-fin-highlights`, `#pib-credit-strengths`, `#pib-credit-challenges`, `#pib-credit-upgrade`, `#pib-credit-downgrade` | `<ul><li>…</li></ul>` |\n| `#pib-fin-analysis` | Subsection headers + `<ul><li>…</li></ul>` |\n| `#pib-segments-list` | One `<li>` per segment (with `<strong>` header + prose paragraph) |\n| `#pib-strategy-list` | One `<li>` per development |\n| `#pib-exec-mosaic` | One `<div class=\"exec-card\">` per executive (up to 10) |\n| `#pib-fin-col-{1..5}` | Plain text period label (FY−2, FY−1, FY, YoY%, LTM); `#pib-fin-col-{6..8}` stay empty |\n| `#pib-fin-tbody` | One `<tr>` per surviving financial row (8 data cells each, last 3 empty) |\n| `#pib-ki-header` | `<th>` cells for surviving Key Indicators columns (leading \"Account Name\") |\n| `#pib-ki-tbody` | One `<tr>` per surviving Key Indicators row |\n| `#pib-peers-table`, `#pib-peers-rating`, `#pib-rating-table`, `#pib-risk-table` | One `<tr>…</tr>` per row |\n| `#pib-esg-r{1..3}-focus`, `#pib-esg-r{1..3}-score` | Plain text |\n| `#pib-segments-chart`, `#pib-credit-chart` | One `<div class=\"chart-container\">` with inline `<svg>` (see templates below), or empty |\n| `#pib-cite-{a..j}` | Optional per-section recap as one `<div class=\"section-citations\">…</div>` (markup defined in [skills/shared/citations/SKILL.md](../shared/citations/SKILL.md)). Empty when the corresponding section carries no inline `[n]` references. |\n| `#pib-sources` | One `<div class=\"source-item\">…</div>` per source |\n\n**Variable company/row layout**: the Key Indicators table assumes target + up to 3 peers\n(4 columns) and drops blank columns/rows per the omission rule; the financial table drops blank\nrows. If fewer than 3 peers are available, simply emit fewer columns — do not insert placeholder\ncolumns.\n\n## Reference markup snippets\n\n```html\n<!-- Financial table row (into #pib-fin-tbody) -->\n<tr><td class=\"row-label\">Total debt</td><td>1,234</td><td>1,300</td><td>1,410</td><td>+8.5%</td><td>1,450</td><td></td><td></td><td></td></tr>\n\n<!-- Key Indicators header (into #pib-ki-header) and row (into #pib-ki-tbody) -->\n<th>Account Name</th><th>Target Co</th><th>Peer 1</th>\n<tr><td>Revenue</td><td>412,300</td><td>389,100</td></tr>\n\n<!-- Peers table row (into #pib-peers-table) -->\n<tr><td>Target Co</td><td>Description from Credit Opinion Profile…</td></tr>\n\n<!-- Peers rating row (into #pib-peers-rating) -->\n<tr><td>Target Co</td><td>Aaa</td><td><span class=\"outlook-badge stable\">Stable</span></td></tr>\n\n<!-- Rating table row (into #pib-rating-table) -->\n<tr><td>Senior Unsecured - Fgn Curr</td><td>Aaa</td><td><span class=\"outlook-badge stable\">Stable</span></td><td>2024-11-20</td></tr>\n\n<!-- Risk table row (into #pib-risk-table) -->\n<tr><td>Market &amp; Competitive</td><td>Description…</td><td>Impact…</td><td>Mitigation…</td></tr>\n\n<!-- Segment bullet (into #pib-segments-list) -->\n<li><strong>iPhone</strong><p>The iPhone segment encompasses Apple's line of smartphones running iOS. It is the company's largest revenue contributor, generating $209,586.0m (50.4% of total revenue) in FY2024 as reported by getEntitySegmentFinancials. The segment benefits from strong brand loyalty, a growing services attach rate, and continued premium pricing power across global markets.</p></li>\n\n<!-- Strategy bullet (into #pib-strategy-list) -->\n<li><strong>Title</strong>: 2026-01-15 — description of the development with citation <a href=\"https://www.moodys.com/research/doc--PBC_…\" target=\"_blank\" class=\"cite-ref\">[3]</a>.</li>\n\n<!-- Executive card (into #pib-exec-mosaic) -->\n<div class=\"exec-card\"><div class=\"exec-name\">Full Name</div><div class=\"exec-role\">Chief Executive Officer</div></div>\n```\n\nFor `#pib-sources` source-item rows, use the canonical row markup defined in\n[skills/shared/citations/SKILL.md](../shared/citations/SKILL.md).\n\n## SVG chart templates\n\nEvery chart is wrapped in `<div class=\"chart-container\">…</div>` so the existing CSS applies.\nThis report has two charts: the segment revenue pie chart and the debt maturity bar chart.\n**If you do not have a calculator tool, use bash or Python to compute all geometry values before\nemitting any SVG — do not attempt to calculate them mentally.**\n\n### Segment Revenue Pie Chart (`#pib-segments-chart`)\n\nBuild the chart from the same `getEntitySegmentFinancials` response used for\n`#pib-segments-list` — use each segment's **latest available fiscal period** revenue figure (the\nmost recent period returned; do not mix periods across segments). Do not use earnings call data\nor estimates for these values.\n\n**If `getEntitySegmentFinancials` does not return a usable per-segment revenue breakdown (fewer\nthan 2 segments with a genuine non-zero revenue figure), leave `#pib-segments-chart` empty —\ndo NOT render a chart with fabricated or estimated values.**\n\nPie geometry: `cx=130`, `cy=130`, `r=110`, viewBox `0 0 260 260`. Let `total` = sum of the\nincluded segments' revenue values (drop any segment with zero/blank revenue). For segment `i`\n(0-indexed, in the same order as `#pib-segments-list`), compute `fraction_i = value_i / total`,\ncumulative start angle `a0_i` (radians, 0 = 12 o'clock, clockwise) = `2π × (sum of fractions\nbefore i)`, end angle `a1_i = a0_i + 2π × fraction_i`. Slice point `x = cx + r × sin(angle)`,\n`y = cy − r × cos(angle)`. Each slice is an SVG path:\n`M {cx},{cy} L {x(a0_i)},{y(a0_i)} A {r},{r} 0 {largeArcFlag},1 {x(a1_i)},{y(a1_i)} Z`, where\n`largeArcFlag = 1` if `fraction_i > 0.5` else `0`. Round all coordinates to 1 decimal place.\n\nFill each slice from this palette, cycling if there are more segments than colors:\n`#0066cc`, `#00205b`, `#4d94ff`, `#7a6500`, `#1a7a4a`, `#c0392b`, `#9aa0ab`, `#444c58`.\n\nAssemble as:\n\n```html\n<div class=\"chart-container\">\n  <svg viewBox=\"0 0 260 260\" width=\"320\" height=\"320\">\n    <path d=\"{slice path}\" fill=\"{COLOR}\"></path>\n    <!-- one path per slice -->\n  </svg>\n  <ul class=\"pie-legend\">\n    <li><span class=\"swatch\" style=\"background:{COLOR}\"></span>Segment Name (XX%)</li>\n    <!-- one item per slice; percentage rounded to the nearest whole number -->\n  </ul>\n</div>\n```\n\nNo citation markup inside the SVG or legend (the revenue figures are covered by the citation in\n`#pib-segments-list`).\n\n### Debt Maturity (`#pib-credit-chart`)\n\n> **⚠️ MANDATORY DATA REQUIREMENT — NO ESTIMATION PERMITTED**\n>\n> `searchCompanyFilings` **MUST** be called with a query targeting the debt maturity schedule\n> (e.g. `\"long-term debt maturities schedule obligations\"`) before this chart can be emitted.\n> This is a required tool call — it cannot be skipped, inferred from total debt figures, or\n> substituted with data from any other source.\n>\n> - **NEVER** estimate, split, distribute, or approximate maturity amounts from aggregate debt.\n> - **NEVER** construct buckets from total debt divided by assumed years.\n> - If `searchCompanyFilings` does not return an explicit per-year maturity schedule, leave\n>   `#pib-credit-chart` **empty** and omit the chart entirely. Do not render a chart with\n>   fabricated values.\n\n**Source data exclusively from `searchCompanyFilings`** (annual reports, 10-K, or debt/liquidity\nfootnotes in the filing itself) — do **not** use Moody's estimates or earnings call materials\n(even though the same tool can return them) for maturity amounts.\nBuild the chart using **future debt obligation periods** as reported in the filing's debt\nmaturity schedule. Use the actual future years (e.g. 2025, 2026, 2027, 2028, 2029, Thereafter)\nrather than generic buckets; drop any year with zero obligations before computing layout.\n\nBar chart. Constants:\n\n- `W=700`, `H=250`; padding `{top:20, right:20, bottom:60, left:70}`; plot area `cW=610`, `cH=170`.\n- Buckets: the actual future calendar years from the filing's debt maturity schedule. **Drop any\n  year whose value is 0** before computing layout. Let `N` = remaining bucket count.\n- `bw = min(cW / N × 0.6, 50)`; `gap = (cW − bw × N) / (N + 1)`.\n- `mx = max(values)`; `yPos(v) = 20 + 170 − (v / mx) × 170`.\n- Bar `x` for bucket `i` = `70 + gap × (i + 1) + bw × i`.\n- Fill bars with `#0066cc`. Emit the value above each bar as `{v}B` (centred on the bar) and the\n  label below rotated `-25°`.\n- Title `<text x=\"350\" y=\"14\" text-anchor=\"middle\" font-size=\"12\" fill=\"#00205b\" font-weight=\"700\">Debt Maturity Profile (USD-Billion)</text>`.\n\n```html\n<div class=\"chart-container\">\n  <svg width=\"700\" height=\"250\" viewBox=\"0 0 700 250\" xmlns=\"http://www.w3.org/2000/svg\">\n    <text x=\"350\" y=\"14\" text-anchor=\"middle\" font-size=\"12\" fill=\"#00205b\" font-weight=\"700\">Debt Maturity Profile (USD-Billion)</text>\n    <!-- baseline -->\n    <line x1=\"70\" y1=\"190\" x2=\"680\" y2=\"190\" stroke=\"#9aa0ab\"/>\n    <!-- per bucket: <rect> + value label + rotated x-label -->\n    <rect x=\"{bx}\" y=\"{yPos(v)}\" width=\"{bw}\" height=\"{190 − yPos(v)}\" fill=\"#0066cc\"/>\n    <text x=\"{bx + bw/2}\" y=\"{yPos(v) − 4}\" text-anchor=\"middle\" font-size=\"10\" fill=\"#444c58\">{v}B</text>\n    <text x=\"{bx + bw/2}\" y=\"210\" text-anchor=\"middle\" font-size=\"10\" fill=\"#444c58\" transform=\"rotate(-25 {bx + bw/2} 210)\">{label}</text>\n  </svg>\n</div>\n```\n\n## Class-selection rules\n\n- `outlook-badge` variants: `stable` / `positive` / `negative` / `review` / `na` (canonical\n  pastel set defined in the template). Map by outlook text, as returned by `getEntityRatings`:\n  `Stable → stable`, `Positive → positive`, `Negative → negative`,\n  `Review for Upgrade` / `Review for Downgrade` / `RUR` → `review`. If the outlook is missing\n  or unknown, use `na` (renders as muted gray) — do not default to `stable`.\n- `subsection-title` on a `<strong>` is the canonical way to render a sub-heading inside a\n  `section-content` block (the three Industry sub-topics, the three Financial Analysis\n  sub-topics, the three ESG dimensions).\n\n## Tips\n\n- Run ALL research searches in a single parallel batch to minimize latency.\n- **No estimated or approximated numbers anywhere in the report.** Every figure in tables,\n  charts, and prose must come directly from a tool response. If a value is not available from\n  the data gathered, use `\"--\"`. Never use `~`, `approx.`, or any similar qualifier. See the\n  CRITICAL no-estimation block above for full rules.\n- **`searchCompanyFilings` is a required call** for the debt-maturity chart, and\n  **`getEntitySegmentFinancials` is a required call** for the segment revenue list and pie chart.\n  If either does not return the required per-year schedule or segment breakdown, leave the chart\n  container empty rather than fabricate values.\n- Always order the target company first, then peers, in any table or list that lists multiple\n  companies (Key Indicators table, peers table, peers rating table).\n- Financial table and Key Indicators table values are in millions (except ratios/percentages,\n  which are unitless or `%`); use `\"--\"` for individually unavailable cells. Drop rows/columns\n  that are blank or all-zero across their whole span per the omission rules — do not leave empty\n  placeholder rows.\n- Net Debt (and every KI metric) must agree between the financial table, the Key Indicators\n  table, and any narrative — all from `getEntityFinancials_v2`.\n- Emit each chart SVG directly into its container inside the artifact — the template does not\n  render charts at load time. Use the reference templates + palette above.\n- The segment pie chart (`#pib-segments-chart`) goes between `#pib-segments-intro` and\n  `#pib-segments-list` in Section 2. Revenue data must match `getEntitySegmentFinancials`.\n- For the debt-maturity chart, source future obligation amounts from `searchCompanyFilings` and\n  use actual calendar years as x-axis labels. Drop any year whose value is 0 (do **not** emit a\n  `<rect>` for it). Filter buckets before computing bar positions.\n- The report has no share-price, market-valuation, or \"Company Metrics\" section, and no KPI\n  strip, rating-timeline, Porter's, or strategy-timeline graphics. Do not emit elements for them.\n- Citation references `[n]` are used inline throughout narrative text per\n  [skills/shared/citations/SKILL.md](../shared/citations/SKILL.md). Never put citation markup\n  inside table cells (financial / key-indicators / rating / risk / ESG), executive cards, or\n  chart legends.\n- Each section carries an optional per-section recap target `#pib-cite-{a..j}` (one per\n  section, in order). Fill it with a single `<div class=\"section-citations\">…</div>` block\n  listing only the `[n]` numbers referenced in that section. The recap re-uses global numbering\n  and never starts a new sequence; if the section has no citations, leave the target empty.\n- Pre-filled row-label cells and static table headers in `template.html` are copied verbatim\n  into the artifact; only the empty data cells and variable-row `<tbody>`/`<ul>`/`<div>`\n  targets are filled.\n- The final response must contain **exactly one** ` ```html ` fenced block — the complete\n  document. Do not split sections across multiple code blocks and do not emit the artifact to\n  disk.\n"}],"summary":"Fields changed: 3. /description, /included_files, /skill_md_contents.","summary_kind":"deterministic","summary_metadata":{}}