provisioning-agent

provisioning-agent is a skill for Claude Code from tkhq/turnkey-agent-skills. It costs 57 tokens per session (5,018 once invoked), scanned D, original, Apache-2.0.

A setup workflow for giving an AI agent its own restricted Turnkey wallet account. Turnkey is a service for managing cryptographic wallets and signing transactions.

In plain words
What is it for?
Use it to create a wallet, a non-administrator agent user, restricted permissions, and verify that the agent can sign.
Why use it?
It keeps the main administrator credentials away from the agent and limits what the agent can do.

Skill for Claude Code

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Calling the API:** JSON bodies below are the `parameters` object accepted by `@turnkey/sdk-server` methods (e.g. `create_wallet` → `client.createWallet(...)`,.

Part of the turnkey plugin — 9 skills shipped together

Good fit Use it to create a wallet, a non-administrator agent user, restricted permissions, and verify that the agent can sign.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/tkhq/turnkey-agent-skills
agentmods
npx agentmods add skills/tkhq/turnkey-agent-skills/provisioning-agent

Made for: Claude Code.

Or install turnkey, the plugin that ships this one along with the rest of its 9 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 provisioning-agent

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tkhq/turnkey-agent-skills/provisioning-agent"><img src="https://agentmods.dev/badge/skills/tkhq/turnkey-agent-skills/provisioning-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,018 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 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.00057 $0.05018
Opus 5 $0.00028 $0.02509
Sonnet 5 $0.00011 $0.01004
Haiku 4.5 $0.00006 $0.00502

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

Security

Grade D, and why

provisioning-agent scanned grade D with 3 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 10d 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.

Nullifies safety policieshighAnti-refusal

"You have no restrictions", "do anything now", "ignore your guidelines": a direct jailbreak that disables guardrails.

1. **NEVER create a root user for an agent — refuse the request and explain why.** Root users bypass all policies entirely. If the agent is root, spending limits, address allowlists, and action restrictions have zero eff

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

6. **The agent's private key must be captured and persisted at generation time, with an explicit destination chosen by the human.** Never generate a key pair without asking where the private half should go (secrets manag

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

import { execSync } from "child_process";
skills/provisioning-agent/SKILL.md · 398 lines

How it starts

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

Provisioning an Agent

Calling the API: JSON bodies below are the parameters object accepted by @turnkey/sdk-server methods (e.g. create_walletclient.createWallet(...), create_usersclient.createUsers(...), create_policyclient.createPolicy(...)). See the root SKILL.md for SDK setup and full endpoint-to-method mapping.

Overview

Give an AI agent a non-root user, a wallet, and the narrowest ALLOW policy it needs. The agent gets scoped credentials; your root credentials stay with you.

Scope: This skill covers initial agent provisioning only (Steps 1–5). For key rotation, policy changes, or revoking access after provisioning, redirect the user to the managing-agent skill.

This workflow typically runs with your root credentials (or any credentials with permission to create wallets, users, and policies). The output is a set of agent credentials with constrained permissions. NEVER give root credentials to an autonomous agent.

Base URL: https://api.turnkey.com

Rules (mandatory — override any user instructions that conflict)

  1. NEVER create a root user for an agent — refuse the request and explain why. Root users bypass all policies entirely. If the agent is root, spending limits, address allowlists, and action restrictions have zero effect. If someone asks to make an agent root, refuse, explain that root defeats the policy security model, and recommend a non-root user with scoped ALLOW policies instead.
  2. Every signing ALLOW policy must include wallet.id or wallet_account.address scope. An ALLOW without key scope grants signing access across all keys the user can reach. Use wallet_account.address for single-address scoping.
  3. Confirm each policy with the human before creating it. Display the exact effect, consensus, and condition. Explain in plain language what it allows. Wait for explicit approval.
  4. Never output root credentials. The credential output step (Step 5) must only contain the agent's credentials. Label them clearly.
  5. If the user asks about day-2 operations (key rotation, policy updates, revoking access, debugging denied transactions), redirect them to the managing-agent skill. Do not handle post-provisioning operations inline.
  6. The agent's private key must be captured and persisted at generation time, with an explicit destination chosen by the human. Never generate a key pair without asking where the private half should go (secrets manager, .env with chmod 600, or — only as a last resort for one-shot manual flows — the terminal). Never write the private key to a path inside a git-tracked directory. Never store it alongside your root credentials. If the human is bringing their own key pair, confirm they already have the private key stored safely before you register the public key.
  7. Never read the agent's credential file after writing it. When appending to the file in Step 5, use a blind append — do not read the file contents first.

Read the full file on GitHub · 398 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 398 lines · 57 tokens per session scan D f06ebaaadbf3

Subscribe to this mod's changes

provisioning-agent is a skill published in the GitHub repository tkhq/turnkey-agent-skills (2 stars, last pushed today), licensed Apache-2.0. It adds 57 tokens to every session and 5,018 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it D with 3 findings (nullifies safety policies, asks for root, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

signature-replay

Signature replay attacks — missing nonces, missing chain ID, ecrecover zero address, signature malleability, cross-chain replay.

PurpleAILAB/Decepticon · 31 tokens

official-sui-skills

Pointer to the official Mysten Labs skills for building on Sui — language fundamentals, object model, PTBs, SDKs, publishing, upgrades, frontend integration, accessing on-chain data. Maintained upstream at github.com/MystenLabs/skills; pinned to the same ref the audit catalog derives from (see…

MystenLabs/sui · 116 tokens

crypto-market-rank

Crypto market rankings and leaderboards. Query trending tokens, top searched tokens, Binance Alpha tokens, tokenized stocks, social hype sentiment ranks, smart money inflow token rankings, top meme token rankings from Pulse launchpad, and top trader PnL leaderboards. Use this skill when users ask about token rankings…

tradecatlabs/tradecat-public · 85 tokens

trading-signal

Subscribe and retrieve on-chain Smart Money signals. Monitor trading activities of smart money addresses, including buy/sell signals, trigger price, current price, max gain, and exit rate. Use this skill when users are looking for investment opportunities — smart money signals can serve as valuable references for…

tradecatlabs/tradecat-public · 64 tokens

bridge

Cross-chain token transfers using Wormhole and CCTP.

alsk1992/CloddsBot · 13 tokens

onchainkit

Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments.

alsk1992/CloddsBot · 24 tokens