clone-new-site

clone-new-site is a skill for Claude Code from a8cteam51/claude-code-plugins. It costs 195 tokens per session (2,067 once invoked), scanned C, original, MIT.

A setup helper that creates a new local WordPress Studio site from a GitHub repository. WordPress Studio is a local tool for running WordPress on a computer, and the repository becomes the site's wp-content folder.

In plain words
What is it for?
Use it to create a local WordPress site for an existing GitHub project, when that project should provide the site's themes, plugins, and other content files.
Why use it?
It removes the repeated work of downloading WordPress, cloning the repository, configuring the site, and starting Studio.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: names the AskUserQuestion tool.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/you/Studio.

Part of the studio-repo-clone plugin — 3 skills shipped together

Good fit Use it to create a local WordPress site for an existing GitHub project, when that project should provide the site's themes, plugins, and other content files.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add a8cteam51/claude-code-plugins
Claude Code
/plugin install studio-repo-clone

Made for: Claude Code.

Or install studio-repo-clone, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for clone-new-site

README.md
[![agentmods](https://agentmods.dev/badge/skills/a8cteam51/claude-code-plugins/clone-new-site/github.svg)](https://agentmods.dev/skills/a8cteam51/claude-code-plugins/clone-new-site)
Your own site
<a href="https://agentmods.dev/skills/a8cteam51/claude-code-plugins/clone-new-site"><img src="https://agentmods.dev/badge/skills/a8cteam51/claude-code-plugins/clone-new-site/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for clone-new-site

Your own site · 80×15
<a href="https://agentmods.dev/skills/a8cteam51/claude-code-plugins/clone-new-site"><img src="https://agentmods.dev/badge/skills/a8cteam51/claude-code-plugins/clone-new-site.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 195 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,067 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00195 $0.02067
Opus 5.5 $0.00078 $0.00827
Sonnet 5.5 $0.00039 $0.00413
Haiku 4.5 $0.00019 $0.00207

Measured 3mo ago against content hash 214f719a97e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

clone-new-site scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Do not run `curl`, `unzip`, `rm -rf wp-content`, `git clone`, or `studio site create` outside the script.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Do not run `curl`, `unzip`, `rm -rf wp-content`, `git clone`, or `studio site create` outside the script.
plugins/studio-repo-clone/skills/clone-new-site/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Clone a repo as wp-content into a new Studio site

Trigger when the user wants to set up a new local WordPress site whose wp-content is a cloned GitHub repo, with Studio managing it. If the user already has a working local site and wants to convert its wp-content into a git clone, use the clone-into-existing-site skill instead.

All filesystem mutation, git auth preflight, .gitignore patching, and Studio invocation are delegated to ${CLAUDE_PLUGIN_ROOT}/scripts/scaffold.sh. Never re-implement steps inline; that breaks the repeatability guarantee.

This is the same workflow as the /studio-repo-clone:init slash command, exposed via natural language.

Step 0 — extract the repo from the user's message

The user will reference the repo as one of:

  • Full GitHub URL: https://github.com/owner/repo or .git
  • SSH URL: [email protected]:owner/repo.git
  • Shorthand: owner/repo

If no repo is identifiable in the user's request, ask once via AskUserQuestion (free-text via "Other"). Do not guess a repo.

Derive the repo name from the URL (used as the suggested project name):

  • owner/repo → repo
  • https://github.com/owner/repo(.git)? → repo
  • [email protected]:owner/repo.git → repo

Step 1 — get the project name

The project name is used for both the root folder and the Studio site name, so it must be explicit. ALWAYS ask via AskUserQuestion, even if the user mentioned a name in their message — only skip if they very clearly stated one as the project name (e.g. "set up project FOO using repo X").

AskUserQuestion options:

  1. <repo-name> (recommended)
  2. (Other for custom name)

The chosen name MUST be a valid directory name: lowercase letters, digits, hyphens, underscores. If the user provides something invalid, slugify it (e.g. "My Cool Project" → "my-cool-project") and confirm the slug back.

Step 2 — choose the target directory

Run pwd then basename "$(pwd)" and ls -A "$(pwd)" to detect cwd state.

Also detect the user's effective Studio base directory by inspecting existing Studio sites — Studio has no CLI flag that exposes its install root, so we infer it from studio site list:

Read the full file on GitHub · 120 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 120 lines · 195 tokens per session scan C 214f719a97e1

Subscribe to this mod's changes

clone-new-site is a skill published in the GitHub repository a8cteam51/claude-code-plugins (7 stars, last pushed today), licensed MIT. It adds 195 tokens to every session and 2,067 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

clone-new-site compared with skills from other repositories

clone-new-site next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clone-new-sitea8cteam51/claude-code-pluginsSkill7todayMITC195Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code