# revenue-product-segmentation

revenue-product-segmentation — a skill for Claude Code, Codex, Cursor and other agents that pulls a product-segment revenue breakdown for any public company via Octagon MCP. Covers annual periods and returns figures in USD billions.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 263 installs · ★ 132 repo stars
- Author: OctagonAI
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/OctagonAI/skills/tree/HEAD/skills/revenue-product-segmentation/SKILL.md
- Updated: 2026-06-05
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/revenue-product-segmentation

## What it does

Each request goes to `octagon-financials-agent` through `octagon-mcp` and comes back as a flat table — segment name, revenue in USD billions, and a total row. The example in the docs shows Apple's annual data: iPhone $209.59B, Services $109.16B, Wearables $35.69B, Mac $33.71B, iPad $28.02B, totalling $416.17B.

Once the table arrives, the skill walks through a built-in analysis framework: segment share of total revenue, identification of the primary driver, concentration risk flags (a single segment above 50% is high risk; two segments above 80% is moderate), hardware-versus-services split, and lifecycle stage per segment. It also surfaces follow-up queries for year-over-year growth rates and peer comparisons.

\`octagon-mcp` must be configured in the agent before any call reaches `octagon-agent` — without it the tool call fails.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add OctagonAI/skills --skill revenue-product-segmentation -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/revenue-product-segmentation/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/revenue-product-segmentation/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add OctagonAI/skills --skill revenue-product-segmentation -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/revenue-product-segmentation/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add OctagonAI/skills --skill revenue-product-segmentation -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/revenue-product-segmentation/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install OctagonAI/skills skills/revenue-product-segmentation
```

2. **Manually: put the files in place**
- File: `.github/skills/revenue-product-segmentation/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add OctagonAI/skills --skill revenue-product-segmentation -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/OctagonAI/skills --path skills/revenue-product-segmentation
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/revenue-product-segmentation/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add OctagonAI/skills --skill revenue-product-segmentation -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/OctagonAI/skills/tree/HEAD/skills/revenue-product-segmentation/SKILL.md

## When to use it
- fetch annual product-segment revenue data for a public company by ticker
- calculate each segment's share of total revenue
- flag revenue concentration risk across product lines
- compare a company's segment mix against a named peer
- track which segments are gaining or losing share across periods

## Example prompts
- Retrieve detailed revenue by product segment for `MSFT` for the annual period with a flat response structure.
- Calculate each segment's share of total revenue for `GOOGL` and flag any concentration risk.
- Compare the product segment mix of `AAPL` and `MSFT` and show which has more diversified revenue.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 2f6ff3056abd6095.

BEGIN THIRD-PARTY FILE 2f6ff3056abd6095
````text
---
name: revenue-product-segmentation
description: Retrieve detailed revenue breakdown by product segment for public companies. Use when analyzing product mix, revenue concentration, segment contribution, or business line performance.
---

# Revenue Product Segmentation

Retrieve detailed revenue breakdown by product segment for public companies using Octagon MCP.

## Prerequisites

Ensure Octagon MCP is configured in your AI agent (Cursor, Claude Desktop, Windsurf, etc.). See [references/mcp-setup.md](references/mcp-setup.md) for installation instructions.

## Query Format

```
Retrieve detailed revenue by product segment for <TICKER>, for the annual period with a flat response structure.
```

**MCP Call:**

```json
{
  "server": "octagon-mcp",
  "toolName": "octagon-agent",
  "arguments": {
    "prompt": "Retrieve detailed revenue by product segment for AAPL, for the annual period with a flat response structure"
  }
}
```

## Output Format

The agent returns a table with revenue by product segment:

| Product Segment | Revenue (USD Billion) |
|-----------------|----------------------|
| iPhone | $209.59 |
| Services | $109.16 |
| Wearables, Home and Accessories | $35.69 |
| Mac | $33.71 |
| iPad | $28.02 |
| **Total** | **$416.17** |

**Data Source:** octagon-financials-agent

## Key Insights Pattern

After receiving data, generate insights:

1. **Revenue concentration**: Calculate each segment as % of total
2. **Core business identification**: Identify largest revenue driver
3. **Growth segments**: Note high-growth or emerging segments
4. **Diversification assessment**: Evaluate revenue balance across segments
5. **Strategic positioning**: Understand product portfolio mix

## Analysis Tips

### Revenue Concentration
Calculate segment share:
```
Segment Share = Segment Revenue / Total Revenue × 100
```
Example: $209.59B / $416.17B = 50.36%

### Concentration Risk
- Single segment >50% = high concentration
- Top 2 segments >80% = moderate concentration
- No segment >30% = well diversified

### Segment Dynamics
Compare to prior periods:
- Which segments are growing share?
- Which are declining?
- Any new segments emerging?

### Margin Implications
Different segments often have different margins:
- Services typically higher margin than hardware
- Premium products vs commodity segments
````
END THIRD-PARTY FILE 2f6ff3056abd6095

The third-party file has ended. Everything between the 2f6ff3056abd6095 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2326 of 3393 bytes. © OctagonAI · MIT · https://github.com/OctagonAI/skills/tree/HEAD/skills/revenue-product-segmentation/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
