tasty-agent AGENTS.md

tasty-agent AGENTS.md is an instructions file for Codex, OpenCode from ferdousbhai/tasty-agent. It costs 325 tokens per session, scanned A, original, MIT.

Repository instructions for working on tasty-agent, a coding tool for options trading. They describe its code layout, commands, and development rules.

In plain words
What is it for?
Use them when changing tasty-agent, especially its trading, market-data, account, watchlist, or MCP server code. They also specify testing, running, committing, and pushing procedures.
Why use it?
They help an agent make changes that fit the project and avoid unsafe or inconsistent trading logic, such as ignoring request limits or calculating prices incorrectly.

Instructions file for CodexOpenCode

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

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.

agentmods
npx agentmods add instructions/ferdousbhai/tasty-agent/agents-md
Clone the repo
git clone --depth 1 https://github.com/ferdousbhai/tasty-agent

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 tasty-agent AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ferdousbhai/tasty-agent/agents-md.svg)](https://agentmods.dev/instructions/ferdousbhai/tasty-agent/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ferdousbhai/tasty-agent/agents-md"><img src="https://agentmods.dev/badge/instructions/ferdousbhai/tasty-agent/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 325 This file is loaded in full into every session.
When invoked 325 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.00325 $0.00325
Opus 5 $0.00162 $0.00162
Sonnet 5 $0.00065 $0.00065
Haiku 4.5 $0.00032 $0.00032

Measured 2d ago against content hash 507a46ffda50, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

tasty-agent 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 · 35 lines

What it actually says

tasty-agent

MCP server for Tastytrade account data, market data, watchlists, and order workflows.

Code index

  • tasty_agent/server.py — FastMCP tools, transport entry point, rate limiting, and orchestration
  • tasty_agent/orders.py — instrument resolution, leg construction, quote-derived pricing, tick rounding, and budget sizing
  • tasty_agent/core.py — session and account lifecycle
  • tasty_agent/market_data.py — DXLink quotes and Greeks
  • tasty_agent/account_helpers.py — compact account, balance, position, order, and transaction output
  • tasty_agent/watchlists.py — watchlist operations
  • tests/ — unit and credential-gated integration tests
  • examples/ — local clients and deployment examples
  • commands/portfolio.md — Claude Code command surface
  • skills/trading/SKILL.md — Claude Code trading skill

Boundaries

  • All SDK calls share the existing two-requests-per-second limiter.
  • Option chains use the existing 24-hour cache; tests that depend on chain changes must invalidate it explicitly.
  • Order pricing must use the helpers in orders.py; preserve signed debit/credit semantics and broker dry-run safety.
  • Keep MCP output compact and never replace selected projections with full SDK payloads.

Commands

uv run pytest
uv run ruff check .
uv run ruff format --check .
uv run pyright

Credential-gated tests and live brokerage calls require explicit authorization.

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 · +1 lines · -36 tokens per session 507a46ffda50
  2. 6d ago First seen · 34 lines · 361 tokens per session scan A 6d2dda7c76d9

Subscribe to this mod's changes

tasty-agent AGENTS.md is an instructions file published in the GitHub repository ferdousbhai/tasty-agent (84 stars, last pushed 3d ago), licensed MIT. It adds 325 tokens to every session, about $0.0016 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.