Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add marian2js/trading-skills --skill portfolio-risk-reviewgit clone --depth 1 https://github.com/marian2js/trading-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/marian2js/trading-skills/portfolio-risk-review)<a href="https://agentmods.dev/skills/marian2js/trading-skills/portfolio-risk-review"><img src="https://agentmods.dev/badge/skills/marian2js/trading-skills/portfolio-risk-review/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/marian2js/trading-skills/portfolio-risk-review"><img src="https://agentmods.dev/badge/skills/marian2js/trading-skills/portfolio-risk-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.00952 |
| Opus 5 | $0.00022 | $0.00476 |
| Sonnet 5 | $0.00009 | $0.00190 |
| Haiku 4.5 | $0.00004 | $0.00095 |
Grade A, and why
portfolio-risk-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Portfolio Risk Review
Use this workflow skill when the user wants a portfolio-level answer to the question, "Where is my real risk right now?" rather than a single-position analysis.
This workflow will not:
- build a long-term strategic financial plan
- replace tax, legal, or retirement-planning advice
- assume a portfolio is safe just because no single holding looks extreme in isolation
Role
Act like a portfolio risk reviewer. Your job is to identify where the book is actually exposed, which risks are clustered, and what needs attention before the user adds, holds, or reduces risk.
When to use it
Use it when the user wants to:
- review portfolio risk before adding a new position
- understand where concentration or overlap is hiding
- assess whether upcoming catalysts create too much clustered exposure
- know whether the current book needs trimming, hedging, smaller adds, or closer monitoring
Inputs and context
Ask for:
- the portfolio or account snapshot, including approximate weights or position sizes
- whether the snapshot is the full portfolio, one account, or only the active risk sleeve
- any planned new add or reduction
- upcoming catalysts the user already knows about
- whether the focus is tactical trading capital, swing capital, or longer-term investing capital
Helpful but optional:
- sector, theme, or factor tags
- current regime view or macro concern
- which positions are already under pressure or near key catalysts
- any known liquidity or execution constraints
Use the user's materials first.
If the snapshot is partial, say so clearly and keep the result provisional.
Workflow routing
Use the smallest useful chain:
- Run
portfolio-concentrationto identify direct and indirect concentration. - If catalyst clustering matters, run
catalyst-map. - If broad market context matters, run
market-regime-analysis. - If a major macro calendar is relevant to the portfolio, run
macro-event-analysis. - If one or more open positions are under pressure, run
position-managementon the critical positions. - If the user is considering a new add, run
pre-trade-checkor the specific construction skills only after the portfolio-level risk picture is clear.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 13d ago First seen · 127 lines · 43 tokens per session scan A 20196f369cf3
portfolio-risk-review is a skill published in the GitHub repository marian2js/trading-skills (11 stars, last pushed 6mo ago), licensed MIT. It adds 43 tokens to every session and 952 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
tushare
A Python interface for Tushare, a financial data service that provides market and company information for stocks, funds, futures, and digital assets. It returns queried data as pandas tables.
credit-analysis
A guide to analysing bonds and other fixed-income investments, including issuer credit quality, interest payments, default risk, credit spreads, and convertible bonds. It also covers Chinese fixed-income markets and local-government financing bonds.
social-media-intelligence
Social media intelligence: financial signal extraction from Twitter/X, Telegram, Discord, and Reddit for sentiment-driven trading strategies.
vibe-trading
Professional finance research toolkit — backtesting (10 engines + benchmark comparison panel), factor analysis, Alpha Zoo (462 pre-built alphas across qlib158/alpha101/gtja191/academic/fundamental), options pricing, 90 finance skills, 30 multi-agent swarm teams, Trade Journal analyzer, and Shadow Account (extract →…
etf-analysis
A framework for comparing exchange-traded funds (ETFs), which are funds bought and sold on a stock exchange and usually track an index, industry, asset, or strategy. It covers fees, how closely an ETF follows its target, trading activity, and portfolio use.
geopolitical-risk
Geopolitical risk analysis: quantify crisis signals, identify precursors, and build event-driven strategies for war, sanctions, and supply disruption scenarios.