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.
git clone --depth 1 https://github.com/juandoroteoflesiauni-lang/Market-options-stocks-ScannerWrote 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.
[](https://agentmods.dev/rules/juandoroteoflesiauni-lang/market-options-stocks-scanner/100-exchange-integration)<a href="https://agentmods.dev/rules/juandoroteoflesiauni-lang/market-options-stocks-scanner/100-exchange-integration"><img src="https://agentmods.dev/badge/rules/juandoroteoflesiauni-lang/market-options-stocks-scanner/100-exchange-integration/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.
<a href="https://agentmods.dev/rules/juandoroteoflesiauni-lang/market-options-stocks-scanner/100-exchange-integration"><img src="https://agentmods.dev/badge/rules/juandoroteoflesiauni-lang/market-options-stocks-scanner/100-exchange-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02374 |
| Opus 5 | $0.00000 | $0.01187 |
| Sonnet 5 | $0.00000 | $0.00475 |
| Haiku 4.5 | $0.00000 | $0.00237 |
Grade A, and why
100-exchange-integration 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.
How it starts
The opening of the file, as written. The whole thing — 333 lines — stays where its author put it; the contents beside it link to each section on GitHub.
🔗 INTEGRACIÓN CON EXCHANGES — TRADING TERMINAL
PRINCIPIO: ADAPTADOR UNIVERSAL
El sistema NUNCA debe depender directamente de la API de un exchange específico. Todos los exchanges se acceden a través de un adaptador que implementa la misma interfaz. Esto permite cambiar de Binance a MT5 sin tocar el resto del código.
🏗️ INTERFAZ BASE DEL EXCHANGE
# adapters/base_exchange.py
from abc import ABC, abstractmethod
from decimal import Decimal
from typing import AsyncIterator
from dataclasses import dataclass
from datetime import datetime
@dataclass
class OrderResult:
order_id: str
symbol: str
side: str
order_type: str
quantity: Decimal
fill_price: Decimal
status: str
timestamp: datetime
exchange: str
@dataclass
class Ticker:
symbol: str
price: Decimal
bid: Decimal
ask: Decimal
volume_24h: Decimal
change_24h_pct: Decimal
timestamp: datetime
@dataclass
class Balance:
asset: str
free: Decimal
locked: Decimal
@property
def total(self) -> Decimal:
return self.free + self.locked
class BaseExchangeAdapter(ABC):
"""
Interfaz que TODOS los exchanges deben implementar.
Si agregas un exchange nuevo, implementa esta clase.
No modifiques el código que llama a esta interfaz.
"""
@abstractmethod
async def get_ticker(self, symbol: str) -> Ticker:
"""Obtener precio actual y datos de mercado."""
...
@abstractmethod
async def get_balances(self) -> list[Balance]:
"""Obtener todos los balances de la cuenta."""
...
@abstractmethod
async def place_order(
self,
symbol: str,
side: str, # "BUY" o "SELL"
order_type: str, # "MARKET" o "LIMIT"
quantity: Decimal,
price: Decimal | None = None
) -> OrderResult:
"""Enviar orden al exchange."""
...
@abstractmethod
async def cancel_order(self, symbol: str, order_id: str) -> bool:
"""Cancelar orden pendiente."""
...
@abstractmethod
async def get_order_status(self, symbol: str, order_id: str) -> OrderResult:
"""Consultar estado de una orden."""
...
@abstractmethod
async def stream_prices(self, symbol: str) -> AsyncIterator[Ticker]:
"""Stream de precios en tiempo real."""
...
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.
- 12d ago First seen · 333 lines · 0 tokens per session scan A df45ea78a45b
100-exchange-integration 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 costs nothing until one of its globs matches a file; then it loads 2,374 tokens. 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.
Other cursor rules, from other repositories
lighter-safety
Safety contract for the Lighter MCP server. Apply whenever a lighter tool is invoked.
elizaos_v2_onchain_plugins
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐ │ Wallet Provider│ │ Connection Mgmt │ │ Transaction Svc │ │ - Private Keys │───▶│ - RPC Endpoints │───▶│ - Tx Construction│ │ - Public Keys │ │ - Network Config │ │ - Fee Estimation│ │ - Signatures │ │ - Health Check │ │ - Broadcasting │ └─────────────────┘…
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.