/synthesis-skills:synthesis-message-exportsfrom synthesis-skills
Imports authorized Facebook Messenger exports into private markdown transcripts, one per chat. Read-only, for backlog clearing or archival purposes.
Ships in synthesis-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turn a platform's export of the principal's messages into private markdown transcripts, one file per
conversation, in a folder the principal names. It is the other mode beside synthesis-local-messaging, which
reads a window of a local database into pointer-only notes and keeps each conversation in its app: here the
principal has authorized a copy of a whole export, for a purpose such as clearing a backlog. It reads Facebook
Messenger: Meta's "Download your information" export in JSON, and Messenger's download of end-to-end encrypted
chats from secure storage.
synthesis-agent-correspondence and its approval.--listing-redacted replaces every name. Never edit the export, read it by hand or loosen the importer to get past a refusal.scripts/chat_page.py: opening a chat marks it read in their view, so say so first.Settle the authorization. The principal names the platform and account, gives the export (the ZIP as
downloaded, or the folder it was extracted to) and names the private output folder; ask for whatever they
have not given. Messenger history can take two downloads: the regular export (older chats, with the part of
each chat from before it moved to end-to-end encryption under e2ee_cutover) and the secure-storage download
(the encrypted chats). Import both into the same folder; their transcripts never collide.
Count first. A dry run reads and checks everything and writes nothing:
python3 -s "$HOME/.synthesis/v5/current/skills/synthesis-message-exports/scripts/import_messages.py" EXPORT.zip --out PRIVATE_FOLDER --dry-run
Import. Run the same command without --dry-run. Add --since YYYY-MM-DD to take only messages from
that day on (UTC). A large regular export comes in several ZIPs: run each part with the same --out.
Report the counts to the principal, with each skipped conversation and its reason. Exit 0: imported. Exit 1: imported, with conversations skipped and named. Exit 2: refused, nothing written.
Work from the transcripts as data (rule 2). Record what the principal decides in the project's own records, citing a transcript by file name and Message ID rather than copying it.
The importer uses Python's standard library only and no network. It reads only the export and the transcripts it
wrote before; it writes only in --out, creating that folder (readable by its owner alone) when its parent
exists. It checks every file before writing anything.
An invented run:
export: zip, 14 files
conversations: 9 found; 4 new transcripts, 0 extended, 0 with nothing new, 5 with no messages, 0 skipped
messages: 212 new; 0 already in transcripts, 0 before --since, 0 repeated in the export
attachments referenced: 5 (none copied)
not read: 5 media files, 0 files outside Messages, 0 other messaging files with no conversation, 0 HTML copies
wrote 4 transcripts to /path/to/private/folder
fields not shown: <name> <count> appears when messages carry a field the transcript does not show, and
skipped conversation <file>: <reason> for each conversation left alone: a file of that name this importer did
not write or wrote in an earlier format, a transcript edited since, or a secure-storage conversation whose messages
sit in two transcripts or that shares one transcript with another. A dry run ends
dry run: nothing written. No line ever carries message text.
refused: 1 files are not in a shape this importer reads; nothing written
The file names below carry the names of the people in these conversations: the principal decides what, if anything, to send, and to whom. --listing-redacted lists the same files with every name replaced.
the export's files, name and size in bytes (no message text; media counted, not listed):
2310 your_facebook_activity/messages/inbox/sample_1001/message_1.html <- HTML: only the JSON format is read
media files not listed: 3 (jpg 3)
--listing-redacted for the listing with every name replaced by a token keyed for that run, structure,
extensions and sizes kept. A reader for the new shape is added the way this one was built: tests first, with
invented fixtures in that shape, never the principal's data.agents/openai.yaml (opens in a new tab)references/chat-page.md (opens in a new tab)references/coverage-map.md (opens in a new tab)references/formats.md (opens in a new tab)references/transcript-format.md (opens in a new tab)scripts/chat_page.py (opens in a new tab)scripts/import_messages.py (opens in a new tab)tests/message_exports_fixtures.py (opens in a new tab)tests/test_chat_page.py (opens in a new tab)tests/test_message_exports.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
facebook-messenger, data-import, markdown-transcripts, privacy
npx claudepluginhub synthesisengineering/synthesis-skills --plugin synthesis-skills73 skills in this plugin
/synthesis-absence-coordinationPlan an absence end to end: who to tell, coverage, meetings released, out-of-office on and off, the return sweep. Use for time off or leave./synthesis-action-sheetOne page of what the principal must still do after agents act: approvals, sends, tasks. Use after a decision packet or daily plan./synthesis-adversarial-reviewBounded adversarial review by differently shaped agents, with a findings table and rulings. Use for red-team or cross-agent review.Other plugins' skills for the same job