Clanker
BankrBot/skills
Deploy ERC20 tokens on Base, Ethereum, Arbitrum, and other EVM chains using the Clanker SDK.
A skill your agent uses when deploying contracts to L2 networks (Base, Optimism, Arbitrum).
$ npx skills add ccashwell/evm-cortex --skill l2-deployment -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ccashwell/evm-cortex l2-deployment --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/l2-deployment .claude/skills/l2-deployment && 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 "l2-deployment" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/l2-deployment into .claude/skills/l2-deployment/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "l2-deployment", 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/l2-deploymentType 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 l2-deployment -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ccashwell/evm-cortex l2-deployment --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/l2-deployment .agents/skills/l2-deployment && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "l2-deployment" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/l2-deployment into .agents/skills/l2-deployment/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "l2-deployment", 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 l2-deployment -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ccashwell/evm-cortex l2-deployment --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/l2-deployment .cursor/skills/l2-deployment && 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 "l2-deployment" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/l2-deployment into .cursor/skills/l2-deployment/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "l2-deployment", 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/l2-deployment--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 l2-deployment -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ccashwell/evm-cortex l2-deployment --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/l2-deployment .gemini/skills/l2-deployment && 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 "l2-deployment" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/l2-deployment into .gemini/skills/l2-deployment/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "l2-deployment", 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 l2-deploymentInstalls 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 l2-deployment -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/l2-deployment .github/skills/l2-deployment && 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 "l2-deployment" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/l2-deployment into .github/skills/l2-deployment/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "l2-deployment", 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 l2-deployment -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 l2-deployment --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/l2-deployment .opencode/skills/l2-deployment && 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 "l2-deployment" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/l2-deployment into .opencode/skills/l2-deployment/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "l2-deployment", 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.
l2-deploymentA skill your agent uses when deploying contracts to L2 networks (Base, Optimism, Arbitrum).
L2 Deployment is an agent skill from ccashwell/evm-cortex. Use when deploying contracts to L2 networks (Base, Optimism, Arbitrum). Covers L2-specific considerations, PUSH0 compatibility, gas estimation, L1 data costs, bridge integration, and deployment scripts.
Its SKILL.md is about 1.6k 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 DevOps & Cloud, covering Deployment. It works with Arbitrum and 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, toml and bash).
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 these keys or tokens, usually read from environment variables:
DEPLOYER_PRIVATE_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
L2 Deployment loads about 1.6k tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 235 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). 235 words, ~1,621 tokens.
.claude/skills/l2-deployment/SKILL.md (or your agent's skills folder).L2 transaction cost = L2 execution gas + L1 data posting cost
| Operation | L1 (Ethereum) | L2 (Base/OP/Arb) | Savings |
|---|---|---|---|
| ETH transfer | ~$0.50 | ~$0.0003 | 99.9% |
| ERC-20 transfer | ~$2.00 | ~$0.001 | 99.9% |
| Uniswap swap | ~$8.00 | ~$0.002-0.003 | 99.9% |
| NFT mint | ~$5.00 | ~$0.002 | 99.9% |
| Contract deploy | ~$50-500 | ~$0.05-0.50 | 99% |
Post-EIP-4844 (blobs), L1 data costs dropped 10-100x for L2s.
PUSH0 was introduced in the Shanghai upgrade (EVM version). Some L2s may lag behind on EVM version support:
# foundry.toml — set EVM version explicitly for L2
[profile.default]
evm_version = "cancun" # Base, Optimism, Arbitrum all support cancun
# If targeting an L2 that doesn't support cancun:
# evm_version = "paris" # No PUSH0| Chain | Block Time | Implication |
|---|---|---|
| Ethereum | ~12s | Standard |
| Base | 2s | Faster confirmations |
| Optimism | 2s | Faster confirmations |
| Arbitrum | ~0.25s | Near-instant |
Avoid hardcoding time assumptions based on block numbers.
// Optimism / Base predeploys (same addresses on all OP Stack chains)
address constant L2_CROSS_DOMAIN_MESSENGER = 0x4200000000000000000000000000000000000007;
address constant L2_STANDARD_BRIDGE = 0x4200000000000000000000000000000000000010;
address constant L2_TO_L1_MESSAGE_PASSER = 0x4200000000000000000000000000000000000016;
address constant WETH = 0x4200000000000000000000000000000000000006;
address constant L1_BLOCK = 0x4200000000000000000000000000000000000015;
address constant GAS_PRICE_ORACLE = 0x420000000000000000000000000000000000000F;
// Arbitrum system addresses
address constant ARB_SYS = 0x0000000000000000000000000000000000000064;
address constant ARB_RETRYABLE_TX = 0x000000000000000000000000000000000000006E;// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import {Script, console2} from "forge-std/Script.sol";
import {MyProtocol} from "../src/MyProtocol.sol";
contract DeployL2 is Script {
struct L2Config {
string rpcAlias;
uint256 chainId;
address weth;
address usdc;
}
function getConfigs() internal pure returns (L2Config[] memory) {
L2Config[] memory configs = new L2Config[](3);
configs[0] = L2Config({
rpcAlias: "base",
chainId: 8453,
weth: 0x4200000000000000000000000000000000000006,
usdc: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
});
configs[1] = L2Config({
rpcAlias: "optimism",
chainId: 10,
weth: 0x4200000000000000000000000000000000000006,
usdc: 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85
});
configs[2] = L2Config({
rpcAlias: "arbitrum",
chainId: 42161,
weth: 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1,
usdc: 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
});
return configs;
}
function run() external {
uint256 deployerKey = vm.envUint("DEPLOYER_PRIVATE_KEY");
L2Config[] memory configs = getConfigs();
for (uint256 i = 0; i < configs.length; i++) {
L2Config memory cfg = configs[i];
console2.log("Deploying to chain:", cfg.chainId);
vm.createSelectFork(cfg.rpcAlias);
vm.startBroadcast(deployerKey);
MyProtocol protocol = new MyProtocol(cfg.weth, cfg.usdc);
console2.log(" Deployed at:", address(protocol));
vm.stopBroadcast();
}
}
}# Deploy to all L2s
forge script script/DeployL2.s.sol --broadcast --multi --verifyOn OP Stack chains (Base, Optimism), query the gas price oracle:
interface IGasPriceOracle {
function getL1Fee(bytes memory data) external view returns (uint256);
function getL1GasUsed(bytes memory data) external view returns (uint256);
}
IGasPriceOracle oracle = IGasPriceOracle(0x420000000000000000000000000000000000000F);
uint256 l1Fee = oracle.getL1Fee(txData);On Arbitrum, L1 data costs are embedded in the gas price.
interface IL2StandardBridge {
function bridgeETHTo(address to, uint32 minGasLimit, bytes calldata extraData) external payable;
function bridgeERC20To(
address localToken, address remoteToken,
address to, uint256 amount, uint32 minGasLimit, bytes calldata extraData
) external;
}
// Bridge ETH from L2 to L1
IL2StandardBridge(0x4200000000000000000000000000000000000010).bridgeETHTo{value: amount}(
recipient, 200_000, ""
);interface IArbSys {
function withdrawEth(address destination) external payable returns (uint256);
function sendTxToL1(address destination, bytes calldata data) external payable returns (uint256);
}
// Withdraw ETH from Arbitrum to L1
IArbSys(0x0000000000000000000000000000000000000064).withdrawEth{value: amount}(recipient);function setUp() public {
vm.createSelectFork("base", 20_000_000);
}
function test_swapOnBase() public {
address whale = 0x...; // Known USDC holder on Base
vm.startPrank(whale);
// Interact with real Base contracts
vm.stopPrank();
}evm_version in foundry.toml for target L2© 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/l2-deployment of ccashwell/evm-cortex.
Open the folder on GitHubat commit f8f3301
L2 Deployment 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 |
|---|---|---|---|---|---|---|
| L2 Deployment this skillccashwell/evm-cortex | 131 | — | ~1.6k | Automated safety check: Pass | MIT | |
| ClankerBankrBot/skills | 1.2k | 1 repos | ~3k | Automated safety check: Notes | None | |
| OrlixBankrBot/skills | 1.2k | — | ~2.7k | Automated safety check: Pass | None | |
| Ophis Swaphashgraph-online/awesome-codex-plugins | 1.2k | — | ~3.3k | Automated safety check: Pass | Apache-2.0 | |
| Juicebox V6BankrBot/skills | 1.2k | — | ~1.5k | Automated safety check: Pass | MIT | |
| Build On Basebase/skills | 121 | — | ~804 | Automated safety check: Pass | MIT |
BankrBot/skills
Deploy ERC20 tokens on Base, Ethereum, Arbitrum, and other EVM chains using the Clanker SDK.
BankrBot/skills
Personal AI Operating System on Base. An agent skill from BankrBot/skills.
hashgraph-online/awesome-codex-plugins
A skill your agent uses when the user wants to swap, trade, buy, sell, or convert tokens onchain, get a best-execution swap quote, compare a swap against DEX aggregators, or read wallet balances…
BankrBot/skills
Build, inspect, configure, and safely transact with Juicebox V6 projects, terminals, rulesets, hooks, tiered NFTs, Revnets, Croptop, Bendystraw, and omnichain deployments.
base/skills
Complete Base development playbook. An agent skill from base/skills.
austintgriffith/ethskills
How an AI agent plans, builds, and deploys a complete Ethereum dApp.
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.
Categories
A skill your agent uses when deploying contracts to L2 networks (Base, Optimism, Arbitrum). L2 Deployment is an agent skill from ccashwell/evm-cortex. Use when deploying contracts to L2 networks (Base, Optimism, Arbitrum).
L2 Deployment fits situations like: deploying contracts to L2 networks (Base; tasks that involve Deployment.
Run `npx skills add ccashwell/evm-cortex --skill l2-deployment -a claude-code`. Or copy the skill folder (skills/l2-deployment in ccashwell/evm-cortex) into .claude/skills/l2-deployment in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ccashwell/evm-cortex --skill l2-deployment -a codex`. Or copy the skill folder (skills/l2-deployment in ccashwell/evm-cortex) into .agents/skills/l2-deployment 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 l2-deployment -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/l2-deployment, .gemini/skills/l2-deployment, .github/skills/l2-deployment and .opencode/skills/l2-deployment in your project.
Going by SKILL.md and its folder, L2 Deployment needs credentials named DEPLOYER_PRIVATE_KEY. Our summary lists: A credential in DEPLOYER_PRIVATE_KEY.
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.
L2 Deployment 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.6k tokens (SKILL.md is roughly 6.5k 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 L2 Deployment: Clanker (BankrBot/skills, 1.2k stars), Orlix (BankrBot/skills, 1.2k stars), Ophis Swap (hashgraph-online/awesome-codex-plugins, 1.2k stars) and Juicebox V6 (BankrBot/skills, 1.2k 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.