quant-analyst

quant-analyst is an agent for Claude Code from rafaelkamimura/claude-tools. It costs 47 tokens per session (255 once invoked), scanned A, a copy of quant-analyst, MIT.

A coding agent for quantitative finance, the use of mathematics and statistics to study investments and trading. It builds financial models and evaluates trading strategies against historical data.

In plain words
What is it for?
Use it for backtesting, portfolio optimisation, risk measures such as VaR and Sharpe ratio, options calculations, time-series analysis, statistical arbitrage, and market-data pipelines.
Why use it?
It helps test whether a strategy may work after considering risk, trading costs, slippage, and the danger of fitting only to past data.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the claude-tools plugin — 12 commands, 46 agents shipped together

Good fit Use it for backtesting, portfolio optimisation, risk measures such as VaR and Sharpe ratio, options calculations, time-series analysis, statistical arbitrage, and market-data pipelines.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rafaelkamimura/claude-tools/quant-analyst
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.

Clone the repo
git clone --depth 1 https://github.com/rafaelkamimura/claude-tools

Made for: Claude Code.

Or install claude-tools, the plugin that ships this one along with the rest of its 12 commands, 46 agents.

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/agents/rafaelkamimura/claude-tools/quant-analyst/github.svg)](https://agentmods.dev/agents/rafaelkamimura/claude-tools/quant-analyst)
Your own site
<a href="https://agentmods.dev/agents/rafaelkamimura/claude-tools/quant-analyst"><img src="https://agentmods.dev/badge/agents/rafaelkamimura/claude-tools/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/agents/rafaelkamimura/claude-tools/quant-analyst"><img src="https://agentmods.dev/badge/agents/rafaelkamimura/claude-tools/quant-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 255 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 89% copy Near-identical to another mod 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.00047 $0.00255
Opus 5.5 $0.00019 $0.00102
Sonnet 5.5 $0.00009 $0.00051
Haiku 4.5 $0.00005 $0.00026

Measured 1mo ago against content hash 3bc1ca582e5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

Origin

This is a copy

89% identical to quant-analyst — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/quant-analyst.md · 33 lines

What it actually says

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.

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 First seen · 33 lines · 47 tokens per session scan A 3bc1ca582e5f

Subscribe to this mod's changes

quant-analyst is an agent published in the GitHub repository rafaelkamimura/claude-tools (10 stars, last pushed 9mo ago), licensed MIT. It adds 47 tokens to every session and 255 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to quant-analyst, differing in 2 lines, and is treated as a copy.

Related

Other agents, from other repositories

token-economics-designer

Token economics and tier design specialist. Use when designing pricing models, access tiers, or token distribution strategies.

Matt-Dionis/claude-code-configs · 28 tokens

ic-challenger

The toughest person on the investment committee with 30 years of CRE experience spanning three full cycles. Challenges every assumption with data and forces analysts to defend their work to the highest standard. Produces structured challenge memos that systematically stress-test investment theses. Deploy this agent…

mariourquia/cre-skills-plugin · 85 tokens

financial-integrity-auditor

Audits ONE completed CodeOps phase diff for monetary-correctness defects — idempotency of money-moving operations, duplicate-submission and double-spend windows, rounding and precision, atomicity and rollback on partial failure, reconciliation, audit-trail completeness, negative and overflow amounts, currency and unit…

blendsdk/claude-codeops · 142 tokens

soleur-finance-budget-analyst

Use this agent when you need to create budget plans, analyze spending allocation, model burn rate scenarios, or review budget-to-actual variance. Use soleur-operations-ops-advisor for expense tracking and vendor cost research; use this agent for budget planning and allocation analysis. Use soleur-finance-cfo for…

jikig-ai/soleur · 78 tokens

pm-business-analyst

Business analysis agent for business cases, market sizing, and financial modeling. Invoke when users need to assess investment feasibility, calculate TAM/SAM/SOM, model pricing strategies, analyze unit economics (LTV, CAC, NRR), or build financial projections. Trigger keywords: business case, financial model, market…

geekatron/jerry · 107 tokens

royalty-audit-analyst

Audits normalized music royalty ledgers and royalty workpapers for completeness, gross-to-net issues, duplicate imports, timing errors, PRO/MLC anomalies, and NPS/NLS support.

recoupable/skills · 46 tokens