trade-with-guardrails

trade-with-guardrails is a skill for Claude Code from INo-xious/stockbit-mcp. It costs 67 tokens per session (1,292 once invoked), scanned A, original, MIT.

A guarded workflow for placing, changing, or cancelling orders through the user’s Stockbit account. It checks the account mode and available money or holdings before an order is submitted.

In plain words
What is it for?
Use it to inspect trading status, cash, and holdings; calculate a position size from a risk budget; preview an order; and submit it only after human confirmation.
Why use it?
It helps prevent accidental trades and sizes a position from a defined loss limit instead of an unverified guess.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the stockbit plugin — 9 skills, 2 MCP servers shipped together

Good fit Use it to inspect trading status, cash, and holdings; calculate a position size from a risk budget; preview an order; and submit it only after human confirmation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ino-xious/stockbit-mcp/trade-with-guardrails
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.

Any agent
npx skills add INo-xious/stockbit-mcp --skill trade-with-guardrails
Clone the repo
git clone --depth 1 https://github.com/INo-xious/stockbit-mcp

Made for: Claude Code.

Or install stockbit, the plugin that ships this one along with the rest of its 9 skills, 2 MCP servers.

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 trade-with-guardrails

README.md
[![agentmods](https://agentmods.dev/badge/skills/ino-xious/stockbit-mcp/trade-with-guardrails/github.svg)](https://agentmods.dev/skills/ino-xious/stockbit-mcp/trade-with-guardrails)
Your own site
<a href="https://agentmods.dev/skills/ino-xious/stockbit-mcp/trade-with-guardrails"><img src="https://agentmods.dev/badge/skills/ino-xious/stockbit-mcp/trade-with-guardrails/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 trade-with-guardrails

Your own site · 80×15
<a href="https://agentmods.dev/skills/ino-xious/stockbit-mcp/trade-with-guardrails"><img src="https://agentmods.dev/badge/skills/ino-xious/stockbit-mcp/trade-with-guardrails.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,292 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 52
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 57
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00067 $0.01292
Opus 5 $0.00034 $0.00646
Sonnet 5 $0.00013 $0.00258
Haiku 4.5 $0.00007 $0.00129

Measured 12d ago against content hash 7bb69c06f10a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

trade-with-guardrails 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 12d 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.

skills/trade-with-guardrails/SKILL.md · 77 lines

How it starts

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

Trade with guardrails

This is the only skill that can spend money. Everything below exists because an order placed by mistake cannot be taken back by another tool call.

Before anything

  1. trading_status — first, every time. It tells you whether trading is off, paper or live, and every result in paper mode says PAPER ACCOUNT — no real money. Say which mode you are in before you say anything else about an order. A user who thinks they are on paper and is not has been failed by you, not by the server.
    • If it is off, the fix is stockbit-auth trading-enable --paper (or --live) at their terminal. You cannot turn it on, and no tool you can reach can write the settings file. Suggest --paper.
    • If they have never done this before, suggest paper. The protocol is identical on purpose — a rehearsal, not a shortcut.
  2. cash_balance and position symbol=… — what they actually have. Do not size a trade against a number the user guessed.

Sizing

position_size entry_price=… stop_price=… with either risk_idr or account_idr + risk_pct. It returns whole lots, floored, with commission, break-even and R targets, and it checks both prices against the IDX tick grid and today's auto-rejection band. Use its numbers. A price off the tick grid is rejected by the exchange, not rounded by it.

The ticket protocol

  1. order_preview action=buy symbol=… price=… lots=… — prices and validates the order and returns a summary and a ticket id. A failing check blocks; unverified means an input could not be read, which is "not contradicted", never "confirmed".
  2. Relay the summary to the user verbatim. Not paraphrased, not summarised, not "so that's about 5 million rupiah". The whole design assumes the human read that text.
  3. Stop. Wait for the human.
  4. order_buy ticket_id=… (or order_sell, order_amend, order_cancel). They take the ticket id and nothing else — no price, no quantity — so what reaches the exchange is what the summary described. Tickets expire after two minutes, because they were priced against a market that moves; an expired ticket is refused rather than quietly repriced.

Read the full file on GitHub · 77 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. 12d ago First seen · 77 lines · 67 tokens per session scan A 7bb69c06f10a

Subscribe to this mod's changes

trade-with-guardrails is a skill published in the GitHub repository INo-xious/stockbit-mcp (36 stars, last pushed 4d ago), licensed MIT. It adds 67 tokens to every session and 1,292 once invoked, about $0.0003 per session on Opus 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-30.

Related

Other skills, from other repositories

chief-financial-officer

Owns the financial position: planning, budgeting, forecasting, unit economics, cash, and the numbers the business is run and reported on. Use this to build or challenge a budget, model a decision's financial consequence, assess unit economics or runway, evaluate an investment or spend request, set financial controls…

cbrock84/headcount · 88 tokens

fundraising-and-investor-relations

Raises capital and manages the relationship afterward — deciding how much and why, understanding what dilution and preferences actually cost, running a process with real competitive tension, preparing for diligence before it starts, and reporting to investors and a board in a way that keeps support when results are…

cbrock84/headcount · 91 tokens

financial-statement-analysis

Reads a set of financial statements and establishes what changed and why — fluctuation analysis against prior period and against budget, profitability, liquidity, solvency and efficiency ratios, benchmarking, and the non-GAAP measures presented alongside them. Use this to interpret results, review a counterparty's or…

cbrock84/headcount · 93 tokens

internal-controls-and-audit

Designs and tests controls over financial reporting — segregation of duties, approval limits, evidence, and preparing for audit. Use this to design controls for a process, prepare for an external audit, respond to an audit finding, set approval thresholds, or assess where a small team's segregation of duties is…

cbrock84/headcount · 67 tokens

payroll-operations

Runs the pay cycle so it is right, on time, and provable — the calendar and cutoffs, what feeds pay from the HRIS and time systems, gross-to-net and the deductions in it, multi-jurisdiction registration and tax filing, off-cycle payments and corrections, and the reconciliation to the general ledger. Use this to design…

cbrock84/headcount · 104 tokens

sales-compensation-and-territory

Designs quotas, territories and commission plans that produce the behavior the business needs — sizing territories against real potential, setting quotas people can hit often enough to believe in, choosing what to pay on, handling accelerators, draws, clawbacks and disputes, and changing a plan without destroying…

cbrock84/headcount · 96 tokens