Defines citation rules for Moody's Agentic Solutions HTML reports: inline [n] markers, end-of-document Citations block, global numbering, hyperlink behavior, and CSS contracts. Parent skills (earnings-brief, peer-analysis, etc.) must read this file and assets/template.html before emitting citations.
This is the single source of truth for how citations are authored and rendered across the
HTML report skills. Parent skills (earnings-brief, peer-analysis,
issuer-brief, sector-brief, etc.) defer to this document for inline reference
markup, the Citations block, numbering, hyperlinking, source data shape, and CSS. Each parent
skill keeps only its own carve-outs (e.g. "no citations in .yoy-change cells", "no citations
in financial table cells").
The canonical CSS and the literal HTML markup contracts live in
assets/template.html. This SKILL.md describes the rules; the
asset file ships the verbatim implementation. Parent skills must read both files before
emitting citations.
Sibling skill.
skills/shared/template/owns the rest of the visual chrome (cover, TOC, section, sources-section wrapper, footer, outlook-badge, design tokens) and uses the same inlining pattern as this skill — parent templates reserve a CSS-comment marker region (/* BEGIN shared-template-css ... *///* END shared-template-css */) and copy the contents of<style id="shared-template-css">from that skill'sassets/template.htmlat emit time. Read both shared skills together when authoring or modifying any HTML report skill.
Read this skill from a parent skill before emitting any [n] reference or the
end-of-document Citations block. Parent skills must contain a directive near the top of their
SKILL.md instructing the agent to read both this file and assets/template.html.
[1], [2], … per document. The number n in any
inline reference MUST equal the row position of the matching source inside
#{prefix}-sources (1-indexed, in document order).[n] text in narrative content (not wrapped in <a class="cite-ref"> or
<span class="cite-ref">) is not allowed.The literal markup ships in assets/template.html (<template id="cite-ref-anchor"> and
<template id="cite-ref-span">). Rules:
cite-ref-anchor and substitute {source_url} and [n]. This is the
default form.cite-ref-span and substitute [n]. Use this fallback only when
the source has no URL — the span keeps the .cite-ref styling without an active link.n MUST match the row position of that source inside #{prefix}-sources. The same n
may be reused multiple times throughout the document for repeat references to the same
source.Every report renders exactly one Citations block at the end of the document. The container
markup ships in assets/template.html (<template id="sources-section">).
{prefix} is the parent skill's prefix (ecs, pa, pib, sa). The displayed heading is
always the literal string Citations. The container <div> keeps its existing
#{prefix}-sources id for backward continuity.
Three row variants ship in the asset; pick based on which fields are present:
| variant template id | when to use |
|---|---|
source-item-with-url | source has a URL and at least one of source / date. |
source-item-no-url | no URL but at least one of source / date. |
source-item-no-meta | source has a URL but no source and no date. |
If only one of source or date is present, render only that field inside the () of
.source-meta. If neither is present and a URL exists, drop the .source-meta span entirely
(use source-item-no-meta).
Some skills (currently earnings-brief, peer-analysis, issuer-brief, etc.)
render a short recap of the citations referenced inside a given section, immediately below
that section's content. This component is opt-in. Parent skills decide whether to use it;
the canonical CSS in assets/template.html ships the styling unconditionally so the option
is always available.
The recap markup ships in assets/template.html (<template id="section-citations-recap">).
Parent skills that opt in also embed empty target placeholders inside each section using the
<template id="section-citations-target"> shape (<div id="{prefix}-cite-{slot}"></div>),
which the LLM later fills with a recap or leaves empty if the section has no citations.
The numbers inside a recap MUST be the same n values used inline and listed in the
end-of-document Citations block. A recap NEVER introduces a new numbering sequence. If a
section has no citations, omit the recap entirely (leave the target div empty).
Each source is described by:
| field | required | notes |
|---|---|---|
id | yes | 1-indexed integer matching the row's position in #{prefix}-sources. |
title | yes | Human-readable title. Rendered inside .source-title. |
source | no | Publisher / system (e.g. "Moody's Research Assistant Library"). |
date | no | Display-formatted date (e.g. 2026-02-24 or 12 Sep 2026). |
url | no | Absolute URL. If absent, use the URL-less row variant above. |
Never render internal MCP tool names (e.g. getEntityCreditOpinion) in .source-meta.
The canonical CSS lives only in assets/template.html inside the
<style id="shared-citations-css">…</style> block. Parent templates do not carry a
duplicate copy of these rules. Each parent template instead reserves a marker region inside
its own <style> tag bracketed by CSS comments (not HTML comments — the markers sit
inside <style>, where <!-- … --> would produce CSS parse errors):
/* BEGIN shared-citations-css (inlined at emit time from skills/shared/citations/assets/template.html) */
/* END shared-citations-css */
At emit time, the agent copies the contents (not the <style> wrapper) of
<style id="shared-citations-css">…</style> from the shared asset and inserts them between
those two marker comments in the final emitted HTML. Treat the canonical CSS as a single
block — do not edit values per-skill. If a parent skill needs to restyle citations, change
assets/template.html and the next emit picks it up automatically.
The block above relies on these CSS custom properties being defined elsewhere in the parent
template's :root (they already are in every current template):
--accent — link / inline-cite color--navy — heading and source-num color--g100 — light background for .section-citations--g200 — border color for .source-item separator and .section-citations border--g400 — meta text color--g700 — body text color for source rows--gray-100, --gray-200, --gray-400, --gray-700 — legacy aliases used by ECS / peer-
analysis templates. Either set of names works; templates that already define --gray-* may
alias them to --g* (or vice-versa) so the canonical block renders without edits.If a template defines only one naming scheme, add aliases at the top of the <style> block
so both name families resolve. Example alias snippet (add only the side you are missing):
:root {
/* if template uses --gray-* but not --g*, alias them: */
--g100: var(--gray-100);
--g200: var(--gray-200);
--g400: var(--gray-400);
--g700: var(--gray-700);
}
[n] is wrapped in <a class="cite-ref"> (with href + target="_blank")
or, if no URL exists, <span class="cite-ref">.n values resolve to a row inside #{prefix}-sources at position n.Citations..source-item row uses .source-num + .source-title + optional .source-meta..source-meta renders an internal MCP tool name..section-citations recap, if used, reuses the same n values — it never
starts a new numbering sequence.<style id="shared-citations-css"> in
assets/template.html has been inlined into the emitted HTML between the
/* BEGIN shared-citations-css */ / /* END shared-citations-css */ CSS-comment
markers that ship in the parent template.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/moody-s-company-analysis当用户需要 Moody's 公司档案、股权结构、评级、信用意见、财务报表、备案文件、同业对比、研究报告或针对某公司的信用风险分析时使用。/moody-s-earnings-brief使用 Moody's GenAI MCP 工具,为 2–5 家公司生成财报电话会议摘要 HTML 报告。当用户要求汇总财报电话会议、生成财报电话会议摘要、跨同业分析财报记录,或创建财报电话会议报告时使用本技能。即使只是点名公司并提到「earnings」或「transcript」也应触发。/moody-s-explore-mcp发现并安全探索 Moody's MCP 工具。当用户希望了解可用的 Moody's 数据、验证 MCP 连接、查找实体,或在深度分析前进行轻量级评级/研究探测时使用。/moody-s-issuer-brief使用 Moody's GenAI MCP 工具,为某公司生成一份全面的 Issuer Brief HTML 报告。当用户要求创建 Issuer Brief、公司档案报告、信用备忘录、投资手册或全面公司分析时使用本技能。当用户要求将公司概览、财务数据、同业对比、行业概览、战略动态、管理层、信用画像、风险及 ESG 合并为单一文档的报告时,也应触发。即使只是点名公司并说「Issuer Brief」「info book」「company book」「credit book」或「full company report」也应触发。/moody-s-peer-analysis使用 Moody's GenAI MCP 工具,为目标公司及其信用同业生成一份同业分析 HTML 报告。当用户要求将某公司与其同业对比、开展同业分析、进行信用同业比较、生成同业组合报告,或分析相对信用定位时使用本技能。即使只是点名公司并提到「peers」「peer comparison」「credit comparison」「peer group」或「relative value」也应触发。/moody-s-rating-analysis使用 Moody's GenAI MCP 工具为某公司生成一份评级推介报告,以独立 HTML 文件形式保存到磁盘。当用户要求创建评级推介、评级推介演示文稿、信用推介、评级演示、评级推介报告或评级 HTML 报告时使用本技能。当用户要求将行业分析、公司财务、SWOT、同业对比及 ESG 合并为单一报告或演示的全面信用概览时,也应触发。即使只是点名公司并说「pitch deck」「rating deck」「credit deck」或「rating report」也应触发。Not loaded · from moody-s
Claude Code won't load this skill
It ships in moody-s at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub kael-odin/codex-plugins-zh --plugin moody-sOther plugins' skills for the same job