half-clone

half-clone is a skill for Claude Code from qGolem/orc. It costs 10 tokens per session (303 once invoked), scanned B, original, MIT.

A script that creates a new conversation containing the later half of the current conversation while leaving out older context.

In plain words
What is it for?
Use it to make a shorter resumable conversation, after checking the session and project path and confirming the copied messages are correct.
Why use it?
It reduces the amount of conversation history that must be loaded when earlier details are no longer needed.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths.

Part of the orc plugin — 28 skills, 27 agents shipped together

Good fit Use it to make a shorter resumable conversation, after checking the session and project path and confirming the copied messages are correct.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qgolem/orc/half-clone
View source ↗ qGolem/orc
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 qGolem/orc --skill half-clone
Clone the repo
git clone --depth 1 https://github.com/qGolem/orc

Made for: Claude Code.

Or install orc, the plugin that ships this one along with the rest of its 28 skills, 27 agents.

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 half-clone

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/qgolem/orc/half-clone"><img src="https://agentmods.dev/badge/skills/qgolem/orc/half-clone.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 303 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00010 $0.00303
Opus 5.5 $0.00004 $0.00121
Sonnet 5.5 $0.00002 $0.00061
Haiku 4.5 $0.00001 $0.00030

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

Security

Grade B, and why

half-clone scanned grade B with 1 finding 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/half-clone-conversation.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

1. Get the current session ID and project path: `tail -1 ~/.claude/history.jsonl | jq -r '[.sessionId, .project] | @tsv'`
skills/half-clone/SKILL.md · 23 lines

What it actually says

Clone the later half of the current conversation, discarding earlier context to reduce token usage while preserving recent work.

Steps:

  1. Get the current session ID and project path: tail -1 ~/.claude/history.jsonl | jq -r '[.sessionId, .project] | @tsv'
  2. The script is bundled at scripts/half-clone-conversation.sh
  3. Preview the conversation to verify the session ID: scripts/half-clone-conversation.sh --preview <session-id> <project-path>
    • Check that the first and last messages match the current conversation
  4. Run the clone: scripts/half-clone-conversation.sh <session-id> <project-path>
    • Always pass the project path from the history entry, not the current working directory
  5. Tell the user they can access the half-cloned conversation with claude -r and 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.
Files

What ships with it

1 file 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. 1mo ago First seen · 23 lines · 10 tokens per session scan B 39d896f139d1

Subscribe to this mod's changes

half-clone is a skill published in the GitHub repository qGolem/orc (5 stars, last pushed 7mo ago), licensed MIT. It adds 10 tokens to every session and 303 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

performance-audit

Full-stack performance health check across 12 dimensions. Rendering, bundles, assets, API/network, algorithms, memory, database, caching, Web Vitals, backend runtime, concurrency, and framework-specific pathologies. Evidence-based Impact Models with confidence tiers and a prioritized optimization roadmap. Switches…

greglas75/zuvo · 90 tokens

context-driven-development

Use this skill when working with Conductor's context-driven development methodology, managing project context artifacts, or understanding the relationship between product.md, tech-stack.md, and workflow.md files.

Ibrahim-3d/orchestrator-supaconductor · 40 tokens

knowledge-manager

Loads relevant patterns and known errors before track planning. Searches conductor/knowledge/ for solutions we've used before and errors we've encountered. Injects findings into the planner prompt to prevent reinventing solutions and repeating mistakes. Triggered automatically by orchestrator before PLAN step.

Ibrahim-3d/orchestrator-supaconductor · 54 tokens

context-loader

Load project context efficiently for Conductor workflows. Use when starting work on a track, implementing features, or needing project context without consuming excessive tokens.

Ibrahim-3d/orchestrator-supaconductor · 32 tokens

memory

Use before the first memory verb — read or write — whenever the orchestrator is about to touch memory as this turn's subject: deciding what persists, searching, curating, or triaging what a session injected at start.

metraton/gaia · 0 tokens

session-reflection

Use when the user asks to reflect on a session or to compact it -- "reflexionemos sobre la sesión", "cerremos esto", "guardemos lo que aprendimos", "compactemos", "compacta", "let's reflect on this session", "wrap up this session", "compact the session" -- or when closing substantial work: the orchestrator reconciles…

metraton/gaia · 0 tokens