Skip to main content
skill CX Codex

quant-analyst — Claude Code skill: what it does, how to install

quant-analyst — a skill for Claude Code and Codex designed for financial modeling and backtesting. Handles portfolio optimization, risk metrics, and time series analysis.

MIT 123 installs ★ 2,070 updated 2026-11-07

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add rmyndharis/antigravity-skills --skill quant-analyst -a claude-code
Open on GitHub

What quant-analyst does

Works across Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. It guides your coding agent through quantitative finance workflows, validating market inputs before generating any trading logic.

The skill enforces out-of-sample testing while factoring in transaction costs and execution slippage. Calculations rely on vectorized routines built with pandas, numpy, and scipy, separating exploratory prototypes from production-ready code.

Because the generated scripts lean on scipy and pandas, your local environment must have both installed to run the analysis.

What it helps with

  • backtest trading strategies while modeling slippage and fees
  • evaluate risk exposures using VaR, max drawdown, and Sharpe ratio
  • balance asset weights using Markowitz or Black-Litterman models
  • price options and calculate Greeks from market series

Example prompts for the agent

  • Run a backtest for a pairs trading strategy with transaction costs included.
  • Optimize our portfolio allocations using the Black-Litterman model in scipy.
  • Build a pipeline in pandas to clean and validate historical price feeds.

How to install quant-analyst

1Skills CLI (Vercel)

npx skills add rmyndharis/antigravity-skills --skill quant-analyst -a claude-code

2Manually: put the files in place

~/.claude/skills/quant-analyst/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/quant-analyst/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about quant-analyst

How to install quant-analyst in Claude Code?

Run npx skills add rmyndharis/antigravity-skills --skill quant-analyst -a claude-code in your terminal. The configuration file will be stored in ~/.claude/skills/quant-analyst/SKILL.md.

What does quant-analyst do?

It equips the model with instructions for statistical arbitrage, portfolio optimization, and risk evaluation under realistic market microstructure assumptions.

Which libraries are required for the generated scripts?

Implementations depend on standard Python numerical packages: pandas, numpy, and scipy.

Source text

SKILL.md · MIT
---
name: quant-analyst
description: Build financial models, backtest trading strategies, and analyze
  market data. Implements risk metrics, portfolio optimization, and statistical
  arbitrage. Use for quantitative finance, trading algorithms, or
  risk analysis.
metadata:
  model: inherit
---

## Use this skill when

- Working on quant analyst tasks or workflows
- Needing guidance, best practices, or checklists for quant analyst

## Do not use this skill when

- The task is unrelated to quant analyst
- You need a different domain or tool outside this scope

## Instructions

- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.

You are a quantitative analyst specializing in algorithmic trading and financial modeling.

## Focus Areas
- Trading strategy development and backtesting
- Risk metrics (VaR, Sharpe ratio, max drawdown)
- Portfolio optimization (Markowitz, Black-Litterman)
- Time series analysis and forecasting
- Options pricing and Greeks calculation
- Statistical arbitrage and pairs trading

## Approach
1. Data quality first - clean and validate all inputs
2. Robust backtesting with transaction costs and slippage
3. Risk-adjusted returns over absolute returns
4. Out-of-sample testing to avoid overfitting
5. Clear separation of research and production code

## Output
- Strategy implementation with vectorized operations
- Backtest results with performance metrics
- Risk analysis and exposure reports
- Data pipeline for market data ingestion
- Visualization of returns and key metrics
- Parameter sensitivity analysis

Use pandas, numpy, and scipy. Include realistic assumptions about market microstructure.

© rmyndharis · MIT · rmyndharis/antigravity-skills

Similar skills

All skills for Finance and business →

From the same set17

The whole set →
code-refactoring-refactor-clean The code-refactoring-refactor-clean Claude Code skill restructures existing code using clean-code principles and SOLID patterns. It activates for tangled modules, duplication, and testability work. CX Codex +1 154installs backend-security-coder backend-security-coder is a Claude Code skill for writing secure backend code and reviewing security-sensitive changes. It covers input checks, authentication, and API protection. CX Codex +1 142installs code-reviewer The code-reviewer Claude Code skill reviews code for security risks, performance issues, and maintainability concerns. Ask it to assess a change or inspect a production configuration. CX Codex +1 104installs bash-pro The bash-pro Claude Code skill guides Bash scripting for automation, CI/CD, and system tasks. It helps structure argument handling, error recovery, and script checks. CX Codex +1 123installs unity-developer unity-developer — a skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode that brings Unity 6 LTS expertise into the agent context: rendering pipelines, C# performance patterns, and cross-platform builds. CX Codex +1 3,000installs dotnet-architect dotnet-architect — a skill for Claude Code, Codex, Cursor, GitHub Copilot, and Gemini CLI that gives the agent the role of a senior .NET backend architect: C#, ASP.NET Core, Entity Framework, Dapper, and enterprise patterns. CX Codex +1 353installs java-pro The java-pro skill for Claude Code supports Java 21+ work, Spring Boot 3.x design, and JVM performance tasks. Ask for implementation steps, architecture choices, or code checks. CX Codex +1 237installs agent-orchestration-improve-agent The agent-orchestration-improve-agent Claude Code skill helps improve existing AI agents. It examines failures, refines prompts, and tests changes against representative cases. CX Codex +1 141installs

Project sponsors

Companies that keep this analytics open