Axiom Grdb
Axiom Grdb extracts structured data from various file types (like SQLite databases) into a standardized format for easy analysis and integration.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add axiom-grdb npx -- -y @trustedskills/axiom-grdb
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"axiom-grdb": {
"command": "npx",
"args": [
"-y",
"@trustedskills/axiom-grdb"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill, Axiom Grdb, provides direct access to SQLite databases using GRDB.swift, a toolkit for SQLite that offers type-safe queries, migrations, and reactive observation capabilities. It allows AI agents to perform complex database operations when full control over SQL is needed, offering the power of raw SQL alongside Swift's type safety. This skill requires iOS 13+ and Swift 5.7+.
When to use it
This skill is best suited for scenarios requiring advanced SQLite functionality:
- Complex SQL joins across four or more tables.
- Using window functions (ROW_NUMBER, RANK, LAG/LEAD).
- Implementing reactive queries with ValueObservation.
- Needing full control over SQL for performance optimization.
- Executing advanced migration logic beyond simple schema changes.
Key capabilities
- Type-safe Swift wrapper around raw SQL.
- Support for complex SQL joins and aggregations.
- Reactive query updates using
ValueObservation. - Customizable database migrations with rollback patterns.
- Query profiling and optimization via
EXPLAIN QUERY PLANanddatabase.trace.
Example prompts
Here are some example prompts an AI agent with this skill could respond to:
- "I need to query messages with their authors and count of reactions in one query. How do I write the JOIN?"
- "I want to observe a filtered list and update the UI whenever notes with a specific tag change."
- "My query is slow (takes 10+ seconds). How do I profile and optimize it?"
Tips & gotchas
- This skill requires iOS 13+ and Swift 5.7+.
- Consider using
SQLiteDatainstead if type-safe@Tablemodels are sufficient or CloudKit sync is needed. - For safe schema evolution patterns, refer to the
axiom-database-migrationskill.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.