99-floor

99-floor is a cursor rule for Cursor from brendadeeznuts1111/betting-brain-v3. It costs 3,067 tokens per session, scanned A, original, MIT.

A central set of rules for autonomous operations in the Forest Grove project, covering tool use, parameter order, idempotency, testing, and deployment.

In plain words
What is it for?
Use it when working with Forest Grove’s MCP tools, health monitoring, dashboards, releases, sports data, or betting-related operations.
Why use it?
It keeps repeated operational tasks consistent and reduces errors when interacting with the project’s services.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when working with Forest Grove’s MCP tools, health monitoring, dashboards, releases, sports data, or betting-related operations.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/brendadeeznuts1111/betting-brain-v3/99-floor
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/brendadeeznuts1111/betting-brain-v3

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 99-floor

README.md
[![agentmods](https://agentmods.dev/badge/rules/brendadeeznuts1111/betting-brain-v3/99-floor/github.svg)](https://agentmods.dev/rules/brendadeeznuts1111/betting-brain-v3/99-floor)
Your own site
<a href="https://agentmods.dev/rules/brendadeeznuts1111/betting-brain-v3/99-floor"><img src="https://agentmods.dev/badge/rules/brendadeeznuts1111/betting-brain-v3/99-floor/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 99-floor

Your own site · 80×15
<a href="https://agentmods.dev/rules/brendadeeznuts1111/betting-brain-v3/99-floor"><img src="https://agentmods.dev/badge/rules/brendadeeznuts1111/betting-brain-v3/99-floor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,067 This file is loaded in full into every session.
When invoked 3,067 The same file — it is already loaded in full.
Security scan A 1 finding. 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.03067 $0.03067
Opus 5 $0.01533 $0.01533
Sonnet 5 $0.00613 $0.00613
Haiku 4.5 $0.00307 $0.00307

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

Security

Grade A, and why

99-floor scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

✓ Health check: curl https://worker-url/health
.cursor/rules/99-floor.mdc · 430 lines

How it starts

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

AI Floor - Autonomous Operations Layer

Overview

The Floor is the self-documenting, self-healing, and self-deploying foundation layer for Forest Grove. It consolidates MCP tool usage patterns, test fixes, type handling, and deployment automation into a single source of truth.

Status: v3.3.0 Production-Ready ✅

1. MCP Tool Usage (Mandatory)

Tool Discovery

// ALWAYS use MCP tools over raw fetch
import { callMCPTool } from './src/mcp/client';

// Available tools (6 operational):
// - forest-status: Grove health monitoring
// - deploy-dashboards: Dashboard deployment
// - release: Version management (patch/minor/major)
// - live-odds: Aggregated odds (Pinnacle + Bet365)
// - live-scores: Live scores (SportsData.io)
// - push-sports-data: Analytics ingestion

Required Parameter Order

// ALWAYS follow this parameter order:
callMCPTool('place-bet', {
  customerId: string,    // 1. Who
  eventId: string,       // 2. What
  stake: number,         // 3. How much
  odds: number,          // 4. At what price
  side: 'back' | 'lay', // 5. Direction
});

Idempotency

// ALWAYS pass idempotencyKey or let tool auto-generate
import { nanoid } from 'nanoid';

await callMCPTool('push-sports-data', {
  data: records,
  idempotencyKey: nanoid(), // Prevents duplicate processing
});

Audit Trail

// Every tool MUST write to Analytics Engine
await env.ANALYTICS_ENGINE.writeDataPoint({
  blobs: [
    toolName,
    customerId,
    eventId,
  ],
  doubles: [stake, odds],
  indexes: [`tool-${nanoid()}`],
});

2. Test-Fix Patterns (Apply Before Committing)

Error Path Tests: 429 Not 500

// ❌ WRONG: Tests expect 500 but rate limiter returns 429
expect(response.status).toBe(500);

// ✅ CORRECT: Expect 429 for rate limit responses
expect(response.status).toBe(429);

// When to use which:
// - 429: Rate limit exceeded (RATE_LIMITER KV)
// - 500: Internal server error
// - 503: Service unavailable (circuit breaker)

Read the full file on GitHub · 430 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 · 430 lines · 3,067 tokens per session scan A 553ab686b458

Subscribe to this mod's changes

99-floor is a cursor rule published in the GitHub repository brendadeeznuts1111/betting-brain-v3 (8 stars, last pushed 11mo ago), licensed MIT. It adds 3,067 tokens to every session, about $0.0153 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other cursor rules, from other repositories