Riskstate

Pre-trade risk API for crypto trading agents. Returns exposure limits, allowed actions, and policy constraints for BTC/USD and ETH/USD from 30+ real-time signals. Spot, perpetual futures (perps), and DeFi borrowing aware.

14 stars 2 forksFinance & Crypto

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Riskstate/risk-engine --skill riskstate
Manual install
git clone --depth 1 https://github.com/Riskstate/risk-engine.git /tmp/risk-engine
mkdir -p ~/.claude/skills
cp -r /tmp/risk-engine/. ~/.claude/skills/riskstate

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# RiskState — Pre-Trade Risk Layer for Crypto

## What it does

Returns **dynamic risk permissions** for BTC/USD and ETH/USD before capital is deployed.
A deterministic policy engine computes how much exposure is allowed based on 30+ real-time signals across macro, on-chain, derivatives, and DeFi health. Applicable to **spot**, **perpetual futures (perps)**, and **DeFi borrowing**.

The response tells you:
- **max_size_fraction**: Maximum exposure as fraction of portfolio (0.0–1.0). For spot: amount to deploy. For perps: max notional exposure (divide by your leverage for margin).
- **allowed_actions / blocked_actions**: What MAY and MUST NOT be done (enum tokens)
- **risk_flags**: Structural blockers (hard stop) vs contextual risks (reduce conviction)
- **binding_constraint**: Which cap is limiting and why
- **policy_level**: 1–5 summary label (informational — use `exposure_policy` for enforcement)

## What it does NOT do

- No trade signals, no entry/exit prices, no predictions
- No portfolio allocation advice
- No order execution or routing
- No historical data or backtesting

This is a **risk governor**, not a trading oracle. The assessment is USD-denominated.

## When to call

- **Before opening or sizing positions** — check permissions first
- **Periodically during holds** — every 5 min for active trading, every 4h for holding
- **After significant market moves** — cache invalidates after 60s (`ttl_seconds` in response)

## Authentication
Read the full skill on GitHub

Details

Skill name
riskstate
Repo updated
10 September 2026

FAQ

What does the Riskstate skill do?

Pre-trade risk API for crypto trading agents. Returns exposure limits, allowed actions, and policy constraints for BTC/USD and ETH/USD from 30+ real-time signals. Spot, perpetual futures (perps), and DeFi borrowing aware.

How do I install the Riskstate skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Riskstate/risk-engine --skill riskstate. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Riskstate popular?

It lives in Riskstate/risk-engine, which has 14 GitHub stars and 2 forks.

Related skills

Iris

13

kiskander/iris

Investigative and execution workflow for network operations work. Use this skill whenever a user asks about working a ticket, making a network change, investigating device state, validating a pre-change condition, executing a configuration, or verifying the result of a change — regardless of whether they invoke you by name. Also use it when a ticket ID, device name, or phrase like "check the queue", "work this", "push the config", "validate", "investigate", or "close the ticket" shows up in an operational context. The skill is vendor-agnostic and works against any combination of ticketing, dev

Finance & Crypto

Vly Money

19

zCloak-Network/vly-money-claude-skill

Crypto wallet assistant for generating payment links for supported tokens (USDC, USDT, vUSD, ICP, CKUSDC) across multiple networks (Solana, Ethereum, Base, BSC, Vly, ICP), X402 redirect links for accessing payment-protected content, and providing access to the vly.money wallet interface. Use when users request to send/transfer crypto, mention 402 errors or payment-required content, or explicitly ask to access vly.money wallet.

Finance & Crypto

Webull Openapi

12

webull-inc/webull-openapi-skills

Trade stocks, options, futures, crypto, and event contracts on Webull. Query real-time and historical market data. Manage accounts and positions. Supports US, HK, JP, SG, TH, MY, UK, MX, BR, and ZA regions with configurable risk controls.

Finance & Crypto

Quantum Skills

20

unitarylab/quantum-practices

Root entrypoint for the quantum-skills package. Use this skill to route requests to the correct simulator or algorithm sub-skill, enforce full skill-chain reading before coding, and avoid duplicating implementation details that are already defined in leaf skills.

Finance & Crypto

Cfo Expert

13

j9o/cfo-expert

Turn Claude into a seasoned CFO and accounting expert fluent in US GAAP, financial modeling, tax strategy, and corporate finance. Use this skill whenever the user asks about financial statements, accounting entries, bookkeeping, revenue recognition, budgeting, forecasting, cash flow analysis, financial ratios, tax planning, audit preparation, P&L review, balance sheet analysis, cost accounting, variance analysis, capital structure, valuations, DCF models, working capital, accounts receivable/payable, depreciation, amortization, equity compensation, debt covenants, board reporting, investor rel

Finance & Crypto

Scrittura Italiana

23

hypnosdesign/claude-skill-scrittura-italiana

Skill editoriale per l'italiano: corregge, chiarisce, riscrive e rende naturale un testo senza cambiarne il significato — anche da humanizer, perché toglie i tic della prosa generata (perifrasi, gerundite, triadi, avverbi in -mente, trattini lunghi, definizioni bipolari «non è X ma Y», tic saggistici, antilingua, frasi fatte) conoscendo l'italiano, non per trova-e-sostituisci. Quattro virtù dell'espressione: NATURALEZZA (segni dell'AI, voce), CORRETTEZZA (punteggiatura, accenti, omofoni, plurali, pronomi), CHIAREZZA ed EFFICACIA (retorica, figure, ritmo, argomentazione). Per umanizzare, scrive

Finance & Crypto

Browse the most popular Claude skills, all finance & crypto skills, or write your own with the skills generator.