/stockbit:stockbit-statusfrom Stockbit MCP
Checks Stockbit session validity, reports expiry, trading credentials, and trading mode. Use when troubleshooting auth errors or answering login status questions.
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.
Report whether the stored session is alive, and what to do if it is not.
stockbit-auth status --json
If the bin is not on PATH, run node dist/bin/stockbit-auth.js status --json from the repo root.
Prefer --json: it is redacted and safe to paste, and it spares you parsing prose. Add --offline when the user only wants expiry arithmetic without a network round-trip — offline can report a token as stored that the server would reject, so it answers "when does this expire", never "is this still good".
{
"auth": {
"main": { "stored": true, "expiresInDays": 7 }, // the market-data session
"securities": { "stored": false }, // trading; optional
"eipo": { "stored": false } // minted on first use
},
"trading": { "mode": "off", "live": false, "enabled": false },
"store": {
"loggedInAt": "2026-08-26T08:15:28.943Z", // when `stockbit-auth login` last ran
"loginAgeHours": 19.7, // how long ago, for the user's actual question
"browserPinned": "chrome.exe 152.0.7977.64",
"defaultBrowser": "C:\...\opera.exe", // what the OS opens links with
"defaultBrowserIsPinned": false
}
}
auth.main is the one every market-data tool depends on. stored: false, or a failed live check, means every stockbit tool will fail until the user logs in again — see the stockbit-auth skill.expiresInDays counts down a sliding window. Every refresh pushes it back out, so ordinary use keeps the session alive indefinitely; only a long idle gap forces a new login. Warn when it is under 2.auth.securities is only needed for portfolio, positions and orders. stored: false is the normal, safer state — do not treat it as a problem to fix unless the user asked for trading.trading.mode is the thing to state plainly. off means no orders can be placed at all. If it is paper, say so. If it is live, say that first and clearly — with live: true the order tools reach a real brokerage account.store.loginAgeHours is how long ago the user logged in, and it is the number they mean when they ask "how old is my login". Report it in natural units: minutes under an hour, hours under two days, days beyond that.
Do not present it as a countdown. A login does not expire on a fixed schedule — auth.main.expiresInDays is the deadline, and it slides forward on every refresh, so a login from three weeks ago can be perfectly healthy while one from yesterday is not. State the age as a fact and the expiry as the deadline; they answer different questions.
loggedInAt: null means either no login has happened, or the profile predates this field. Say which: browserPinned tells them apart.
defaultBrowser is what the operating system opens links with. browserPinned is what Chartbit actually drives, chosen at login time and authoritative afterwards, because a Chromium profile is not portable between browsers.
When defaultBrowserIsPinned is false, mention it once and move on — it is not a fault. Charting works fine in the pinned browser; logging in again is what moves it to the default.
If a default browser check appears with status: "warn", the user's default is Safari or Firefox, which cannot be driven for charting at all — they do not implement the Chrome DevTools Protocol. Relay that check's detail verbatim: it names what to install and states that everything except chart drawing is unaffected.
Never run trading-enable, trading-login, or anything else that changes the trading posture as part of a status check. Reporting state and changing state are different jobs, and this one only reports.
Judge by the report, not the exit code. Current builds exit 0 cleanly, but older Windows builds could print a correct result and then die on a libuv assertion (UV_HANDLE_CLOSING) — if you see that, the crash came after the work and the report above it is still valid. Never surface the assertion line as though it were the diagnosis.
Keep the answer to two or three sentences: session state, days remaining, trading mode, and the one action needed if any.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
stockbit, session-status, auth-check, trading-mode, login-status
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./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./strategy-backtestCompare strategies on an IDX symbol, backtest the survivor walk-forward, and hand the result to TradingView as Pine Script. Use when the user asks whether a strategy works, to test an idea, or for a Pine script.Other plugins' skills for the same job