1892/abstract/SKILL.md
Abstract L2 — Master skill hub for all Abstract blockchain capabilities. Provides a directory of 7 specialized skills for building on Abstract: connecting, deploying contracts, wallet integration, agent wallets, multisig, prediction markets, and onchain agent identity. Use when the user wants to build on Abstract, deploy contracts, set up wallets, create multisigs, integrate prediction markets, register agents onchain, or any Abstract L2 development task.
npx skillsauth add starchild-ai-agent/community-skills @1892/abstractInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Abstract is an Ethereum Layer 2 ZK rollup (ZK Stack) focused on consumer crypto applications. This master skill provides a directory of all Abstract-related capabilities and helps you pick the right one.

Network configuration — chain IDs, RPC endpoints, WebSocket URLs, block explorers, and deployed contract addresses for Abstract mainnet and testnet.
Use when: Configuring clients, wallets, or dev environments. Questions about Abstract RPC URLs, chain IDs (2741/11124), testnet config, Abscan explorer, or importing abstract/abstractTestnet from viem/chains.
Key info:
| Property | Mainnet | Testnet |
|----------|---------|---------|
| Chain ID | 2741 | 11124 |
| Explorer | https://abscan.org | https://sepolia.abscan.org |
Deploy smart contracts using Foundry (default) or Hardhat. Covers zksolc compilation, deployment, Abscan verification, and testnet faucets.
Use when: Deploying or compiling contracts on Abstract, using forge build --zksync, forge create --zksync, anvil-zksync, or working with the zkSync compiler.
Key note: Abstract uses ZK Stack VM — must compile with zksolc, not standard solc. All forge commands need --zksync flag. Compiled output goes to zkout/.
Integrate Abstract Global Wallet (AGW) into React applications — email/social/passkey login, smart contract wallet, session keys, gas sponsorship.
Use when: Building a React app where end users log in and transact. Working with AbstractWalletProvider, useLoginWithAbstract, useAbstractClient, useWriteContractSponsored, agw-react, agw-client, or create-abstract-app.
Quick start: npx @abstract-foundation/create-abstract-app@latest my-app
AI agent wallet capabilities via the Abstract Global Wallet MCP server — read chain data, check balances, and send transactions on behalf of users.
Use when: Setting up agw-mcp for AI agent access to Abstract, giving agents wallet capabilities, or building MCP-powered agent workflows that interact with Abstract chain data.
Decision guide:
| Scenario | Use |
|----------|-----|
| End-user facing React app with login | abstract-global-wallet |
| AI agent needs to read/transact on-chain | using-agw-mcp |
Safe multi-signature wallets — deploy Safes, configure owners and thresholds, propose and execute multi-sig transactions.
Use when: Creating multisig wallets on Abstract, managing shared custody (treasury, team, DAO), working with Safe Protocol Kit, SafeL2, SafeProxyFactory, or the safe.abs.xyz web interface.
Myriad Protocol prediction markets — REST API for market data, polkamarkets-js SDK for trading outcome shares, builder revenue sharing via referralBuy.
Use when: Working with Myriad API, prediction markets on Abstract, trading/buying/selling prediction shares, builder codes, referralBuy, claiming winnings, or Myriad contract addresses.
Architecture: | Layer | Tool | Use For | |-------|------|---------| | Read-only data | REST API V2 | Market listings, prices, charts, portfolio | | Trading | polkamarkets-js SDK | Buy/sell shares, claim winnings, ERC-20 approvals |
ERC-8004 onchain identity and reputation — register AI agents, track reputation, discover agents on Abstract.
Use when: Registering an agent onchain, querying agent reputation, giving feedback, working with IdentityRegistry or ReputationRegistry on Abstract, or onchain agent identity.
| Task | Recommended Skill |
|------|-------------------|
| Connect a wallet/app to Abstract | connecting-to-abstract |
| Deploy a smart contract | deploying-contracts-on-abstract |
| Build a React app with user login | abstract-global-wallet |
| Give an AI agent wallet access | using-agw-mcp |
| Set up a team multisig | safe-multisig-on-abstract |
| Integrate prediction markets | myriad-on-abstract |
| Register an agent onchain | erc8004-on-abstract |
| Scaffold a new Abstract project | Start here → choose from above |
For a brand new project, ask the user what they're building:
abstract-global-wallet (use create-abstract-app)deploying-contracts-on-abstract (Foundry with zksync)development
OpenSea API integration for NFT and token discovery, marketplace intelligence, and order/transaction workflows. Use when working with OpenSea data or trading flows (e.g. collection stats, trending collections/tokens, NFT metadata, listings/offers, swap quotes, transaction receipt polling).
development
Generate a warm, healing parallel-universe fairy tale (~1000 words) plus 3 cohesive storybook illustrations, themed "if this person had never been born, what would the world miss." Output is a polished HTML storybook that can be previewed and published. Use when the user wants a personalized "if I had never been born" / "如果我没出生" tale for a real person — input is a name, age, and 3 key life events. Great for birthdays, memorials, encouragement gifts, or healing keepsakes.
development
Onboard a user to Phala Cloud and deploy a verifiable Starchild TEE agent — a minimal FastAPI runtime running inside an Intel TDX confidential VM, plus a published chat dashboard with attestation verification. Use when the user wants to "try TEE", "run an agent in a confidential VM", "deploy to Phala", or replicate the internal Starchild TEE test setup.
tools
Trade on Polymarket prediction markets (CLOB V2) from a Privy EOA wallet. Search markets, place/cancel orders, manage positions. No private key handling. Use when the user wants to bet on event outcomes (e.g. "buy YES at 0.65 on the ceasefire market", "what are my open positions", "close my Trump bet").