web-test-wallet-setup

web-test-wallet-setup is a skill for Claude Code from automata-network/agent-skills. It costs 42 tokens per session (1,598 once invoked), scanned C, original, MIT.

A setup procedure for MetaMask, a browser wallet used by many Web3 applications, before testing a Web3 app. It downloads the extension and imports a wallet using a private key from the test environment.

In plain words
What is it for?
It is for test sessions where Web3 is enabled: installing MetaMask, initializing it once, and preparing the wallet before test cases start.
Why use it?
It removes the repeated manual work of preparing a test wallet before Web3 tests can run.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is rm -rf ./test-output/chrome-profile/.

Good fit It is for test sessions where Web3 is enabled: installing MetaMask, initializing it once, and preparing the wallet before test cases start.

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/automata-network/agent-skills
agentmods
npx agentmods add skills/automata-network/agent-skills/web-test-wallet-setup

Made for: Claude Code.

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 web-test-wallet-setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/automata-network/agent-skills/web-test-wallet-setup"><img src="https://agentmods.dev/badge/skills/automata-network/agent-skills/web-test-wallet-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,598 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00042 $0.01598
Opus 5 $0.00021 $0.00799
Sonnet 5 $0.00008 $0.00320
Haiku 4.5 $0.00004 $0.00160

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

Security

Grade C, and why

web-test-wallet-setup scanned grade C with 1 finding 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 8d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/commands/wallet-setup.js, scripts/lib/browser.js, scripts/lib/config.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf ./test-output/chrome-profile/
web-test-wallet-setup/SKILL.md · 194 lines

How it starts

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

Wallet Setup

Set up MetaMask wallet extension for Web3 DApp testing.

Updated for MetaMask v13 with new UI support.

When to Use This Skill

This skill should be executed automatically at the start of testing when:

# In tests/config.yaml
web3:
  enabled: true  # <-- If this is true, run wallet-setup FIRST

Execution timing:

  • Run once at test start - Before any test cases are executed
  • NOT between tests - Setup only needs to run once per test session
  • Automatic by web-test - The web-test skill checks config.yaml and calls this automatically

Prerequisites

  1. tests/.test-env file with WALLET_PRIVATE_KEY already exists
  2. tests/config.yaml exists with web3.enabled: true
  3. Project research completed (web-test-research)

Quick Start

SKILL_DIR="<path-to-this-skill>"

# Step 1: Download wallet extension
node $SKILL_DIR/scripts/wallet-setup-helper.js wallet-setup

# Step 2: Initialize wallet (reads WALLET_PRIVATE_KEY from .test-env, writes WALLET_PASSWORD)
node $SKILL_DIR/scripts/wallet-setup-helper.js wallet-init --wallet --headed

How It Works

  • Reads WALLET_PRIVATE_KEY from tests/.test-env
  • Converts private key to 24-word mnemonic using BIP-39 algorithm
  • Imports wallet using the generated mnemonic (first account = your private key's address)
  • Writes WALLET_PASSWORD to tests/.test-env (auto-generated if not set)
  • Private key is only used locally in Playwright browser, never exposed to AI APIs

Technical Note: The private key (256 bits) is used as entropy to generate a 24-word BIP-39 mnemonic. This mnemonic, when imported into MetaMask, creates a wallet where the first derived account corresponds exactly to the original private key.

Instructions

Step 1: Download Wallet Extension

SKILL_DIR="<path-to-this-skill>"

# Download and install MetaMask wallet extension
node $SKILL_DIR/scripts/wallet-setup-helper.js wallet-setup

What this does:

  • Downloads MetaMask wallet from GitHub releases
  • Extracts to ./test-output/extensions/metamask/
  • Prepares extension for browser loading

Read the full file on GitHub · 194 lines

Files

What ships with it

7 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. 8d ago First seen · 194 lines · 42 tokens per session scan C 5f1f71f127f9

Subscribe to this mod's changes

web-test-wallet-setup is a skill published in the GitHub repository automata-network/agent-skills (1 stars, last pushed 8mo ago), licensed MIT. It adds 42 tokens to every session and 1,598 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). 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

blockchain-testing

Use this skill when asked about testing smart contracts, Foundry tests, Hardhat tests, fuzz testing, invariant testing, property-based testing, formal verification, audit preparation, integration testing for dApps, and blockchain testing patterns. Covers Foundry cheatcodes, Echidna fuzzing, Certora verification…

j4flmao/agent-skills · 117 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

test-warp-ui

Guides testing Warp UI features and changes using the computer use tool. Use this skill only when computer-use testing was requested (explicit request or accepted offer) and the computeruse tool is available to the agent. Covers launching Warp and verifying UI behavior.

warpdotdev/warp · 55 tokens

test-electron-app

Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…

PostHog/posthog-foss · 112 tokens

pyats-dynamic-test

Generate and execute deterministic pyATS aetest validation scripts - interface state, OSPF neighbors, BGP paths, ping matrices, and custom compliance tests. Use when writing a network test, validating post-change state, running pass/fail checks, or building automated regression tests.

automateyournetwork/netclaw · 61 tokens

test-loop

Plan, generate, and heal an executable E2E test suite from approved acceptance criteria (web and mobile).

HoangNguyen0403/agent-skills-standard · 25 tokens