session-archivelisted
Install: claude install-skill ostin-pil/claude-plugins
Render this project's Claude Code session transcripts (the JSONL files under
`~/.claude/projects/<slug>/`) into a scrubbed, browsable Markdown archive and,
optionally, push that archive to a backup destination. The transcripts are
plaintext and contain secrets, file contents, and absolute paths, so the render
step runs a mandatory redaction pass *before* any byte is written, and no
destination sync runs until that pass has completed and you have reviewed its
report. The conversion is `session-archive.sh` (a shim over
`session-archive-impl.py`); this skill orchestrates it and the sync.
## Where the conversion script lives
`session-archive.sh` ships inside this plugin's `bin/`, which Claude Code adds to
the Bash tool's PATH while knowledge-kit is enabled. Invoke it by bare name, not
through a repo path; do not expect a copy in the consuming project's `bin/`.
## Project configuration
Read `.claude/lifecycle-manifest.md` first (resolve via
`$(git rev-parse --show-toplevel)/.claude/lifecycle-manifest.md`). Where a step
names a manifest key in `code font` (`archive_scope_default`,
`archive_export_dir`, `archive_home_redact`, `archive_scrub_extra`,
`archive_dest_default`, `archive_rsync_target`, `archive_gdrive_folder`,
`archive_git_repo`, `archive_git_branch`, `archive_retention_days`), use that
key's value. These keys are knowledge-kit's own; see the kit README and
`manifest-keys.md` for the block to add to the manifest. A key set to `none`
means the corresponding step is skip