coral-bricks-ai/coral-ai/decompose-gross-margin-change

Claude Code and agent skill by coral-bricks-ai/coral-ai

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install coral-bricks-ai/coral-ai/decompose-gross-margin-change

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as coral-bricks-ai/coral-ai/decompose-gross-margin-change.

Dedicated tool: `decompose_gross_margin_change(ticker, period_a, period_b, period_kind)`. Pulls Revenue + COGS for both periods, computes GM% per period and Δ GM in percentage points, attributes the change to a revenue-side effect vs a cost-side effect, surfaces COGS sub-components when the issuer discloses them, identifies the largest sub-component contributor, and produces a normalized GM (period A re-stated with period-B level of that sub-component).

period_kind accepts "annual" (default; uses 11-13 month XBRL spans / 10-K data) or "quarterly" (uses 2-4 month XBRL spans / 10-Q + 8-K data). Pass "quarterly" when the question references 8-K data, when the dates are interim quarter-ends rather than fiscal-year-ends, or when the issuer reports a sub-FY period (e.g. Feb 28 for a calendar-FY issuer). The tool also auto-detects quarterly periods from the date-suffix heuristic — dates that don't match common fiscal-year-end conventions (12-31, 01-31, 02-01, 02-02, 06-30, 09-30, 03-31) are treated as quarterly even when period_kind="annual" is passed.

Workflow

  1. Call decompose_gross_margin_change(ticker=<TICKER>, period_a=<earlier YYYY-MM-DD>, period_b=<later YYYY-MM-DD>, period_kind="annual"|"quarterly") as your first tool call. Period kind defaults to annual.
  1. Quote the tool's answer_summary_block verbatim — it includes the reported margin change in percentage points, the revenue-vs-cost attribution, the dominant sub-component contribution, and the normalized margin change after stripping the dominant driver.
  1. Forward-direction commentary is a separate atom. Use the tool's dominant-driver name (e.g. a specific COGS line) and reason qualitatively about whether it is likely to grow / shrink in the subsequent fiscal year given the issuer's MD&A and capex disclosures. Do NOT pre-commit to a direction without a documented rationale; quote the relevant MD&A sentence if one exists.
  1. If the tool returns dominant_subcomponent: null (issuer doesn't break out COGS components in the income-statement footnote), fall back to:
  • extract_filing_tables(ref=<period-B 10-K>, table_keyword="cost of revenue", item="8")
  • extract_filing_tables(ref=<period-B 10-K>, table_keyword="cost of sales", item="8")
  • get_full_text(ref=<period-B 10-K>, max_chars=20000) + manual scan for COGS-component dollar amounts adjacent to category labels.

Generic across any issuer with two comparable periods; no eval-keyed line items or magnitudes baked in.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
48
Repository forks
3
7-day trend score
19

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/coral-bricks-ai/coral-ai/decompose-gross-margin-change/badge)](https://verified-skill.com/skills/coral-bricks-ai/coral-ai/decompose-gross-margin-change)

Something wrong with this skill or its page? Tell us.