agent-wallet

agent-wallet is a skill for Claude Code, Codex from ChainGPT-org/chaingpt-claude-skill. It costs 109 tokens per session (4,203 once invoked), scanned A, original, MIT.

A wallet tool that gives an AI agent an Ethereum-compatible blockchain wallet while keeping spending rules under an administrator's control. EVM means the common software environment used by Ethereum and compatible blockchains.

In plain words
What is it for?
Use it to let an agent sign and send blockchain transactions under rules such as approved recipients, maximum amounts, and a kill switch.
Why use it?
It checks every transaction against a policy in code, so a prompt or tool call cannot override limits, approved addresses, or an emergency stop. The agent cannot edit the policy or access the passphrase through its tools.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Part of the chaingpt plugin — 24 skills, 1 command, 3 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to let an agent sign and send blockchain transactions under rules such as approved recipients, maximum amounts, and a kill switch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chaingpt-org/chaingpt-claude-skill/agent-wallet
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 ChainGPT-org/chaingpt-claude-skill --skill agent-wallet
Clone the repo
git clone --depth 1 https://github.com/ChainGPT-org/chaingpt-claude-skill

Made for: Claude Code, Codex.

Or install chaingpt, the plugin that ships this one along with the rest of its 24 skills, 1 command, 3 agents, 1 hook, 1 MCP server.

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-wallet

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chaingpt-org/chaingpt-claude-skill/agent-wallet"><img src="https://agentmods.dev/badge/skills/chaingpt-org/chaingpt-claude-skill/agent-wallet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,203 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 34
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 52
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
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.00109 $0.04203
Opus 5 $0.00055 $0.02101
Sonnet 5 $0.00022 $0.00841
Haiku 4.5 $0.00011 $0.00420

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

Security

Grade A, and why

agent-wallet 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 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.

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-wallet/SKILL.md · 248 lines

How it starts

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

ChainGPT Agent Wallet Skill

The agent has its own EOA wallet on every EVM chain it supports. The admin (you, in your shell) sets policies that the agent cannot violate or revoke — even if a malicious prompt convinces the LLM to try.

Threat model

The attacker's goal: prompt-inject the agent to drain its wallet to an attacker address.

The plugin's defense: the policy check is in code, not in the LLM's prompt. Every chaingpt_agent_wallet_sign_and_send call:

  1. Loads the policy file fresh from disk (no caching — admin can update mid-session).
  2. Runs checkPolicy(intent) — pure deterministic code that doesn't see the LLM's context.
  3. Refuses if any rule fails, with a clear reason the agent surfaces back to the user.

The attacker can convince the LLM to call sign_and_send(to=attacker, value=ALL) — but the tool layer refuses because attacker isn't in allowedToAddresses or value exceeds maxTxValueWei or killSwitch=true. The trust boundary is the tool code, not the LLM.

There is no MCP tool that writes the policy file. The admin edits it directly with a text editor. There is no MCP tool that reads or sets the passphrase. The passphrase lives only in the shell env var or the OS keychain — never in the keystore file, never in the LLM's context.

Setup (admin steps — done once)

The keystore passphrase resolves in this priority order:

  1. CHAINGPT_AGENT_WALLET_PASSPHRASE env var — explicit override. Best for CI / headless / power users who want zero process-list and zero keychain exposure.
  2. OS keychain — auto-managed. On macOS (Keychain via security) or Linux (libsecret via secret-tool), if no env var is set, chaingpt_agent_wallet_init generates a strong 256-bit passphrase and stores it in the keychain. You never type or remember it; the MCP server reads it back on each load.

Option A — zero-setup (macOS / Linux with a keychain) — recommended for most

# Just init — a strong passphrase is generated + stored in your OS keychain.
claude
> initialize the agent wallet

Read the full file on GitHub · 248 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. 10d ago First seen · 248 lines · 109 tokens per session scan A bae0beab74b9

Subscribe to this mod's changes

agent-wallet is a skill published in the GitHub repository ChainGPT-org/chaingpt-claude-skill (1 stars, last pushed today), licensed MIT. It adds 109 tokens to every session and 4,203 once invoked, about $0.0005 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

analyzing-ethereum-smart-contract-vulnerabilities

Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.

mukul975/Anthropic-Cybersecurity-Skills · 49 tokens

analyzing-ethereum-smart-contract-vulnerabilities

Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.

xalgorix/xalgorix · 49 tokens

talos-action-development

Develop, modify, review, and maintain standalone Talos actions in contracts/tasks/actions, including chain guardrails, contract bindings, transaction safety, schedules, action catalogues, and Talos documentation. Use when adding an action, changing an action’s behavior or parameters, updating a Talos schedule, or…

OriginProtocol/origin-dollar · 70 tokens

web3-bug-classes

Complete reference for all 10 DeFi smart contract bug classes. Use this when hunting for specific vulnerability types, need attack patterns for accounting desync, access control, incomplete path, off-by-one, oracle manipulation, ERC4626 vaults, reentrancy, flash loans, signature replay, or proxy/upgrade bugs.

Awarexone/web3-bug-bounty-hunting-ai-skills · 72 tokens

web3-methodology-research

External research synthesis from Trail of Bits, SlowMist, ConsenSys, Immunefi, and Cyfrin. Use this for advanced audit methodology, Echidna/Medusa fuzzing setup, Slither custom detector writing, attack pattern deep dives, or the 4-phase learning roadmap.

Awarexone/web3-bug-bounty-hunting-ai-skills · 66 tokens

web3-poc-foundry

Complete Foundry PoC writing guide + all cheatcodes + DeFiHackLabs reproduction patterns. Use this when building a proof of concept exploit, setting up a fork test, using Foundry cheatcodes, or reproducing a known DeFi hack for learning.

Awarexone/web3-bug-bounty-hunting-ai-skills · 59 tokens