00-master

00-master is a cursor rule for Cursor from juandoroteoflesiauni-lang/Market-options-stocks-Scanner. It costs 882 tokens per session, scanned A, original, Apache-2.0.

A permanent rulebook for QuantStation, a quantitative trading system that uses software to process trading data and strategies. It defines required startup checks, coding rules, system phases, and technology choices.

In plain words
What is it for?
Use it when working on QuantStation's Python backend, Next.js interface, asynchronous processing phases, trading integrations, or project-specific coding and safety decisions.
Why use it?
It tells a coding agent which project rules must be followed before code is written. This helps prevent unsafe trading-system changes, leaked secrets, invalid data passed between phases, and other prohibited patterns.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions CLAUDE.md.

Good fit Use it when working on QuantStation's Python backend, Next.js interface, asynchronous processing phases, trading integrations, or project-specific coding and safety decisions.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/juandoroteoflesiauni-lang/market-options-stocks-scanner/00-master
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/juandoroteoflesiauni-lang/Market-options-stocks-Scanner

Made for: Cursor.

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 00-master

README.md
[![agentmods](https://agentmods.dev/badge/rules/juandoroteoflesiauni-lang/market-options-stocks-scanner/00-master/github.svg)](https://agentmods.dev/rules/juandoroteoflesiauni-lang/market-options-stocks-scanner/00-master)
Your own site
<a href="https://agentmods.dev/rules/juandoroteoflesiauni-lang/market-options-stocks-scanner/00-master"><img src="https://agentmods.dev/badge/rules/juandoroteoflesiauni-lang/market-options-stocks-scanner/00-master/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 00-master

Your own site · 80×15
<a href="https://agentmods.dev/rules/juandoroteoflesiauni-lang/market-options-stocks-scanner/00-master"><img src="https://agentmods.dev/badge/rules/juandoroteoflesiauni-lang/market-options-stocks-scanner/00-master.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 882 This file is loaded in full into every session.
When invoked 882 The same file — it is already loaded in full.
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.00882 $0.00882
Opus 5 $0.00441 $0.00441
Sonnet 5 $0.00176 $0.00176
Haiku 4.5 $0.00088 $0.00088

Measured 12d ago against content hash 4c072374189a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

00-master 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 12d 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.

.cursor/rules/00-master.mdc · 66 lines

How it starts

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

🎯 QUANTSTATION — CONSTITUCIÓN MAESTRA v3.0

IDENTIDAD DEL SISTEMA

deep-funnel-station es una estación de trading cuantitativo institucional.

  • Backend: Python 3.12+ — motor asíncrono de 4 fases (A→B→C→D)
  • Frontend: Next.js 16 / React 19 — shell de interfaz (Fase 1 activa)
  • Estándares: NautilusTrader · FINOS CDM · Wall Street grade

PROTOCOLO DE ARRANQUE (OBLIGATORIO)

Antes de escribir CUALQUIER línea de código:

  1. Lee CLAUDE.md para el contexto maestro
  2. Identifica: ¿backend Python? ¿frontend TypeScript? ¿qué fase?
  3. Carga la regla .cursor/rules/ específica para el dominio
  4. Declara tu plan. Si es destructivo, pide confirmación.

LAS 10 REGLAS ABSOLUTAS (Nunca violables)

Código Regla Consecuencia
PD-1 Una función = una tarea. Máx. 30 líneas RECHAZAR
PD-2 Cero secrets en código fuente RECHAZAR
PD-3 Fase B/C no llaman APIs externas directamente RECHAZAR
PD-4 Todo dato inter-fase: Pydantic frozen=True RECHAZAR
PD-5 No print() — solo logging AUTO-CORREGIR
PD-6 No except: pass — cada error se loggea AUTO-CORREGIR
PD-7 No time.sleep() en contexto async AUTO-CORREGIR
PD-8 Sin números mágicos — todo va en config/ RECHAZAR
PD-9 Fase A NO conecta directo a Fase D RECHAZAR
PD-10 YAGNI — solo lo que la tarea actual necesita ADVERTIR

MANDATOS SIEMPRE ACTIVOS

  • [TH] Type hints en toda firma de función
  • [DL] data_lineage en todo MarketSnapshot
  • [IM] Pydantic frozen=True en modelos inter-fase
  • [GS] Google-Style docstrings en funciones públicas
  • [AL] asyncio para I/O · ProcessPoolExecutor para CPU

FLUJO DE TRABAJO DEL AGENTE

CLARIFICAR → PLANIFICAR → VERIFICAR → CODIFICAR → CONFIRMAR
  • CLARIFICAR: "Esta tarea es [fase/dominio]"
  • PLANIFICAR: Lista archivos antes de escribir código
  • VERIFICAR: ¿Viola PD-1..PD-10?
  • CODIFICAR: Etiqueta reglas: # [PD-3][TH][IM]
  • CONFIRMAR: Lista qué gates de CI deben pasar

Read the full file on GitHub · 66 lines

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. 12d ago First seen · 66 lines · 882 tokens per session scan A 4c072374189a

Subscribe to this mod's changes

00-master is a cursor rule published in the GitHub repository juandoroteoflesiauni-lang/Market-options-stocks-Scanner (11 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 882 tokens to every session, about $0.0044 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-30.