agentleFS
vaquarkhanvaquarkhan/web3-agent-skills/skills/skill-01-wallet-management/SKILL.md

skill-01-wallet-management

Skill2 starsChanged 6 months agoMITView on GitHub

Manages Web3 wallets including HD derivation, ERC-4337 account abstraction, multi-sig (Safe), and social recovery. Use when creating wallets, signing transactions, managing keys, or configuring smart accounts.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use references/hd-paths.md for all supported chains.

    line 43
  2. Distinctive:

    Create Safe with threshold M-of-N

    line 54
  3. Very specific:

    Add owners via createProxyWithNonce

    line 55
  4. Distinctive:

    Use hardware wallets or secure enclaves for mainnet signing

    line 69
  5. Distinctive:

    Prefer read-only RPC for balance queries

    line 71

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Wallet Management

When to Use

  • Creating or importing HD wallets (BIP-39/BIP-44)
  • Configuring ERC-4337 smart accounts (bundlers, paymasters)
  • Setting up Gnosis Safe or multi-sig workflows
  • Implementing social recovery or session keys
  • Managing wallet connections (WalletConnect, EIP-6963)

Prerequisites

  • MCP: blockchain-rpc-server for chain reads
  • MCP: compliance-screening-server before sending to external addresses
  • Apply all rules in guardrails/web3-guardrails.yaml

Workflow

1. Wallet Type Selection

Use CaseRecommendation
Single user EOAHD wallet (MetaMask-compatible path m/44'/60'/0'/0/n)
Team treasuryGnosis Safe multi-sig
Gasless UXERC-4337 smart account + paymaster
High-frequency tradingSession keys with spending limits

2. HD Wallet Derivation

Ethereum path: m/44'/60'/0'/0/{index}
Solana path:   m/44'/501'/{index}'/0'

Use references/hd-paths.md for all supported chains. Never log or persist mnemonic phrases.

3. ERC-4337 Account Abstraction

  1. Deploy or connect to existing smart account (SimpleAccount, Kernel, Safe4337)
  2. Configure entry point: 0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789 (v0.6)
  3. Select bundler URL (Pimlico, Alchemy, Stackup)
  4. Optional: configure paymaster for sponsored gas

4. Multi-Sig (Safe)

  1. Create Safe with threshold M-of-N
  2. Add owners via createProxyWithNonce
  3. Propose transactions via Safe Transaction Service API
  4. Collect signatures off-chain, execute on-chain

5. Pre-Execution Checks

  • Simulate transaction via eth_call or Tenderly
  • Screen recipient via compliance MCP
  • Verify chain ID matches intended network
  • Confirm value ≤ $10,000 or obtain user confirmation

Key Security Rules

  • NEVER output, store, or transmit private keys or seed phrases
  • Use hardware wallets or secure enclaves for mainnet signing
  • Rotate session keys regularly; set expiry and spending caps
  • Prefer read-only RPC for balance queries

References

  • references/hd-paths.md — BIP-44 paths per chain
  • references/erc4337-setup.md — Smart account configuration
  • knowledge-base/chains/ — Per-chain RPC and explorer URLs

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.