Skill instructions
earnings-brief44.3 KB
View saved version →
---
name: earnings-brief
description: >
Produce an Earnings Call Summary HTML report for 2–5 companies using Moody's GenAI MCP tools.
Use this skill whenever the user asks to summarize earnings calls, generate an earnings call
summary, analyze earnings transcripts across peers, or create an earnings call report. Trigger
even if they just name companies and mention "earnings" or "transcript".
---
# Earnings Brief Skill
Generates a professional HTML report (styled like a Moody's earnings call summary PDF) for 2–5
companies by pulling earnings call transcript content from the `Moodys MCP server` MCP tools and
consolidating 12 structured sections plus a hardcoded cover and table of contents into a single
HTML artifact.
The workflow is **single-artifact delivery**: gather all data, then write the entire filled
HTML document to a single `.html` file in `/mnt/user-data/outputs/` and present it to the user
via `present_files`. The rendered HTML artifact is the deliverable.
> ## ⚠️ CRITICAL — NON-NEGOTIABLE OUTPUT CONTRACT
>
> **The LLM MUST deliver the final report as a single standalone HTML artifact file.** This is
> the only acceptable form of delivery for this skill. Specifically:
>
> - The LLM **MUST** write the **complete, standalone HTML document** (`<!doctype html>` →
> `</html>`), with every `{{ placeholder }}` from the placeholder reference substituted
> inline, to a single `.html` file in `/mnt/user-data/outputs/` using the `create_file`
> tool, then surface it to the user with `present_files`.
> - The LLM **MUST NOT** emit the report inline as a fenced ` ```html ` code block, as prose,
> Markdown, JSON, attachments, or links. The rendered HTML artifact itself is the answer.
> - The LLM **MUST NOT** split the report across multiple files, multiple messages, partial
> snippets, or summaries.
> - If data gathering fails partially, still produce the single HTML artifact file with the
> best-available content. When the earnings call transcript for a company cannot be
> located (or is stale, ambiguous, or unresolved), **note that fact in the Executive
> Summary and omit the company from every other section of the report** (no rows, no
> subtitles, no `"--"` placeholders for that company). When a transcript exists but does
> not contain information for a specific section, **omit that company from that section
> only** (no subtitle, no bullets, no placeholder). Never skip the artifact itself.
>
> Treat any other output shape as a hard failure of the skill.
## NO FABRICATION — NON-NEGOTIABLE GROUNDING RULE
**Every fact, figure, quote, date, name, and statement in the generated report MUST be based
strictly on information extracted directly from the earnings call transcript(s) — or the
permitted `webSearch` transcript fallback — actually retrieved via Moody's GenAI MCP tools for
that company.** This overrides brevity, section structure, or any minimum-count target
described in any section rule below.
- Never create, invent, infer, assume, guess, extrapolate, or hallucinate any fact, figure,
quote, or statement not explicitly present in retrieved transcript content — including
revenue/volume/price figures, guidance numbers, dates, quotes, named events, or sentiment.
- **No synthetic filler.** Never manufacture content to satisfy a bullet-count,
character-length, or "exactly N" structural requirement. If the transcripts don't genuinely
support the full required count, write fewer and say so explicitly rather than padding.
- If information for a section/field isn't available, state that explicitly (e.g.
`Not specified` for YOY cells, omitting a company/region/theme per that section's own omit
rule) rather than fabricating a plausible-sounding substitute.
- This applies to every section without exception.
## Allowed data sources — strictly enforced
This skill may **only** extract information from the following `Moodys MCP server` tools:
1. `findEntity` (`mcp__moodys_mcp__findPreview of the first 4,000 characters. Read full instructions →
Referenced files: 7 — file references are metadata, not package contents.
issuer-brief52.6 KB
View saved version →
---
name: issuer-brief
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".
---
# Issuer Brief Skill
Generates a professional HTML report (styled like a Moody's Issuer Brief) for a
target company. The report consolidates data from multiple Moody's MCP tools, annual/quarterly
reports, earnings calls, and news into 10 structured sections plus a pre-rendered table of
contents and a Citations block.
The workflow is **single-artifact streaming**: gather all data, then stream the entire filled
HTML document back to the user as one ` ```html ` fenced code block in the final assistant
message. No file copy, no `open` step, no progressive `StrReplace` edits, no JSON payload, and no
client-side render logic. The fenced code block is the deliverable.
> ## ⚠️ CRITICAL — NON-NEGOTIABLE OUTPUT CONTRACT
>
> **The LLM MUST stream the final report back as a single HTML artifact inside the assistant
> response.** This is the only acceptable form of delivery for this skill. Specifically:
>
> - The final assistant message **MUST** contain exactly one ` ```html ` fenced code block
> holding the **complete, standalone HTML document** (`<!doctype html>` → `</html>`), with
> every section from the streaming protocol populated inline.
> - The LLM **MUST NOT** write the report to a file on disk (no `Write`, no `cp` of the
> template, no `StrReplace` into a working artifact, no `open` command).
> - The LLM **MUST NOT** split the report across multiple code blocks, multiple messages,
> partial snippets, or summaries.
> - The LLM **MUST NOT** substitute prose, Markdown, JSON, attachments, or links for the
> fenced HTML artifact. The artifact itself is the answer.
> - If data gathering fails partially, still emit the single ` ```html ` artifact with
> the best-available content and `"--"` placeholders for missing cells — never skip the
> artifact.
>
> Treat any other output shape as a hard failure of the skill.
> ## ⚠️ CRITICAL — NO ESTIMATED OR APPROXIMATED NUMBERS ALLOWED
>
> **Every numeric value in the report — financial table cells, Key Indicators table cells,
> ratings, ESG scores, PD scores, debt maturity chart values, KPI/pie-chart values, and numbers
> quoted in prose — MUST come directly from a Moody's MCP tool response or a company filing
> retrieved via `searchCompanyFilings`.** Never compute, interpolate, average, or split an
> aggregate to approximate a missing figure. Estimation, approximation, interpolation, and
> inference from indirect sources are strictly forbidden. Specifically:
>
> - **NEVER** write `~`, `approx.`, `estimated`, or any similar qualifier next to a number.
> When a value is genuinely unavailable from the data gathered, write `"--"` instead of
> guessing.
> - **NEVER** derive a number by splitting, distributing, or back-calculating from an aggregate
> (e.g. do not allocate total debt across maturity buckets by assumption).
> - **NEVER** invent segment revenue, EPS, FCF, ROE, debt maturity amounts, or any other
> metric that was not explicitly returned by a tool call. (The only permitted derived values
> are the ones this skill defines explicitly: YoY% in the financial table, EBITDA Margin in
> the Key Indicators table, Net Debt = Total Debt − Cash & Equivalents when only a variant is
> offered, and the percentage shares / geometry computed for the charts.)
> - **Charts are not exempt**: every slice, bar height, and label in every SVG c
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 4 — file references are metadata, not package contents.
peer-analysis46.5 KB
View saved version →
---
name: peer-analysis
description: >
Helps credit analysts and investors see how a company compares with its closest peers. It resolves the target and up to three peers, then compares their credit ratings and rating drivers, key financial and credit metrics, probability of default and ESG profiles, and concludes on the target's relative credit positioning. Peers can be chosen by the user or discovered automatically.
---
# Peer Analysis Skill
Generates a professional HTML report (styled like a Moody's peer analysis PDF) for a target
company and up to 3 credit peers. Data is pulled from multiple Moody's MCP tools and
consolidated into a single HTML artifact covering peers comparison, ratings chart, PD, and ESG.
The workflow is **single-artifact file delivery**: gather all data, fill the complete HTML
document, write it to disk as a standalone `.html` file, and present it to the user for
download. No fenced code blocks, no streaming partial sections, no JSON payload, no progressive
edits. The downloaded file is the sole deliverable.
> ## ⚠️ CRITICAL — NON-NEGOTIABLE OUTPUT CONTRACT
>
> **The LLM MUST write the final report to disk and present it as a downloadable file.**
> This is the only acceptable form of delivery for this skill. Specifically:
>
> - The LLM **MUST** write the complete, standalone HTML document (`<!doctype html>` → `</html>`)
> to `/mnt/user-data/outputs/{target_company_slug}_peer_analysis.html` and then call
> `present_files` to surface it to the user.
> - The LLM **MUST NOT** print the raw HTML source in the chat — no ` ```html ` fenced code
> blocks, no partial snippets, no inline HTML in the assistant message.
> - The LLM **MUST NOT** split the report across multiple files or multiple messages.
> - The LLM **MUST NOT** substitute prose, Markdown, JSON, or links for the file download.
> - The delivered file **MUST NOT** contain any unfilled `{{ placeholder }}` token.
> - If data gathering fails partially, still write and deliver the file with best-available
> content and `Not available` / `—` placeholders (as specified per section below) for missing
> cells — never skip the file delivery.
>
> Treat any other output shape as a hard failure of the skill.
## Parameters
| Pattern | Type | Required | Notes |
|---|---|---|---|
| Company Name | Company | Yes | The target company. The user may also name the peers they want compared; if they do, use those peers. If they do not, peers are discovered automatically in Step 2. |
## Required MCP server
`moodys_mcp` — tools used: `findEntity`, `getEntityPeers`, `getEntityProfile`, `getEntityRatings`,
`getCreditOpinion` (sections: Summary, FactorsLeadingToUpgrade, FactorsLeadingToDowngrade,
CreditStrengths, CreditChallenges, KeyIndicatorsTable, RatingFactors), `getEntityScorecardV2`,
`getEntityFinancials_v2`, `getEntityEsg`, `getEntityProbabilityOfDefault`
If any of the tools required for a section are not available under the current subscription,
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."
## Bundled files
- `assets/template.html` — self-contained report shell (all CSS inline, no external dependencies)
with `{{ placeholder }}` tokens for every value that varies per run, including pre-shaped tables
for a fixed target + 3-peer layout. Treat this file as the **structural reference**: read it
once, replace every `{{ token }}` with its value (token map below), and emit the complete
filled document. Keep its `<head>`/CSS, section order, table skeletons, row labels and CSS
class names exactly as shipped.
- `evals/evals.json` — test prompts and assertions for this skill.
---
## CRITICAL: Decide how to respond before doing anything
**Check the conversation history before doing anything else.**
**If a reportPreview of the first 4,000 characters. Read full instructions →
Referenced files: 4 — file references are metadata, not package contents.
rating-analysis26.4 KB
View saved version →
---
name: rating-analysis
description: "Produce a Rating Pitch Report for a company using Moody's GenAI MCP tools, delivered as a self-contained HTML file saved to disk. Use this skill whenever the user asks to create a rating pitch, rating pitch deck, credit pitch, rating presentation, rating pitch report, or rating HTML report. Also trigger when they ask for a comprehensive credit overview combining sector analysis, company financials, SWOT, peer comparison, and ESG into a single report or presentation. Trigger even if they just name a company and say \"pitch deck\", \"rating deck\", \"credit deck\", or \"rating report\".\n"
---
# Rating Pitch Skill
Generates a Moody's Rating Pitch Report as a self-contained HTML file from a single MCP
data pass. The Python builder (`scripts/build_html.py`) takes the resolved payload JSON and
produces a single `.html` file containing all sections with inline Chart.js charts, styled
tables, and bullet lists using the Moody's brand palette — no external dependencies beyond
a browser to open it.
> ## ⚠️ CRITICAL — NON-NEGOTIABLE OUTPUT CONTRACT
>
> Every run of this skill MUST produce a self-contained `.html` report. Specifically:
>
> - The skill **MUST** save the resolved `payload.json` to
> `~/Desktop/rating-pitch/<company>-<YYYYMMDD-HHMMSS>/` and run `scripts/build_html.py`
> against it to produce the `rating_pitch.html` alongside it.
> - The LLM **MUST NOT** stream the report content as inline Markdown, JSON dumps, or
> any other in-chat artifact in lieu of building the `.html` file. The `.html` file itself
> is the deliverable.
> - The final assistant message **MUST** point the user at the full path to the generated
> `rating_pitch.html` so they can open it in their browser.
> - If data gathering fails partially, still build the `.html` from the partial payload
> using `"--"` placeholders for missing values — never skip the build.
>
> Treat any other output shape as a hard failure of the skill.
## Required MCP server
`Moody's Credit MCP` (same tools also exposed by `M1`) — tools used:
`findEntity`, `getEntityPeers`, `getEntityRatings`,
`getCreditOpinion` (sections: Summary, RatingOutlook, FactorsLeadingToUpgrade,
FactorsLeadingToDowngrade, CreditStrengths, CreditChallenges, ESGConsiderations,
KeyIndicatorsTable, RatingFactors), `getEntityFinancials_v2`, `getEntityEsg`,
`getEntitySectorOutlook`, `searchCompanyFilings`, `searchAllDocuments`, `searchNews`,
`getMacroEconomicTimeSeries` (Macroeconomic data MCP).
Web research is also required (general web search) for items Moody's tools do not return
(e.g. IMF GDP forecasts, very recent deal news).
### Tool-name changes vs. earlier versions of this skill
| Old name used here | Use now | Notes |
|---|---|---|
| `getEntityCreditOpinion` | `getCreditOpinion` | Section `ScorecardTable` is now `RatingFactors`. There is no `Profile` section. |
| `getEntityFinancials` | `getEntityFinancials_v2` | A bare call returns only EBITDA/ratios. See Step 2 for the two calls required. |
| `searchEntityEarningsCall` | `searchCompanyFilings` with `filingTypes: ["earnings_call_transcript"]` | Annual reports: `filingTypes: ["annual"]`. Optional `reportYears` / `reportQuarters`. |
| `searchEntityDocuments` | `searchAllDocuments` with `entities: [...]` | Moody's research scoped to the entity. |
| (not listed) | `getEntityScorecardV2` | Optional: structured scorecard factor breakdown. |
`getEntityRatings` accepts at most 10 entities per call.
If 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.
## Bundled files
- `scripts/build_html.py` — the report builder. Takes a JSON payload and emits a `.html`.
Uses only the Python standard library; no pip installs required
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 8 — file references are metadata, not package contents.
sector-brief33.1 KB
View saved version →
---
name: sector-brief
description: >
Produce a Sector Brief HTML report for any industry sector using Moody's Credit MCP tools
and news research. Use this skill whenever the user asks to analyze a sector, write a sector
report, do an industry analysis, create a sector overview, or generate a sector deep-dive.
Trigger even if they just name a sector and mention "analysis", "overview", "outlook", "report",
or "deep-dive". Also trigger for phrases like "what's happening in the retail sector" or
"give me a sector breakdown for aerospace".
---
# Sector Brief Skill
Generates a professional HTML report (styled like a Moody's sector brief document) for a
specified industry sector. The report is research-heavy and text-driven, combining Moody's
internal research and sovereign/macro research with supplemental news across six structured sections plus
an executive summary and citations. Three sections carry an inline SVG chart: financial
performance (revenue / EBITDA margin), industry structure (Porter's Five Forces), and sector
outlook (sentiment track).
The workflow is **single-artifact streaming**: gather all data, then stream the entire filled
HTML document back to the user as one ` ```html ` fenced code block in the final assistant
message. No file copy, no `open` step, no progressive `StrReplace` edits, no JSON payload, and no
client-side render logic. The fenced code block is the deliverable.
> ## ⚠️ CRITICAL — NON-NEGOTIABLE OUTPUT CONTRACT
>
> **The LLM MUST deliver the report as a single HTML artifact in the assistant response.** Specifically:
>
> - The final message **MUST** contain exactly one ` ```html ` fenced code block holding the **complete, standalone HTML document** (`<!doctype html>` → `</html>`), every section populated inline.
> - The LLM **MUST NOT** write to disk, split across messages/blocks, or substitute prose, Markdown, JSON, or links for the artifact.
> - If data partially fails, emit the artifact with `"Data unavailable"` placeholders — never skip it.
>
> Treat any other output shape as a hard failure of the skill.
## Required MCP server
`Moody's Credit MCP` — **only tools available in this server are used.** Tools used:
`findEntity`, `searchAllDocuments` (primary tool for sector-level research), `searchEntityDocuments`
(entity-scoped research), `getEntitySectorOutlook`, `getEntityCountryProfile`,
`searchPrecisReports`, `searchNews`.
Tool notes (these tools behave differently from generic search tools):
- **`entityId`** is the Base64URL entity identifier returned by `findEntity`; pass it as
`entities: [{ entityId }]`. `searchEntityDocuments`, `getEntitySectorOutlook`, and
`getEntityCountryProfile` require at least one entity. `searchNews` accepts at most one entity
(or none, for topic-based search with `query`). `searchAllDocuments` and `searchPrecisReports`
need no entity.
- **`findEntity` may be called only once per run** — put everything it must resolve into a single
call (see Step 2a). Pass criteria verbatim, including count/ranking qualifiers, and set
`numberOfResults` to the requested count.
- **Sector-level research uses `searchAllDocuments`**, with `keywords` plus
`filter: { sectors: ["{Sector}"] }` (human-readable name, passed verbatim; optionally
`regions`, and `publishDate`). Do **not** call `searchEntityDocuments` without an entity — it
has no sector scope.
- **`searchPrecisReports`** covers Moody's Précis *sovereign* research (reports since 2024) and
is used only for sovereign/macro context. **`getEntityCountryProfile`** returns Moody's view of
the sovereign in which the entity is domiciled.
- **`searchNews`** is the news source (there is no separate general web-search tool): use `query`
(topic-based, no entity) with `timeRange` / `dateRange`, `searchType: "hybrid"` and
`sortBy: "recency"` as appropriate.
- Whenever data from a tool refers to a rating, state clearly whether it is a rating or an
implied rating and its type (e.g. Long Term Rating, PDPreview of the first 4,000 characters. Read full instructions →
Referenced files: 4 — file references are metadata, not package contents.