Skip to content
Back to skills

Message Parser

ASecurity

Parse raw WhatsApp exports (TXT or JSON) into normalized message objects with `timestamp`, `sender`, and `content`. Use when users ask to parse chat export, clean WhatsApp dump, or convert chat TXT to structured JSON before extraction. Recommended chain start: message-parser then lead-extractor. Do not use for lead interpretation, storage, summarization, or action suggestions.

  • 21 stars
  • 0 votes
  • 1 copy
  • 8 views
  • Added September 7, 2026
toolsdatabase

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill message-parser --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Message Parser?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Message Parser
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-message-parser/badge)](https://www.skillsdirectory.com/skills/modbender-message-parser)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: message-parser
description: "Parse raw WhatsApp exports (TXT or JSON) into normalized message objects with `timestamp`, `sender`, and `content`. Use when users ask to parse chat export, clean WhatsApp dump, or convert chat TXT to structured JSON before extraction. Recommended chain start: message-parser then lead-extractor. Do not use for lead interpretation, storage, summarization, or action suggestions."
---

# Message Parser

Convert raw chat exports into a strict array of parsed message objects.

## Quick Triggers

- Parse this WhatsApp export file.
- Convert this group dump into structured messages.
- Clean this TXT chat into timestamp/sender/content rows.

## Recommended Chain

`message-parser -> lead-extractor -> india-location-normalizer -> sentiment-priority-scorer -> summary-generator -> action-suggester -> lead-storage`

## Execute Workflow

1. Accept raw WhatsApp export input as plain text, JSON, or file contents already loaded by Supervisor.
2. Detect and parse the source format, including WhatsApp export lines like `DD/MM/YYYY, HH:MM - sender: message`.
3. Normalize each event into exactly three fields:
   - `timestamp` (RFC 3339 date-time string)
   - `sender` (non-empty string)
   - `content` (string; allow empty message bodies)
4. Merge multiline continuation lines into the previous message when they do not start with a new timestamp marker.
5. Preserve message ordering. If timestamps collide, preserve original source order.
6. Ignore chat-system boilerplate as lead content (encryption notice, group created, member added) while preserving raw line fidelity for audit.
7. Validate output against `references/parsed-message-array.schema.json`.
8. Return only the validated array.

## Enforce Boundaries

- Never infer or extract leads.
- Never write to databases or files.
- Never generate summaries or action plans.
- Never send or schedule outbound communication.
- Never bypass Supervisor routing.

## Handle Errors

1. Return explicit parse errors for malformed entries.
2. Include line offsets when source lines are available.
3. Fail closed if output cannot satisfy the schema.

Files in this skill

  • SKILL.md2.1 KB
  • agents/openai.yaml250 B
  • references/parsed-message-array.schema.json534 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.