Kraken official shared

From jiayaoqijia/cryptoskill · View interactive version

Kraken official shared is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Shared runtime contract for kraken-cli: auth, invocation, parsing, and safety.

How to use this skill

Skill file

kraken-shared

This tool is experimental. Commands execute real financial transactions on the Kraken exchange. Test with kraken paper before using real funds. See DISCLAIMER.md for full terms.

Invocation Contract

Always call:

kraken <command> [args...] -o json 2>/dev/null

Rules:

Authentication

export KRAKEN_API_KEY="your-key"
export KRAKEN_API_SECRET="your-secret"

Optional futures credentials:

export KRAKEN_FUTURES_API_KEY="your-futures-key"
export KRAKEN_FUTURES_API_SECRET="your-futures-secret"

Public market data and paper trading require no credentials.

Error Routing

Route on .error:

Safety

The catalog marks 43 commands as dangerous: true. Always check the dangerous field in agents/tool-catalog.json before executing a command. Two more carry effect: local_or_live and dangerous: false, because one argument points them at the real account: workspace create --mode live and recipe run --real-account. Treat them as dangerous whenever that argument is set.

Require explicit human approval before:

Never start kraken auth login. It is a browser sign-in for a person, and it refuses to run without a terminal.

Use paper trading for dry runs:

kraken workspace create sandbox --capital 10000 --mode paper -o json
export KRAKEN_WORKSPACE=sandbox

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.