trading-guard

trading-guard is a skill for Claude Code, Codex from djblack1209-coder/OpenClaw-Bot. It costs 0 tokens per session (96 once invoked), scanned A, original, Apache-2.0.

A safety checklist for verifying a trading system before it can place automatic buy or sell orders. It checks broker connectivity, risk settings, and whether the system should remain in simulation mode.

In plain words
What is it for?
It helps check IB Gateway and Telegram status, verify daily limits, stop-loss rules, position caps, and broker connectivity before automation.
Why use it?
It reduces the chance that broken connections or missing risk limits lead to unintended trades.

Skill for Claude CodeCodex

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

Good fit It helps check IB Gateway and Telegram status, verify daily limits, stop-loss rules, position caps, and broker connectivity before automation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/djblack1209-coder/openclaw-bot/trading-guard
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 djblack1209-coder/OpenClaw-Bot --skill trading-guard
Clone the repo
git clone --depth 1 https://github.com/djblack1209-coder/OpenClaw-Bot

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 trading-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/djblack1209-coder/openclaw-bot/trading-guard/github.svg)](https://agentmods.dev/skills/djblack1209-coder/openclaw-bot/trading-guard)
Your own site
<a href="https://agentmods.dev/skills/djblack1209-coder/openclaw-bot/trading-guard"><img src="https://agentmods.dev/badge/skills/djblack1209-coder/openclaw-bot/trading-guard/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 trading-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/djblack1209-coder/openclaw-bot/trading-guard"><img src="https://agentmods.dev/badge/skills/djblack1209-coder/openclaw-bot/trading-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 96 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.
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.00000 $0.00096
Opus 5 $0.00000 $0.00048
Sonnet 5 $0.00000 $0.00019
Haiku 4.5 $0.00000 $0.00010

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

Security

Grade A, and why

trading-guard 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 6d 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.

packages/opencode-skills/trading-guard/SKILL.md · 14 lines

What it actually says

Trading Guard

Purpose

  • Verify trading safety before enabling automatic execution.

Checklist

  • Confirm IB Gateway is reachable on 127.0.0.1:4002.
  • Run /status in Telegram and verify risk engine is initialized.
  • Confirm daily limits, stop-loss rules, and position caps in config/.env.
  • Validate broker connectivity before any buy/sell automation.

Fallback

  • If IBKR is down, keep strategy output in simulation mode only.
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. 6d ago First seen · 14 lines · 0 tokens per session scan A 433dd548e165

Subscribe to this mod's changes

trading-guard is a skill published in the GitHub repository djblack1209-coder/OpenClaw-Bot (5 stars, last pushed 5d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 96 tokens. 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-09-03.

Related

Other skills, from other repositories

business

Business analysis prompts — financial impact, market analysis, and performance analysis for a given topic. Use when an operator-facing business module needs a structured first-pass analysis.

Glad-Labs/poindexter · 34 tokens

cost-report

Show AI/LLM spending, budget usage, and operational cost metrics. Use when the user says "how much have we spent", "cost report", "show costs", "budget status", or "spending breakdown".

Glad-Labs/poindexter · 48 tokens

transcribe-filing

Transcribe an insurance rate filing or internal rating manual into an OpenRater workbook, then validate, build, verify, and rate it through the OpenRater MCP tools. Use when the user shares a filing/manual (PDF or pages) and wants it executable — "build this filing", "digitize this rating manual", "make this rateable"…

vadim-filimonov/openrater · 102 tokens

a2ui-renderer

Render A2UI (Agent-to-UI declarative surfaces) in CopilotKit v2. Enable the runtime via CopilotRuntime({ a2ui: {...} }), then enable the provider via . Auto-activates via /info — do NOT manually pass renderActivityMessages. createA2UIMessageRenderer ships from @copilotkit/react-core/v2; low-level primitives…

CopilotKit/CopilotKit · 175 tokens

copilotkit-develop

Use when building AI-powered features with CopilotKit v2 -- adding chat interfaces, registering frontend tools, sharing application context with agents, handling agent interrupts, and working with the CopilotKit runtime.

CopilotKit/CopilotKit · 46 tokens

copilotkit-upgrade

Use when migrating a CopilotKit v1 application to v2 -- updating package imports, replacing deprecated hooks and components, switching from GraphQL runtime to AG-UI protocol runtime, and resolving breaking API changes.

CopilotKit/CopilotKit · 48 tokens