Skip to main content
skill CX Codex

esg-ratings — Claude Code skill: what it does, how to install

Retrieves ESG ratings, risk scores, and peer rankings for public companies through Octagon MCP. Built for equity research and corporate screening.

MIT 288 installs ★ 132 updated 2026-06-05

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add OctagonAI/skills --skill esg-ratings -a claude-code
Open on GitHub

What esg-ratings does

This skill prepares queries for the octagon-agent tool on the octagon-mcp server. Passing a stock ticker symbol like MSFT prompts the agent to gather composite sustainability ratings, individual E, S, and G pillar breakdowns, and industry percentiles.

Returned profiles include MSCI letter ratings from AAA to CCC, Sustainalytics unmanaged risk points, and S&P Global scores. Behind the scenes, the skill relies on octagon-companies-agent, octagon-financials-agent, and targeted web searches.

Without an active octagon-mcp connection configured in your environment, the tool calls fail immediately.

What it helps with

  • retrieve MSCI ESG and Sustainalytics risk ratings for a stock ticker
  • break down corporate scores across environmental, social, and governance pillars
  • benchmark sustainability metrics against sector competitors
  • filter investment candidates against mandate thresholds

Example prompts for the agent

  • Retrieve ESG ratings and risk scores for MSFT
  • Check environmental scores and carbon emissions for AAPL
  • Compare TSLA sustainability metrics against automotive sector peers

How to install esg-ratings

1Skills CLI (Vercel)

npx skills add OctagonAI/skills --skill esg-ratings -a claude-code

2Manually: put the files in place

~/.claude/skills/esg-ratings/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/esg-ratings/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about esg-ratings

How do I install esg-ratings in Claude Code?

Run npx skills add OctagonAI/skills --skill esg-ratings -a claude-code.

What does esg-ratings do?

It queries public equity sustainability data, pulling metrics from MSCI, Sustainalytics, and S&P Global.

What are the prerequisites for esg-ratings?

You must configure the octagon-mcp server inside your agent so it can invoke octagon-agent.

Source text

SKILL.md · MIT
---
name: esg-ratings
description: Retrieve ESG ratings and scores using Octagon MCP. Use when analyzing Environmental, Social, and Governance ratings, MSCI ESG ratings, Sustainalytics risk ratings, industry ESG rankings, and sustainability metrics for any public company.
---

# ESG Ratings

Retrieve and analyze Environmental, Social, and Governance (ESG) ratings and scores for public companies using the Octagon MCP server.

## 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.

## Workflow

### 1. Identify Analysis Parameters

Determine the following before querying:
- **Ticker**: Stock symbol (e.g., MSFT, AAPL, TSLA)
- **Specific metrics** (optional): ESG score, environmental score, social score, governance score, industry rank

### 2. Execute Query via Octagon MCP

Use the `octagon-agent` tool with a natural language prompt:

```
Retrieve ESG ratings and scores, including risk rating and industry rank, for <TICKER>.
```

**MCP Call Format:**

```json
{
  "server": "octagon-mcp",
  "toolName": "octagon-agent",
  "arguments": {
    "prompt": "Retrieve ESG ratings and scores, including risk rating and industry rank, for MSFT."
  }
}
```

### 3. Expected Output

The agent returns comprehensive ESG data including:

**Key ESG Metrics:**
- MSCI ESG Rating (AAA to CCC scale)
- Sustainalytics ESG Risk Rating
- Composite ESG Score
- Environmental Score
- Social Score
- Governance Score
- S&P Global ESG Score
- Industry rank and categorization

**Example Response:**

| Metric | Value |
|--------|-------|
| MSCI ESG Rating | AAA |
| ESG Score | 65.19 |
| Environmental | 74.57 |
| Social | 58.08 |
| Governance | 62.93 |
| Industry | Enterprise and Infrastructure Software |

**Data Sources**: octagon-companies-agent, octagon-financials-agent, octagon-web-search-agent

### 4. Interpret Results

See [references/interpreting-results.md](references/interpreting-results.md) for guidance on:
- Understanding MSCI rating scale
- Interpreting Sustainalytics risk ratings
- Comparing E, S, and G component scores
- Industry ranking context

## Example Queries

**Standard ESG Analysis:**
```
Retrieve ESG ratings and scores, including risk rating and industry rank, for MSFT.
```

**Environmental Focus:**
```
Retrieve ESG ratings with focus on environmental scores and carbon emissions for AAPL.
```

**Comparative Analysis:**
```
Retrieve ESG ratings and scores for TSLA and compare to automotive industry peers.
```

**Governance Deep Dive:**
```
Retrieve ESG ratings with detailed governance scores and board diversity metrics for JPM.
```

## Key Metrics Explained

| Metric | Definition | Scale |
|--------|------------|-------|
| MSCI ESG Rating | Overall ESG assessment by MSCI | AAA (best) to CCC (worst) |
| Sustainalytics Risk Rating | Unmanaged ESG risk level | 0-100 (lower = less risk) |
| ESG Score | Composite sustainability score | 0-100 (higher = better) |
| Environmental Score | Climate, pollution, resource use | 0-100 |
| Social Score | Labor, community, human rights | 0-100 |
| Governance Score | Board, ethics, transparency | 0-100 |
| Industry Rank | Position vs sector peers | Percentile or rank |

## MSCI Rating Scale

| Rating | Category | Meaning |
|--------|----------|---------|
| AAA, AA | Leader | Best-in-class ESG performance |
| A, BBB, BB | Average | Mixed or average ESG performance |
| B, CCC | Laggard | Below-average ESG, higher risk |

## Analysis Tips

1. **Component imbalance**: A company may score high on Environmental but low on Governance—assess each dimension.

2. **Industry context**: ESG scores vary significantly by sector. Compare to industry peers, not cross-sector.

3. **Trend over time**: Request historical ESG data to see if ratings are improving or declining.

4. **Materiality**: Different ESG factors matter more in different industries (e.g., Environmental for energy, Social for retail).

5. **Multiple sources**: MSCI, Sustainalytics, and S&P may give different ratings—consider the consensus view.

## Use Cases

- **ESG screening**: Filter investments based on minimum ESG thresholds
- **Risk assessment**: Identify companies with high unmanaged ESG risks
- **Portfolio alignment**: Ensure holdings meet sustainability mandates
- **Engagement targeting**: Identify areas for shareholder engagement
- **Regulatory compliance**: Meet ESG disclosure requirements

© OctagonAI · MIT · OctagonAI/skills

Similar skills

All skills for Finance and business →

From the same set67

The whole set →
cash-flow-statement Fetches quarterly and annual cash flow statements for public companies. It tracks free cash flow, operating cash, and capital allocation across historical periods. CX Codex +1 315installs earnings-call-insights earnings-call-insights is a Claude Code skill that reads earnings call transcripts for guidance, management priorities, and market signals. It requires configured Octagon MCP. CX Codex +1 313installs earnings-call-analysis earnings-call-analysis parses company earnings call transcripts to extract management guidance, operational roadblocks, and follow-up inquiry topics for investment research. CX Codex +1 306installs balance-sheet Retrieves balance sheet data for public companies—assets, liabilities, equity, and net debt. CX Codex +1 306installs sec-10k-analysis sec-10k-analysis analyzes annual 10-K SEC filings for public companies, extracting financial metrics, risk factors, and MD&A sections via Octagon MCP. CX Codex +1 282installs earnings-analyst-master The earnings-analyst-master skill breaks down earnings calls, tracks guidance and management signals, then turns the findings into a structured research report. CX Codex +1 278installs analyst-estimates analyst-estimates is a Claude Code skill that fetches public-company revenue and EPS forecasts with estimate ranges and analyst counts. It supports review of forward expectations or valuation inputs. CX Codex +1 277installs esg-benchmark-comparison The esg-benchmark-comparison skill retrieves sector-level ESG benchmarks through Octagon MCP. Use it to compare industries, company performance, or regional metrics for a chosen fiscal year. CX Codex +1 276installs

Project sponsors

Companies that keep this analytics open