abstract-global-wallet

abstract-global-wallet is a skill for Claude Code from Abstract-Foundation/abstract-skills. It costs 98 tokens per session (1,188 once invoked), scanned A, original, MIT.

A guide for adding Abstract Global Wallet to React applications. Abstract Global Wallet is a smart-contract wallet for the Abstract Ethereum network, with sign-in options such as email, social accounts, and passkeys.

In plain words
What is it for?
Use it when building React apps that need Abstract wallet login, contract wallets, session keys, sponsored transaction fees, or wallet-provider connections.
Why use it?
It explains how to add wallet sign-in and related wallet behavior without having to work out the integration from scattered documentation.

Skill for Claude Code

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

Part of the abstract-skills plugin — 7 skills, 1 command shipped together

Good fit Use it when building React apps that need Abstract wallet login, contract wallets, session keys, sponsored transaction fees, or wallet-provider connections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abstract-foundation/abstract-skills/abstract-global-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 Abstract-Foundation/abstract-skills --skill abstract-global-wallet
Clone the repo
git clone --depth 1 https://github.com/Abstract-Foundation/abstract-skills

Made for: Claude Code.

Or install abstract-skills, the plugin that ships this one along with the rest of its 7 skills, 1 command.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/abstract-foundation/abstract-skills/abstract-global-wallet"><img src="https://agentmods.dev/badge/skills/abstract-foundation/abstract-skills/abstract-global-wallet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,188 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.00098 $0.01188
Opus 5 $0.00049 $0.00594
Sonnet 5 $0.00020 $0.00238
Haiku 4.5 $0.00010 $0.00119

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

Security

Grade A, and why

abstract-global-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 11d 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/abstract-global-wallet/SKILL.md · 151 lines

How it starts

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

Abstract Global Wallet

AGW is Abstract's cross-application smart contract wallet. Users sign up once (email, social, passkey) and use it across all Abstract apps. Recommended over standard wallet connections for new Abstract apps — see the decision table below for when to consider alternatives.

For AI agent wallet access (not end-user facing), see the using-agw-mcp skill instead.

Quick Start (New Project)

npx @abstract-foundation/create-abstract-app@latest my-app

This scaffolds a React app with AGW pre-configured.

Quick Start (Existing React Project)

1. Install

npm install @abstract-foundation/agw-react @abstract-foundation/agw-client wagmi [email protected] @tanstack/react-query

viem must be 2.x. Using viem 1.x causes compatibility errors.

2. Wrap with provider

import { AbstractWalletProvider } from "@abstract-foundation/agw-react";
import { abstractTestnet } from "viem/chains"; // or abstract for mainnet

export default function App() {
  return (
    <AbstractWalletProvider chain={abstractTestnet}>
      {/* Your app */}
    </AbstractWalletProvider>
  );
}

3. Add login

import { useLoginWithAbstract } from "@abstract-foundation/agw-react";

export default function LoginButton() {
  const { login, logout } = useLoginWithAbstract();
  return <button onClick={login}>Login with Abstract</button>;
}

4. Send transactions

import { useAbstractClient } from "@abstract-foundation/agw-react";

export default function SendTx() {
  const { data: abstractClient } = useAbstractClient();

  async function send() {
    if (!abstractClient) return;
    const hash = await abstractClient.sendTransaction({
      to: "0x...",
      data: "0x...",
    });
  }

  return <button onClick={send}>Send</button>;
}

5. Sponsored transactions (gas-free for users)

import { useWriteContractSponsored } from "@abstract-foundation/agw-react";
import { getGeneralPaymasterInput } from "viem/zksync";

export default function SponsoredMint() {
  const { writeContractSponsored, isPending } = useWriteContractSponsored();

  return (
    <button
      disabled={isPending}
      onClick={() =>
        writeContractSponsored({
          abi: contractAbi,
          address: "0xContractAddress",
          functionName: "mint",
          args: ["0xRecipient", BigInt(1)],
          paymaster: "0xPaymasterAddress",
          paymasterInput: getGeneralPaymasterInput({ innerInput: "0x" }),
        })
      }
    >
      Mint (Gas Free)
    </button>
  );
}

Read the full file on GitHub · 151 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. 11d ago First seen · 151 lines · 98 tokens per session scan A a51a0947f7b7

Subscribe to this mod's changes

abstract-global-wallet is a skill published in the GitHub repository Abstract-Foundation/abstract-skills (10 stars, last pushed 6mo ago), licensed MIT. It adds 98 tokens to every session and 1,188 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-31.

Related

Other skills, from other repositories

onchainkit

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

alsk1992/CloddsBot · 24 tokens

adopting-generated-api-types

Use when migrating frontend code from manual API client calls (api.get, api.create, api.surveys.get, api.dashboards.list, new ApiRequest()) and handwritten TypeScript interfaces to generated API functions and types. Triggers on files importing from lib/api, files with api.get . , manual interface definitions that…

PostHog/posthog · 131 tokens

dapp-frontend-patterns

Use when building dApp frontends with wagmi v2 and viem. Covers useReadContract, useWriteContract, useSimulateContract, useWaitForTransactionReceipt, wallet connection (RainbowKit), chain switching, and ENS resolution.

ccashwell/evm-cortex · 56 tokens

scaffold-eth-patterns

Use when building with Scaffold-ETH 2. Covers project structure, custom hooks (useScaffoldReadContract, useScaffoldWriteContract), debug page, deploying contracts, hot reload, and wagmi integration.

ccashwell/evm-cortex · 50 tokens

crypto-market-dashboard-guide

Guide to building a real-time crypto market dashboard with Next.js, React, and TradingView charts. Features multi-chain portfolio tracking, DeFi position monitoring, price alerts, and social sentiment integration. Production-ready dashboard template.

nirholas/three.ws · 49 tokens

solana-v1

Solana dApp UI with kit and web3.js. Use when wallet connect, transactions, or Solana address validation in React/Next.js.

blockmatic/basilic · 35 tokens