portfolio-risk SKILL.md skillB
portfolio-risk from orkas-ai/orkas is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add orkas-ai/orkas/portfolio-risk@git:20260921.838ca9aPins git:20260921.838ca9a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- orkas-ai/orkas
- Path
resources/builtin/marketplace/agents/1040b336306f/skills/portfolio-risk/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260921.838ca9a, committed Sep 21, 2026
- Size
- 2,722 bytes
- Repository stars
- 9,072
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Portfolio Risk
Read with `market-data` for a portfolio review, stress test, or rebalance
question. Keep account values and holdings private and use only what is needed.
Choose the calculation from the supplied data: `--mode historical` (default)
requires aligned daily decimal returns; `--mode scenario` uses weights and
declared shocks, returns no historical statistics, and needs no return series.
Do not manufacture a series to make a scenario request fit historical mode.
Historical input uses weights that sum to one and aligned daily decimal returns:
```json
{"positions":[{"symbol":"700.HK","weight":0.4,"currency":"HKD","sector":"Technology","returns":[0.01,-0.02]}],"scenarios":{"tech_down":{"Technology":-0.15}}}
```
Run:
```bash
"$ORKAS_NODE" "$ORKAS_PC_DIR/bin/run-skill.cjs" market-data stock -- portfolio-risk --input portfolio.json --confidence 0.95
```
The core calculates portfolio return series from aligned observations, annual
volatility, max drawdown, historical VaR/CVaR, HHI and top-name concentration,
sector/currency exposure, and declared linear scenario losses. VaR is a sample
statistic, not a loss ceiling.
…Read the whole file at its exact version.
How to install
mdr add orkas-ai/orkas/portfolio-risk@sha256:d878a3d82373ba5fThe line at the top of this page pins the label git:20260921.838ca9a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_exa7a25wnmi33k27)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 21, 2026.
Audit of the latest version
- fail: Frontmatter declares a description
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Size between 200 bytes and 200 KB (2722 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
orkas-ai/orkas · 9,072 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_exa7a25wnmi33k27 GET https://markdownregistry.com/api/v1/resolve?ref=orkas-ai/orkas/portfolio-risk GET https://markdownregistry.com/api/v1/blob/d878a3d82373ba5f0af9f3a0b7cde88922b56974e8c84da88e2f70ac6e7737c8
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.