portfolio-review

portfolio-review is a skill for Claude Code, Codex from TauricResearch/TradingAgents. It costs 0 tokens per session (455 once invoked), scanned A, original, Apache-2.0.

A review of how a group of investments behaves as one portfolio. It examines holding weights, concentration, how holdings move together, total risk, and each holding’s contribution to that risk.

In plain words
What is it for?
Use it to assess portfolio diversification, correlations, drawdowns, tail risk, benchmark sensitivity, and alternative holding weights when requested.
Why use it?
Counting holdings alone can give a false sense of diversification when they move together. This review shows where losses and volatility are actually concentrated and how the portfolio compares with a benchmark.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to assess portfolio diversification, correlations, drawdowns, tail risk, benchmark sensitivity, and alternative holding weights when requested.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tauricresearch/tradingagents/portfolio-review
About the project

TradingAgents is an agent-based finance research tool that answers questions by planning investigations, consulting financial data, and using computation to analyze figures with cited sources. It is intended for research involving filings, statements, news, and market-related questions, using hosted, external, or self-hosted language models. The catalogue contains skills and agents for working with TradingAgents.

TauricResearch/TradingAgents · 124,137 stars · on GitHub · tauric.ai

Install

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.

Any agent
npx skills add TauricResearch/TradingAgents --skill portfolio-review
Clone the repo
git clone --depth 1 https://github.com/TauricResearch/TradingAgents

Made for: Claude Code, Codex.

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

agentmods badge for portfolio-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/tauricresearch/tradingagents/portfolio-review/github.svg)](https://agentmods.dev/skills/tauricresearch/tradingagents/portfolio-review)
Your own site
<a href="https://agentmods.dev/skills/tauricresearch/tradingagents/portfolio-review"><img src="https://agentmods.dev/badge/skills/tauricresearch/tradingagents/portfolio-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.

agentmods 80×15 button for portfolio-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/tauricresearch/tradingagents/portfolio-review"><img src="https://agentmods.dev/badge/skills/tauricresearch/tradingagents/portfolio-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 455 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00455
Opus 5.5 $0.00000 $0.00182
Sonnet 5.5 $0.00000 $0.00091
Haiku 4.5 $0.00000 $0.00046

Measured 5d ago against content hash d41e07000a7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

portfolio-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 5d 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.

specs/skills/portfolio-review/SKILL.md · 13 lines

What it actually says

A portfolio review looks at holdings as one position, where weights and correlation decide the risk more than any single holding does. It is good when it shows where the risk actually sits: a holding with a modest weight can carry a large share of the variance, and holdings that move together diversify less than their count suggests.

The weights are the user's, by value; when the user gives share counts, each holding's value is its shares times the latest price from quote, worked out through calc. Daily bars for every holding and the benchmark (SPY for US stocks), fetched together with price_history over a common period such as a year, are the evidence. In the next step portfolio_risk takes them referenced whole with the weights: returns over the windows, volatility, the deepest drawdown, one-day VaR and expected shortfall, Sharpe, Sortino and Calmar, the correlation matrix, each holding's share of the variance, the effective number of holdings by weight and by risk, and beta against the benchmark. A Treasury bill yield from macro_series gives the risk-free rate, and returns_risk on the same bars shows each holding alone beside the whole.

To see alternatives, optimize_portfolio gives the weights the history implies for the least volatile mix, equal risk contributions or the highest Sharpe, and portfolio_risk measures any of them on the same bars. Minimum variance and risk parity rest on the covariance alone; maximum Sharpe and the frontier also rest on mean returns, which are noisy and may not repeat, so these weights read as what the window implied, as analysis rather than a recommendation. Every figure describes its window, on the dates all holdings share, at constant weights rebalanced daily, as the result states; a holding with a short history shortens the window for all of them.

Changes

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.

  1. 5d ago First seen · 13 lines · 0 tokens per session scan A d41e07000a7c

Subscribe to this mod's changes

portfolio-review is a skill published in the GitHub repository TauricResearch/TradingAgents (124,137 stars, last pushed 5d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 455 tokens. 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-11-25.

Related

portfolio-review compared with skills from other repositories

portfolio-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
portfolio-reviewTauricResearch/TradingAgentsSkill124k5d agoApache-2.0A0Claude Code, Codex
polymarketgraniet/kheishSkill20922d agoApache-2.0A33Claude Code, Codex
polymarketStarryCod/cogitumSkill126mo agoMITA18Claude Code, Codex
trader-hand-skilllibrefang/librefang-registrySkill112mo agoMITD28Claude Code, Codex
polymarketNousResearch/hermes-agentSkill267ktodayMITA18Claude Code, Codex
fred-economic-datasynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A75Claude Code, Codex
tinker-training-costsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A55Claude Code, Codex