portfolio-review

portfolio-review is a skill for Claude Code from yennanliu/InvestSkill. It costs 8 tokens per session (5,861 once invoked), scanned A, original, MIT.

A framework for examining an investment portfolio’s results, risk, holdings, and allocation, meaning how money is distributed across investments.

In plain words
What is it for?
Use it to review returns over different periods, compare them with benchmarks such as the S&P 500, measure drawdowns and volatility, and assess holdings against an investor’s goals.
Why use it?
It helps investors understand both how a portfolio performed and how much risk or concentration it carries.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the us-stock-analysis plugin — 39 skills shipped together

Good fit Use it to review returns over different periods, compare them with benchmarks such as the S&P 500, measure drawdowns and volatility, and assess holdings against an investor’s goals.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yennanliu/investskill/portfolio-review
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 yennanliu/InvestSkill --skill portfolio-review
Clone the repo
git clone --depth 1 https://github.com/yennanliu/InvestSkill

Made for: Claude Code.

Or install us-stock-analysis, the plugin that ships this one along with the rest of its 39 skills.

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/yennanliu/investskill/portfolio-review/github.svg)](https://agentmods.dev/skills/yennanliu/investskill/portfolio-review)
Your own site
<a href="https://agentmods.dev/skills/yennanliu/investskill/portfolio-review"><img src="https://agentmods.dev/badge/skills/yennanliu/investskill/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/yennanliu/investskill/portfolio-review"><img src="https://agentmods.dev/badge/skills/yennanliu/investskill/portfolio-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,861 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00008 $0.05861
Opus 5.5 $0.00003 $0.02344
Sonnet 5.5 $0.00002 $0.01172
Haiku 4.5 $0.00001 $0.00586

Measured 1mo ago against content hash b55a6ef9d90f, 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 1mo 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.

plugins/us-stock-analysis/skills/portfolio-review/SKILL.md · 489 lines

How it starts

The opening of the file, as written. The whole thing — 489 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Portfolio Review

📋 Data & Sources Header — Open Every Output With It

The first thing in the output is this provenance block, filled in — never left as placeholders. It is the standard documented on the Data & Accuracy page and the first thing result-validator looks for:

Data & Sources
  As of:      <date the figures represent, e.g. 2026-06-30>
  Source:     <primary docs — SEC EDGAR 10-K/10-Q, company IR, FRED, exchange data …>
  Retrieval:  <pasted by user | web/tool retrieval | model memory>
  Confidence: <HIGH | MEDIUM | LOW>
  • Retrieval: model memory must be paired with Confidence: LOW — memory is a placeholder until confirmed against a primary source.
  • Mixed sources: list each with its own as-of date rather than blending them.
  • Sources disagree on the same figure (a closing price, a deal term): prefer the primary source (SEC filing, company release, exchange data) over an aggregator, then the most recent dated one. Show both values with their sources and dates, say which you used and why, and never average them.
  • Data the user pasted is reported as pasted by user; do not upgrade its confidence beyond what the user's own source supports.

🌐 Output Language — --lang zh-TW

English is the default. With --lang zh-TW — or when the user writes in Traditional Chinese and asks for a Chinese answer — write the whole analysis in Traditional Chinese (繁體中文, Taiwan usage), keeping it machine-checkable:

  • Translate every heading, narrative paragraph, table header and bullet. Give each metric's English name in brackets the first time it appears — 自由現金流(Free Cash Flow, FCF) — so the reader can match it to the glossary and to English analyses.
  • Keep in English tickers, figures and units, SEC form and item names (10-K Item 7, Form 4), the four Data & Sources field labels (As of, Source, Retrieval, Confidence — the Retrieval value may be written in Chinese, e.g. 使用者提供), and the Investment Signal box and JSON footer exactly as specified — field names and the BULLISH / NEUTRAL / BEARISH, HIGH / MEDIUM / LOW, BUY / HOLD / SELL, STRONG / MODERATE / WEAK values. Tools parse them.
  • Title the invalidation section 論點失效條件(Thesis Invalidation), and close with the disclaimer in Chinese: 免責聲明: 僅供教育用途,非投資建議。
  • Use Taiwan financial terms: 殖利率、本益比、營業利益率、自由現金流、聯準會、選擇權、買權/賣權、除息日、預扣稅.

Read the full file on GitHub · 489 lines

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. 1mo ago Changed · +23 lines b55a6ef9d90f
  2. 1mo ago Changed · +1 lines 77f78d205fec
  3. 2mo ago Changed · +41 lines 20baf43629f8
  4. 3mo ago First seen · 424 lines · 8 tokens per session scan A 3d999fd73376

Subscribe to this mod's changes

portfolio-review is a skill published in the GitHub repository yennanliu/InvestSkill (295 stars, last pushed 19d ago), licensed MIT. It adds 8 tokens to every session and 5,861 once invoked, about $0.0000 per session on Opus 5.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.

Related

portfolio-review compared with skills from other repositories

portfolio-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
portfolio-reviewyennanliu/InvestSkillSkill29519d agoMITA8Claude Code
dcf-modelginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A56Claude Code, Codex
comps-analysisginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A48Claude Code, Codex
company-profileginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A68Claude Code, Codex
check-modelginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A72Claude Code, Codex
check-deckginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A63Claude Code, Codex
chart-annotationginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A51Claude Code, Codex