Back to skills
SkillHub ClubShip Full StackFull Stack

slackdump-source

Explains the different Slackdump sources structure.

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
2,474
Hot score
99
Updated
March 20, 2026
Overall rating
C4.0
Composite score
4.0
Best-practice grade
B81.2

Install command

npx @skill-hub/cli install rusq-slackdump-slackdump-source

Repository

rusq/slackdump

Skill path: cmd/slackdump/internal/mcp/assets/skills/slackdump-source

Explains the different Slackdump sources structure.

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Full Stack.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: rusq.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install slackdump-source into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/rusq/slackdump before adding slackdump-source to shared team environments
  • Use slackdump-source for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw SKILL.md

---
name: slackdump-source
description: Explains the different Slackdump sources structure.
metadata:
  audience: general
  workflow: source
---

### Notes about source structure
#### Directory with database

Databases were introduced in Slackdump version 3.1.

Slackdump directory with database contains:
- an Sqlite3 database with the Slack workspace data, it is usually in the file
  `slackdump.sqlite`, unless renamed by the user afterwards.
- an optional `__uploads` directory with the files uploaded to the Slack workspace;
- an optional `__avatars` directory.

Fetch the current [archive command documentation][1] that contains the database
and directory structure description.

#### Standalone database
A user may choose to access just the slackdump database file. In this case
there will be no uploads or avatars, but the structure stays the same.

#### Chunk directory
Chunk directory preceded database archive format, and were introduced
in version 3.0 to address the shortcomings of export and dump formats, such as:
- high memory consumption during data aggregation
- inability to extend, for example, it would not be possible to store
  search results in these formats.

Chunk directory contains:
- a set of `*.json.gz` files.

The format and structure are described in the [chunk documentation][2]

#### Dump directory
Dump is the initial format of Slackdump since version 1.0.

It **WILL** contain one or more of the following files:
- `/[CHANNEL_ID].json` - messages from the conversation CHANNEL_ID.

It **MIGHT** contain additional metadata:
- `/[CHANNEL_ID]/*` - attachments from messages in conversation CHANNEL_ID.
  Each file is named: `[FILE_ID]-[original filename].[original extension]`
- `/channels.json` - raw combined output of the payload from channels.list calls
  (all channels in the dump)
- `/users.json` - raw combined output of the payload from users.list API calls
  (all users)
- `/workspace.json` - workspace information.

#### Export directory
Export is a reproduction of the native Slack export format with a *file storage
extension*, described in File storage types section below. Introduced in
version 2.0.

JSON structure in the ZIP/directory follows the Slack native format exactly,
but some newer features may be missing.

For the JSON structure see [Official slack Export description][3].

#### Export ZIP file and Dump ZIP file
The structure is exactly the same as Dump or Export directory, but instead of a
directory is uses a ZIP file as a container.

### File storage types
Native Slack exports are not supposed to store file attachments.  Slackdump works around this
by adding files to the export, and they can be stored in two different layouts (types):

- Standard: this is Slackdump's legacy storage format, introduced in version
  2.0 Files are stored in the `/[CHANNEL_ID]/attachments/` directory and have
  the same naming as Dump Attachments.
- Mattermost:  the "Mattermost" compatible storage format.  All attachments
  from all channels are stored in the `/__uploads/*` directory in the root of the
  directory. Full format is the following:
  ```
  /__uploads/[FILE_ID]/[original filename].[original extension]
  ```

[1]: https://raw.githubusercontent.com/rusq/slackdump/refs/heads/master/cmd/slackdump/internal/archive/assets/archive.md
[2]: https://raw.githubusercontent.com/rusq/slackdump/refs/heads/master/cmd/slackdump/internal/man/assets/chunk.md
[3]: https://slack.com/intl/en-au/help/articles/220556107-How-to-read-Slack-data-exports
slackdump-source | SkillHub