Agent Skills
› krakenfx/kraken-cli
› kraken-risk-operations
kraken-risk-operations
GitHub提供Kraken自动化交易的风险控制指南,涵盖飞行前检查、安全命令(如死手开关、批量取消)及故障处理规则,确保实盘操作安全。
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


