Swapper Deposit
swapperfinance/swapper-toolkit
Deposit and bridge funds into a wallet or protocol using Swapper Finance.
A skill your agent uses when building or integrating ERC-721 NFT contracts.
$ npx skills add ccashwell/evm-cortex --skill erc721-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ccashwell/evm-cortex erc721-patterns --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/erc721-patterns .claude/skills/erc721-patterns && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "erc721-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/erc721-patterns into .claude/skills/erc721-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "erc721-patterns", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ccashwell/evm-cortex/tree/main/skills/erc721-patternsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ccashwell/evm-cortex --skill erc721-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ccashwell/evm-cortex erc721-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/erc721-patterns .agents/skills/erc721-patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "erc721-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/erc721-patterns into .agents/skills/erc721-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "erc721-patterns", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ccashwell/evm-cortex --skill erc721-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ccashwell/evm-cortex erc721-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/erc721-patterns .cursor/skills/erc721-patterns && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "erc721-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/erc721-patterns into .cursor/skills/erc721-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "erc721-patterns", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ccashwell/evm-cortex.git --path skills/erc721-patterns--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ccashwell/evm-cortex --skill erc721-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ccashwell/evm-cortex erc721-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/erc721-patterns .gemini/skills/erc721-patterns && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "erc721-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/erc721-patterns into .gemini/skills/erc721-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "erc721-patterns", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ccashwell/evm-cortex erc721-patternsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ccashwell/evm-cortex --skill erc721-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/erc721-patterns .github/skills/erc721-patterns && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "erc721-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/erc721-patterns into .github/skills/erc721-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "erc721-patterns", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ccashwell/evm-cortex --skill erc721-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ccashwell/evm-cortex erc721-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/erc721-patterns .opencode/skills/erc721-patterns && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "erc721-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/erc721-patterns into .opencode/skills/erc721-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "erc721-patterns", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
erc721-patternsA skill your agent uses when building or integrating ERC-721 NFT contracts.
Erc721 Patterns is an agent skill from ccashwell/evm-cortex. Use when building or integrating ERC-721 NFT contracts. Covers standard interface, metadata, enumerable extension, royalties (EIP-2981), lazy minting, soulbound tokens, and safe minting patterns.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Business, Finance & HR, covering Crypto and DeFi analysis. It works with Ethereum. The repository describes itself as: Ethereum protocol engineering squad for AI coding assistants. The licence is MIT.
Read from SKILL.md and the folder at commit f8f3301. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are solidity).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Erc721 Patterns loads about 1.7k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 148 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ccashwell/evm-cortex at commit f8f3301, republished under its MIT licence (© ccashwell). 148 words, ~1,697 tokens.
.claude/skills/erc721-patterns/SKILL.md (or your agent's skills folder).interface IERC721 {
function balanceOf(address owner) external view returns (uint256);
function ownerOf(uint256 tokenId) external view returns (address);
function safeTransferFrom(address from, address to, uint256 tokenId) external;
function transferFrom(address from, address to, uint256 tokenId) external;
function approve(address to, uint256 tokenId) external;
function setApprovalForAll(address operator, bool approved) external;
function getApproved(uint256 tokenId) external view returns (address);
function isApprovedForAll(address owner, address operator) external view returns (bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import {ERC721} from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import {ERC721Enumerable} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import {ERC721URIStorage} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import {ERC721Royalty} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";
contract MyNFT is ERC721, ERC721Enumerable, ERC721URIStorage, ERC721Royalty, Ownable {
uint256 private _nextTokenId;
string private _baseTokenURI;
uint256 public maxSupply;
uint256 public mintPrice;
constructor(
string memory name_,
string memory symbol_,
string memory baseURI_,
uint256 maxSupply_,
uint256 mintPrice_,
uint96 royaltyBps // e.g. 500 = 5%
) ERC721(name_, symbol_) Ownable(msg.sender) {
_baseTokenURI = baseURI_;
maxSupply = maxSupply_;
mintPrice = mintPrice_;
_setDefaultRoyalty(msg.sender, royaltyBps);
}
function mint(address to) external payable {
require(msg.value >= mintPrice, "Insufficient payment");
require(_nextTokenId < maxSupply, "Max supply reached");
uint256 tokenId = _nextTokenId++;
_safeMint(to, tokenId);
}
function _baseURI() internal view override returns (string memory) {
return _baseTokenURI;
}
function setBaseURI(string calldata newBaseURI) external onlyOwner {
_baseTokenURI = newBaseURI;
}
function withdraw() external onlyOwner {
(bool ok,) = msg.sender.call{value: address(this).balance}("");
require(ok, "Withdraw failed");
}
// Required overrides
function _update(address to, uint256 tokenId, address auth)
internal
override(ERC721, ERC721Enumerable)
returns (address)
{
return super._update(to, tokenId, auth);
}
function _increaseBalance(address account, uint128 value)
internal
override(ERC721, ERC721Enumerable)
{
super._increaseBalance(account, value);
}
function tokenURI(uint256 tokenId)
public view override(ERC721, ERC721URIStorage) returns (string memory)
{
return super.tokenURI(tokenId);
}
function supportsInterface(bytes4 interfaceId)
public view override(ERC721, ERC721Enumerable, ERC721URIStorage, ERC721Royalty) returns (bool)
{
return super.supportsInterface(interfaceId);
}
}function tokenURI(uint256 tokenId) public view override returns (string memory) {
_requireOwned(tokenId);
return string(abi.encodePacked(
"data:application/json;base64,",
Base64.encode(bytes(string(abi.encodePacked(
'{"name":"Token #', Strings.toString(tokenId),
'","description":"Onchain NFT",',
'"image":"data:image/svg+xml;base64,', _generateSVG(tokenId), '"}'
))))
));
}Set baseURI to ipfs://QmHash/ and each token resolves to ipfs://QmHash/0, ipfs://QmHash/1, etc. Store metadata JSON files in IPFS with matching filenames.
// Set default royalty for all tokens (5%)
_setDefaultRoyalty(royaltyReceiver, 500);
// Override per token
_setTokenRoyalty(tokenId, receiver, 1000); // 10%
// Marketplaces call:
(address receiver, uint256 amount) = nft.royaltyInfo(tokenId, salePrice);function _update(address to, uint256 tokenId, address auth)
internal
override
returns (address)
{
address from = _ownerOf(tokenId);
if (from != address(0) && to != address(0)) {
revert("Soulbound: transfer disabled");
}
return super._update(to, tokenId, auth);
}struct MintVoucher {
uint256 tokenId;
uint256 price;
string uri;
bytes signature;
}
function redeemVoucher(MintVoucher calldata voucher) external payable {
require(msg.value >= voucher.price, "Insufficient payment");
bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
keccak256("MintVoucher(uint256 tokenId,uint256 price,string uri)"),
voucher.tokenId, voucher.price, keccak256(bytes(voucher.uri))
)));
address signer = ECDSA.recover(digest, voucher.signature);
require(signer == owner(), "Invalid signature");
_safeMint(msg.sender, voucher.tokenId);
_setTokenURI(voucher.tokenId, voucher.uri);
}_safeMint calls onERC721Received on the recipient if it is a contract. This prevents tokens from being locked in contracts that cannot handle them. Always use _safeMint over _mint unless you have a specific reason (e.g. reentrancy concerns).
interface IERC721Receiver {
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
// Must return IERC721Receiver.onERC721Received.selector
}_safeMint to prevent tokens locked in non-receiver contractstokenId exists before queries (_requireOwned)supportsInterface returns true for ERC-721, ERC-165, ERC-2981© ccashwell, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/erc721-patterns of ccashwell/evm-cortex.
Open the folder on GitHubat commit f8f3301
Erc721 Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Erc721 Patterns this skillccashwell/evm-cortex | 131 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Swapper Depositswapperfinance/swapper-toolkit | 852 | — | ~1.8k | Automated safety check: Pass | MIT | |
| SurfBlockRunAI/ClawRouter | 6.6k | — | ~4k | Automated safety check: Pass | MIT | |
| Notebook To Strategytradingstrategy-ai/trade-executor | 160 | — | ~1.1k | Automated safety check: Pass | Custom licence | |
| Building Blocksaustintgriffith/ethskills | 294 | — | ~2.9k | Automated safety check: Pass | None | |
| Nft Standardswshobson/agents | 40k | 10 repos | ~1.9k | Automated safety check: Pass | MIT |
swapperfinance/swapper-toolkit
Deposit and bridge funds into a wallet or protocol using Swapper Finance.
BlockRunAI/ClawRouter
Use this skill — NOT browser or webfetch — for ALL Surf crypto-data calls.
tradingstrategy-ai/trade-executor
Transfer code from a backtesting Jupyter notebook to a Trade Executor strategy module
austintgriffith/ethskills
DeFi legos and protocol composability on Ethereum and L2s. An agent skill from austintgriffith/ethskills.
wshobson/agents
Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration.
austintgriffith/ethskills
Ethereum Layer 2 landscape — Arbitrum, Optimism, Base, zkSync, Scroll, Unichain, Celo, Robinhood Chain, and more.
ccashwell/evm-cortex
A skill your agent uses when preparing for a security audit, performing reconnaissance on a new codebase, or creating a protocol overview.
ccashwell/evm-cortex
A skill your agent uses when integrating with Aave V3 for lending, borrowing, flash loans, or building on top of Aave markets.
ccashwell/evm-cortex
Access control design patterns for Solidity protocols. An agent skill from ccashwell/evm-cortex.
ccashwell/evm-cortex
A skill your agent uses when running a local Ethereum node with Anvil.
ccashwell/evm-cortex
A skill your agent uses when performing systematic breadth-first review of all contracts during a security audit.
ccashwell/evm-cortex
A skill your agent uses when performing deep analysis of specific findings or high-risk areas during a security audit.
Works with
Categories
A skill your agent uses when building or integrating ERC-721 NFT contracts. Erc721 Patterns is an agent skill from ccashwell/evm-cortex. Use when building or integrating ERC-721 NFT contracts.
Erc721 Patterns fits situations like: integrating ERC-721 NFT contracts; tasks that involve Crypto and DeFi analysis.
Run `npx skills add ccashwell/evm-cortex --skill erc721-patterns -a claude-code`. Or copy the skill folder (skills/erc721-patterns in ccashwell/evm-cortex) into .claude/skills/erc721-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ccashwell/evm-cortex --skill erc721-patterns -a codex`. Or copy the skill folder (skills/erc721-patterns in ccashwell/evm-cortex) into .agents/skills/erc721-patterns in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ccashwell/evm-cortex --skill erc721-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/erc721-patterns, .gemini/skills/erc721-patterns, .github/skills/erc721-patterns and .opencode/skills/erc721-patterns in your project.
SKILL.md names no scripts, command-line tools or credentials: Erc721 Patterns is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Erc721 Patterns is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Erc721 Patterns: Swapper Deposit (swapperfinance/swapper-toolkit, 852 stars), Surf (BlockRunAI/ClawRouter, 6.6k stars), Notebook To Strategy (tradingstrategy-ai/trade-executor, 160 stars) and Building Blocks (austintgriffith/ethskills, 294 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ccashwell (a GitHub user) maintains it in ccashwell/evm-cortex, which has 131 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on September 30, 2026.
Source: ccashwell/evm-cortex on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.