By lucaswychan
Four-skill pipeline that takes a quantitative-finance arxiv paper from search and extraction through independent backtest replication to a production event-driven strategy file.
Read a downloaded quant finance paper PDF and author note.md + metrics.json using judgment. Use when the user wants a TL;DR that captures the paper's contribution (not a copy-pasted abstract), reported performance metrics (Sharpe, max drawdown, annual return, volatility, Calmar, information ratio, win rate) validated against table values as well as narrative prose, the paper's core formulas verified by cross-checking Results-section citations, and paper-specific open questions needed for replication. Second stage of the paper-to-production pipeline; reads papers/<arxiv-id>/paper.pdf and writes note.md + metrics.json into the same directory. Bundled Python scripts prepare a structured context bundle that Claude then reasons over to produce the outputs.
Replicate a quantitative finance paper end-to-end — write plan.md (HALT for user approval), then run a vectorized pandas/numpy backtest producing signal.py/portfolio.py/backtest.py, nav.png, drawdown.png, replicated metrics.json, and a benchmark.md verdict (replicated / partially replicated / not replicated). Use when the user wants to reproduce or backtest a quant strategy (time-series momentum, cross-sectional momentum, risk parity, trend+vol, or custom) from papers/<arxiv-id>/. Default data is yfinance daily. Never tunes parameters to match the paper.
Search arxiv for quantitative finance papers and download PDFs to ./papers/<arxiv-id>/. Use this skill when the user wants to find quant research on arxiv (q-fin.* subcategories including CP, EC, GN, MF, PM, PR, RM, ST, TR), pull a specific paper by arxiv id, batch-download a list of ids, or filter papers by date range or keyword. Produces a per-paper directory with paper.pdf and meta.json (title, authors, categories, published, pdf_url). First step of the paper-to-production pipeline; downstream skills (paper-extract, paper-replicate) read from the same papers/<arxiv-id>/ tree.
Translate a validated vectorized backtest (papers/<arxiv-id>/code/) into a production event-driven strategy file for the team's live-trading framework. Use this skill ONLY after paper-replicate has produced a stable backtest and a benchmark.md verdict the user trusts, AND after the event-driven framework spec has been filled in at references/framework_spec.md. This skill ships in PLACEHOLDER mode — it will refuse to generate code until framework_spec.md contains real framework contracts (event types, function signatures, position API). Bundles a production-grade size_contracts() function and its unit tests for notional-to-contracts conversion with margin checks — the money-losing bug class that must be unit-tested before any live deployment.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A Claude Code plugin that turns a quantitative-finance arxiv paper into a
production-ready event-driven strategy — in four composable skills that share
a single papers/<arxiv-id>/ artifact tree.
arxiv search -> PDF extract -> plan + backtest + benchmark -> event-driven strategy
| | | |
paper-search paper-extract paper-replicate strategy-translate
Each stage writes into papers/<arxiv-id>/, so you can enter the pipeline at
any step — hand Claude a paper PDF you already have, or a vectorized backtest
you already wrote, and pick up from there.
/plugin marketplace add lucaswychan/quant-paper-agent
/plugin install quant-paper-agent@quant-paper-agent
Local development install (from a checkout):
/plugin marketplace add /path/to/quant-paper-agent
/plugin install quant-paper-agent@quant-paper-agent
Then install the Python dependencies in whatever environment you run Claude Code from:
pip install -r requirements.txt
Requires Python >= 3.9.
| Skill | Input | Output |
|---|---|---|
paper-search | keyword / arxiv id / date range | papers/<id>/paper.pdf, meta.json |
paper-extract | paper.pdf | note.md, metrics.json (reported metrics + core formulas) |
paper-replicate | note.md, metrics.json | plan.md (halts for approval), code/{signal,portfolio,backtest}.py, nav.png, drawdown.png, replicated metrics.json, benchmark.md |
strategy-translate | validated backtest + framework_spec.md | strategy/strategy.py + unit tests (placeholder until spec is filled in) |
Once installed, invoke in natural language:
Or call the bundled Python scripts directly — see each skill's SKILL.md for
script-level invocation.
These come from the design post and are encoded in the skills:
skills/strategy-translate/references/framework_spec.md describes real
event types, strategy contract, order and position APIs, and clock
semantics. It ships with a production-grade size_contracts() and unit
tests for the notional-to-contracts + margin-check class of bug.pip install -U pip), or install from wheel: pip install pymupdf --only-binary=:all:.pip install -U yfinance and retry. If a ticker changed (e.g. BRK-B vs
BRK.B), the skill will surface the error rather than silently producing an
empty backtest.papers/<id>/metrics.json formulas look garbled — PyMuPDF's math font
extraction is best-effort. paper-extract flags this and preserves raw
page text for manual review; the downstream paper-replicate plan step
depends on human judgment on formulas, not blind re-execution.skills/strategy-translate/references/framework_spec.md is filled in with
your team's event-driven framework contracts.quant-paper-agent/
├── .claude-plugin/
│ ├── plugin.json
│ └── marketplace.json
├── skills/
│ ├── paper-search/
│ ├── paper-extract/
│ ├── paper-replicate/
│ └── strategy-translate/
├── requirements.txt
├── LICENSE
└── README.md
MIT. See LICENSE.
npx claudepluginhub lucaswychan/quant-paper-agent --plugin quant-paper-agentComplete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.
A growing collection of Claude-compatible academic workflow bundles. Covers scientific figures, manuscript writing and polishing, reviewer assessment, citation retrieval, data availability, paper reading, literature search, response letters, paper-to-PPTX conversion, and evidence-grounded Chinese invention patent drafting. Rules are organized as reusable skill folders with explicit workflows and quality checks.
Create new skills, improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, or benchmark skill performance with variance analysis.