skills/archive-logs/SKILL.md
Archive Claude Code conversation logs into the current project as JSONL and readable Markdown
npx skillsauth add AMindToThink/claude-code-settings archive-logsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Archive the Claude Code conversation logs from this project into the project itself, for auditability and transparency.
Find logs: Look in ~/.claude/projects/<encoded-path>/ where the encoded path replaces / with - in the current working directory path. List *.jsonl files (top-level only, not subdirectories).
Identify sessions: For each JSONL, extract the first user message to understand the session topic. Skip files with 0 user messages. Assign descriptive numbered names (e.g. 01_initial_setup.jsonl, 02_feature_work.jsonl).
Check for duplicates: If logs/conversation/ already exists, compare against existing files to avoid re-archiving.
Copy JSONL files into logs/conversation/ in the project.
Create a converter script at scripts/jsonl_to_markdown.py that converts JSONL to readable Markdown. The JSONL format:
type fielduser and assistant contain message.content (string or array of content blocks)text (render), tool_use (show tool name + concise input), tool_result (abbreviate), thinking (omit)<system-reminder> tags from user messagesRun the converter to generate .md files alongside the .jsonl files.
Scan for secrets: Install detect-secrets (uv add --dev detect-secrets or ensure it's available), then run detect-secrets scan logs/conversation/ on all archived files (both .jsonl and .md). If any secrets are detected:
echo $API_KEY, env variable dumps, credential outputs.Write logs/conversation/README.md listing each session.
Report what was archived (and whether the secret scan passed cleanly).
development
Use when the user asks to check, audit, or improve a website or web project for accessibility (a11y), WCAG compliance, screen reader support, keyboard navigation, color contrast, or alt text. Triggers a plan-mode investigation against the TeachAccess design and code checklists, then implements approved fixes.
development
--- name: make-anonymous-branch description: Use when preparing a research repo for double-blind submission via anonymous.4open.science (ICML/NeurIPS/ICLR/workshop). Builds a single `anon-submission` branch with code+data+paper, scrubs identity leaks (author names, home paths, emails, wandb metadata, PDF author fields), patches LaTeX for pdf.js compatibility, and leaves `main` untouched. Triggers: "make an anonymous branch", "anonymize my repo for X submission", "set up anonymous.4open.science",
development
Translate math (formulas, estimators, algorithms) into code so the implementation faithfully matches what the source actually specifies. Use when writing code from a formula, reviewing an LLM-generated implementation of a formula, debugging a numerical mismatch with a paper, designing a new metric/estimator, or refactoring an existing math-heavy computation. Especially load-bearing whenever aggregation operators (sums, means, expectations, products, geometric means) appear over indices that can be reordered, or whenever the same English label can refer to multiple non-equivalent estimators (e.g. ratio-of-means vs mean-of-ratios, micro-average vs macro-average, sample-weighted vs unweighted). Prevents the failure mode where a code path silently implements the wrong estimator under the same name as the intended one.
development
Use when the user asks to review, find, summarize, or check Claude Code chat transcripts from a past date or time range ("review my chats from May 1st", "what was I working on yesterday", "any unfinished sessions this week"). Reads transcripts under `~/.claude/projects/`, handles local-time vs UTC correctly so late-evening sessions don't get dropped, and flags chats whose last assistant turn looks like an unanswered question.