noise-reduction

Classify and remove non-conversational noise from OpenClaw session JSONL transcripts.

2|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill noise-reduction-augustscl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: noise-reduction
Source: https://github.com/augustscl/awesome-xiawang-skills/tree/main/noise-reduction
Command: npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill noise-reduction-augustscl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill diagnoses and removes non-conversational noise from chat session data so that memory retrieval and vector search return relevant historical content instead of protocol, tool, or metadata artifacts. It helps teams recover lost recall quality after adding channels, encountering high system noise, or when search results become irrelevant.

Core Features & Use Cases

  • Automated diagnosis: run a diagnostics script to sample session JSONL, classify messages by noise patterns, and produce a structured noise profile.
  • Rule generation: follow the guidance to write conservative, role-aware filters into your merge script, strip channel metadata wrappers, and back up changes before applying.
  • Validation and metrics: run a validation script that compares raw messages and the merged transcript, computes compression/false-positive/false-negative rates, and surfaces suspicious samples for human review.
  • Use cases: initial setup of a noise-reduction pipeline, troubleshooting memory recall degradation, onboarding new chat channels, and periodic audits of merge-script behavior.

Quick Start

Run the noise-reduction workflow for YYYY-MM-DD to generate a noise profile, update the merge script conservatively, and validate the results.

Frequently Asked Questions about noise-reduction

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

FAQPage Schema
How do I remove noise from chat transcripts to improve memory retrieval accuracy?

To remove noise from chat transcripts, run a diagnostics script to classify messages by patterns, generate conservative merge-script rules to strip metadata, and validate results using compression and false-positive metrics. This process ensures vector search returns relevant conversational content.

Why does my session JSONL search return irrelevant protocol and tool artifacts?

Session JSONL search returns irrelevant artifacts when non-conversational noise contaminates the data. A noise-reduction pipeline samples the transcripts, builds a structured noise profile, and applies role-aware filters to strip protocol and metadata wrappers from the merged output.

How do I diagnose memory recall degradation after onboarding new chat channels?

Diagnose memory recall degradation by running a Node.js diagnostics script on your multi-channel chat logs. It samples session data, classifies noise patterns, and produces a structured profile to identify which channel metadata wrappers cause irrelevant search results.

Can I validate merge-script filters to check for false positives in conversational data?

You can validate merge-script filters by running a dedicated validation script that compares raw messages against the merged transcript. It computes compression, false-positive, and false-negative rates, surfacing suspicious samples for human review to ensure no critical conversational context is lost.

What is the best way to strip metadata wrappers from multi-channel chat logs?

The best way to strip metadata wrappers is to follow guidance for writing conservative, role-aware filters into your merge script. Always back up changes before applying, ensuring the merge process removes channel artifacts without deleting valid conversational history.

When should I run a noise profile audit on my existing memory merge workflows?

You should run a noise profile audit when troubleshooting memory recall degradation, onboarding new chat channels, or conducting periodic audits of merge-script behavior. This validates that your noise-reduction pipeline maintains historical search relevance over time.