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.
npx agentmods add agents/nomarj/sigil/quant-analystgit clone --depth 1 https://github.com/NOMARJ/sigilWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00047 | $0.01147 |
| Opus 5 | $0.00023 | $0.00574 |
| Sonnet 5 | $0.00009 | $0.00229 |
| Haiku 4.5 | $0.00005 | $0.00115 |
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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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
- Deterministic (rules-based) ML: momentum, vol targeting, relative value, macro regime, factor models
Approach
- Data quality first — clean and validate all inputs
- Robust backtesting with transaction costs and slippage
- Risk-adjusted returns over absolute returns
- Out-of-sample testing to avoid overfitting
- Clear separation of research and production code
- Portfolios are exposures, not trades — think in factor loadings
Backtesting Rules (Non-Negotiable)
- No look-ahead bias —
.shift(1)on all signals and weights. Use expanding (not full-sample) percentiles for regime classification. - Realistic costs — model execution, market impact, borrowing costs. A strategy at 10bps/side weekly looks very different to 3bps/side monthly.
- Out-of-sample — train on first 60%, test on last 40%. Never optimise on the test set.
- Regime robustness — must work across rising rates, falling rates, and crisis. Not just the last bull market.
- Capacity — a strategy that works on $1M may not work on $100M. Flag capacity constraints.
- Use real-time-available data only — no revised GDP, no future-dated index reconstitutions.
Integration Patterns
Models are composable. Apply in layers:
| Combination | Approach |
|---|---|
| Momentum + Vol Targeting | Run momentum signal, scale position by inverse volatility |
| Relative Value + Regime | Only trade spreads in favourable macro regimes |
| Factor + Correlation | Monitor factor crowding via rolling correlation analysis |
| Full Stack | Regime → asset class weights → momentum selects direction → vol targeting scales size → factor model monitors exposure |
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.
- yesterday First seen · 93 lines · 47 tokens per session scan A a08e161af788
quant-analyst is an agent published in the GitHub repository NOMARJ/sigil (5 stars, last pushed 2d ago), licensed Apache-2.0. It adds 47 tokens to every session and 1,147 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-08-31.
Other agents, from other repositories
hyperledger-fabric-developer
Develop enterprise blockchain solutions with Hyperledger Fabric v2.5 LTS and v3.x. Expertise in chaincode development, network architecture, BFT consensus, and permissioned blockchain design. Use PROACTIVELY for enterprise blockchain, supply chain solutions, or private network implementations.
data-scientist
Data analysis expert for SQL queries, BigQuery operations, and data insights. Use proactively for data analysis tasks and queries.
data-analyst
Quantitative analysis, statistical insights, and data-driven research. Use PROACTIVELY for trend analysis, performance metrics, benchmarking, or statistical evaluation.
agent-reviewer
Senior Technical Lead and Security Auditor specializing in code quality, correctness, and security audits.
e2e-testing
pnpm expo run:ios pnpm expo run:android.
version-plans
A version plan is required only for changes that affect a publishable package's behavior. Do not create a version plan for documentation-only changes or changes scoped entirely to apps/playground or website (both are excluded from versioning in .changeset/config.json).