name: risk-scoring
description: Score how concentrated and risky a portfolio is on a 0-100 scale from its position weights. Use when the user asks how risky their portfolio is, whether it is too concentrated, or for a diversification check.
Usage
When the user asks about portfolio risk or concentration:
Read references/risk-bands.md to understand the score bands and what drives them.
Compute each holding's market value (shares × price) — use the get_stock_price tool for current
prices if you do not already have them.
Run scripts/risk_score.py with one --position VALUE argument per holding,
e.g. --position 18518 --position 17201 --position 16177.
Report the 0-100 score, the band it falls in, and the largest single-position weight, then suggest
(in general terms) whether the portfolio looks well diversified or concentrated.
Remind the user this is a crude concentration measure, not a complete risk model, and not advice.
1---2name: risk-scoring3description: ---4---5---6name: risk-scoring7description: Score how concentrated and risky a portfolio is on a 0-100 scale from its position weights. Use when the user asks how risky their portfolio is, whether it is too concentrated, or for a diversification check.8---910## Usage1112When the user asks about portfolio risk or concentration:13141. Read `references/risk-bands.md` to understand the score bands and what drives them.152. Compute each holding's market value (shares × price) — use the `get_stock_price` tool for current16 prices if you do not already have them.173. Run `scripts/risk_score.py` with one `--position VALUE` argument per holding,18 e.g. `--position 18518 --position 17201 --position 16177`.194. Report the 0-100 score, the band it falls in, and the largest single-position weight, then suggest20 (in general terms) whether the portfolio looks well diversified or concentrated.2122Remind the user this is a crude concentration measure, not a complete risk model, and not advice.
Run npx skillmds@latest add microsoft/risk-scoring in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
--- It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Microsoft (@microsoft) published this skill. Their other Agent Skills are listed on their SkillMD profile.