broker-upstream-check

broker-upstream-check is a skill for Claude Code, Codex from mphinance/alpha-skills. It costs 103 tokens per session (977 once invoked), scanned A, original, MIT.

A checker that looks for changes in upstream broker services and documentation. It probes published API descriptions, documentation, endpoints, and code repositories, then compares what it finds with a saved snapshot.

In plain words
What is it for?
Use it to check whether supported brokers changed their APIs or documentation, and to run that check in continuous integration, which is automated project checking.
Why use it?
It helps detect broker updates without relying on memory or checking every source manually. It also distinguishes an access block from a path that does not exist where possible.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/check-upstream.mjs # diff vs scripts/upstream-snapshot.json.

Good fit Use it to check whether supported brokers changed their APIs or documentation, and to run that check in continuous integration, which is automated project checking.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/mphinance/alpha-skills
agentmods
npx agentmods add skills/mphinance/alpha-skills/broker-upstream-check

Made for: Claude Code, Codex.

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 broker-upstream-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/mphinance/alpha-skills/broker-upstream-check/github.svg)](https://agentmods.dev/skills/mphinance/alpha-skills/broker-upstream-check)
Your own site
<a href="https://agentmods.dev/skills/mphinance/alpha-skills/broker-upstream-check"><img src="https://agentmods.dev/badge/skills/mphinance/alpha-skills/broker-upstream-check/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 broker-upstream-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/mphinance/alpha-skills/broker-upstream-check"><img src="https://agentmods.dev/badge/skills/mphinance/alpha-skills/broker-upstream-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 977 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00103 $0.00977
Opus 5.5 $0.00041 $0.00391
Sonnet 5.5 $0.00021 $0.00195
Haiku 4.5 $0.00010 $0.00098

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

Security

Grade A, and why

broker-upstream-check scanned grade A 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

browser (Claude in Chrome passes Cloudflare where curl and headless Chromium do not), note it
skills/broker-upstream-check/SKILL.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.

Broker upstream check

scripts/check-freshness.mjs asks how old our date is. This asks whether they changed.

Run it

node scripts/check-upstream.mjs                # diff vs scripts/upstream-snapshot.json
node scripts/check-upstream.mjs robinhood etrade   # only these slugs
node scripts/check-upstream.mjs --update       # diff, then accept the new state as the snapshot
node scripts/check-upstream.mjs --strict       # exit 1 on any change (CI)

Takes ~90s for all entries (8 parallel probes, 12s timeout, one retry on transient failure, browser UA). The last line, coverage:, says how many llms/openapi surfaces are readable, blocked, or absent.

A 403 is ambiguous: bot wall, or "no such file" (S3/CloudFront and API gateways 403 every missing path; robinhood.com, upstox.com and api.connecttrade.com do). So each 403 origin is asked about a path that cannot exist; if that canary also gets 403, the surface is absent, not blocked. "Blocked" means a real wall (e.g. thinkmarkets.com serves a Cloudflare challenge).

Walled sites cannot be watched by the script. Read the page by hand in a real desktop browser (Claude in Chrome passes Cloudflare where curl and headless Chromium do not), note it in the entry's caveats, and only then bump last_verified. Wayback availability is a weak fallback: it lags and rate-limits.

Reading the output

Tag Meaning Action
CHANGED llms.txt / openapi.json / cited page / repo release or push moved Open it, diff against the entry, update the entry if a claim is now wrong, then bump last_verified
NEW A surface appeared that wasn't there (a broker just shipped llms.txt or an OpenAPI spec) Read it; a new spec often means a new API or MCP route
GONE A surface vanished or a repo got archived Entry likely needs a status downgrade
DEAD MCP endpoint 404/unreachable, or a cited page 404s Verify by hand; fix the link or the status
BLIND A surface that used to read fine is now 403/timeout/5xx. Not a change, not a removal Re-run later; ignore unless it persists
BASELINE First run only, lists what exists Nothing

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. 9d ago First seen · 56 lines · 103 tokens per session scan A 93fded90b00b

Subscribe to this mod's changes

broker-upstream-check is a skill published in the GitHub repository mphinance/alpha-skills (28 stars, last pushed 10d ago), licensed MIT. It adds 103 tokens to every session and 977 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Optimize the meaningful UI available immediately from a Next.js route on an initial load (hard navigation) or named client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route and entry point at a time; the shipped test then guards…

vercel/next.js · 123 tokens