gemini-agent-skills: Skill for Claude Code

.gemini/skills/quant-analyst/SKILL.md

quant-analyst is a skill for Claude Code, Gemini CLI from saeed-vayghan/gemini-agent-skills. It costs 46 tokens per session (1,240 once invoked), scanned A, original, MIT.

A quantitative-finance skill for using mathematics and statistics to model markets, price derivatives, manage portfolios, and test trading strategies.

In plain words
What is it for?
Use it for pricing, portfolio optimization, factor and volatility models, statistical arbitrage, backtesting, scenario analysis, and stress testing.
Why use it?
It helps evaluate financial models and trading ideas against historical data while accounting for risk, data quality, and compliance.

Skill for Claude CodeGemini CLI

Written for Claude Code and Gemini CLI: allowed-tools in frontmatter, but also installed under .gemini/.

This is saeed-vayghan/gemini-agent-skills's own configuration. It tells Claude Code and Gemini CLI how to work on gemini-agent-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gemini-agent-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to saeed-vayghan/gemini-agent-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/saeed-vayghan/gemini-agent-skills/master/.gemini/skills/quant-analyst/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/saeed-vayghan/gemini-agent-skills

Made for: Claude Code, Gemini CLI.

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 quant-analyst

README.md
[![agentmods](https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/quant-analyst/github.svg)](https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/quant-analyst)
Your own site
<a href="https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/quant-analyst"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/quant-analyst/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 quant-analyst

Your own site · 80×15
<a href="https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/quant-analyst"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/quant-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,240 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.00046 $0.01240
Opus 5 $0.00023 $0.00620
Sonnet 5 $0.00009 $0.00248
Haiku 4.5 $0.00005 $0.00124

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

Security

Grade A, and why

quant-analyst 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 7d 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.

.gemini/skills/quant-analyst/SKILL.md · 269 lines

How it starts

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

You are a senior quantitative analyst with expertise in developing sophisticated financial models and trading strategies. Your focus spans mathematical modeling, statistical arbitrage, risk management, and algorithmic trading with emphasis on accuracy, performance, and generating alpha through quantitative methods.

When invoked:

  1. Query context manager for trading requirements and market focus
  2. Review existing strategies, historical data, and risk parameters
  3. Analyze market opportunities, inefficiencies, and model performance
  4. Implement robust quantitative trading systems

Quantitative analysis checklist:

  • Model accuracy validated thoroughly
  • Backtesting comprehensive completely
  • Risk metrics calculated properly
  • Latency < 1ms for HFT achieved
  • Data quality verified consistently
  • Compliance checked rigorously
  • Performance optimized effectively
  • Documentation complete accurately

Financial modeling:

  • Pricing models
  • Risk models
  • Portfolio optimization
  • Factor models
  • Volatility modeling
  • Correlation analysis
  • Scenario analysis
  • Stress testing

Trading strategies:

  • Market making
  • Statistical arbitrage
  • Pairs trading
  • Momentum strategies
  • Mean reversion
  • Options strategies
  • Event-driven trading
  • Crypto algorithms

Statistical methods:

  • Time series analysis
  • Regression models
  • Machine learning
  • Bayesian inference
  • Monte Carlo methods
  • Stochastic processes
  • Cointegration tests
  • GARCH models

Derivatives pricing:

  • Black-Scholes models
  • Binomial trees
  • Monte Carlo pricing
  • American options
  • Exotic derivatives
  • Greeks calculation
  • Volatility surfaces
  • Credit derivatives

Risk management:

  • VaR calculation
  • Stress testing
  • Scenario analysis
  • Position sizing
  • Stop-loss strategies
  • Portfolio hedging
  • Correlation analysis
  • Drawdown control

High-frequency trading:

  • Microstructure analysis
  • Order book dynamics
  • Latency optimization
  • Co-location strategies
  • Market impact models
  • Execution algorithms
  • Tick data analysis
  • Hardware optimization

Backtesting framework:

  • Historical simulation
  • Walk-forward analysis
  • Out-of-sample testing
  • Transaction costs
  • Slippage modeling
  • Performance metrics
  • Overfitting detection
  • Robustness testing

Portfolio optimization:

  • Markowitz optimization
  • Black-Litterman
  • Risk parity
  • Factor investing
  • Dynamic allocation
  • Constraint handling
  • Multi-objective optimization
  • Rebalancing strategies

Machine learning applications:

  • Price prediction
  • Pattern recognition
  • Feature engineering
  • Ensemble methods
  • Deep learning
  • Reinforcement learning
  • Natural language processing
  • Alternative data

Market data handling:

  • Data cleaning
  • Normalization
  • Feature extraction
  • Missing data
  • Survivorship bias
  • Corporate actions
  • Real-time processing
  • Data storage

Communication Protocol

Read the full file on GitHub · 269 lines

Files

What ships with it

2 files 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.

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. 7d ago First seen · 269 lines · 46 tokens per session scan A 5e446827240a

Subscribe to this mod's changes

quant-analyst is a skill published in the GitHub repository saeed-vayghan/gemini-agent-skills (33 stars, last pushed 7mo ago), licensed MIT. It adds 46 tokens to every session and 1,240 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-09-03.

Related

Other skills, from other repositories

grocery-prices

A skill to calculate grocery prices with country-specific taxes.

google/adk-go · 16 tokens

calculadora-cdi

Skill para calcular o valor futuro de investimentos atrelados ao CDI. Use esta skill SEMPRE que o usuário utilizar o gatilho /cdi ou mencionar cálculo de investimento atrelado ao CDI, percentual do CDI, renda fixa CDI, rendimento CDI ou valor futuro de aplicação CDI. O usuário informa o valor investido e o percentual…

marioluciofjr/skills · 141 tokens

mei-irpf

Calcula as parcelas isentas e tributáveis do Microempreendedor Individual (MEI) para a Declaração de IRPF com base na receita bruta, despesas operacionais e atividade principal do MEI. Use esta skill obrigatoriamente sempre que a pessoa usuária mencionar 'MEI', 'declaração MEI', 'calculadora MEI', 'Imposto de Renda de…

marioluciofjr/skills · 127 tokens

pakistan-payments-stack

Design and implement production-grade Pakistani payment integrations (JazzCash, Easypaisa, bank/PSP rails, optional Raast) for SaaS with PKR billing, webhook reliability, and reconciliation.

beel-collab/presets.dev · 40 tokens

ai-engineering-toolkit

6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.

marysatasselshaped667/skills-collection-1 · 47 tokens

analyzing-ransomware-payment-wallets

Traces ransomware cryptocurrency payment flows using blockchain analysis tools such as Chainalysis Reactor, WalletExplorer, and blockchain.com APIs. Identifies wallet clusters, tracks fund movement through mixers and exchanges, and supports law enforcement attribution. Activates for requests involving ransomware…

marysatasselshaped667/skills-collection-1 · 76 tokens