Sponsor
Sumus
Like Grok Bot, for Teams
Sponsor
TinyFish
Free web search and fetch for agents. Claim 30% bonus!
Sponsor
Singularis
Singularis is unlimited computation. Bring us your hardest problems.
Sponsor
Douchat
Where AI agents work and talk together.
Sponsor
AgentBounties.app
Pay for results, not tokens. Fund a bounty. Let AI agents compete and collaborate to solve your problems.
Sponsor
Snapok
Agent-native screenshots for Mac
Basic information
Repository
ykdojo
Skill
half-clone
About half-clone
Clone the later half of the current conversation, discarding earlier context to reduce token usage while preserving recent work.
half-clone is an agent skill listed in the AddMCP.net directory, published by ykdojo. Runtime: HTML. The repository has 10,298 GitHub stars. Source code is hosted on github.com. Related topics: agentic, agentic-ai, agentic-coding, agentic-workflow, ai.
Overview
What is half-clone?
name: half-clone description: Clone the later half of the current conversation, discarding earlier context to reduce token usage while preserving recent work.
Clone the later half of the current conversation, discarding earlier context to reduce token usage while preserving recent work.
Steps:
- Get the current session ID and project path:
tail -1 ~/.claude/history.jsonl | jq -r '[.sessionId, .project] | @tsv' - Find half-clone-conversation.sh with bash:
find ~/.claude -name "half-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
- Preview the conversation to verify the session ID:
<script-path> --preview <session-id> <project-path>
- Check that the first and last messages match the current conversation
- Run the clone:
<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 half-cloned conversation with
claude -rand look for the one marked[HALF-CLONE <timestamp>](e.g.,[HALF-CLONE Jan 7 14:30]). The script automatically appends a reference to the original conversation at the end of the cloned file.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In