Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

slackdump-sqlite3

Skill by rusq

Guides an assistant in querying a Slackdump SQLite3 database directly with the sqlite3 command-line tool. It covers read-only access, key tables, and finding the latest version of a message.

  • Score 83
  • 2.9k stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install slackdump-sqlite3

Built from the published package, never by AI.

git clone --depth 1 https://github.com/rusq/slackdump /tmp/slackdump && mkdir -p ~/.claude/skills && cp -r /tmp/slackdump/cmd/slackdump/internal/mcp/assets/skills/slackdump-sqlite3 ~/.claude/skills/slackdump-sqlite3

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install slackdump-sqlite3 in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The slackdump-sqlite3 skill gives guidance for querying a Slackdump SQLite3 database with the sqlite3 command-line tool. It is meant as a fallback for use when the Slackdump MCP and SQLite MCP are both unavailable. The assistant is told to find slackdump.sqlite in the current or archive directory and to ask the user to choose if several files exist.

The skill describes key tables such as MESSAGE, CHANNEL, S_USER and FILE, and a chunk type lookup table. It explains that MESSAGE.ID is the Slack timestamp with the dot removed, and how to select thread replies. It also shows how to read full JSON fields from the DATA column and how to find the latest version of a message. Only SELECT and data-dictionary queries are allowed. It is written for assistants that need to query Slackdump output directly.

Written from the project's SKILL.md and checked against it.

What it can do

  • Locate databaseFinds slackdump.sqlite in the current directory or the archive directory.
  • Read-only queriesPermits only SELECT and data-dictionary queries, with no DML or DDL statements.
  • Table referenceDescribes key tables such as MESSAGE, CHANNEL, S_USER, FILE and CHANNEL_USER.
  • Chunk type lookupMaps chunk TYPE_ID values to the tables where each chunk type stores data.
  • Thread repliesSelects thread replies using PARENT_ID and IS_PARENT columns.
  • Message ID conversionExplains that MESSAGE.ID is the Slack timestamp converted to an int64 by removing the dot.
  • JSON field extractionShows how to read fields such as subtype and reactions from the DATA column with JSON_EXTRACT.
  • Latest message versionProvides queries for the latest channel-history and thread messages across sessions.

What you need

  • sqlite3 command-line tool
  • A slackdump.sqlite database file

Try asking

  • Find the latest thread replies under a given parent message in my Slackdump database.
  • Use sqlite3 to list the tables in my slackdump.sqlite file.
  • Show the subtype and reaction count for messages in chunk 44.

Good to know

  • Read-only: only SELECT and data-dictionary queries are permitted.
  • Chunk types 8 and 9 have no table and are not implemented yet.
  • Views prefixed with V_ are internal to slackdump and should not be used for analysis.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: cmd/slackdump/internal/mcp/assets/skills/slackdump-sqlite3/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to slackdump-sqlite3

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

slackdump-sqlite3: common questions

When should this skill be used?

Use it when the Slackdump MCP and SQLite MCP are both unavailable and the sqlite3 command-line tool is the fallback.

How do I tell thread replies from thread parents?

Replies have IS_PARENT set to FALSE and a PARENT_ID. Thread parents have IS_PARENT set to TRUE, because their PARENT_ID equals their own ID.

Why can the same message appear more than once?

The same message can be stored in several sessions. A thread-starter message is also stored under both TYPE_ID 0 and TYPE_ID 1 within one session.

How do I install slackdump-sqlite3?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is slackdump-sqlite3 free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is slackdump-sqlite3 safe to use?

It scores 83 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to slackdump-sqlite3?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

slackdump-sqlite3 Install

Add to stack

Loading.