NEAR Intents Swap Integration
internet-court/internet-court-skill
Builds cross-chain token swaps and bridge flows with the NEAR Intents 1Click API: quotes, deposit addresses, per-chain deposits and status polling.
A skill your agent uses when running a local Ethereum node with Anvil.
$ npx skills add ccashwell/evm-cortex --skill anvil-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ccashwell/evm-cortex anvil-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/anvil-patterns .claude/skills/anvil-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 "anvil-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/anvil-patterns into .claude/skills/anvil-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anvil-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/anvil-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 anvil-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ccashwell/evm-cortex anvil-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/anvil-patterns .agents/skills/anvil-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 "anvil-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/anvil-patterns into .agents/skills/anvil-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anvil-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 anvil-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ccashwell/evm-cortex anvil-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/anvil-patterns .cursor/skills/anvil-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 "anvil-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/anvil-patterns into .cursor/skills/anvil-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anvil-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/anvil-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 anvil-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ccashwell/evm-cortex anvil-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/anvil-patterns .gemini/skills/anvil-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 "anvil-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/anvil-patterns into .gemini/skills/anvil-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anvil-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 anvil-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 anvil-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/anvil-patterns .github/skills/anvil-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 "anvil-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/anvil-patterns into .github/skills/anvil-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anvil-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 anvil-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 anvil-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/anvil-patterns .opencode/skills/anvil-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 "anvil-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/anvil-patterns into .opencode/skills/anvil-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anvil-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.
anvil-patternsA skill your agent uses when running a local Ethereum node with Anvil.
Anvil Patterns is an agent skill from ccashwell/evm-cortex. Use when running a local Ethereum node with Anvil. Covers forking, impersonation, mining modes, state snapshots, storage manipulation, RPC methods, and chain configuration.
Its SKILL.md is about 1.3k 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 Backend & APIs. 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 bash and 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.
Anvil Patterns loads about 1.3k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 188 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). 188 words, ~1,345 tokens.
.claude/skills/anvil-patterns/SKILL.md (or your agent's skills folder).# Start default local node (8545)
anvil
# Custom port and chain ID
anvil --port 8546 --chain-id 31337
# With specific number of accounts and balance
anvil --accounts 20 --balance 10000
# Specific mnemonic (reproducible addresses)
anvil --mnemonic "test test test test test test test test test test test junk"
# Specific block base fee
anvil --block-base-fee-per-gas 0Fork mainnet or any chain at the current or a specific block:
# Fork mainnet (latest block)
anvil --fork-url $ETH_RPC_URL
# Fork at specific block (reproducible state)
anvil --fork-url $ETH_RPC_URL --fork-block-number 18000000
# Fork Base
anvil --fork-url $BASE_RPC_URL --chain-id 8453
# Fork with retry and rate limiting
anvil --fork-url $ETH_RPC_URL --fork-retry-backoff 3 --compute-units-per-second 100
# No storage caching (fresh state each time)
anvil --fork-url $ETH_RPC_URL --no-storage-cachingSend transactions as any address without its private key:
# Impersonate an address via RPC
cast rpc anvil_impersonateAccount 0xWhaleAddress
# Send tx as the impersonated address
cast send 0xToken "transfer(address,uint256)" 0xRecipient 1000000000000000000 \
--from 0xWhaleAddress --unlocked --rpc-url http://127.0.0.1:8545
# Stop impersonating
cast rpc anvil_stopImpersonatingAccount 0xWhaleAddressIn Foundry tests, use vm.prank() instead:
vm.prank(0xWhaleAddress);
token.transfer(recipient, amount);# Auto-mine (default): mine a block for each transaction
anvil
# Interval mining: mine every N seconds
anvil --block-time 12
# Manual mining: no auto-mining
anvil --no-mining
# Mine a single block manually
cast rpc evm_mine --rpc-url http://127.0.0.1:8545
# Mine N blocks
cast rpc anvil_mine 10 --rpc-url http://127.0.0.1:8545
# Mine with specific timestamp
cast rpc evm_mine "0x$(printf '%x' 1700000000)" --rpc-url http://127.0.0.1:8545# Set ETH balance
cast rpc anvil_setBalance 0xAddress "0xDE0B6B3A7640000" # 1 ETH in hex
# Set ERC-20 balance (write to storage slot directly)
# First find the balance slot: for most tokens, balanceOf mapping is slot 0 or slot 2
SLOT=$(cast index address 0xAddress 0)
cast rpc anvil_setStorageAt 0xTokenAddress $SLOT \
"0x0000000000000000000000000000000000000000000000000DE0B6B3A7640000"
# Set nonce
cast rpc anvil_setNonce 0xAddress "0x10"
# Set contract code
cast rpc anvil_setCode 0xAddress "0x608060405234..."
# Set block timestamp
cast rpc evm_setNextBlockTimestamp "0x$(printf '%x' $(date +%s))"
# Increase time by N seconds
cast rpc evm_increaseTime 3600 # +1 hourSave and restore chain state:
# Take snapshot (returns snapshot ID)
SNAP_ID=$(cast rpc evm_snapshot --rpc-url http://127.0.0.1:8545)
# ... make changes ...
# Revert to snapshot
cast rpc evm_revert $SNAP_ID --rpc-url http://127.0.0.1:8545| Method | Description |
|---|---|
anvil_impersonateAccount | Act as any address |
anvil_stopImpersonatingAccount | Stop impersonation |
anvil_setBalance | Set ETH balance |
anvil_setCode | Set contract bytecode |
anvil_setNonce | Set account nonce |
anvil_setStorageAt | Set storage slot |
anvil_mine | Mine N blocks |
anvil_reset | Reset fork to block |
anvil_dumpState | Dump full state |
anvil_loadState | Load state dump |
evm_snapshot | Snapshot state |
evm_revert | Revert to snapshot |
evm_setNextBlockTimestamp | Set next block time |
evm_increaseTime | Advance time |
evm_mine | Mine one block |
evm_setAutomine | Toggle auto-mining |
Persist local state across sessions:
# Dump state to file
cast rpc anvil_dumpState --rpc-url http://127.0.0.1:8545 > state.json
# Later, start anvil and load state
anvil &
cast rpc anvil_loadState "$(cat state.json)" --rpc-url http://127.0.0.1:8545# Terminal 1: Start fork
anvil --fork-url $ETH_RPC_URL --fork-block-number 18000000
# Terminal 2: Run tests against fork
forge test --fork-url http://127.0.0.1:8545
# Or script against fork
forge script script/Simulate.s.sol --fork-url http://127.0.0.1:8545// Fork in test setup
function setUp() public {
// fork mainnet at specific block
vm.createSelectFork("mainnet", 18_000_000);
}
function test_swapOnUniswap() public {
address whale = 0xWhaleAddress;
vm.startPrank(whale);
// ... interact with real mainnet contracts
vm.stopPrank();
}--fork-block-number) ensures reproducible tests--steps-tracing for detailed EVM execution tracesanvil --silent suppresses log output--host 0.0.0.0 makes anvil accessible from other machines/containers--block-time 1 with --no-mining for manual control with fallbackanvil_reset with --fork-url and --fork-block-number lets you re-fork without restart© 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/anvil-patterns of ccashwell/evm-cortex.
Open the folder on GitHubat commit f8f3301
Anvil 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 |
|---|---|---|---|---|---|---|
| Anvil Patterns this skillccashwell/evm-cortex | 131 | — | ~1.3k | Automated safety check: Pass | MIT | |
| NEAR Intents Swap Integrationinternet-court/internet-court-skill | 6.4k | 2 repos | ~939 | Automated safety check: Pass | Custom licence | |
| Deposit QrSuperior-Trade/superior-skills | 214 | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Explorer Contract Verificationsablier-labs/evm-monorepo | 353 | — | ~1.9k | Automated safety check: Pass | Custom licence | |
| Abi EncodingNethereum/Nethereum | 2.3k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Developing Smart ContractsLFDT-Lineth/lineth-monorepo | 126 | — | ~1.4k | Automated safety check: Pass | AGPL-3.0 |
internet-court/internet-court-skill
Builds cross-chain token swaps and bridge flows with the NEAR Intents 1Click API: quotes, deposit addresses, per-chain deposits and status polling.
Superior-Trade/superior-skills
A skill your agent uses when a user needs a QR code or wallet payment URI to fund a Superior-managed EVM wallet on a specific chain before using Lighter, Polymarket, Hyperliquid, or other Superior…
sablier-labs/evm-monorepo
Verify smart contracts on Etherscan, Routescan, and Blockscout block explorers.
Nethereum/Nethereum
Encode and decode Ethereum ABI data with Nethereum. An agent skill from Nethereum/Nethereum.
LFDT-Lineth/lineth-monorepo
Solidity smart contract development guidelines for Lineth blockchain.
LFDT-Lineth/lineth-monorepo
Triage unresolved bot review comments on a GitHub PR. An agent skill from LFDT-Lineth/lineth-monorepo.
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 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.
ccashwell/evm-cortex
A skill your agent uses when preparing a codebase for security audit.
Works with
Categories
A skill your agent uses when running a local Ethereum node with Anvil. Anvil Patterns is an agent skill from ccashwell/evm-cortex. Use when running a local Ethereum node with Anvil.
Anvil Patterns fits situations like: running a local Ethereum node with Anvil.
Run `npx skills add ccashwell/evm-cortex --skill anvil-patterns -a claude-code`. Or copy the skill folder (skills/anvil-patterns in ccashwell/evm-cortex) into .claude/skills/anvil-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ccashwell/evm-cortex --skill anvil-patterns -a codex`. Or copy the skill folder (skills/anvil-patterns in ccashwell/evm-cortex) into .agents/skills/anvil-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 anvil-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/anvil-patterns, .gemini/skills/anvil-patterns, .github/skills/anvil-patterns and .opencode/skills/anvil-patterns in your project.
SKILL.md names no scripts, command-line tools or credentials: Anvil 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.
Anvil 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.3k tokens (SKILL.md is roughly 5.4k 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 Anvil Patterns: NEAR Intents Swap Integration (internet-court/internet-court-skill, 6.4k stars), Deposit Qr (Superior-Trade/superior-skills, 214 stars), Explorer Contract Verification (sablier-labs/evm-monorepo, 353 stars) and Abi Encoding (Nethereum/Nethereum, 2.3k 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.