archive-logs

Archive Claude Code conversation logs into project-local JSONL and Markdown records.

4|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/AMindToThink/claude-code-settings --skill archive-logs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: archive-logs
Source: https://github.com/AMindToThink/claude-code-settings/tree/main/skills/archive-logs
Command: npx skills add https://github.com/AMindToThink/claude-code-settings --skill archive-logs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill turns ephemeral Claude Code conversations into durable, project-local archives so teams can review work, preserve context, and keep an auditable record.

Core Features & Use Cases

  • Session discovery and naming: Finds Claude Code project JSONL logs, identifies the topic of each session, and assigns clear archive filenames.
  • Readable transcript generation: Converts raw conversation logs into Markdown while preserving useful user and assistant content and omitting noise.
  • Safety review before retention: Scans archived outputs for secrets and stops the workflow if sensitive data is detected.
  • Use case: A developer finishing a feature can archive the discussion into the repository, create human-readable notes, and verify that no credentials were accidentally captured.

Quick Start

Ask the skill to archive the current project’s Claude Code conversation logs into logs/conversation and generate readable Markdown plus a secret scan report.

Frequently Asked Questions about archive-logs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I archive Claude Code conversation logs into a readable format?

To archive Claude Code conversation logs, this Skill parses raw JSONL messages, filters out system reminders and tool-result-only noise, and writes durable Markdown transcripts alongside project-local JSONL session indexes for auditable record keeping.

How does secret scanning work when archiving conversation transcripts?

Secret scanning runs during the conversation transcript archiving process to detect sensitive data. The workflow actively scans archived outputs and halts immediately if any credentials or secrets are accidentally captured in the logs.

Can I convert JSONL logs to Markdown without including system reminders?

Yes, you can convert JSONL logs to Markdown without system reminders. The conversion process preserves useful user and assistant content while explicitly filtering out system reminders and tool-result-only content to reduce noise.

What is the best way to keep an auditable record of Claude Code session history?

The best way to keep an auditable record of Claude Code session history is to archive project JSONL logs locally. This process identifies session topics, assigns clear filenames, and generates durable records for team review.

Does the archiving workflow stop if secrets are detected in the transcripts?

Yes, the archiving workflow stops if secrets are detected in the transcripts. It performs a safety review before retention, halting the generation of readable Markdown notes whenever sensitive data is found.