trade-control

trade-control is a skill for Claude Code, Codex from Orkas-AI/Orkas. It costs 2 tokens per session (524 once invoked), scanned A, original, MIT.

A workflow for preparing and validating stock orders, including paper trades and possible live trades. It checks order details against quotes, account limits, available funds or shares, and market-specific rules.

In plain words
What is it for?
Use it to create and validate order drafts, check paper-trading requests, and confirm the visible details and policy requirements for an authorized live order.
Why use it?
It separates analysis from permission to trade and catches invalid quantities, stale prices, unsuitable lots, account limits, and missing live-trading authorization before execution.

Skill for Claude CodeCodex

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

Good fit Use it to create and validate order drafts, check paper-trading requests, and confirm the visible details and policy requirements for an authorized live order.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orkas-ai/orkas/trade-control
About the project

Orkas is a desktop application for commanding a team of AI agents through one chat, with a commander model assigning work to specialist agents in parallel or in sequence. People use it to coordinate research, writing, presentations, and software tasks while keeping files on their computer. The catalogue includes skills for extending the agents available to Orkas.

Orkas-AI/Orkas · 2,192 stars · on GitHub · orkas.ai

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 Orkas-AI/Orkas --skill trade-control
Clone the repo
git clone --depth 1 https://github.com/Orkas-AI/Orkas

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 trade-control

README.md
[![agentmods](https://agentmods.dev/badge/skills/orkas-ai/orkas/trade-control/github.svg)](https://agentmods.dev/skills/orkas-ai/orkas/trade-control)
Your own site
<a href="https://agentmods.dev/skills/orkas-ai/orkas/trade-control"><img src="https://agentmods.dev/badge/skills/orkas-ai/orkas/trade-control/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-control

Your own site · 80×15
<a href="https://agentmods.dev/skills/orkas-ai/orkas/trade-control"><img src="https://agentmods.dev/badge/skills/orkas-ai/orkas/trade-control.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 524 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.00002 $0.00524
Opus 5.5 $0.00001 $0.00210
Sonnet 5.5 $0.00000 $0.00105
Haiku 4.5 $0.00000 $0.00052

Measured 24d ago against content hash 4bca4732057f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

trade-control 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 24d 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.

resources/builtin/marketplace/agents/1040b336306f/skills/trade-control/SKILL.md · 46 lines

What it actually says

Trade Control

Read with market-data whenever an order, paper trade, broker account, or live execution is mentioned. Analysis permission is not trading permission.

Draft and validate

Prepare JSON with order, quote, account, and policy. Quote timestamps must be ISO-8601 with timezone. mode defaults to paper; a live draft also needs explicit_user_authorization: true and policy.allow_live: true.

"$ORKAS_NODE" "$ORKAS_PC_DIR/bin/run-skill.cjs" market-data stock -- validate-order --input order.json

The deterministic validator checks positive integer quantity, order price, quote staleness, buying power or sellable shares, configured order/position limits, A-share buy lots and T+1 sellable quantity, and explicit live mode. Hong Kong lot size is security-specific and must come from current instrument data; absence blocks a buy rather than assuming 100.

An allowed result means only that the declared checks passed. Reconfirm the symbol/listing, side, quantity, order type, limit, time-in-force, market session, fees, currency, mode, and connector account in the visible order summary.

Execution boundary

  • Default to an order draft or the broker's paper environment.
  • Submit live only after the user explicitly authorizes that exact visible order in the current task and the connected broker exposes the permission.
  • Never put credentials in chat, files, commands, or reports.
  • Never bypass a violation, convert an order type, split an order, or retry a rejected live order without new authorization.
  • After any submission, read back broker order ID, state, filled/remaining quantity, average price, timestamp, and rejection reason. Report uncertainty instead of claiming success when readback fails.

The Skill does not implement unattended/autonomous live trading.

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. 24d ago First seen · 46 lines · 2 tokens per session scan A 4bca4732057f

Subscribe to this mod's changes

trade-control is a skill published in the GitHub repository Orkas-AI/Orkas (2,192 stars, last pushed today), licensed MIT. It adds 2 tokens to every session and 524 once invoked, about $0.0000 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-09-23.

Related

Other skills, from other repositories

compound-interest-calculator

Calculate compound interest given principal, rate, time, and compounding frequency.

thesongzhu/Friday · 0 tokens

behavioral-economics

Systematic departures from rational choice theory and their implications for economic analysis and policy. Covers cognitive heuristics (anchoring, availability, representativeness), biases (loss aversion, status quo, overconfidence), prospect theory (reference dependence, probability weighting, diminishing…

Tibsfox/gsd-skill-creator · 103 tokens

development-economics

Economics of low-income countries and the structural transformation from agrarian poverty to industrial prosperity. Covers growth models (Solow, endogenous growth, unified growth theory), the role of institutions (inclusive vs. extractive), inequality measurement and dynamics (Gini, Lorenz curve, Kuznets), poverty…

Tibsfox/gsd-skill-creator · 124 tokens

international-trade

Theory and policy of international economic exchange. Covers comparative advantage (Ricardo, Heckscher-Ohlin), gains from trade, trade policy instruments (tariffs, quotas, subsidies), exchange rate determination, balance of payments, globalization dynamics, trade agreements, and the political economy of protectionism.…

Tibsfox/gsd-skill-creator · 90 tokens

public-policy

Economic analysis of government intervention -- taxation (incidence, efficiency, optimal design), regulation (cost-benefit, market failure correction), externalities (Pigouvian taxation, cap-and-trade, Coasian bargaining), and public goods provision (non-rivalry, non-excludability, free-rider problem). Covers welfare…

Tibsfox/gsd-skill-creator · 108 tokens

macroeconomics

Analysis of aggregate economic phenomena -- GDP measurement, inflation dynamics, unemployment theory, monetary policy (central banks, interest rates, money supply), fiscal policy (government spending, taxation, debt), and the business cycle. Covers Keynesian, monetarist, and new classical perspectives. Use when…

Tibsfox/gsd-skill-creator · 87 tokens