blazium-games/blazium-skills/blazium-sqlite
Claude Code and agent skill by blazium-games/blazium-skills
- community
Checking that the SKILL.md file is still in the repository.
Uses Blazium’s native SQLite module (SQLite node, SQLiteDatabase, SQLiteQuery, backup). Use for relational saves and queries. Runtime DBs belong in user://. Not .tres catalogs or CSV import.
Install
npx vskill@latest install blazium-games/blazium-skills/blazium-sqliteSKILL.md
The same SKILL.md was published earlier as blazium-games/blazium-skills/blazium-sqlite.
Blazium SQLite
Native SQLite — not a JSON save file. Baseline: Blazium 0.8.x (Godot 4.8.x fork).
Version drift: inspect config_version / features in project.blazium (or project.godot). Keep blazium_4.8-safe APIs unless the user asks to migrate.
Module: blazium/modules/sqlite3/ (SQLite, SQLiteDatabase, SQLiteQuery, SQLiteQueryResult, SQLiteBackup, SQLiteColumnSchema, SQLiteAccess, SQLiteBlob). Template: script_templates/SQLite/default.gd.
Runtime DBs live in `user://`. The official template saves res://test.sqlite — editor/demo only.
When to use
- Use when opening, querying, migrating, or backing up a relational DB.
When not to use: small designer data → blazium-resources. Tabular import → blazium-csv. Starting from the official node template only → blazium-gdscript-templates then return here.
Workflow
- Inspect. Existing
.sqlitepath.ClassDB.class_exists("SQLite"). - Choose. In-memory (
SQLiteDatabase.new()) vsuser://game.sqlite. - Implement.
load_from(path)/ schema viacreate_table+
SQLiteColumnSchema. Queries: create_query / execute_query / insert_row(s) / select_rows. Backup: backup_to / backup_async.
- Verify. Query result +
get_last_error_messageif failed. Autowork
on a temp user:// file.
- Handoff. Path + schema. Template authoring → gdscript-templates.
Patterns
Open / query / backup
Template helpers: SQLiteColumnSchema.create, database.create_table, insert_rows. ResourceSaver.save(database, path) is for the SQLiteDatabase resource — still prefer user:// at runtime.
WAL, attach, custom functions
Proven in sqlite3_module_tests (close the DB in teardown):
Also tested: savepoints, BLOB, JSON, aggregates, collations, sandbox authorization, SQLite node forwarding. Always close() when done.
Path rules
| Location | Use | |
|---|---|---|
user:// | player saves, runtime | |
res:// | shipped read-only / editor demo only | |
| memory | tests / scratch |
Pitfalls
- Wrote the player DB into `res://` → not writable on export.
- Invented FileAccess CSV parsing for tables →
blazium-csv. - Used ConfigFile for relational data → this module.
- Copied Roblox DataStore APIs → wrong stack.
Resources
- Tests: https://github.com/blazium-games/sqlite3_module_tests
blazium/modules/sqlite3/doc_classes/SQLite.xml- Template:
script_templates/SQLite/default.gd - Tests: github.com/blazium-games/sqlite3_module_tests
Related skills
blazium-resources— small.tresdatablazium-gdscript-templates— official SQLite starterblazium-csv— tabular import
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/blazium-sqlite/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/blazium-games/blazium-skills/blazium-sqlite)