crypto-and-trading-security

crypto-and-trading-security is a skill for Claude Code, Codex from jxoesneon/Ciel. It costs 22 tokens per session (537 once invoked), scanned A, original, Apache-2.0.

A set of safety rules for automated cryptocurrency trading and Solidity smart contracts. Solidity is the programming language commonly used for Ethereum smart contracts.

In plain words
What is it for?
Use it to add limits and transaction simulation to trading agents and to review DeFi contracts for common security and money-handling errors.
Why use it?
It addresses risks such as unsafe transactions, excessive spending, stolen keys, reentrancy bugs, and incorrect token calculations.

Skill for Claude CodeCodex

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

Good fit Use it to add limits and transaction simulation to trading agents and to review DeFi contracts for common security and money-handling errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jxoesneon/ciel/crypto-and-trading-security
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 jxoesneon/Ciel --skill crypto-and-trading-security
Clone the repo
git clone --depth 1 https://github.com/jxoesneon/Ciel

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 crypto-and-trading-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/jxoesneon/ciel/crypto-and-trading-security/github.svg)](https://agentmods.dev/skills/jxoesneon/ciel/crypto-and-trading-security)
Your own site
<a href="https://agentmods.dev/skills/jxoesneon/ciel/crypto-and-trading-security"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/crypto-and-trading-security/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 crypto-and-trading-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/jxoesneon/ciel/crypto-and-trading-security"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/crypto-and-trading-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 537 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.00022 $0.00537
Opus 5 $0.00011 $0.00269
Sonnet 5 $0.00004 $0.00107
Haiku 4.5 $0.00002 $0.00054

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

Security

Grade A, and why

crypto-and-trading-security 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 7d 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/crypto-and-trading-security/SKILL.md · 51 lines

What it actually says

CIEL ADAPTATION: Crypto & Trading Security (The Asset Layer)

This skill manages the extreme threat model of autonomous trading agents and DeFi contracts.

Trading Agent Guardrails

  1. Injection Shield: Sanitize all on-chain data (Token names, pair labels) to prevent instruction overrides.
  2. Hard Spend Limits: Enforce MAX_SINGLE_TX_USD and MAX_DAILY_SPEND_USD outside the LLM context.
  3. Simulation Mandate: ALWAYS eth_call or simulate a transaction before sending. check actual_out >= min_amount_out.
  4. Circuit Breaker: Halt agent execution on > 3 consecutive losses or > 5% hourly drawdown.

Solidity Integrity (DeFi)

  • CEI Order: Checks-Effects-Interactions. update state before transferring tokens.
  • Reentrancy: Use nonReentrant on all external transfer entry points.
  • Decimal Safety: Prohibit assuming 18 decimals. Query decimals() at runtime and cache by (chain_id, token_address).
  • WAD Normalization: Standardize internal math to 18 decimals internally.

Wallet Isolation

  • Hot Wallet: Agent MUST only have access to a dedicated hot wallet. PROHIBIT access to treasury or primary keys.
  • Private RPC: Use flashbots or protected RPCs to prevent frontrunning/MEV.

Anti-Patterns

  • Model-Controlled Budget: Letting the LLM decide its own spend limits.
  • Naive mulDiv: Performing a * b / c without checking for overflow in high-value reserves.
  • Silent Revert: Catching transaction errors without halting the agent or notifying the user.
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. 7d ago First seen · 51 lines · 22 tokens per session scan A 223a9fb421a4

Subscribe to this mod's changes

crypto-and-trading-security is a skill published in the GitHub repository jxoesneon/Ciel (1 stars, last pushed 4d ago), licensed Apache-2.0. It adds 22 tokens to every session and 537 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

open-federation

Coordinate with the open ruflo swarm federation at x.ruv.io (signed Nostr, membership-gated) and ask Seraphina — the swarm queen / primary coordinator — for guidance. Use when: seeing who is online across the internet, reading/assigning work, checking or issuing claims across hosts, onboarding a new node or user…

ruvnet/ruflo · 104 tokens

Coinbase Automation

Coinbase Automation: list and manage cryptocurrency wallets, accounts, and portfolio data via Coinbase CDP SDK.

openteams-lab/openteams · 24 tokens

propfund

Trade on PropFund, the decentralized on-chain prop firm for AI agents. Use this skill to get funded with the liquidity pool's capital and trade without risking your own bankroll — pass a transparent evaluation, then place leveraged long/short trades with mandatory stop-loss/take-profit and on-chain risk limits, and…

NO7r34L/PropFund.eth · 0 tokens

Code Quality Review

Conduct a comprehensive code quality review focused on clean code, architecture, and project standards.

asap-protocol/asap-protocol · 21 tokens

ticket-spec

Turn a raw Linear Triage ticket into a fully specified ai:agent-ready one by exploring the codebase. Use when specifying, refining, or promoting tickets, or when asked why a ticket isn't dispatchable.

watt-mind/factory · 45 tokens

redpolicy-guide

An editorial policy for turning webinar transcripts into self-contained guides. A transcript is a written record of spoken material, while a self-contained guide can be understood without watching the webinar.

mikeshu2001/content-factory · 49 tokens