trade-with-guardrails

trade-with-guardrails is a skill for Claude Code from INo-xious/stockbit-mcp. It costs 42 tokens per session (591 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 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 591 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.00042 $0.00591
Opus 5.5 $0.00017 $0.00236
Sonnet 5.5 $0.00008 $0.00118
Haiku 4.5 $0.00004 $0.00059

Measured 1mo ago against content hash 114b0440cc2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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

How it starts

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

Simulated trading with guardrails

This server cannot execute real-money trades. Distinguish three accounts before selecting tools:

  • Brokerage portfolio: portfolio, position, cash_balance, orders and order_history read the real account. Simulation mode does not redirect these tools.
  • Stockbit website virtual account: virtual_portfolio, virtual_position and virtual_orders.
  • Local paper ledger: paper_portfolio, paper_position and paper_orders.

If a request leaves the simulation account unclear, clarify which of the last two the user means. Never present simulated holdings or fills as real money. A request for a real-money trade cannot be fulfilled by silently substituting a simulation.

Website virtual trading

Read virtual_portfolio and virtual_orders first. Use virtual_config for the website's fee settings. Activate with virtual_activate only when the user intends to start the virtual account.

For a simulated order, state the account, symbol, side, limit price and lots before calling virtual_order. Use virtual_order_amend or virtual_order_cancel with an order identifier read from that virtual account. Every virtual write requires authorization for that specific change; confirm: true conveys that authorization. These tools support day limit orders and do not publish trades to the social stream.

Local paper ledger

Read trading_status. When paper is off, the user can enable it at their terminal with stockbit-auth trading-enable --paper; this cannot enable real trading.

Call paper_order_preview with the requested action, symbol, price and lots (or the existing paper order identifier). Read the ticket's checks and relay its summary verbatim, including the PAPER ACCOUNT label. After agreement, use the corresponding paper_order_buy, paper_order_sell, paper_order_amend or paper_order_cancel with the ticket identifier. Tickets expire after two minutes. Local simulated fill rules do not match exchange execution or Stockbit's virtual engine.

Read the full file on GitHub · 49 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. 1mo ago Changed · -28 lines · -25 tokens per session 114b0440cc2f
  2. 2mo 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 (56 stars, last pushed 2d ago), licensed MIT. It adds 42 tokens to every session and 591 once invoked, about $0.0002 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-30.