tasty-agent: Instructions file for Claude Code

CLAUDE.md

tasty-agent CLAUDE.md is an instructions file for Claude Code from ferdousbhai/tasty-agent. It costs 873 tokens per session, scanned A, a copy of deepseek-harness CLAUDE.md, MIT.

Project-specific instructions for tasty-agent, a tool that lets Claude manage a tastytrade investment portfolio.

In plain words
What is it for?
Helping an agent work on tasty-agent and its portfolio-management code. The input does not describe the specific instructions.
Why use it?
They give the coding agent context and rules for this repository instead of relying on general assumptions.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions .claude-plugin; mentions Claude Code.

This is ferdousbhai/tasty-agent's own configuration. It tells Claude Code how to work on tasty-agent 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 tasty-agent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ferdousbhai/tasty-agent. 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/ferdousbhai/tasty-agent/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/ferdousbhai/tasty-agent

Made for: Claude Code.

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 CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ferdousbhai/tasty-agent/claude-md/github.svg)](https://agentmods.dev/instructions/ferdousbhai/tasty-agent/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ferdousbhai/tasty-agent/claude-md"><img src="https://agentmods.dev/badge/instructions/ferdousbhai/tasty-agent/claude-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 tasty-agent CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ferdousbhai/tasty-agent/claude-md"><img src="https://agentmods.dev/badge/instructions/ferdousbhai/tasty-agent/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 873 This file is loaded in full into every session.
When invoked 873 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 100% copy Near-identical to another mod 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.00873 $0.00873
Opus 5.5 $0.00349 $0.00349
Sonnet 5.5 $0.00175 $0.00175
Haiku 4.5 $0.00087 $0.00087

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

Security

Grade A, and why

tasty-agent CLAUDE.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 23d 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.

Origin

This is a copy

100% identical to deepseek-harness CLAUDE.md — 57 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 56 lines

How it starts

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

tasty-agent

MCP server for Tastytrade account data, market data, watchlists, and order workflows. TypeScript, calling the Tastytrade REST API and DXLink directly; runs over stdio (npx tasty-agent) and on Cloudflare Workers.

Code index

  • src/tastytrade/ — standalone Tastytrade client (no MCP imports; exported as tasty-agent/tastytrade for reuse, e.g. by spicytrade): OAuth token refresh, request gate, API versions, errors, tick-size schedules, DXLink feed
  • src/server.ts — MCP tool, prompt, and schema registration
  • src/instruments.ts — instrument specs, resolution, nested option-chain cache
  • src/pricing.ts — quote-derived signed mid pricing, tick rounding, budget sizing
  • src/orders.ts — dry-run-first placement, replacement, cancellation, live orders
  • src/market.ts — REST quotes, DXLink Greeks, metrics, market status, symbol search
  • src/account.ts — compact balances, positions, orders, transactions, history
  • src/watchlists.ts — watchlist operations
  • src/broker.ts — per-request broker context, account selection, and createBroker wiring
  • src/stdio.ts — stdio entry point (npm bin)
  • src/version.ts — the server version (keep in step with package.json)
  • src/shared-load.ts — in-flight de-duplication for per-request lookups
  • src/worker/ — Cloudflare Worker entry point (bearer auth, /mcp) and the BrokerGate Durable Object
  • test/ — vitest unit tests with a fake client; integration.test.ts is credential-gated
  • commands/portfolio.md — Claude Code command surface
  • skills/trading/SKILL.md — Claude Code trading skill

Boundaries

  • Every broker call goes through TastytradeClient.request, which acquires the shared gate (two requests per second) first. Never call fetch against Tastytrade elsewhere.
  • Shared code under src/ must use only web-standard APIs so it runs on both Node and Workers; Node-only code lives in src/stdio.ts, Workers-only code in src/worker/.
  • On Workers, module state may hold settled values only (tokens, account number, chains) — never a pending promise.
  • Option chains use the 24-hour ChainCache; tests that depend on chain changes must use a fresh cache.
  • Order pricing must use pricing.ts with decimal.js, never JS floats; preserve signed debit/credit semantics. Every placement and replacement is dry-run first and refused on any dry-run warning; mutations are never retried, and an unanswered one is reported as an unknown outcome.
  • Keep MCP output compact and never replace selected projections with full API payloads.

Read the full file on GitHub · 56 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. 23d ago Changed · +7 lines · +84 tokens per session aeb01da040f4
  2. 24d ago Changed · +48 lines · +786 tokens per session a0387faa562b
  3. 1mo ago First seen · 1 lines · 3 tokens per session scan A a54ff182c7e8

Subscribe to this mod's changes

tasty-agent CLAUDE.md is an instructions file published in the GitHub repository ferdousbhai/tasty-agent (88 stars, last pushed 23d ago), licensed MIT. It adds 873 tokens to every session, about $0.0035 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to deepseek-harness CLAUDE.md, differing in 57 lines, and is treated as a copy.

Related

Other instructions, from other repositories