token-minter — Claude Code skill: what it does, how to install
token-minter generates OpenZeppelin ERC20 smart contracts, compiles them with Foundry, and deploys to EVM networks like Sepolia. Useful when launching a token via an AI agent.
MIT 158 installs ★ 39 updated 2026-05-04
npx skills add kukapay/crypto-skills --skill token-minter -a claude-codeWhat token-minter does
The skill gathers token details from the user: name, symbol, decimals (default: 18), and initial supply (default: 1000000). It then triggers scripts/generate_contract.py to write an OpenZeppelin-compatible ERC20 Solidity file.
Next, it initializes a temporary Foundry workspace under ./tmp/, adds OpenZeppelin/openzeppelin-contracts, and compiles the contract with forge build. Deployment runs via forge create against an EVM RPC URL, such as https://ethereum-sepolia.publicnode.com.
Without Foundry installed and an account created via cast wallet new holding gas funds, the process will fail at the broadcast step.
What it helps with
- generate standard ERC20 contract code with custom token parameters
- deploy an ERC20 token to the Sepolia testnet using Foundry
- compile OpenZeppelin contracts inside a temporary build directory
Example prompts for the agent
- Create and deploy an ERC20 token named MyToken with symbol MTK on Sepolia.
- Generate an ERC20 smart contract with 6 decimals and prepare the Foundry build.
How to install token-minter
1Skills CLI (Vercel)
npx skills add kukapay/crypto-skills --skill token-minter -a claude-code2Manually: put the files in place
~/.claude/skills/token-minter/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/token-minter/
1Skills CLI (Vercel)
npx skills add kukapay/crypto-skills --skill token-minter -a codex2Manually: put the files in place
.agents/skills/token-minter/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add kukapay/crypto-skills --skill token-minter -a cursor2Manually: put the files in place
.cursor/skills/token-minter/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install kukapay/crypto-skills skills/token-minter2Manually: put the files in place
.github/skills/token-minter/SKILL.md1Skills CLI (Vercel)
npx skills add kukapay/crypto-skills --skill token-minter -a gemini-cli2Platform CLI
gemini skills install https://github.com/kukapay/crypto-skills --path skills/token-minterManually: put the files in place
.devin/skills/token-minter/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add kukapay/crypto-skills --skill token-minter -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about token-minter
How to install token-minter in Claude Code?
Run npx skills add kukapay/crypto-skills --skill token-minter -a claude-code in your terminal.
What does token-minter do?
It orchestrates ERC20 Solidity contract generation, Foundry project compilation, and EVM network deployment.
What prerequisites are needed before running the deployment?
You need Foundry (forge and cast), a local wallet configured with cast wallet new, and sufficient funds for network gas fees.
Source text
SKILL.md · MIT
--- name: token-minter description: Generate, build, and deploy custom ERC20 tokens on EVM networks. Use when users want to create and deploy their own ERC20 tokens with custom parameters like name, symbol, decimals, and initial supply. Supports deployment to various networks including Sepolia testnet and requires Foundry (forge/cast) for blockchain interactions. --- # Token Minter ## Overview This skill enables users to create custom ERC20 tokens by collecting parameters, generating Solidity code, setting up a Foundry project, building the contract, and deploying to a target EVM network. ## Workflow ### Step 1: Collect Information Collect the following parameters from the user: - Token name (e.g., "MyToken") - Token symbol (e.g., "MTK") - Decimals (default: 18) - Initial supply (default: 1000000) - Target network (default: sepolia) ### Step 2: Generate ERC20 Contract Use the provided script to generate the ERC20 contract code based on user parameters. - Run `python scripts/generate_contract.py <name> <symbol> <decimals> <initial_supply>` to generate the contract - The generated contract uses OpenZeppelin ERC20 standard ### Step 3: Initialize Forge Project - Create a temporary directory under `./tmp/` - Initialize a new Foundry project: `forge init` - Place the generated contract in `src/Contract.sol` ### Step 4: Build Contract - Install dependencies: `forge install OpenZeppelin/openzeppelin-contracts` - Build the contract: `forge build` ### Step 5: Deploy to Network - Ensure a local cast wallet is created (prerequisite) - Get RPC URL for target network from https://chainlist.org/rpcs.json - Find the network entry and use a reliable HTTPS RPC URL - For Sepolia: typically "https://ethereum-sepolia.publicnode.com" or similar - Deploy using: `forge create --rpc-url <network_rpc> --account <account_name> src/Contract.sol:MyToken --constructor-args <initial_supply> --broadcast` - Verify deployment on the target network ## Prerequisites - Foundry installed (forge, cast commands available) - Local cast wallet created with `cast wallet new` - Sufficient funds on the deployment account for gas fees ## Resources ### scripts/ - `generate_contract.py`: Python script to generate ERC20 contract code with custom parameters ### references/ - `erc20_guide.md`: Overview of ERC20 standard, required functions, events, and deployment considerations ### assets/ - `ERC20Template.sol`: Template Solidity file for ERC20 contract generation
© kukapay · MIT · kukapay/crypto-skills