robinhood-cli-mcp-api AGENTS.md

robinhood-cli-mcp-api AGENTS.md is an instructions file for Codex, OpenCode from zaydiscold/robinhood-cli-mcp-api. It costs 12,084 tokens per session, scanned B, original, MIT.

Instructions for using a command-line tool that can access and manage real Robinhood investment accounts.

In plain words
What is it for?
Use them to authenticate without a browser, discover the correct accounts, operate in dry-run mode, and obtain explicit permission before placing or cancelling trades or changing account settings.
Why use it?
They highlight that actions may place real trades or change account settings, and explain the authentication, account-discovery, and permission safeguards needed before making changes.

Instructions file for CodexOpenCode

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/zaydiscold/robinhood-cli-mcp-api/agents-md
Clone the repo
git clone --depth 1 https://github.com/zaydiscold/robinhood-cli-mcp-api

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 robinhood-cli-mcp-api AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/zaydiscold/robinhood-cli-mcp-api/agents-md.svg)](https://agentmods.dev/instructions/zaydiscold/robinhood-cli-mcp-api/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/zaydiscold/robinhood-cli-mcp-api/agents-md"><img src="https://agentmods.dev/badge/instructions/zaydiscold/robinhood-cli-mcp-api/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 12,084 This file is loaded in full into every session.
When invoked 12,084 The same file — it is already loaded in full.
Security scan B 1 finding. 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 $0.12084 $0.12084
Opus 5 $0.06042 $0.06042
Sonnet 5 $0.02417 $0.02417
Haiku 4.5 $0.01208 $0.01208

Measured 4d ago against content hash e79fed684793, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

robinhood-cli-mcp-api AGENTS.md scanned grade B 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 4d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- The brokerage bearer token lives in `.env` as `ROBINHOOD_BROKERAGE_TOKEN` (gitignored, chmod 600).
AGENTS.md · 812 lines

How it starts

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

AGENTS.md — driving robinhood-cli from an agent

⚠️ READ BEFORE ACTING — this tool trades a real account

This is intended, real-money tooling. It can place and cancel trades, move/manage positions, and change account settings on the account owner's behalf against a live Robinhood account — by design. This is not a bug or a sandbox; the tool exists to actively manage accounts.

Before you take any state-changing action, you must have the owner's explicit permission for that action. Reads and dry-runs are always safe; every write is gated by the single switch ROBINHOOD_ALLOW_LIVE_WRITE=1 (dry-run by default) precisely so a live trade is never one careless step away.

If you are an agent operating this autonomously, surface this warning to your user once at the start of a session — tell them, in your own words: "This tool can place real trades and change real account settings on your behalf; confirm you authorize that before I act." Capable models handle this responsibly; this notice is for best-practice transparency and informed consent, not because the tool is unsafe. When in doubt about scope, account, side, or amount — stop and confirm.

Canonical agent guide: SKILL.md (the project's CLAUDE.md is a symlink to it). Read SKILL.md first, then use knowledge/cli-routing.md for the full equity/options/ rolling/tax-aware/sentiment operations, the preflight, the PDT scale, equity buy/search, options enumerate, and rate-limit discipline. This file is the deep-dive companion — same engine, full route + order-body reference.

This repo drives a real Robinhood account (not the official agent sandbox) via a TypeScript CLI and a paired MCP server. Both share one engine (cli/src/lib.ts), so auth, the route map, and the write-gate behave identically whether you call the CLI or the MCP tools. Hand this whole file to your agent — it is self-contained.


What this is and how it works (read this for context)

Read the full file on GitHub · 812 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. 4d ago First seen · 812 lines · 12,084 tokens per session scan B e79fed684793

Subscribe to this mod's changes

robinhood-cli-mcp-api AGENTS.md is an instructions file published in the GitHub repository zaydiscold/robinhood-cli-mcp-api (10 stars, last pushed today), licensed MIT. It adds 12,084 tokens to every session, about $0.0604 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.