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
npx skills add OctagonAI/skills --skill esg-ratings -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/esg-ratings/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/esg-ratings/
1Skills CLI (Vercel)
npx skills add OctagonAI/skills --skill esg-ratings -a codex2Manually: put the files in place
.agents/skills/esg-ratings/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add OctagonAI/skills --skill esg-ratings -a cursor2Manually: put the files in place
.cursor/skills/esg-ratings/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install OctagonAI/skills skills/esg-ratings2Manually: put the files in place
.github/skills/esg-ratings/SKILL.md1Skills CLI (Vercel)
npx skills add OctagonAI/skills --skill esg-ratings -a gemini-cli2Platform CLI
gemini skills install https://github.com/OctagonAI/skills --path skills/esg-ratingsManually: put the files in place
.devin/skills/esg-ratings/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add OctagonAI/skills --skill esg-ratings -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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