agent-keys

agent-keys is a skill for Claude Code from ShurikenTrade/shuriken-skills. It costs 34 tokens per session (583 once invoked), scanned A, original, MIT.

A guide to using Shuriken's agent keys, which are credentials for programs that connect to the Shuriken trading platform. It covers permissions, safe storage, and the key's creation, use, and revocation.

In plain words
What is it for?
Use it when creating or rotating keys, choosing their permissions, or authenticating REST and WebSocket connections to Shuriken.
Why use it?
It helps you connect a program without using a person's login session and limits what a leaked or misused key can do.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the shuriken-skills plugin — 5 skills shipped together

Good fit Use it when creating or rotating keys, choosing their permissions, or authenticating REST and WebSocket connections to Shuriken.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shurikentrade/shuriken-skills/agent-keys
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 ShurikenTrade/shuriken-skills --skill agent-keys
Clone the repo
git clone --depth 1 https://github.com/ShurikenTrade/shuriken-skills

Made for: Claude Code.

Or install shuriken-skills, the plugin that ships this one along with the rest of its 5 skills.

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 agent-keys

README.md
[![agentmods](https://agentmods.dev/badge/skills/shurikentrade/shuriken-skills/agent-keys/github.svg)](https://agentmods.dev/skills/shurikentrade/shuriken-skills/agent-keys)
Your own site
<a href="https://agentmods.dev/skills/shurikentrade/shuriken-skills/agent-keys"><img src="https://agentmods.dev/badge/skills/shurikentrade/shuriken-skills/agent-keys/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 agent-keys

Your own site · 80×15
<a href="https://agentmods.dev/skills/shurikentrade/shuriken-skills/agent-keys"><img src="https://agentmods.dev/badge/skills/shurikentrade/shuriken-skills/agent-keys.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 583 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.00034 $0.00583
Opus 5 $0.00017 $0.00292
Sonnet 5 $0.00007 $0.00117
Haiku 4.5 $0.00003 $0.00058

Measured 12d ago against content hash 0814f754df0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

agent-keys 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 12d 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/agent-keys/SKILL.md · 35 lines

How it starts

The opening of the file, as written. The whole thing — 35 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Using agent keys

Agent keys are Shuriken's credential primitive for programmatic access. They authenticate a caller, carry a set of scopes defining what the caller can do, and are revocable without affecting the owning user's session.

Approach

  1. One key per integration, not per user action. An agent key represents a long-lived integration. Do not create a key per request.
  2. Grant the minimum scope. See shuriken:scoping for how scopes are structured and how to reason about least-privilege.
  3. Treat keys as secrets. Store them in environment variables or secret managers. Never hard-code. Never log. Never commit.

Key lifecycle

  • Create at app.shuriken.trade/agents (the authenticated user's agent-key management page), or via the agent-key management API once bootstrapped. The key is displayed once at creation — capture it immediately.
  • Use the same agent key across every surface:
    • REST — pass the key in the Authorization: Bearer <key> header on every request.
    • WebSocket — authenticate the connection with the same agent key (subject to the key's scopes, just like REST). The streaming endpoints share the same credential model; there is no separate websocket token.
    • SDKs — both the TypeScript and Rust SDKs accept the agent key directly in the client constructor. Prefer the SDK path when the user's language is supported; it handles header/connection wiring for you.
  • Rotate periodically and after any suspected compromise. Rotation means: create the new key, deploy it to the consuming service, then revoke the old key. Not the reverse.
  • Revoke when an integration is retired, a contractor departs, or the key is exposed. Revocation is immediate.

One user, one integration

An agent key belongs to a single Shuriken user. An integration holds that user's key (or the few keys that user has created for different purposes). There is no multi-tenant flow where an app mints keys on behalf of many users — every key is owned by the Shuriken account that created it.

Read the full file on GitHub · 35 lines

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. 12d ago First seen · 35 lines · 34 tokens per session scan A 0814f754df0f

Subscribe to this mod's changes

agent-keys is a skill published in the GitHub repository ShurikenTrade/shuriken-skills (90 stars, last pushed 4mo ago), licensed MIT. It adds 34 tokens to every session and 583 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

coinversaa-pulse

Read-only crypto intelligence for AI agents. 103 tools (OAuth 2.1 on the hosted endpoint, API key for local stdio) for Hyperliquid trader analytics, builder-fee revenue analytics, position lifecycles with MAE/MFE execution quality, trader archetype discovery, behavioral cohorts, HIP-4 outcome contracts, outcome/perp…

Coinversaa/mcp-server · 161 tokens

crypto-report

Analyze cryptocurrency projects with tokenomics, on-chain metrics, and market analysis. Generate comprehensive crypto research reports.

claude-office-skills/skills · 24 tokens

crypto-analyze

Full Crypto Analysis Orchestrator — launches 5 parallel subagents for comprehensive multi-dimensional token analysis with composite Crypto Score.

zubair-trabzada/ai-crypto-claude · 27 tokens

crypto-onchain

On-Chain Analytics Agent — whale movements, exchange flows, active addresses, network growth, holder distribution, and transaction metrics with On-Chain Score (0-100).

zubair-trabzada/ai-crypto-claude · 38 tokens

emblem-memecoin-scout

Memecoin discovery and risk assessment via EmblemAI. Trending memecoins on Solana, Base, and Hedera. Pump.fun and LaunchLab new token alerts, Clanker discovery, rug-pull detection, holder analysis, and smart money tracking. Use when the user wants to find new memecoins, check if a token is a rug pull, or scout…

EmblemCompany/Agent-skills · 87 tokens

emblem-defi-yield

DeFi yield research and liquid staking via EmblemAI. Discover yield opportunities, compare protocols, check DeFi positions with Nansen, and enter liquid staking via token swaps. Use when the user wants to research yields, find staking options, or review DeFi positions.

EmblemCompany/Agent-skills · 61 tokens