Nitjsefnie-Harness-Commons

Session Archivers — Development skill for Claude Code

Development community

R2 session archivers for Claude Code, Kimi and Codex agent harnesses.

How to install Session Archivers

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Nitjsefnie-Harness-Commons/session-archivers and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Session Archivers does

R2 session archivers for Claude Code, Kimi and Codex agent harnesses.

Alternatives in Development

  • Agentic Stack — One brain, many harnesses 2.2k ★
  • Kimi CLI Agent — Answers one council question as plain text, with no tool access 664 ★
  • Harnessrouter — HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnes 618 ★

README

session-archivers

R2 archivers for the session transcripts of three agent harnesses: Claude Code, Kimi and Codex.

Each harness stores sessions differently — Claude by project directory, Kimi by working directory, Codex in date buckets — so the three walks are three modules rather than one parameterised routine. Each also has its own bucket: `R2_BUCKET_CLAUDE`, `R2_BUCKET_KIMI` and `R2_BUCKET_CODEX` are separate destinations and nothing merges them. The Claude archiver splits its tree one step further: a Claude Code session can be powered by GLM (served through a z.ai endpoint), by a GGUF served through a local llama.cpp server, or by a model served through OpenRouter's Anthropic-compatible endpoint just as well as by Anthropic's models, and each session files under the bucket of the provider that actually ran it — `R2_BUCKET_CLAUDE`, `R2_BUCKET_ZAI`, `R2_BUCKET_LLAMA` or `R2_BUCKET_OPENROUTER`.

What the three share is the *way* each one is written to — one key layout, one manifest format, one single-instance lock, one compression policy — so a dashboard reads all three the same way. Since 1.1.0 that half is two modules instead of three copies of itself:

Module What it owns
store.py The destination. Compression policy, per-machine manifest, bucket inventory, the upload forms. Takes the bucket name as an argument.
runtime.py The host. Logging, the single-instance lock, the retention predicate, the local scratch sweeps.
claude.py / kimi.py / codex.py One tree walk each, and the keys it files things under.

The copies were the right call while these were standalone scripts, copied onto a machine one file at a time with nothing else present. They install as one package now, so three copies bought nothing but three places for a fix to land in two of.

Install

Not on PyPI. Every release publishes the wheel with a `SHA256SUMS` file beside it, and checking against it is the point: fetching "the newest release" is othe