half-clone

half-clone is a skill for Claude Code, Codex from ykdojo/antigravity-cloud-run. It costs 49 tokens per session (223 once invoked), scanned B, original, MIT.

A conversation-copying tool that starts a new chat with the later half of the current conversation. The original conversation remains unchanged.

In plain words
What is it for?
Use it to continue work in a smaller chat, free up context, or resume from the newer conversation copy.
Why use it?
It reduces the amount of conversation history the agent must handle when the full context is no longer needed.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ykdojo/antigravity-cloud-run/half-clone
Any agent
npx skills add ykdojo/antigravity-cloud-run --skill half-clone
Clone the repo
git clone --depth 1 https://github.com/ykdojo/antigravity-cloud-run

Made for: Claude Code, Codex.

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/ykdojo/antigravity-cloud-run/half-clone.svg)](https://agentmods.dev/skills/ykdojo/antigravity-cloud-run/half-clone)
Your own site
<a href="https://agentmods.dev/skills/ykdojo/antigravity-cloud-run/half-clone"><img src="https://agentmods.dev/badge/skills/ykdojo/antigravity-cloud-run/half-clone.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 223 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00049 $0.00223
Opus 5 $0.00024 $0.00112
Sonnet 5 $0.00010 $0.00045
Haiku 4.5 $0.00005 $0.00022

Measured 5d ago against content hash fdd6b78b39b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

Reads agent configuration directoriesmediumAgent snooping

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

bash ~/.gemini/config/skills/half-clone/scripts/half-clone.sh
setup/skills/half-clone/SKILL.md · 29 lines

What it actually says

Half-clone the conversation

Clones the later half of the most recent conversation (usually this one) into a new conversation, cutting at the middle user turn. The original is untouched; the clone starts with half the context.

Steps

  1. Run the bundled script:
bash ~/.gemini/config/skills/half-clone/scripts/half-clone.sh
  1. It prints the new conversation id and how many steps were kept. Live conversations are safe to clone (the copy is a consistent snapshot).

  2. Tell the user: open the clone with /resume - it's the newest entry, titled after its first kept message. This current conversation stays as-is, so they should switch to the clone to benefit from the smaller context.

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. 5d ago First seen · 29 lines · 49 tokens per session scan B fdd6b78b39b7

Subscribe to this mod's changes

half-clone is a skill published in the GitHub repository ykdojo/antigravity-cloud-run (2 stars, last pushed 1mo ago), licensed MIT. It adds 49 tokens to every session and 223 once invoked, about $0.0002 per session on Opus 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

bash

Bash shell scripting for automation, pipelines, and system administration. Use for .sh files and Linux scripting.

G1Joshi/Agent-Skills · 24 tokens

dx-optimizer

Expert developer experience optimizer specializing in build performance, tooling efficiency, and workflow automation. Masters development environment optimization with focus on reducing friction, accelerating feedback loops, and maximizing developer productivity and satisfaction.

saeed-vayghan/gemini-agent-skills · 41 tokens

slack-expert

Expert Slack platform specialist for Slack app development, @slack/bolt implementation, Block Kit UI, event handling, OAuth flows, and Slack API integrations. Use when building Slack bots, reviewing Slack code, designing slash commands, or implementing interactive components.

saeed-vayghan/gemini-agent-skills · 55 tokens

tooling-engineer

Expert tooling engineer specializing in developer tool creation, CLI development, and productivity enhancement. Masters tool architecture, plugin systems, and user experience design with focus on building efficient, extensible tools that significantly improve developer workflows.

saeed-vayghan/gemini-agent-skills · 47 tokens

m365-admin

Microsoft 365 administrator specializing in Exchange Online, Teams, SharePoint, licensing, Graph API automation, and secure identity operations.

saeed-vayghan/gemini-agent-skills · 29 tokens

agent-self-scheduling

Schedule AI agent runs with cron, loops, or external clocks while avoiding unsafe tight autonomous timers.

sickn33/agentic-awesome-skills · 24 tokens