Agent skill

Llmquant Portfolio Lab

by LLMQuant in LLMQuant/skills

Router skill for LLMQuant portfolio-lab workflows. An agent skill from LLMQuant/skills.

MITAuto-check passedBusiness, Finance & HR

Install Llmquant Portfolio Lab

skills CLI
$ npx skills add LLMQuant/skills --skill llmquant-portfolio-lab -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LLMQuant/skills llmquant-portfolio-lab --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LLMQuant/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/llmquant-portfolio-lab .claude/skills/llmquant-portfolio-lab && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
llmquant-portfolio-lab
GitHub stars
229
Token cost
~496 tokens
SKILL.md length
195 words
Files
5 (incl. scripts, assets)
Skills in repo
18
Repo updated
First seen
Licence
MIT

At a glance

Router skill for LLMQuant portfolio-lab workflows. An agent skill from LLMQuant/skills.

  • Works in 5 steps: Identify portfolio ID, holdings list,… → Select the closest workflow below. → Open only that workflow and relevant… → …
  • The user needs portfolio exposure maps
  • SKILL.md covers Routing Rules, Workflow Index and LLMQuant Data Contract
  • What-if simulations

What it does

Llmquant Portfolio Lab is an agent skill from LLMQuant/skills. Router skill for LLMQuant portfolio-lab workflows. Use when the user needs portfolio exposure maps, what-if simulations, scenario states, or virtual portfolio comparisons.

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and assets (for example `workflows/portfolio-exposure-map.md` and `workflows/portfolio-what-if-simulator.md`).

It sits in Business, Finance & HR. The repository describes itself as: Reusable Skills for LLMQuant Agent, Claude Code, Claude.ai, Cursor, Hermes Agent, OpenClaw and Codex, grounded in LLMQuant Data. The licence is MIT.

When your agent uses it

  • The user needs portfolio exposure maps
  • What-if simulations
  • Scenario states
  • Virtual portfolio comparisons

Example prompts

  • “/llmquant-portfolio-lab”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Identify portfolio ID, holdings list, benchmark, scenario, and requested visualization/output.
  2. Select the closest workflow below.
  3. Open only that workflow and relevant local assets/scripts.
  4. Use LLMQuant Data for positions, prices, ETF look-through, factors, scenarios, and risk model outputs.
  5. Report as-of dates, model dates, benchmark, missing holdings, and unsupported asset types.

What it can do on your machine

Read from SKILL.md and the folder at commit 1918237. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Llmquant Portfolio Lab loads about 496 tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 195 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~496

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from LLMQuant/skills at commit 1918237, republished under its MIT licence (© LLMQuant). 195 words, ~496 tokens.

Download SKILL.mdSave it as .claude/skills/llmquant-portfolio-lab/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
llmquant-portfolio-lab
description
Router skill for LLMQuant portfolio-lab workflows. Use when the user needs portfolio exposure maps, what-if simulations, scenario states, or virtual portfolio comparisons.
input_data_source
LLMQuant Data
category
portfolio-lab

LLMQuant Portfolio Lab

This category routes portfolio virtualization workflows: exposure maps, scenario states, and what-if simulations for real or hypothetical portfolios.

Routing Rules

  1. Identify portfolio ID, holdings list, benchmark, scenario, and requested visualization/output.
  2. Select the closest workflow below.
  3. Open only that workflow and relevant local assets/scripts.
  4. Use LLMQuant Data for positions, prices, ETF look-through, factors, scenarios, and risk model outputs.
  5. Report as-of dates, model dates, benchmark, missing holdings, and unsupported asset types.

Workflow Index

User intentWorkflow
Map portfolio exposure by holdings, sectors, factors, geography, ETF look-through, and concentration.workflows/portfolio-exposure-map.md
Simulate adds, trims, hedges, shocks, and virtual portfolio states.workflows/portfolio-what-if-simulator.md

LLMQuant Data Contract

Prefer LLMQuant Data when available. The workflows may need these data capabilities:

  • Retrieve portfolio holdings, weights, cost basis, asset types, benchmarks, and as-of dates.
  • Retrieve factor exposures, sector/geography exposures, ETF look-through holdings, risk model outputs, and scenario simulation results.
  • Retrieve prices, correlations, drawdowns, volatility, option Greeks, and hedge context when relevant.
  • Compare current, pro forma, and hypothetical portfolio states.

Fallback:

  • If portfolio APIs are unavailable, ask for a holdings table or build a structured portfolio input template.
  • Do not invent weights, holdings, factor exposures, or scenario returns.

© LLMQuant, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, assets) in skills/llmquant-portfolio-lab of LLMQuant/skills.

  • SKILL.md
  • assets/.gitkeep
  • scripts/.gitkeep
  • workflows/portfolio-exposure-map.md
  • workflows/portfolio-what-if-simulator.md

Open the folder on GitHubat commit 1918237

Compare with similar skills

Llmquant Portfolio Lab next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Llmquant Portfolio Lab compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Llmquant Portfolio Lab this skillLLMQuant/skills229—~496Automated safety check: PassMIT
Technical Analysttradermonty/claude-trading-skills3k5 repos~4.6kAutomated safety check: PassMIT
Creating Financial ModelsChen-zexi/open-ptc-agent7294 repos~1.3kAutomated safety check: PassMIT
Stock APIzhangxiangliang/stock-api2k—~507Automated safety check: PassMIT
Theme Detectortradermonty/claude-trading-skills3k2 repos~4.9kAutomated safety check: PassMIT
Itr Walakaranb192/itr-wala871—~3.6kAutomated safety check: PassMIT

Similar skills

  • Technical Analyst

    tradermonty/claude-trading-skills

    This skill should be used when analyzing weekly price charts for stocks, stock indices, cryptocurrencies, or forex pairs.

    3k GitHub starsUsed in 5 repos~4.6k tokens
    Business, Finance & HRAuto-check passed
  • Creating Financial Models

    Chen-zexi/open-ptc-agent

    This skill provides an advanced financial modeling suite with DCF analysis, sensitivity testing, Monte Carlo simulations, and scenario planning for investment decisions

    729 GitHub starsUsed in 4 repos~1.3k tokens
    Business, Finance & HRAuto-check passed
  • Stock API

    zhangxiangliang/stock-api

    Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.

    2k GitHub stars~507 tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Theme Detector

    tradermonty/claude-trading-skills

    Detect and analyze trending market themes across sectors. An agent skill from tradermonty/claude-trading-skills.

    3k GitHub starsUsed in 2 repos~4.9k tokens
    Business, Finance & HRAuto-check passed
  • Itr Wala

    karanb192/itr-wala

    File Indian income tax returns (ITR) for FY 2025-26 / AY 2026-27.

    871 GitHub stars~3.6k tokensUpdated 4 days ago
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    319 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed

More from LLMQuant/skills

All 18 skills in this repo
  • Llmquant Data

    LLMQuant/skills

    Router skill for LLMQuant Data primitive workflows. An agent skill from LLMQuant/skills.

    229 GitHub starsUsed in 1 repo~523 tokens
    Auto-check passed
  • Llmquant Equities

    LLMQuant/skills

    Router skill for LLMQuant equities workflows. An agent skill from LLMQuant/skills.

    229 GitHub starsUsed in 1 repo~532 tokens
    Auto-check passed
  • Router skill for LLMQuant equity derivatives workflows. An agent skill from LLMQuant/skills.

    229 GitHub starsUsed in 1 repo~503 tokens
    Auto-check passed
  • Router skill for LLMQuant investor-lens workflows. An agent skill from LLMQuant/skills.

    229 GitHub starsUsed in 1 repo~929 tokens
    Auto-check passed
  • Llmquant Macro

    LLMQuant/skills

    Router skill for LLMQuant macro workflows. An agent skill from LLMQuant/skills.

    229 GitHub starsUsed in 1 repo~536 tokens
    Auto-check passed
  • Router skill for LLMQuant market-intelligence workflows. An agent skill from LLMQuant/skills.

    229 GitHub starsUsed in 1 repo~455 tokens
    Auto-check passed

Questions about Llmquant Portfolio Lab

What does Llmquant Portfolio Lab do?

Router skill for LLMQuant portfolio-lab workflows. An agent skill from LLMQuant/skills. Llmquant Portfolio Lab is an agent skill from LLMQuant/skills. Router skill for LLMQuant portfolio-lab workflows.

When should I use Llmquant Portfolio Lab?

Llmquant Portfolio Lab fits situations like: the user needs portfolio exposure maps; what-if simulations; scenario states; virtual portfolio comparisons.

How do I install Llmquant Portfolio Lab in Claude Code?

Run `npx skills add LLMQuant/skills --skill llmquant-portfolio-lab -a claude-code`. Or copy the skill folder (skills/llmquant-portfolio-lab in LLMQuant/skills) into .claude/skills/llmquant-portfolio-lab in your project. Claude Code loads it when a task matches its description.

How do I install Llmquant Portfolio Lab in Codex?

Run `npx skills add LLMQuant/skills --skill llmquant-portfolio-lab -a codex`. Or copy the skill folder (skills/llmquant-portfolio-lab in LLMQuant/skills) into .agents/skills/llmquant-portfolio-lab in your project. Codex loads it when a task matches its description.

Can I use Llmquant Portfolio Lab in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LLMQuant/skills --skill llmquant-portfolio-lab -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/llmquant-portfolio-lab, .gemini/skills/llmquant-portfolio-lab, .github/skills/llmquant-portfolio-lab and .opencode/skills/llmquant-portfolio-lab in your project.

What does Llmquant Portfolio Lab need to run?

SKILL.md names no scripts, command-line tools or credentials: Llmquant Portfolio Lab is instructions for the agent only.

Does Llmquant Portfolio Lab access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Llmquant Portfolio Lab safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Llmquant Portfolio Lab use?

Llmquant Portfolio Lab is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Llmquant Portfolio Lab use?

About 496 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Llmquant Portfolio Lab?

Skills that share tags, products or a category with Llmquant Portfolio Lab: Technical Analyst (tradermonty/claude-trading-skills, 3k stars), Creating Financial Models (Chen-zexi/open-ptc-agent, 729 stars), Stock API (zhangxiangliang/stock-api, 2k stars) and Theme Detector (tradermonty/claude-trading-skills, 3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Llmquant Portfolio Lab?

LLMQuant (a GitHub organization) maintains it in LLMQuant/skills, which has 229 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on May 30, 2026.

Source: LLMQuant/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.