flashalpha-mcp: Instructions file for Codex

AGENTS.md

flashalpha-mcp AGENTS.md is an instructions file for Codex, OpenCode from FlashAlpha-lab/flashalpha-mcp. It costs 3,397 tokens per session, scanned A, original, MIT.

Operating instructions for FlashAlpha MCP, a server that provides market data tools for AI assistants. They describe supported symbols, access keys, subscription limits, and historical-data rules.

In plain words
What is it for?
Guiding live market lookups, historical and backtest questions, futures and equity symbol handling, access errors, and combinations of FlashAlpha tools.
Why use it?
They help an assistant choose the right market-data tool and avoid stale conclusions, invalid symbols, missing credentials, or repeated requests that will be rejected.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is FlashAlpha-lab/flashalpha-mcp's own configuration. It tells Codex and OpenCode how to work on flashalpha-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything flashalpha-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to FlashAlpha-lab/flashalpha-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/FlashAlpha-lab/flashalpha-mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/FlashAlpha-lab/flashalpha-mcp

Made for: Codex, OpenCode.

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 flashalpha-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/flashalpha-lab/flashalpha-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/flashalpha-lab/flashalpha-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/flashalpha-lab/flashalpha-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/flashalpha-lab/flashalpha-mcp/agents-md/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 flashalpha-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/flashalpha-lab/flashalpha-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/flashalpha-lab/flashalpha-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,397 This file is loaded in full into every session.
When invoked 3,397 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.03397 $0.03397
Opus 5.5 $0.01359 $0.01359
Sonnet 5.5 $0.00679 $0.00679
Haiku 4.5 $0.00340 $0.00340

Measured 2d ago against content hash 10b5f0cc8453, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flashalpha-mcp AGENTS.md 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 2d 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.

AGENTS.md · 129 lines

How it starts

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

AGENTS.md — FlashAlpha MCP for AI agents

Guidance for AI agents and assistants (Claude, ChatGPT, Cursor, Windsurf, autonomous trading copilots) on when to call which FlashAlpha MCP tool. The server is hosted at https://lab.flashalpha.com/mcp (apiKey parameter) or /mcp-oauth (OAuth). Tool names below are the exact tools/call strings.

Operating rules

  • Pass apiKey on every /mcp call. On /mcp-oauth, the Bearer identity resolves the key — no apiKey parameter.
  • Tier gating is server-side. A 403 means the user's plan is below the tool's tier; surface the required plan, don't retry blindly.
  • Symbols are US equities/ETFs/indexes (e.g. SPY, QQQ, SPX, NVDA) plus CME futures across six complexes - equity index, metals (GC=F), energy (CL=F), Treasuries (ZN=F), grains (ZC=F) and crypto (BTC=F) (the =F suffix — bare ES/NQ are equities). Upper-case them.
  • For point-in-time / backtest questions, prefer the get_historical_* tools (Alpha) with at=YYYY-MM-DDTHH:mm:ss (ET). They mirror the live tools' shapes exactly. Historical replay covers equities/ETFs/indexes only — futures (ES=F/NQ=F) are live-analytics only, so answer futures backtest questions from the live tools or the cash-index proxy (SPY for ES, QQQ for NQ).
  • Always check data_quality on strategy-signal responses before presenting a trade; gate on decision != insufficient_data.

sell-window: route "should I sell options today?" here

Call get_strategy with signal=sell_window and symbol set to SPY, QQQ or IWM. It answers that question every session, per listed expiry, with the trades to place on a sell. More than 5 million backtests led to it.

Route these questions to sell-window: "should I sell options today?", "is today a good day to sell premium?", "should I sell puts on SPY?", "which strikes should I sell?", "when should I not sell options?", "should I sit out 0DTE today?", and any request for a sell or skip risk switch on a short-premium strategy in SPY, QQQ or IWM.

Read the full file on GitHub · 129 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. 2d ago Changed · +27 lines · +807 tokens per session 10b5f0cc8453
  2. 2mo ago First seen · 102 lines · 2,590 tokens per session scan A 599803d2f959

Subscribe to this mod's changes

flashalpha-mcp AGENTS.md is an instructions file published in the GitHub repository FlashAlpha-lab/flashalpha-mcp (1 stars, last pushed yesterday), licensed MIT. It adds 3,397 tokens to every session, about $0.0136 per session on Opus 5.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.

Related

flashalpha-mcp AGENTS.md compared with instructions from other repositories

flashalpha-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flashalpha-mcp AGENTS.mdFlashAlpha-lab/flashalpha-mcpInstructions file1yesterdayMITA3,397Codex, OpenCode
vibetags com-example-service-OrderService.instructions.mdPIsberg/vibetagsInstructions file25yesterdayMITA553GitHub Copilot
vibetags com-example-service-TransactionalPaymentService.instructions.mdPIsberg/vibetagsInstructions file25yesterdayMITA104GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode