Thomaszhou22

Context Archive Skill — AI skill for Claude Code

AI community

Manage AI conversation lifecycle: archive chats to named files, free up context, recall on demand.

How to install Context Archive Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Thomaszhou22/context-archive-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Context Archive Skill does

Manage AI conversation lifecycle: archive chats to named files, free up context, recall on demand. OpenClaw skill.

Alternatives in AI

README

Context Archive

Take control of your AI conversation context

[English](#english) | [中文](./README_CN.md)


English

A skill for [OpenClaw](https://github.com/openclaw/openclaw) that lets users actively manage conversation lifecycle: **archive → free context → recall on demand**.

The Problem

If you use a single agent session for everything, your context window fills up. Old topics pollute new conversations. The agent loses focus. Tokens get wasted on irrelevant history.

The Solution

Context Archive gives you three simple actions:

Action What it does
Archive Summarizes a chunk of conversation into a named .md file
List Shows all archives with titles, dates, and summaries
Recall Loads an archive back into the current context

Usage

You: Archive the recent laser projection discussion
AI: [generates summary] Here's the summary. Any important details missing?
You: Keep the IMU drift solution part
AI: Updated. Suggested title: 2026-07-31-Laser-Projection. Confirm?
You: Confirm
AI: Archived to archives/2026-07-31-Laser-Projection.md

--- later ---

You: Show archives
AI: 1. 2026-07-31-Laser-Projection → Laser tracking display comparison
    2. 2026-07-15-GitHub-Stats → Repo stars and traffic analysis

You: Load the first one
AI: Loaded archive: Laser Projection. Key information restored.

Archive Triggers

  • Topic-based: "archive the discussion about X"
  • Relative time: "archive the last 2 hours"
  • Absolute time: "archive July 21, 3pm to 5pm"
  • Entire day: "archive today's conversation"
  • Recent (default): "archive recent conversation"

Detail Check

After generating a summary, the agent asks if any important details were missed. You can point to specific conversation segments and the agent will incorporate them. This runs up to two rounds to ensure nothing critical is lost.

Installation

clawhub instal