Grdb

🌐Community
by johnrogers · vlatest · Repository

Grdb extracts structured data from unstructured text, streamlining information retrieval and analysis for enhanced workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add grdb npx -- -y @trustedskills/grdb
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "grdb": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/grdb"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill enables AI agents to interact with SQLite databases using GRDB, a powerful Swift library. It allows agents to execute complex SQL queries, manage database schemas, and persist data directly within Swift applications without manual coding.

When to use it

  • You need an agent to store user preferences or session state in a local SQLite file.
  • Your project requires complex relational queries that standard JSON storage cannot handle efficiently.
  • You are building a native iOS or macOS application and want the AI to manage data integrity automatically.
  • You require rapid prototyping of database logic without writing boilerplate Swift code.

Key capabilities

  • Executes raw SQL statements for data retrieval and manipulation.
  • Manages database schema creation and migrations dynamically.
  • Handles connection pooling and transaction management securely.
  • Supports complex joins, aggregations, and filtering within SQLite.

Example prompts

  • "Create a new table called 'users' with columns for id, name, and email, then insert three sample records."
  • "Write a query to find all users who have made more than 5 purchases in the last month."
  • "Update the status of all pending orders to 'shipped' and log the number of rows affected."

Tips & gotchas

Ensure your AI agent has read/write access to the target SQLite file path, as local permissions can block database operations. Be cautious with dynamic SQL generation; always validate inputs to prevent injection attacks when handling untrusted data sources.

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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
johnrogers
Installs
34

🌐 Community

Passed automated security scans.