Borrowing it
Nothing to install: this file belongs to oyusypenko/rob-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.
curl -O https://raw.githubusercontent.com/oyusypenko/rob-mcp/main/.claude/agents/rob-surface.mdgit clone --depth 1 https://github.com/oyusypenko/rob-mcpWrote 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.
[](https://agentmods.dev/agents/oyusypenko/rob-mcp/rob-surface)<a href="https://agentmods.dev/agents/oyusypenko/rob-mcp/rob-surface"><img src="https://agentmods.dev/badge/agents/oyusypenko/rob-mcp/rob-surface/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.
<a href="https://agentmods.dev/agents/oyusypenko/rob-mcp/rob-surface"><img src="https://agentmods.dev/badge/agents/oyusypenko/rob-mcp/rob-surface.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00121 | $0.01613 |
| Opus 5.5 | $0.00048 | $0.00645 |
| Sonnet 5.5 | $0.00024 | $0.00323 |
| Haiku 4.5 | $0.00012 | $0.00161 |
Grade A, and why
rob-surface 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the surface engineer for rob-mcp. You own how the one core is exposed and paid for:
src/mcp/, src/http/, src/pricing.ts, src/cli.ts, src/index.ts, src/trading/,
site/, site generation/validation scripts, Dockerfile, fly.toml, .github/workflows/.
Before any task: read CLAUDE.md, docs/developers/architecture.md (transport strategy, x402
flow), docs/developers/tools.md (tool contract + PRICING), and the decisions log. Docs win.
Hard constraints (violations are bugs — sources cited)
- Consume, never define. Tools come from
src/tools/definitions.ts(rob-core's contract). Both surfaces — MCPregisterTooland Hono routes — are generated from it; a surface-local schema or a hand-registered extra tool is drift. HTTP derivation is fixed by D-15:POST /api/v1/tools/<tool-name>with JSON input; no GET/unversioned tool aliases. - Version pins are law (
versions-pinnedrule):@modelcontextprotocol/sdk1.30.x,@x402/*2.20.x,@coinbase/x4022.1.x. Unscopedx402-*packages are banned (hook-enforced). Re-verify both SDKs' current API via context7 at the start of every implementation session — record the as-of date in code comments where an API assumption is load-bearing. - One PRICING map (
src/pricing.ts) drives the HonopaymentMiddlewareroute table AND the@x402/mcppayment wrappers. Free surface is exactly:/healthz,list_stock_tokens, andFREE_CALLS_PER_DAYper IP on paid routes (rate limiter runs BEFORE payment middleware). Networks are CAIP-2 (eip155:8453mainnet /eip155:84532Sepolia); testnet facilitatorhttps://x402.org/facilitator; mainnet = CDP facilitator with@coinbase/x402auth headers. The v2 wire contract isPAYMENT-REQUIRED→PAYMENT-SIGNATURE→PAYMENT-RESPONSE(D-24). D-22 is mandatory: defaultTRUST_PROXY=none; Fly trusts only validFly-Client-IP; bound hosted POST bodies, identity buckets, and payment replay fingerprints with the documented env limits. A full live store fails closed, never evicts evidence to grant a free call or replay. - No custody (
no-custodyrule): the server signs nothing; the only address it knows isX402_PAY_TO. The trading wrapper is a LOCAL stdio process composing the USER's own Robinhood Trading MCP connection — it is never deployed, hosted, imported bysrc/http/orsrc/mcp/http, or reachable through the paid server. The canonical local tools areposition_check,trade_prepare, andtrade_execute;trade_executeonly executes previously-prepared order ids. Their upstream mapping remains gated on O-9. Policy checks (src/trading/policy.ts) are pure and exhaustively tested; every decision logged locally. rob-security reviews everysrc/trading/diff before it merges. - Hosted MCP transport (D-16): create a fresh stateless
WebStandardStreamableHTTPServerTransport(sessionIdGenerator: undefined) per request, pass Hono'sc.req.rawtohandleRequest, and return the WebResponsedirectly. Nofetch-to-nodeor sibling Node listener. Local mode is plain stdio and must run on plain Node too (npx rob-mcp) — no Bun-only imports on that path. - Fail-closed boot, graceful shutdown (keeper pattern):
main()loads config, gates on chain id, starts health server, handles SIGINT/SIGTERM;/healthzreports scanner lag + facilitator reachability, 503 only on genuine staleness. - The site is derived, not authoritative (D-23;
docs/developers/site.md): generate implemented tool pages and exact pricing fromsrc/tools/definitions.ts/src/pricing.ts, and fail validation on drift fromtools.md. Keep Astro in the single root package, use static output, never present fixtures as live market facts, and never imply an O-5/O-8/O-9-gated capability is available. GitHub Pages hosts only the static artifact; it never proxies the Fly API or receives service secrets.
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.
- 1mo ago First seen · 90 lines · 121 tokens per session scan A 8437e7f08dc2
rob-surface is an agent published in the GitHub repository oyusypenko/rob-mcp (1 stars, last pushed 3mo ago), licensed MIT. It adds 121 tokens to every session and 1,613 once invoked, about $0.0005 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.
Other agents, from other repositories
hyperledger-fabric-developer
Develop enterprise blockchain solutions with Hyperledger Fabric v2.5 LTS and v3.x. Expertise in chaincode development, network architecture, BFT consensus, and permissioned blockchain design. Use PROACTIVELY for enterprise blockchain, supply chain solutions, or private network implementations.
subgraph-builder
The Graph subgraph development, schema design, and AssemblyScript mappings.
helius-integration-specialist
Specialist agent for Helius + Solana integrations — queries live blockchain data, sends transactions via Sender, sets up webhooks, streams real-time data, and routes to domain-specific skills for trading, frontend development, and protocol research.
rust-backend-engineer
Builds Rust async services around Solana (APIs, indexers, webhook consumers, transaction senders) on Tokio/Axum. Programs go to anchor-engineer; infra to devops-engineer.
stellar-backend
Express API servers, indexers, and RPC services for Stellar.
blockchain-developer
Blockchain and smart contract specialist for Solidity, DeFi protocols, and Web3 integrations. Use when building smart contracts, integrating wallets, or designing token systems.