Agent skill

Quantitative Finance Guide

by wentorai in wentorai/research-plugins

Quantitative methods for financial modeling, derivatives pricing, and risk an...

MITAuto-check passedBusiness, Finance & HR

Install Quantitative Finance Guide

skills CLI
$ npx skills add wentorai/research-plugins --skill quantitative-finance-guide -a claude-code

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

GitHub CLI
$ gh skill install wentorai/research-plugins quantitative-finance-guide --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/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/domains/finance/quantitative-finance-guide .claude/skills/quantitative-finance-guide && 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
quantitative-finance-guide
GitHub stars
298
Used in
1 other repo
Token cost
~1.3k tokens
SKILL.md length
168 words
Files
1
Skills in repo
405
Repo updated
First seen
Licence
MIT

At a glance

Quantitative methods for financial modeling, derivatives pricing, and risk an...

  • Works in 3 steps: Historical Simulation: Non-parametric,… → Variance-Covariance (Parametric):… → Monte Carlo VaR: Most flexible, handles…
  • Tasks that involve Financial modeling
  • SKILL.md covers Derivatives Pricing, Portfolio Optimization, Risk Management and Time Series Econometrics, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Quantitative Finance Guide is an agent skill from wentorai/research-plugins. Quantitative methods for financial modeling, derivatives pricing, and risk an...

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Business, Finance & HR, covering Financial modeling. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.

When your agent uses it

  • Tasks that involve Financial modeling

Example prompts

  • “/quantitative-finance-guide”

Requirements

  • Python 3

Workflow steps

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

  1. Historical Simulation: Non-parametric, uses actual return distribution
  2. Variance-Covariance (Parametric): Assumes normal distribution, fast computation
  3. Monte Carlo VaR: Most flexible, handles non-linear instruments

What it can do on your machine

Read from SKILL.md and the folder at commit bf44b3c. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    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

Quantitative Finance Guide loads about 1.3k tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 168 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 168 words, ~1,337 tokens.

Download SKILL.mdSave it as .claude/skills/quantitative-finance-guide/SKILL.md (or your agent's skills folder).
name
quantitative-finance-guide
description
Quantitative methods for financial modeling, derivatives pricing, and risk an...

Quantitative Finance Guide

A rigorous skill for applying quantitative methods to financial research, covering derivatives pricing, portfolio optimization, risk modeling, and time series econometrics. Designed for academic researchers and quantitative analysts.

Derivatives Pricing

Black-Scholes-Merton Model

The foundational model for European option pricing:

python
import numpy as np
from scipy.stats import norm

def black_scholes(S: float, K: float, T: float, r: float,
                   sigma: float, option_type: str = 'call') -> dict:
    """
    Black-Scholes European option pricing.

    Args:
        S: Current stock price
        K: Strike price
        T: Time to maturity (years)
        r: Risk-free rate (annualized)
        sigma: Volatility (annualized)
        option_type: 'call' or 'put'
    """
    d1 = (np.log(S / K) + (r + 0.5 * sigma**2) * T) / (sigma * np.sqrt(T))
    d2 = d1 - sigma * np.sqrt(T)

    if option_type == 'call':
        price = S * norm.cdf(d1) - K * np.exp(-r * T) * norm.cdf(d2)
    else:
        price = K * np.exp(-r * T) * norm.cdf(-d2) - S * norm.cdf(-d1)

    greeks = {
        'delta': norm.cdf(d1) if option_type == 'call' else norm.cdf(d1) - 1,
        'gamma': norm.pdf(d1) / (S * sigma * np.sqrt(T)),
        'theta': -(S * norm.pdf(d1) * sigma) / (2 * np.sqrt(T)),
        'vega': S * norm.pdf(d1) * np.sqrt(T),
        'rho': K * T * np.exp(-r * T) * norm.cdf(d2) if option_type == 'call'
               else -K * T * np.exp(-r * T) * norm.cdf(-d2)
    }
    return {'price': price, 'greeks': greeks}

# Example: price a call option
result = black_scholes(S=100, K=105, T=0.5, r=0.05, sigma=0.20, option_type='call')
print(f"Call Price: ${result['price']:.2f}")
print(f"Delta: {result['greeks']['delta']:.4f}")
Monte Carlo Simulation

For path-dependent options and complex payoffs:

python
def monte_carlo_option(S0, K, T, r, sigma, n_paths=100000, n_steps=252):
    """Geometric Brownian Motion Monte Carlo pricer."""
    dt = T / n_steps
    Z = np.random.standard_normal((n_paths, n_steps))
    paths = np.zeros((n_paths, n_steps + 1))
    paths[:, 0] = S0

    for t in range(n_steps):
        paths[:, t + 1] = paths[:, t] * np.exp(
            (r - 0.5 * sigma**2) * dt + sigma * np.sqrt(dt) * Z[:, t]
        )

    payoffs = np.maximum(paths[:, -1] - K, 0)
    price = np.exp(-r * T) * np.mean(payoffs)
    std_err = np.exp(-r * T) * np.std(payoffs) / np.sqrt(n_paths)
    return {'price': price, 'std_error': std_err, '95_ci': (price - 1.96*std_err, price + 1.96*std_err)}

Portfolio Optimization

Mean-Variance Optimization (Markowitz)

Construct efficient frontiers using quadratic programming:

python
from scipy.optimize import minimize

def efficient_frontier(returns: np.ndarray, n_portfolios: int = 50) -> list:
    """
    Compute efficient frontier points.
    returns: T x N array of asset returns
    """
    n_assets = returns.shape[1]
    mean_returns = returns.mean(axis=0)
    cov_matrix = np.cov(returns.T)

    results = []
    target_returns = np.linspace(mean_returns.min(), mean_returns.max(), n_portfolios)

    for target in target_returns:
        constraints = [
            {'type': 'eq', 'fun': lambda w: np.sum(w) - 1},
            {'type': 'eq', 'fun': lambda w, t=target: w @ mean_returns - t}
        ]
        bounds = [(0, 1)] * n_assets
        w0 = np.ones(n_assets) / n_assets

        result = minimize(lambda w: w @ cov_matrix @ w, w0,
                          bounds=bounds, constraints=constraints, method='SLSQP')
        if result.success:
            vol = np.sqrt(result.fun)
            results.append({'return': target, 'volatility': vol, 'weights': result.x})
    return results

Risk Management

Value at Risk (VaR) and Expected Shortfall

Three approaches to VaR estimation:

  1. Historical Simulation: Non-parametric, uses actual return distribution
  2. Variance-Covariance (Parametric): Assumes normal distribution, fast computation
  3. Monte Carlo VaR: Most flexible, handles non-linear instruments
python
def compute_var_es(returns: np.ndarray, confidence: float = 0.95) -> dict:
    """Compute VaR and Expected Shortfall (CVaR)."""
    sorted_returns = np.sort(returns)
    var_index = int((1 - confidence) * len(sorted_returns))
    var = -sorted_returns[var_index]
    es = -sorted_returns[:var_index].mean()
    return {'VaR': var, 'ES': es, 'confidence': confidence}

Time Series Econometrics

For financial time series, test for stationarity (ADF test), model volatility clustering with GARCH models, and check for cointegration in pairs trading strategies. Always report Newey-West standard errors when autocorrelation is present, and use information criteria (AIC, BIC) for model selection.

References

  • Hull, J. C. (2022). Options, Futures, and Other Derivatives (11th ed.). Pearson.
  • Markowitz, H. (1952). Portfolio Selection. Journal of Finance, 7(1), 77-91.

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

Files

Just SKILL.md in skills/domains/finance/quantitative-finance-guide of wentorai/research-plugins.

Open the folder on GitHubat commit bf44b3c

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Quantitative Finance Guide 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.

Quantitative Finance Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Quantitative Finance Guide this skillwentorai/research-plugins2981 repos~1.3kAutomated safety check: PassMIT
Financial Modelingcbrock84/headcount2k—~1.1kAutomated safety check: PassMIT
SaaS Churn AnalysisLeoYeAI/openclaw-master-skills2.2k—~5kAutomated safety check: PassMIT
Creating Financial ModelsChen-zexi/open-ptc-agent7293 repos~1.3kAutomated safety check: PassMIT
Equity ResearchrollingSirius/equity-research-skill453—~1.5kAutomated safety check: PassMIT
SaaS Metrics Coachrongxinzy/RongxinAI1542 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Financial Modeling

    cbrock84/headcount

    Builds and stress-tests financial models for forecasting, scenario planning, and decision support — revenue build, cost structure, driver logic, and the sensitivities that show where a plan breaks.

    2k GitHub stars~1.1k tokensUpdated 22 days ago
    Business, Finance & HRAuto-check passed
  • SaaS Churn Analysis

    LeoYeAI/openclaw-master-skills

    SaaS churn and retention analysis: cohort-based churn rates, retention curves, revenue churn vs logo churn, at-risk customer identification, expansion vs contraction MRR, churn recovery playbooks…

    2.2k GitHub stars~5k tokensUpdated 2 mo ago
    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 3 repos~1.3k tokens
    Business, Finance & HRAuto-check passed
  • Equity Research

    rollingSirius/equity-research-skill

    撰写机构级个股投资研究报告(二级市场深度研究)。Use whenever the user wants to research, analyze, or value a specific publicly-traded stock — e.g.

    453 GitHub stars~1.5k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • SaaS Metrics Coach

    rongxinzy/RongxinAI

    SaaS financial health advisor. An agent skill from rongxinzy/RongxinAI.

    154 GitHub starsUsed in 2 repos~1.3k tokens
    Business, Finance & HRAuto-check passed
  • Charlie

    EveryInc/charlie-cfo-skill

    Your AI CFO for bootstrapped startups, named after Charlie Munger who embodied the principle that capital discipline is a competitive advantage.

    323 GitHub stars~1.4k tokensUpdated 8 mo ago
    Business, Finance & HRAuto-check passed

More from wentorai/research-plugins

All 405 skills in this repo
  • Abstract Writing Guide

    wentorai/research-plugins

    Craft structured research abstracts that maximize clarity and journal acceptance

    298 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Academic Citation Manager

    wentorai/research-plugins

    Manage academic citations across BibTeX, APA, MLA, and Chicago formats

    298 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Academic Paper Summarizer

    wentorai/research-plugins

    Summarize academic papers with structured extraction of key elements

    298 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Academic Study Methods

    wentorai/research-plugins

    Evidence-based study techniques for academic learning and retention

    298 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Academic Tone Guide

    wentorai/research-plugins

    Adjust writing tone and register for academic audiences and venues

    298 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Academic Translation Guide

    wentorai/research-plugins

    Academic translation, post-editing, and Chinglish correction guide

    298 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed

Questions about Quantitative Finance Guide

What does Quantitative Finance Guide do?

Quantitative methods for financial modeling, derivatives pricing, and risk an... Quantitative Finance Guide is an agent skill from wentorai/research-plugins. Quantitative methods for financial modeling, derivatives pricing, and risk an...

When should I use Quantitative Finance Guide?

Quantitative Finance Guide fits situations like: tasks that involve Financial modeling.

How do I install Quantitative Finance Guide in Claude Code?

Run `npx skills add wentorai/research-plugins --skill quantitative-finance-guide -a claude-code`. Or copy the skill folder (skills/domains/finance/quantitative-finance-guide in wentorai/research-plugins) into .claude/skills/quantitative-finance-guide in your project. Claude Code loads it when a task matches its description.

How do I install Quantitative Finance Guide in Codex?

Run `npx skills add wentorai/research-plugins --skill quantitative-finance-guide -a codex`. Or copy the skill folder (skills/domains/finance/quantitative-finance-guide in wentorai/research-plugins) into .agents/skills/quantitative-finance-guide in your project. Codex loads it when a task matches its description.

Can I use Quantitative Finance Guide 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 wentorai/research-plugins --skill quantitative-finance-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/quantitative-finance-guide, .gemini/skills/quantitative-finance-guide, .github/skills/quantitative-finance-guide and .opencode/skills/quantitative-finance-guide in your project.

What does Quantitative Finance Guide need to run?

SKILL.md names no scripts, command-line tools or credentials: Quantitative Finance Guide is instructions for the agent only. Our summary lists: Python 3.

Does Quantitative Finance Guide 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 Quantitative Finance Guide 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. Review the folder before installing.

What licence does Quantitative Finance Guide use?

Quantitative Finance Guide 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 Quantitative Finance Guide use?

About 1.3k tokens (SKILL.md is roughly 5.3k 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 Quantitative Finance Guide?

Skills that share tags, products or a category with Quantitative Finance Guide: Financial Modeling (cbrock84/headcount, 2k stars), SaaS Churn Analysis (LeoYeAI/openclaw-master-skills, 2.2k stars), Creating Financial Models (Chen-zexi/open-ptc-agent, 729 stars) and Equity Research (rollingSirius/equity-research-skill, 453 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Quantitative Finance Guide?

wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 405 skills in this directory. The repository was last updated on June 19, 2026.

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