Earnings preview deck, quarterly earnings presentation, earnings summary slides, consensus vs actual presentation, earnings preview report, pre-earnings analysis, earnings expectations deck, quarterly preview, upcoming earnings summary, earnings announcement preview
npx skills add https://github.com/agentii-ai/agentii-investment-intelligence --skill earnings-preview
Run the canonical pre-flight sequence — MCP health probe, ticker resolution, workspace
style.md override, memory load, and coverage check. See contracts/preflight.md.
Office dependency probe (FR-043) — this skill produces .pptx via Bash + python-pptx:
mcp__office__* tools are present (Cowork), drive the livedocument instead of headless Python.
Bash: python3 -c "import pptx" — if exit ≠ 0, fall back to .mdslide spec with data_availability: degraded + python_pptx_missing: true.
Bash: which soffice for structural validation and PDF export.If the Python library is absent, report the exact remediation:
pip install python-pptx and produce the .md degraded fallback per
contracts/office-tooling.md.
Include the X-Agentii-Trace header on every tool call per
contracts/x-agentii-trace-header.md.
| Parameter | Default | Notes |
|-----------|---------|-------|
| slide_count | 4-6 | Title, Company Overview, Consensus Estimates, Historical Surprises, Catalysts, Outlook |
| lookback_quarters | 4 | Trailing 4 quarters for trend analysis |
| peer_count | 3-5 | From search_companies sector peers |
| source_footers | required | Every slide has standard agentii citation footer |
| template | institutional-default | Dark header bar, agentii blue accent, 12pt body |
This skill performs structured data retrieval (earnings calendar, XBRL facts, company profile) with simple lookups — no unstructured document search. retrieval_scope: structured_only applies. See references/formula-sheet.md for presentation structure guidelines.
See contracts/retrieval.md for the canonical decision tree; skill-specific retrieval detail is in references/methodology.md.
Default: 4 fiscal quarters (max 8). Trailing 4 quarters captures current estimates and YoY comparisons. Maximum 8 quarters for analysts who want 2-year trend context on the estimates slide.
See frontmatter allowed_tools. This skill produces a polished .md slide-deck specification; .pptx rendering is available via the companion financial-analysis:pptx-author skill (separate install; see contracts/office-tooling.md).
Step-by-step execution detail is in references/methodology.md.
Inputs → Build → Validate → Output → Next
search_earnings_calendar, search_xbrl_facts, search_companies, get_company_profile).python-pptx that creates the 4–6 slide .pptx deck per ## Output Structure. Execute via Bash: python3 script.py. Verify the .pptx file exists. If python-pptx is absent, fall back to .md slide spec per contracts/office-tooling.md.## Validation Gates below.## Output File.agentii.md; hand off to a downstream pitch/review skill if requested.Per-tool failure modes and fallback actions are tabulated in references/tool-fallbacks.md.
Primary deliverable: {ticker}/{YYYY-MM-DD_HHMM}_earnings-preview_{affix}.pptx — real PowerPoint binary via Bash + python-pptx per contracts/office-tooling.md. Degraded fallback: {ticker}/{YYYY-MM-DD_HHMM}_earnings-preview_{affix}.md when python-pptx is absent (FR-044).
The deliverable is a structured markdown report written to the path in ## Output File. Full section-by-section template (headings, tables, and field definitions) lives in references/output-structure.md. Required elements:
[FACT] / [DEDUCTED] / [VIEW] per contracts/snapshot-synthesis.md./v/ citations are PRIMARY (immediately after each fact); the bottom Citations section is a non-duplicative roll-up index.contracts/output-frontmatter-schema.md.Citations & memory: follow contracts/citation-and-memory.md — ≥1 citation per 200 words; every material fact, table row, and metric is immediately followed by its inline clickable https://agentii.ai/v/{ticker}/{citation_id}/{N} link; a bottom Citations section provides a non-duplicative roll-up index; the closing TUI reply includes a compact Key Citations list (headline 5–10 facts) of clickable /v/ URLs; and append the run to agentii.md per contracts/agentii-md-schema.md.
contracts/memory-load.md.key_metrics, conclusions, facts_count, deducted_count, views_count, citation_count) per contracts/output-frontmatter-schema.md.[FACT]/[DEDUCTED]/[VIEW] — see contracts/snapshot-synthesis.md.sessions/{YYYY-MM-DD}/ and update sessions/INDEX.md per contracts/session-format.md.End the closing chat reply with a compact Key Citations list (headline 5–10 facts), each a clickable https://agentii.ai/v/{ticker}/{citation_id}/{N} link, so the user can cmd+click straight to the exact SEC page. See contracts/citation-and-memory.md.
| Failure Mode | Detection | Action | User-Facing Message |
|---|---|---|---|
| Missing earnings data | search_earnings_calendar returns empty | Use search_xbrl_facts for historical actuals only; flag estimates as unavailable | "Consensus estimates not available for {ticker}; presentation based on historical actuals only." |
| Partial data | <80% expected fields returned | Proceed with coverage gaps section | "Presentation based on partial data; see Coverage Gaps." |
| Sector mismatch | Peer sector != target sector | Filter out mismatched peers | "Removed {n} peer(s) due to sector mismatch." |
| Insufficient history | <4 quarters of data available | Downgrade to limited-history presentation (3 slides min) | "Limited historical data available; presentation adjusted." |
| MCP unreachable | agentii Preflight probe fails | Halt with actionable error | "agentii data plane unreachable; check connection and AGENTII_API_KEY." |
| Office backend unreachable | All 3 office backends fail Preflight | Halt with AGENTII_OFFICE_UNREACHABLE | "No office backend available. Options: (a) set AGENTII_API_KEY for agentii-office, (b) pip install python-pptx, (c) install OfficeCLI." |
| Knowledge Store unavailable | get_entity_knowledge returns 503 | Fall back to get_company_profile + search_companies; flag with knowledge_store_degraded: true | "Knowledge Store not yet available; peer analysis based on filing-derived entity context." |
Take agentii-ai/earnings-preview from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference pip.
Without those the skill loads but fails at the first command.