Transcript export

From ai-ecoverse/slicc · View interactive version

Transcript export is an AI agent skill from the GitHub repository ai-ecoverse/slicc. Use when the user asks to export, save, or download a transcript or session history; or (with Memory v2 on) to search or re-read past /sessions archives. Covers active-session export, archived (frozen) session export, ZIP bundle layout, redaction guarantees, `session export` syntax, and the Memory v

How to use this skill

Skill file

Transcript Export

The session export command packages the current (or a named archived)

session into a signed, redacted ZIP bundle and writes it to the VFS.

Syntax

# Export the active session (default output path):
session export

# Export to a specific VFS path:
session export --output /workspace/my-session.zip

# Export a frozen (archived) session by its ID:
session export --id <frozen-session-id>

# Export a frozen session to a custom path:
session export --id <session-id> --output /workspace/archive.zip

The default output path is /workspace/slicc-transcript-<session-id>.zip.

Moving to SLICC 7 — `export-profile`

SLICC 7 lives at seven.sliccy.ai. To move this whole profile there, run

export-profile, or point the user to Settings → Export for SLICC 7….

Both save slicc6-profile-<date>.zip to the browser's Downloads (a profile

over 2 GiB or 60,000 files becomes one zip per cone). The user then imports

it in SLICC 7's Freezer (Import from SLICC 6…).

export-profile --dry-run   # what would move, nothing saved
export-profile             # opens the export dialog; the user confirms, then it saves

export-profile never saves on its own: it opens the Export for SLICC 7

dialog in the SLICC tab, and the user has to click Export there. Tell

them to look at the tab. Afterwards, tell them the two notes it prints:

Settings, for the providers listed.

.slicc/oauth/*) are in the zip in the clear, as listed.

secrets.env, the GitHub token, MCP tokens and /mnt mounts never move.

Each origin (sliccy.ai, the CLI, the extension) is its own profile, so the

export runs once in each.

Memory v2 — search then read (feature flag)

When the memory-v2 flag is on (Settings → Experimental, or a central

override), session also exposes keyword search over /sessions archives

and every scoop session snapshot (/scoops/<folder>/sessions/<jid>/), so a

dropped scoop's transcript is still findable. Prefer this over rg / cat

on archives: legacy markdown embeds the whole session JSON on one line, so

grep counts and line dumps are misleading.

# Bounded keyword search (title weighted above body; original content above
# compaction summaries and prior search echoes):
session search "OpTel budget" [--limit 8]

# Read a bounded page for a hit id from search output:
session read sess/<sessionId>/msg/<messageId> [--from N --count M]

Protocol:

  1. session search <query> returns short excerpts with stable id=… lines.
  2. session read <id> returns a hard-capped page and reports what remains.
  3. Stay under ~20 KB total across a few calls — never dump a whole archive.

With Memory v2 on, new archives write prose-only markdown plus a .jsonl

sidecar (one pi-ai-shaped message per line). Legacy embedded

<!-- slicc:session-data --> archives remain searchable.

What the bundle contains

The ZIP always contains exactly one file: transcript.json. Its top-level

structure follows TranscriptDocumentV1 (schema version 1):

slicc-transcript-<id>.zip
└── transcript.json     # full schema-validated v1 document
└── attachments/        # only if the session has binary attachments
    └── <sha256>.<ext>  # original bytes, unchanged

Cone and scoop conversations

transcript.json contains every conversation in the session:

Each conversation contains all messages in sequence order.

Redaction guarantees

The export is always redacted before the ZIP is written. Two detectors run:

| Detector | What it catches | Output in transcript.json |

| -------------------- | ---------------------------------------------- | ------------------------------------ |

| known-secret | Secrets from the session secret store | ⟦REDACTED:known-secret:<id>⟧ |

| credential-pattern | Bare API keys, bearer tokens, PEM private keys | ⟦REDACTED:credential-pattern:<id>⟧ |

Redacted values are listed in privacy.redactions[]. privacy.redactionCounts

gives per-category counts. A privacy.reasoningExcluded: true field confirms

that no reasoning/thinking content was included.

Binary attachments

Text attachments (MIME type text/*) are redacted inline. Binary attachments

(images, PDFs, etc.) are copied unchanged into attachments/ and their

handling field reads "binary-unchanged".

Warning: unchanged binary files may contain sensitive data (screenshots

of credentials, PDFs with embedded API keys). Review binary attachments

before sharing the ZIP.

Session states

| State | Behaviour |

| ----------------- | ----------------------------------------------------------------------------------------------------------------- |

| Active | Exported from the live agent history. May be partial if the agent loop is mid-turn. |

| Newly frozen | Exported from the snapshot captured by "Save & start new". Always complete. |

| Legacy frozen | Exported from the Markdown archive at /sessions/<slug>.md. Partial by construction (no agent-history snapshot). |

Error codes

| Code | Meaning |

| ----------------------- | ------------------------------------------------------------------------------ |

| permission-denied | User denied a follower export request (Cherry / follower flow). |

| redaction-unavailable | The redactor could not initialize; export aborted. |

| session-not-found | The requested frozen session ID does not exist. |

| transfer-aborted | Export was cancelled mid-stream (abort signal or disconnect). |

| transfer-corrupt | The ZIP bytes do not match the completion receipt checksum. |

| schema-invalid | The transcript document failed v1 schema validation. |

| attachment-unreadable | A text attachment could not be decoded or redacted; export aborted for safety. |

Finding frozen session IDs

cat /sessions/index.json

The index is a JSON array of frozen session objects, each with an id field.

Use that id as the --id argument.

Examples

# Export the active session:
session export --output /workspace/today-session.zip

# Export a specific archived session:
session export --id 2026-07-22T12-00-00-planning --output /workspace/planning.zip

# Confirm the export succeeded:
ls -la /workspace/*.zip

Notes

service is not yet ready (e.g. the cone is still bootstrapping), the command

returns session export: session-not-found.

same ZIP and triggers a browser download instead of writing to VFS.

shows a one-time approval dialog before streaming the ZIP. On a cloud

(hosted-leader) session the leader is headless, so it delegates that prompt to

the requesting follower — the approval appears on the user's own device.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.