Agent skill

Smart Contract Generator

by Microck in Microck/ordinary-claude-skills

Generates Solidity smart contracts with security best practices (ERC-20, ERC-721, ERC-1155, custom).

Custom licenceAuto-check passedBackend & APIs

Install Smart Contract Generator

skills CLI
$ npx skills add Microck/ordinary-claude-skills --skill smart-contract-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Microck/ordinary-claude-skills smart-contract-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Microck/ordinary-claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills_all/smart-contract-generator .claude/skills/smart-contract-generator && rm -rf skills-src

Use ~/.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/

Facts

Skill name
smart-contract-generator
GitHub stars
401
Token cost
~2.8k tokens
SKILL.md length
173 words
Files
2
Skills in repo
97
Repo updated
First seen
Licence
Custom licence

At a glance

Generates Solidity smart contracts with security best practices (ERC-20, ERC-721, ERC-1155, custom).

  • Works in 10 steps: Determine Contract Type → Generate Contracts → Security Patterns → …
  • User asks to create smart contract
  • SKILL.md covers When to Use, Instructions, ERC-20 Token and ERC-721 NFT, plus 2 more sections
  • Calls npm and npx; needs PRIVATE_KEY and ETHERSCAN_API_KEY

What it does

Smart Contract Generator is an agent skill from Microck/ordinary-claude-skills. Generates Solidity smart contracts with security best practices (ERC-20, ERC-721, ERC-1155, custom). Use when user asks to "create smart contract", "solidity contract", "erc20 token", "nft contract", or "web3 contract".

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `metadata.json`).

It sits in Backend & APIs, covering Smart contracts and Crypto and DeFi analysis. It works with Ethereum and Solidity. The repository describes itself as: An unappealing collection of Claude Skills and resources.

When your agent uses it

  • User asks to create smart contract
  • Solidity contract

Example prompts

  • “create smart contract”
  • “solidity contract”
  • “erc20 token”
  • “/smart-contract-generator”

Requirements

  • Node.js
  • A credential in PRIVATE_KEY
  • A credential in ETHERSCAN_API_KEY
  • Pre-approved tools (allowed-tools): Write, Read

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. Determine Contract Type
  2. Generate Contracts
  3. Security Patterns
  4. Gas Optimization
  5. Testing Setup
  6. Deployment Script
  7. Configuration Files
  8. Best Practices
  9. Audit Checklist
  10. Documentation Template

What it can do on your machine

Read from SKILL.md and the folder at commit 1056d29. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Write
    • Read

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm and npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • PRIVATE_KEY
    • ETHERSCAN_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Smart Contract Generator loads about 2.8k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 173 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

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.

Safety

Auto-check passed

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.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 173 words (~2,770 tokens).

“Generates secure Solidity smart contracts following OpenZeppelin standards and best practices.”

— opening of SKILL.md by Microck, Custom licence
name
smart-contract-generator
allowed-tools
Write, Read

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in skills_all/smart-contract-generator of Microck/ordinary-claude-skills.

  • SKILL.md
  • metadata.json

Open the folder on GitHubat commit 1056d29

Compare with similar skills

Smart Contract Generator 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.

Smart Contract Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Smart Contract Generator this skillMicrock/ordinary-claude-skills401—~2.8kAutomated safety check: PassCustom licence
Ethskillsaustintgriffith/ethskills294—~1.4kAutomated safety check: PassNone
Ethskillsaustintgriffith/ethskills294—~3kAutomated safety check: PassNone
Developing Smart ContractsLFDT-Lineth/lineth-monorepo126—~1.4kAutomated safety check: PassAGPL-3.0
DeFi Protocol Templateswshobson/agents40k10 repos~1.9kAutomated safety check: PassMIT
Alchemy Agentic Gatewaymoonpay/skills113—~2.1kAutomated safety check: NotesMIT

Similar skills

  • Ethskills

    austintgriffith/ethskills

    Ethereum development knowledge for AI agents — from idea to deployed dApp.

    294 GitHub stars~1.4k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Ethskills

    austintgriffith/ethskills

    A skill your agent uses when a request involves Ethereum, the EVM, or blockchain systems.

    294 GitHub stars~3k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Developing Smart Contracts

    LFDT-Lineth/lineth-monorepo

    Solidity smart contract development guidelines for Lineth blockchain.

    126 GitHub stars~1.4k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Solidity templates for DeFi building blocks: staking with reward distribution, an automated market maker, governance tokens and flash loans.

    40k GitHub starsUsed in 10 repos~1.9k tokens
    Backend & APIsAuto-check passed
  • A skill your agent uses when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or Alchemy-specific features.

    113 GitHub stars~2.1k tokensUpdated 27 days ago
    Backend & APIsAuto-check: notes
  • Smart Contract Development

    vechain/x-app-template

    Solidity smart contract development on VeChainThor — Hardhat setup, ERC-20/721 patterns, upgradeable contracts, gas optimization, testing with Thor Solo, security auditing, and ABI codegen.

    450 GitHub stars~1.1k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed

More from Microck/ordinary-claude-skills

All 97 skills in this repo
  • Every Style Editor

    Microck/ordinary-claude-skills

    This skill should be used when reviewing or editing copy to ensure adherence to Every's style guide.

    401 GitHub starsUsed in 3 repos~1.2k tokens
    Auto-check passed
  • Gemini Imagegen

    Microck/ordinary-claude-skills

    Generate and edit images using the Gemini API (Nano Banana Pro).

    401 GitHub starsUsed in 3 repos~1.6k tokens
    Auto-check passed
  • Andrew Kane Gem Writer

    Microck/ordinary-claude-skills

    Write Ruby gems following Andrew Kane's proven patterns and philosophy.

    401 GitHub starsUsed in 2 repos~1.2k tokens
    Auto-check passed
  • Codex

    Microck/ordinary-claude-skills

    Execute Codex CLI for code analysis, refactoring, and automated code changes.

    401 GitHub starsUsed in 2 repos~2.8k tokens
    Auto-check passed
  • Docs Review

    Microck/ordinary-claude-skills

    Review documentation changes for compliance with the Metabase writing style guide.

    401 GitHub starsUsed in 2 repos~1.8k tokens
    Auto-check: notes
  • File Todos

    Microck/ordinary-claude-skills

    This skill should be used when managing the file-based todo tracking system in the todos/ directory.

    401 GitHub starsUsed in 2 repos~1.9k tokens
    Auto-check passed

Categories

Questions about Smart Contract Generator

What does Smart Contract Generator do?

Generates Solidity smart contracts with security best practices (ERC-20, ERC-721, ERC-1155, custom). Smart Contract Generator is an agent skill from Microck/ordinary-claude-skills. Generates Solidity smart contracts with security best practices (ERC-20, ERC-721, ERC-1155, custom).

When should I use Smart Contract Generator?

Smart Contract Generator fits situations like: user asks to create smart contract; solidity contract.

How do I install Smart Contract Generator in Claude Code?

Run `npx skills add Microck/ordinary-claude-skills --skill smart-contract-generator -a claude-code`. Or copy the skill folder (skills_all/smart-contract-generator in Microck/ordinary-claude-skills) into .claude/skills/smart-contract-generator in your project. Claude Code loads it when a task matches its description.

How do I install Smart Contract Generator in Codex?

Run `npx skills add Microck/ordinary-claude-skills --skill smart-contract-generator -a codex`. Or copy the skill folder (skills_all/smart-contract-generator in Microck/ordinary-claude-skills) into .agents/skills/smart-contract-generator in your project. Codex loads it when a task matches its description.

Can I use Smart Contract Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Microck/ordinary-claude-skills --skill smart-contract-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/smart-contract-generator, .gemini/skills/smart-contract-generator, .github/skills/smart-contract-generator and .opencode/skills/smart-contract-generator in your project.

What does Smart Contract Generator need to run?

Going by SKILL.md and its folder, Smart Contract Generator needs the command-line tools its instructions call (npm and npx) and credentials named PRIVATE_KEY and ETHERSCAN_API_KEY. Our summary lists: Node.js; A credential in PRIVATE_KEY; A credential in ETHERSCAN_API_KEY. Its frontmatter pre-approves these tools: Write, Read.

Does Smart Contract Generator access the network?

SKILL.md contains no URLs. Its commands use npm and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Smart Contract Generator safe to install?

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.

What licence does Smart Contract Generator use?

Smart Contract Generator has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Smart Contract Generator use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Smart Contract Generator?

Skills that share tags, products or a category with Smart Contract Generator: Ethskills (austintgriffith/ethskills, 294 stars), Ethskills (austintgriffith/ethskills, 294 stars), Developing Smart Contracts (LFDT-Lineth/lineth-monorepo, 126 stars) and DeFi Protocol Templates (wshobson/agents, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Smart Contract Generator?

Microck (a GitHub user) maintains it in Microck/ordinary-claude-skills, which has 401 GitHub stars. The repository holds 97 skills in this directory. The repository was last updated on September 6, 2026.

Source: Microck/ordinary-claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.