/permit2:permit2-sdkfrom permit2
Uniswap Permit2 SDK for gasless token transfers in IndexedEx. Use when implementing swap/deposit/withdraw with signature-based or allowance-based authorization.
Ships in permit2. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Comprehensive guide for using Permit2 in the frontend for vault operations.
import { PERMIT2_ADDRESS, SignatureTransfer } from '@uniswap/permit2-sdk'
Gasless, no pre-approval needed beyond initial Permit2 allowance.
permit2-signature-transferPersistent approvals - user approves once, protocol spends repeatedly.
permit2-allowance-transfer| Exchange | Selector | Witness Data |
|---|---|---|
exchangeIn | 0x89d61912 | tokenIn, tokenOut, vault, amountIn |
exchangeOut | 0x612d4427 | tokenIn, tokenOut, vault, amountOut, maxAmountIn |
swapSingleTokenExactOut | (Balancer) | pool, tokenIn, tokenOut, amountOut |
permit2-nonce-managementpermit2-wagmi-integrationpermit2-typespermit2-addresses// Witness binds signature to this exact swap
const witness = {
actionId: keccak256(encodePacked(
['address', 'address', 'address', 'uint256'],
[tokenIn, tokenOut, vaultAddress, amountIn]
))
}
// Get permit data (EIP-712 ready)
const { domain, types, values } = SignatureTransfer.getPermitData(
permit, // amount, nonce, deadline
PERMIT2_ADDRESS,
chainId,
{ witness, witnessTypeName: 'Witness', witnessType: WITNESS_TYPE }
)
// User signs, then your contract calls Permit2
What SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/permit2-addressesCanonical Permit2 contract addresses by chain. Use when configuring multi-chain support./permit2-allowance-flowComplete approval flow with reset-to-zero pattern. Use when implementing full ERC20 and Permit2 approval workflow./permit2-allowance-transferUses AllowanceTransfer for persistent token approvals. Use when user grants recurring spend authority to the protocol.Other plugins' skills for the same job
/permit2-nonce-managementBitmap nonce patterns for Permit2 signature replay protection. Use when generating nonces for SignatureTransfer permits.permit2@cyotee is listed by cyotee/cyotee-claude-plugins — review the source before installing
npx claudepluginhub cyotee/cyotee-claude-plugins --plugin permit22 plugins ship this exact skill · first indexed Jul 20, 2026