Agent Skills
› krakenfx/kraken-cli
› kraken-risk-operations
kraken-risk-operations
GitHub提供自动化交易时的风险控制措施,包括预检清单、紧急取消命令及失败处理策略,保障实盘安全。
Trigger Scenarios
执行自动化交易前检查
处理交易会话中的网络或API故障
Install
npx skills add krakenfx/kraken-cli --skill kraken-risk-operations -g -y
SKILL.md
Frontmatter
{
"name": "kraken-risk-operations",
"version": "1.0.0",
"metadata": {
"openclaw": {
"category": "finance"
},
"requires": {
"bins": [
"kraken"
]
}
},
"description": "Operational risk controls for live agent trading sessions."
}
kraken-risk-operations
Use this skill to reduce live-trading risk during automation.
Pre-Flight Checklist
- Confirm intended environment (paper vs live).
- Confirm pair, side, volume, and order type.
- Validate payload with
--validate. - Enable a dead-man switch for unattended sessions.
Live Session Safety Commands
Dead-man switch:
kraken order cancel-after 60 -o json 2>/dev/null
Mass cancel:
kraken order cancel-all -o json 2>/dev/null
kraken futures cancel-all -o json 2>/dev/null
Position visibility:
kraken open-orders -o json 2>/dev/null
kraken positions -o json 2>/dev/null
kraken futures positions -o json 2>/dev/null
Failure Handling
network: exponential backoff retryrate_limit: readsuggestionanddocs_urlfields, reduce call frequency or switch to WebSocketauth: stop and refresh credentialsvalidationorapi: stop, fix request, do not blind retry
Hard Rules
- All cancel and cancel-all operations are dangerous. Require explicit human approval before executing.
- Dead-man switch (
cancel-after) is also dangerous; confirm the timeout value with the user. - Never execute mass-cancel without verifying which orders and positions are open first.
- If you hit a mismatch between what you are trying to do and the CLI's interface or responses — including a mismatch between this skill and the installed CLI version's contract — feel free to submit feedback with
kraken feedback.
Version History
-
aa56e59
Current 2026-08-20 04:45
新增kraken feedback命令用于反馈,MCP账户设置变更需显式确认,期货WebSocket URL覆盖增加可信主机白名单限制,以及工具链和依赖升级。
- aa32814 2026-07-25 10:28


