Clone Contracts

Clone verified source code for external contracts this project integrates with. Use when auditing an external integration, tracing a cross-contract call, or when you need the source of a contract that is not in the main codebase.

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add TheSchnilch/CloneContractsSkill --skill clone-contracts
Manual install
git clone --depth 1 https://github.com/TheSchnilch/CloneContractsSkill.git /tmp/CloneContractsSkill
mkdir -p ~/.claude/skills
cp -r /tmp/CloneContractsSkill/. ~/.claude/skills/clone-contracts

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# EXTERNAL_CONTRACTS

> **Trigger**: Agent needs the source of an external contract address.
> **Inject Into**: Breadth agents, depth agents, recon agents — any agent that encounters an external integration callsite.

---

## Clone the external source

Run the `clone-external` command from any directory. Supply one or more `project:address` pairs.
The command calls the Etherscan V2 API, auto-resolves proxies to their implementation, and
rewrites all `@`-prefixed import paths to relative paths so the files are readable without
remappings.

```bash
clone-external [--chain <name>] [--output <dir>] <project>:<address> [<project>:<address> ...]
```

- `--chain` selects the EVM chain. Defaults to `ethereum`. Supported names:
  `ethereum`, `arbitrum`, `arbitrum-nova`, `optimism`, `base`, `polygon`, `polygon-zkevm`,
  `bsc`, `avalanche`, `fantom`, `gnosis`, `linea`, `scroll`, `zksync`, `blast`, `mantle`,
  `celo`, `moonbeam`, `moonriver`, `sepolia`, `holesky`. All chains use the same
  Etherscan V2 endpoint and the same `ETHERSCAN_API_KEY`.
- `--output` / `-o` sets the output root. Defaults to `./contracts` in the current working
  directory. Contracts always land in `<output>/<chain>/<project>/` regardless of the root.
- `<project>` is a short name you choose (e.g. `uniswap`, `aave`, `chainlink`). Contracts from the
  same protocol should share the same project name so they land in the same folder.
- `<address>` is the checksummed or lowercase address on the selected chain.
Read the full skill on GitHub

Details

Skill name
clone-contracts
License
MIT
Repo updated
23 April 2026

FAQ

What does the Clone Contracts skill do?

Clone verified source code for external contracts this project integrates with. Use when auditing an external integration, tracing a cross-contract call, or when you need the source of a contract that is not in the main codebase.

How do I install the Clone Contracts skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add TheSchnilch/CloneContractsSkill --skill clone-contracts. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Clone Contracts popular?

It lives in TheSchnilch/CloneContractsSkill, which has 25 GitHub stars and 9 forks.

Related skills

Ad Creative Evaluator

33

creatify-ai/ad-creative-evaluator

AI expert panel that evaluates any video ad creative against a comprehensive rubric. Scores hook effectiveness, message clarity, visual quality, audience targeting, CTA strength, and overall performance potential. Uses multiple persona perspectives (performance marketer, creative director, target consumer) for well-rounded feedback. Use when: "evaluate this ad", "score my ad", "ad creative review", "is this ad good", "rate this video ad", "ad analysis", "creative QA", "ad scoring", "review my creative", "grade this ad", "ad feedback", "creative evaluation", "ad quality check", "will this ad pe

Marketing, Sales & Business

SEO Audit

28

wonfull888/seo-audit

SEO 诊断专家,基于 Google、Ahrefs、微软搜索指南设计的 92 项检查清单。 触发词:SEO审计、SEO诊断、网站SEO检查、为什么排名不好、技术SEO检查、页面SEO、E-E-A-T检查、内容质量分析。 输入一个网址,自动执行技术SEO(29项)、页面元素(27项)、内容质量与E-E-A-T(33项)、本地SEO(3项)四维度诊断,支持智能语言检测、站点分类与动态选页,生成中英文报告。

Marketing, Sales & Business

Onpage SEO Audit

24

linhan-dev/onpage-seo-audit

当用户要求「SEO审计」「SEO检查」「网站SEO分析」「on-page SEO」或审计本地项目源码的 SEO 时使用。对线上/本地网站(URL)或项目源码(目录)进行 on-page SEO 审计并列出发现的问题。

Marketing, Sales & Business

Poster Generator

29

howardz27/poster-generator-skill

Generates professional designer-grade posters, flyers, campaign visuals, event posters, and product posters. Use when the user asks for 海报, poster, flyer, campaign visual, event poster, product poster, promotional visual, or high-end marketing key visual.

Marketing, Sales & Business

SEO Data

24

anthonylee991/seo-data

Direct access to Google Search Console, Google Analytics 4, and Bing Webmaster Tools data via OAuth/API key. Use whenever the user asks SEO, search performance, organic traffic, ranking, impressions, clicks, CTR, conversions, traffic source, landing page, or analytics questions and wants real numbers from their own properties — not generic advice. Triggers on "SEO", "search console", "GSC", "GA4", "analytics", "Bing webmaster", "rankings", "keywords", "impressions", "clicks", "organic traffic", "traffic drop", "top pages", "top queries". Works with any subset of the three providers the user ha

Marketing, Sales & Business

Soleio Design Hiring

33

kylezantos/soleio-design-hiring

Strategic sourcing playbook for hiring great designers OR getting hired as a designer. Based on Soleio's framework. Two modes: Hiring Mode (for founders, hiring managers, recruiters sourcing design talent) and Designer Mode (for designers positioning themselves to get hired by great companies). Triggers on: hire designer, source designer, find designer, recruit designer, design talent, get hired as designer, designer job search, designer positioning.

Marketing, Sales & Business

Browse the most popular Claude skills, all marketing, sales & business skills, or write your own with the skills generator.