ec-session-cleaner_skill

This skill converts raw OpenClaw session JSONL transcripts into clean markdown by removing noise while preserving conversation.
  • Python

1.1k

GitHub Stars

6

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill ec-session-cleaner

  • _meta.json287 B
  • README.md485 B
  • session-cleaner-scotty-remote.sh794 B
  • session-cleaner-spock.sh949 B
  • session-cleaner.mjs9.3 KB
  • SKILL.md678 B

Overview

This skill converts raw OpenClaw / Clawdbot session JSONL transcripts into clean, readable Markdown. It removes tool calls, system metadata, and operational noise while preserving the human and assistant conversation. The output is suitable for archives, documentation, and review.

How this skill works

The cleaner parses .jsonl session files, identifies message roles and content, and strips out non-conversational entries such as tool invocations and internal metadata. It reconstructs the dialogue into concise Markdown with speaker labels and preserves timestamps only when relevant. Batch scripts enable processing multiple agent sessions and remote cleanup via SSH for archived datasets.

When to use it

  • Preparing conversation archives for human review or publication
  • Removing system noise before importing transcripts into search or analysis tools
  • Batch-cleaning multiple agent sessions in a data archive
  • Converting noisy logs into readable documentation or training examples
  • Cleaning remote session files on a server via SSH

Best practices

  • Keep original JSONL files unchanged and run the cleaner to produce separate Markdown outputs
  • Use batch scripts for large archives to maintain consistent formatting across files
  • Verify a sample of cleaned outputs before bulk processing to confirm noise-stripping rules
  • Retain a mapping of original file names to cleaned outputs for traceability
  • Run the cleaner in a controlled environment when accessing remote sessions over SSH

Example use cases

  • Archive maintenance: convert years of agent sessions into human-readable transcripts for storage.
  • Knowledge base creation: extract clean dialogues to populate documentation or FAQ examples.
  • Audit and compliance: produce sanitized conversation records without internal tool traces.
  • Research: prepare corpora of assistant-user exchanges for qualitative analysis.
  • Remote cleanup: run scripts to fetch and clean sessions stored on a remote host via SSH.

FAQ

No. It writes separate Markdown outputs and leaves the original files intact.

Can it process multiple sessions at once?

Yes. Batch scripts support multi-file processing across agent folders.

Will timestamps and metadata be preserved?

Timestamps are omitted by default but can be preserved selectively if needed; system metadata and tool calls are removed.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational