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.
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-sqlite3Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/rusq/slackdump /tmp/slackdump && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/slackdump/cmd/slackdump/internal/mcp/assets/skills/slackdump-sqlite3 ~/.gemini/antigravity-cli/skills/slackdump-sqlite3Antigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →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.
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.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
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.
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.
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.
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.
