Iptvnator Sqlite DB Worker
4gray/iptvnator
A skill your agent uses when changing Electron SQLite IPC, database-worker operations, request-scoped progress or cancellation, worker packaging, or runtime verification of non-EPG database work.
Fix SQLite "database disk image is malformed" errors caused by corrupted FTS5 indexes.
$ npx skills add divinevideo/divine-mobile --skill sqlite-fts5-corruption-rebuild -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install divinevideo/divine-mobile sqlite-fts5-corruption-rebuild --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/sqlite-fts5-corruption-rebuild .claude/skills/sqlite-fts5-corruption-rebuild && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "sqlite-fts5-corruption-rebuild" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/sqlite-fts5-corruption-rebuild into .claude/skills/sqlite-fts5-corruption-rebuild/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sqlite-fts5-corruption-rebuild", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/sqlite-fts5-corruption-rebuildType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add divinevideo/divine-mobile --skill sqlite-fts5-corruption-rebuild -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install divinevideo/divine-mobile sqlite-fts5-corruption-rebuild --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/sqlite-fts5-corruption-rebuild .agents/skills/sqlite-fts5-corruption-rebuild && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sqlite-fts5-corruption-rebuild" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/sqlite-fts5-corruption-rebuild into .agents/skills/sqlite-fts5-corruption-rebuild/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sqlite-fts5-corruption-rebuild", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill sqlite-fts5-corruption-rebuild -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install divinevideo/divine-mobile sqlite-fts5-corruption-rebuild --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/sqlite-fts5-corruption-rebuild .cursor/skills/sqlite-fts5-corruption-rebuild && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "sqlite-fts5-corruption-rebuild" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/sqlite-fts5-corruption-rebuild into .cursor/skills/sqlite-fts5-corruption-rebuild/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sqlite-fts5-corruption-rebuild", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/divinevideo/divine-mobile.git --path .agents/skills/sqlite-fts5-corruption-rebuild--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add divinevideo/divine-mobile --skill sqlite-fts5-corruption-rebuild -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install divinevideo/divine-mobile sqlite-fts5-corruption-rebuild --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/sqlite-fts5-corruption-rebuild .gemini/skills/sqlite-fts5-corruption-rebuild && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "sqlite-fts5-corruption-rebuild" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/sqlite-fts5-corruption-rebuild into .gemini/skills/sqlite-fts5-corruption-rebuild/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sqlite-fts5-corruption-rebuild", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install divinevideo/divine-mobile sqlite-fts5-corruption-rebuildInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add divinevideo/divine-mobile --skill sqlite-fts5-corruption-rebuild -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/sqlite-fts5-corruption-rebuild .github/skills/sqlite-fts5-corruption-rebuild && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "sqlite-fts5-corruption-rebuild" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/sqlite-fts5-corruption-rebuild into .github/skills/sqlite-fts5-corruption-rebuild/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sqlite-fts5-corruption-rebuild", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill sqlite-fts5-corruption-rebuild -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install divinevideo/divine-mobile sqlite-fts5-corruption-rebuild --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/sqlite-fts5-corruption-rebuild .opencode/skills/sqlite-fts5-corruption-rebuild && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "sqlite-fts5-corruption-rebuild" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/sqlite-fts5-corruption-rebuild into .opencode/skills/sqlite-fts5-corruption-rebuild/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sqlite-fts5-corruption-rebuild", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
sqlite-fts5-corruption-rebuildFix SQLite "database disk image is malformed" errors caused by corrupted FTS5 indexes.
Sqlite Fts5 Corruption Rebuild is an agent skill from divinevideo/divine-mobile. Fix SQLite "database disk image is malformed" errors caused by corrupted FTS5 indexes. Use when: (1) UPDATE/INSERT fails with "stepping, database disk image is malformed" but PRAGMA integritycheck returns "ok", (2) Only specific records fail to update while others succeed, (3) Records contain dirty text with tabs, newlines, or unusual characters that were inserted into FTS5-indexed columns. The misleading error message suggests disk corruption, but the actual issue is FTS5 index corruption from malformed text…
Its SKILL.md is about 990 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases. It works with SQLite. The licence is MPL-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6487b05. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
sqlite3From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
sqlite.orgFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Sqlite Fts5 Corruption Rebuild loads about 992 tokens when it runs. Until then it costs about 139 tokens; SKILL.md has 314 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from divinevideo/divine-mobile at commit 6487b05, republished under its MPL-2.0 licence (© divinevideo). 314 words, ~992 tokens.
.claude/skills/sqlite-fts5-corruption-rebuild/SKILL.md (or your agent's skills folder).SQLite returns "database disk image is malformed" (error code 11) when trying to
UPDATE or INSERT records, even though PRAGMA integrity_check reports the database
as "ok". The error only affects specific records, not all writes.
Error: stepping, database disk image is malformed (11)PRAGMA integrity_check returns ok (misleading!)\t), newlines (\n), or other
control characters in columns that are indexed by FTS5Identify FTS5 tables linked to the affected table:
SELECT name FROM sqlite_master WHERE type='table' AND name LIKE '%fts%';Stop any processes holding the database open (the rebuild requires exclusive access):
kill $(lsof -ti :PORT) # Kill the server processRebuild the FTS5 index:
INSERT INTO table_fts(table_fts) VALUES('rebuild');Replace table_fts with your actual FTS5 table name (e.g., people_fts).
Retry the failed operation - it should now succeed.
Restart your application server.
# Error occurs:
sqlite3 data/tracker.db "UPDATE people SET name = 'More' WHERE id = 11;"
# Error: stepping, database disk image is malformed (11)
# But integrity check passes:
sqlite3 data/tracker.db "PRAGMA integrity_check;"
# ok
# And SELECT works fine:
sqlite3 data/tracker.db "SELECT id, name FROM people WHERE id = 11;"
# 11|More Masajes\t\n\t\tEscort 23 años...
# Fix: Stop server, rebuild FTS5 index
kill $(lsof -ti :3001)
sqlite3 data/tracker.db "INSERT INTO people_fts(people_fts) VALUES('rebuild');"
# Now the update works:
sqlite3 data/tracker.db "UPDATE people SET name = 'More' WHERE id = 11;"
# Success!const cleanName = rawName.replace(/[\t\n\r]+/g, ' ').trim();content= (external content) FTS5 tables that can be rebuilt
independently without affecting the main tableSQLITE_CORRUPT) is the same as actual disk corruption,
making this hard to diagnose_data, _idx, _docsize),
not the main table, which is why integrity_check passesrebuild fails with "database is locked", ensure no other process has
the database open (check with lsof or fuser)© divinevideo, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/sqlite-fts5-corruption-rebuild of divinevideo/divine-mobile.
Open the folder on GitHubat commit 6487b05
Sqlite Fts5 Corruption Rebuild next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Sqlite Fts5 Corruption Rebuild this skilldivinevideo/divine-mobile | 266 | — | ~992 | Automated safety check: Pass | MPL-2.0 | |
| Iptvnator Sqlite DB Worker4gray/iptvnator | 7.3k | — | ~824 | Automated safety check: Pass | MIT | |
| Analyze Nsys Profilemlc-ai/pith-train | 355 | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Reactive Sqlite UIfastrepl/anarlog | 9.5k | — | ~699 | Automated safety check: Pass | MIT | |
| Composer Forensicsdxos/dxos | 525 | — | ~3.1k | Automated safety check: Pass | Custom licence | |
| Sqlite Schema Designfastrepl/anarlog | 9.5k | — | ~1.9k | Automated safety check: Pass | MIT |
4gray/iptvnator
A skill your agent uses when changing Electron SQLite IPC, database-worker operations, request-scoped progress or cancellation, worker packaging, or runtime verification of non-EPG database work.
mlc-ai/pith-train
Query a captured PithTrain Nsight Systems profile to measure compute/communication overlap, locate exposed comm by DualPipeV stage, and inspect per-rank stream behavior.
fastrepl/anarlog
Build SQLite-backed reactive UI in apps/desktop using stable patterns for reads, selection, forms, writes, and loading states.
dxos/dxos
Forensically inspect and repair Composer browser profiles — offline (Chrome OPFS / SQLite extract) or live via /recovery.html debug port.
fastrepl/anarlog
Design or review schemas for crates/cloudsync using SQLite Sync constraints, not generic SQLite advice.
deusXmachina-dev/memorylane
Create SQLite migrations for MemoryLane storage schema changes.
divinevideo/divine-mobile
Fix ArgoCD ExternalSecret deployment failing with "namespace X is not permitted in project Y".
divinevideo/divine-mobile
Art direction for any content — reads text, PDF, Word, HTML, PPT, then proposes 2-3 creative directions with photography style, mood, and visual language.
divinevideo/divine-mobile
Fix "Null check operator used on a null value" errors when an object is set to null during an async await.
divinevideo/divine-mobile
Add custom metadata headers (x-amz-meta-) to AWS v4 signed requests for GCS S3-compatible API.
divinevideo/divine-mobile
Fix password/secret authentication failures caused by trailing newlines when creating Google Cloud secrets (or similar) with bash here-strings.
divinevideo/divine-mobile
Fix silent video/media processing failures caused by URL extraction code that filters on file extensions (.mp4, .webm, .webp).
Works with
Categories
Fix SQLite "database disk image is malformed" errors caused by corrupted FTS5 indexes. Sqlite Fts5 Corruption Rebuild is an agent skill from divinevideo/divine-mobile. Fix SQLite "database disk image is malformed" errors caused by corrupted FTS5 indexes.
Sqlite Fts5 Corruption Rebuild fits situations like: UPDATE/INSERT fails with stepping; database disk image is malformed but PRAGMA integritycheck returns ok; only specific records fail to update while others succeed; records contain dirty text with tabs.
Run `npx skills add divinevideo/divine-mobile --skill sqlite-fts5-corruption-rebuild -a claude-code`. Or copy the skill folder (.agents/skills/sqlite-fts5-corruption-rebuild in divinevideo/divine-mobile) into .claude/skills/sqlite-fts5-corruption-rebuild in your project. Claude Code loads it when a task matches its description.
Run `npx skills add divinevideo/divine-mobile --skill sqlite-fts5-corruption-rebuild -a codex`. Or copy the skill folder (.agents/skills/sqlite-fts5-corruption-rebuild in divinevideo/divine-mobile) into .agents/skills/sqlite-fts5-corruption-rebuild in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add divinevideo/divine-mobile --skill sqlite-fts5-corruption-rebuild -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sqlite-fts5-corruption-rebuild, .gemini/skills/sqlite-fts5-corruption-rebuild, .github/skills/sqlite-fts5-corruption-rebuild and .opencode/skills/sqlite-fts5-corruption-rebuild in your project.
Going by SKILL.md and its folder, Sqlite Fts5 Corruption Rebuild needs the command-line tools its instructions call (sqlite3). Our summary lists: Node.js.
SKILL.md names 1 domain. As links in the text: sqlite.org. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Sqlite Fts5 Corruption Rebuild is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 992 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Sqlite Fts5 Corruption Rebuild: Iptvnator Sqlite DB Worker (4gray/iptvnator, 7.3k stars), Analyze Nsys Profile (mlc-ai/pith-train, 355 stars), Reactive Sqlite UI (fastrepl/anarlog, 9.5k stars) and Composer Forensics (dxos/dxos, 525 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
divinevideo (a GitHub organization) maintains it in divinevideo/divine-mobile, which has 266 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 9, 2026.
Source: divinevideo/divine-mobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.