/dx:half-clonefrom dx
Clones the later half of a Claude Code conversation to reduce token usage while preserving recent work. Used when conversation context grows too large.
Ships in dx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Clone the later half of the current conversation, discarding earlier context to reduce token usage while preserving recent work.
Steps:
tail -1 ~/.claude/history.jsonl | jq -r '[.sessionId, .project] | @tsv'find ~/.claude -name "half-clone-conversation.sh" 2>/dev/null | sort -V | tail -1
<script-path> --preview <session-id> <project-path>
<script-path> <session-id> <project-path>
New session: <id> line). Give the user the exact command to resume it directly, no picker needed:
claude --resume <new-session-id>
The script automatically appends a reference to the original conversation at the end of the cloned file. (The new session is also marked [HALF-CLONE <timestamp>], e.g. [HALF-CLONE Jan 7 14:30], so claude -r and picking it works as a fallback.)What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/ghaAnalyze GitHub Actions failures and identify root causes/handoffWrite or update a handoff document so the next agent with fresh context can continue this work./hn-summarizeFetch and summarize Hacker News / hckrnews.com top stories, articles, and their comment threads. Use when asked to summarize HN front-page stories, a specific HN story plus its discussion, or "the top N from hckrnews"./private-github-searchFull-text search across all of the user's GitHub repos (including private ones) using a local mirror and ripgrep. Use for "where did I put X", "which repo has X", or any search spanning the user's repos - gh search code / the REST API cannot reliably search private repos./quarter-cloneClone the last quarter of the current conversation, discarding earlier context to reduce token usage while preserving recent work./reddit-fetchFetch 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.npx claudepluginhub ykdojo/claude-code-tips --plugin dxOther plugins' skills for the same job