/stockbit:watch <stock|watchlist|all> [interval] [prompt]from Stockbit MCP
Samples IDX (Indonesian Stock Exchange) turnover and order books on demand, reporting unusual activity like value surges, one-sided depth, and walls. Answers questions about what is trading, who is moving, or where money is going.
Ships in Stockbit MCP. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/watch <stocks|watchlist|all> <time-frame> <prompt>
/watch BBCA,ANTM 30s is anyone dumping
/watch watchlist 1m what is moving
/watch watchlist:Bandar 30s any unusual size
/watch all 5m where is the money going
It takes two readings of the market some seconds apart and reports the difference. That is the whole mechanism. Δvalue / Δfrequency is the average rupiah size of the prints that landed in the window.
It does not watch continuously. One command, one window, one answer. Nothing runs afterwards, nothing will notify the user later. If they ask to be told when something happens, say plainly that this samples on demand and a background watcher does not exist yet.
It does not judge whether anything was big. No threshold is defined — see The cutoff question below, which is not optional.
They arrive as $ARGUMENTS (individually as $1, $2, …). If nothing was substituted, take them from the user's message after /watch.
| position | meaning | accepted |
|---|---|---|
| 1 — scope, required | what to look at | BBCA · BBCA,ANTM · watchlist · watchlist:Name · all |
| 2 — interval, optional | how long a window to measure | 20s · 30s · 1m · 5m · realtime (also menit / detik) |
| 3+ — prompt, optional | the question, in the user's own words, either language | anything |
Only the scope is required. Fill in the rest rather than refusing — a public user typing /watch BBCA should get an answer, not a usage error:
30s. Do not use the parser's own 5-minute default here: five minutes means the command blocks for five minutes. Only use a long window when the user actually asked for one.all 30s and describe the most active names. Do not ask a clarifying question first; run it, then mention the fuller form.Watch for the common slip: the interval is positional, so a prompt with no interval shifts everything left. /watch BBCA is anyone dumping must be read as scope BBCA, interval 30s, prompt "is anyone dumping" — never as interval is. Only treat token 2 as the interval when it actually looks like one (a number with an optional unit, or a real-time word); otherwise it is the first word of the prompt.
stockbit-live scan <scope> <interval> --top 10
Set an explicit Bash timeout of the window plus 45 seconds. The default is two minutes, so anything from 2m up is killed mid-measurement with no output — which looks exactly like a failure of the market rather than of the timeout. A window over 8 minutes is refused by the CLI itself.
Add --top N to change how many rows come back (default 10). For all, more than ~15 rows is noise. Add --pretty only when a human will read the raw JSON.
stockbit-live is not on PATHFall down this ladder — do not hardcode an install path, because the registered build gets repointed and a stale path in a markdown file is a silent misdiagnosis waiting to happen:
npx -y -p stockbit-mcp stockbit-live scan <scope> <interval> --top 10
mcpServers.stockbit.args[0] in ~/.claude.json is the one source of truth for which build is actually loaded — then:
node dist/bin/stockbit-live.js scan <scope> <interval> --top 10
On a machine that already has the helper, node "$HOME/.claude/helpers/stockbit-resolve.js" --path prints that directory.dist/bin/stockbit-live.js is missing from a clone, the source has not been compiled since it changed — npm run build there once.scan measures turnover and ranks it. These do more.
signals — run the detectorsstockbit-live signals <scope> <interval> [prompt] --pretty
Takes two readings, runs every detector the prompt enabled, and puts the results through the alert engine (max 5 per interval, 25 per session, cooldowns, dedup). Reads order books only for symbols that actually traded, capped at 12 per pass — one request each.
Output carries alerts (what to show), suppressed (with the reason), marketWide (set when one
signal tripped across most of the universe — show that line INSTEAD of the rows), and
prompt.downgrades (requests that cannot be served as asked). Always show the downgrades.
explain <SYMBOL> — what actually printedstockbit-live explain BRMS [HH:MM:SS] [HH:MM:SS]
Names the individual trades: time, price, lots, value, which side crossed the spread, and the broker
on each side. Always lagged: true — the tape runs 8-10 minutes behind, so this explains
something that already happened. Check brokersVisible: IDX closes broker codes during live
trading, so identity may be withheld while the market is open.
brokers <SYMBOL> — who was on each sidestockbit-live brokers BRMS
End-of-day broker flow. Never an alert, always context. The useful column is lotsPerTrade
(|netLots| / freq): a broker buying in many small pieces is retail-shaped flow; one buying the same
lots in a few large trades is institution-shaped. Those boundaries are ours — IDX publishes none —
and the output says so. If degraded is true, read degradedReason and do not interpret the labels.
JSON on stdout. ok: false always carries reason and detail; the process also exits non-zero, so neither a silent stdout nor a zero exit can be mistaken for a calm market.
| field | meaning |
|---|---|
deltas[] | what traded, ranked by rupiah. value = rupiah in the window, trades = number of prints, averageTradeValue = rupiah per print, seconds = the real window length |
confidence | single — one print, so the average is that trade · few — 2–5 · averaged — more than 5, says nothing about any individual print |
quiet[] | in scope, present in both readings, traded nothing. A real observation. |
unobserved[] | in scope but absent from at least one reading, so there is no baseline. This is a gap in our data, not a quiet stock — never report it as one. |
truncated | rows that crossed the --top cap. Mention the count if it is large. |
symbolsSeen | how many symbols the reading covered, always ~100 |
Read seconds, not the requested interval. If a poll was slow the real window is longer, and describing a 40-second window as 30 seconds misstates every rate derived from it.
reason | What to say |
|---|---|
auth | The Stockbit session is dead. Run /stockbit-status, then /stockbit-auth. Do not describe this as a market problem. |
market-closed | IDX is shut — give the WIB time and phase from detail. Offer --always, and say the readings will be identical. |
session-reset | The counters restarted mid-window. Just run it again. |
window-too-long | Over 8 minutes cannot be measured in one call. Offer a shorter window. |
bad-arguments | Quote detail — it names the offending token. Usually the prompt bled into the scope slot. |
rate_limited / upstream | Stockbit's side. Say so and offer to retry. |
Answer the user's actual question against the numbers. Give rupiah in a readable form (Rp 2.5 bn, Rp 39.7 M), name the window length, and say how many prints each figure covers.
The cutoff question — this is the part to get right.
If the prompt asks a yes/no about size — "is anyone dumping", "was that big", "ada transaksi besar?" — you do not have a defined answer. No threshold exists yet: it is an open decision waiting on measurement, and IDX mean print size varies roughly tenfold across the price range, so there is no safe constant to reach for.
So: report what the window measured and, if you offer a judgement at all, state the cutoff you used in rupiah. Never imply a settled rule exists. An unstated cutoff invented fresh each time is worse than a documented bad one — it cannot be reviewed, and it silently contaminates the very runs meant to decide what the real threshold should be.
confidence carries most of the honesty here. averaged over 300 prints says something about flow; it says nothing about any single trade. Do not turn it into "a large transaction went through".
mcp__stockbit__broker_summary, and say it is T+1.unobserved symbols as having traded nothing.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ino-xious/stockbit-mcp --plugin stockbit9 skills in this plugin
/bandar-checkAnswer "who is accumulating this stock?" for an IDX ticker using Stockbit broker-flow data. Use when the user asks about bandar, big money, accumulation, distribution, foreign flow, asing, or who is on the other side of the tape./chart-markupRead and draw on the user's own Stockbit chart — levels, trend lines, studies, screenshots and saving the layout. Use when the user asks to draw, mark up, annotate or look at their chart./morning-scanThe pre-open and first-hour routine for IDX — session state, movers, a scan over a universe, and a catalyst check on the leaders. Use when the user asks what is moving today, for a morning briefing, or what to watch./stockbit-authLog in to Stockbit and capture the session for this server — opens the browser login flow and verifies the token was stored. Use when the user asks to log in or re-authenticate to Stockbit, or after a status check reports the session expired, HTTP 401, or logged out./stockbit-statusCheck whether the Stockbit session is still valid — main session expiry, whether trading credentials are stored, and the current trading mode. Use when the user asks "am I still logged in to Stockbit", "has my session expired", "is trading on", or when a stockbit MCP tool starts failing with an auth error./stock-deep-diveWork through one IDX symbol properly — trend, patterns, timeframe alignment, fundamentals and broker flow — and present a lean with its evidence. Use when the user asks what you think of a stock, or to look at, research or analyse one.Other plugins' skills for the same job