clone-agent

clone-agent is a skill for Claude Code from desirecore/market. It costs 55 tokens per session (1,510 once invoked), scanned A, original, MIT.

A procedure for making an independent local copy of an existing software agent while preserving its behavior and configuration.

In plain words
What is it for?
Use it when creating a separate agent variant that keeps the original agent's persona, rules, skills, or settings without creating a repository fork.
Why use it?
It clarifies the difference between copying an existing agent and creating a new one, and calls out choices about private information and team distribution.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it when creating a separate agent variant that keeps the original agent's persona, rules, skills, or settings without creating a repository fork.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desirecore/market/clone-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add desirecore/market --skill clone-agent
Clone the repo
git clone --depth 1 https://github.com/desirecore/market

Made for: Claude Code.

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-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/desirecore/market/clone-agent/github.svg)](https://agentmods.dev/skills/desirecore/market/clone-agent)
Your own site
<a href="https://agentmods.dev/skills/desirecore/market/clone-agent"><img src="https://agentmods.dev/badge/skills/desirecore/market/clone-agent/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-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/desirecore/market/clone-agent"><img src="https://agentmods.dev/badge/skills/desirecore/market/clone-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,510 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00055 $0.01510
Opus 5.5 $0.00022 $0.00604
Sonnet 5.5 $0.00011 $0.00302
Haiku 4.5 $0.00006 $0.00151

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

Security

Grade A, and why

clone-agent scanned grade A with 0 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/clone-agent/SKILL.md · 130 lines

How it starts

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

clone-agent Skill

L0: One-Sentence Summary

Clone an existing Agent into an independent local copy while explicitly handling private user data and team distribution impact.

L1: Overview

Use this skill when the user wants to copy an Agent or create an independent variant that keeps the source Agent's persona, principles, skills, and configuration. The clone receives a new ID and UUID. It is not an empty-template create operation and never creates a fork in GitHub, Gitee, or another code hosting account.

L2: Detailed Specification

Flow: decide whether cloning is appropriate → inspect the source Agent → confirm the clone name and private-data choices → call ManageAgent → report the clone's local and distribution properties.

1. Choose Clone or Create

  • Use clone when the user wants to retain an existing Agent's persona, rules, skills, and configuration in an independent copy or variant.
  • Use create-agent when the user wants a new Agent in a similar domain but with independently designed behavior.
  • Do not recreate an Agent merely to make it “similar”; create produces a fresh template and does not inherit the source capability package.

2. Confirm the Source

If the user did not provide an exact ID, call ManageAgent(action='list'); use ManageAgent(action='get', id) when name, status, or description needs verification.

The tool rejects these cases and they must not be bypassed:

  • The core desirecore Agent cannot be cloned.
  • An Agent whose routing was fixed by the human model selector cannot be cloned autonomously; ask the user to use the UI.
  • The source Agent does not exist.

3. Name and Private User Data

  • name is optional; the default is “Source Name (Copy)”.
  • Private user data is not copied by default. Pass copyUserData only when the user explicitly asks the clone to inherit memory, preferences, or relationship state.
  • copyUserData.memory copies private memory between the user and the source Agent.
  • copyUserData.preferences copies user preferences for the source Agent.
  • copyUserData.relationship copies the user-Agent relationship profile.

Read the full file on GitHub · 130 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed · +1 lines ecfd65466847
  2. 3mo ago First seen · 129 lines · 55 tokens per session scan A edabb617ca86

Subscribe to this mod's changes

clone-agent is a skill published in the GitHub repository desirecore/market (2 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 1,510 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

clone-agent compared with skills from other repositories

clone-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clone-agentdesirecore/marketSkill2todayMITA55Claude Code
llamaguardsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A74Claude Code, Codex
a0-plugin-routerGen-Verse/PAST-BenchSkill403mo agoApache-2.0A65Claude Code, Codex
create-skillGen-Verse/PAST-BenchSkill403mo agoApache-2.0A33Claude Code, Codex
agentskills-usagekai98k/agent-skills-registrySkill59mo agoMITA26Claude Code, Codex
agent-writergyanranjan/polyagent-skillsSkill38mo agoMITA69Claude Code, Codex
eval-dataset-designbojieli/ai-agent-bookSkill60kyesterdayApache-2.0A138Claude Code, Codex