Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
yinjialu avatar

Sync Conversations

  • 1 installs
  • 3 repo stars
  • Updated July 5, 2026
  • yinjialu/context-harness

Syncs local Codex and Claude Code conversation records into a context-harness data home via full or incremental backup.

About

Runs the context-harness CLI to collect Codex and Claude Code conversations into a data home, supporting full and incremental sync. A developer uses it to back up and inspect Code Agent conversation history.

  • Supports codex and claude-code sources, incremental (--latest) or full (--all)
  • Reports checked/created/updated/skipped counts and output dir

Sync Conversations by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #2,479 of 3,282 Productivity & Planning skills by installs in the Skillselion catalog
  • Data as of Jul 8, 2026 (Skillselion catalog sync)
npx skills add https://github.com/yinjialu/context-harness --skill sync-conversations

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars3
Last updatedJuly 5, 2026
Repositoryyinjialu/context-harness

What it does

Syncs local Codex and Claude Code conversation records into a context-harness data home via full or incremental backup.

Files

SKILL.mdMarkdownGitHub ↗

Sync Conversations

Use this skill to collect local Code Agent conversations into context-harness. The skill can bootstrap the CLI runtime even when only the skill was installed.

Runtime Bootstrap

Before running context-harness, execute the bundled bootstrap script from this skill directory:

runtime_dir="$(bash scripts/bootstrap.sh)"
cd "$runtime_dir"

The script clones or updates the runtime repository at ~/.local/share/context-harness by default, checks out v0.1.7, and runs uv sync.

Overrides:

  • CONTEXT_HARNESS_RUNTIME_DIR: custom runtime checkout path.
  • CONTEXT_HARNESS_REPO_URL: custom fork URL.
  • CONTEXT_HARNESS_REF: custom branch, tag, or commit.
  • CONTEXT_HARNESS_BOOTSTRAP_SKIP_UPDATE=1: skip fetch/pull.

Sources

V1 supports:

  • codex
  • claude-code

Claude Web, Antigravity, ChatGPT, Gemini, and browser exports are outside V1.

Workflow

1. Run the Runtime Bootstrap steps above. Use the returned path as the context-harness repository root. 2. Resolve the context home from CONTEXT_HARNESS_HOME, the user's explicit path, or ~/.context-harness. 3. Change to the runtime repository root. 4. Run the requested sync command from the repository root. 5. Summarize checked, created, updated, skipped, and output_dir.

Commands

Before running any command, first run the Runtime Bootstrap steps and change to the returned repository root. Run all uv run context-harness ... commands from that root.

Incremental sync:

uv run context-harness --context-home <context-home> sync codex --latest 1
uv run context-harness --context-home <context-home> sync claude-code --latest 1

Full sync:

uv run context-harness --context-home <context-home> sync codex --all
uv run context-harness --context-home <context-home> sync claude-code --all

After running, summarize checked, created, updated, skipped, and output_dir.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.