
clone
Clone the current conversation so the user can branch off and try a different approach.
- Installs
- 88
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/ykdojo/claude-code-tips --skill clone- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads clone automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Clone the current conversation so the user can branch off and try a different approach.
Steps:
- Get the current session ID and project path:
tail -1 ~/.claude/history.jsonl | jq -r '[.sessionId, .project] | @tsv' - Find clone-conversation.sh with bash:
find ~/.claude -name "clone-conversation.sh" 2>/dev/null | sort -V | tail -1- This finds the script whether installed via plugin or manual symlink
- Uses version sort to prefer the latest version if multiple exist
- Run:
<script-path> <session-id> <project-path>- Always pass the project path from the history entry, not the current working directory
- Tell the user they can access the cloned conversation with
claude -rand look for the one marked[CLONED <timestamp>](e.g.,[CLONED Jan 7 14:30])
FAQ
What does the clone skill do?
Clone the current conversation so the user can branch off and try a different approach.
How do I install clone?
Run npx skills add https://github.com/ykdojo/claude-code-tips --skill clone in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/clone/ (personal) or .claude/skills/clone/ (project).
Which AI agents can use clone?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is clone safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains clone?
It is published by ykdojo in ykdojo/claude-code-tips. It has 88 recorded installs.
More from ykdojo/claude-code-tips
reddit-fetch
ykdojo/claude-code-tips
Fetch content from Reddit via its JSON API using a browser session (DuckDuckGo-hop unlock). Use when accessing Reddit URLs, researching topics on Reddit, or when Reddit returns 403/blocked errors.
review-claudemd
ykdojo/claude-code-tips
Review recent conversations to find improvements for CLAUDE.md files.
handoff
ykdojo/claude-code-tips
Write or update a handoff document so the next agent with fresh context can continue this work.
half-clone
ykdojo/claude-code-tips
Clone the later half of the current conversation, discarding earlier context to reduce token usage while preserving recent work.
gha
ykdojo/claude-code-tips
Analyze GitHub Actions failures and identify root causes
quarter-clone
ykdojo/claude-code-tips
Clone the last quarter of the current conversation, discarding earlier context to reduce token usage while preserving recent work.
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.