turso-db

turso-db is a skill for Claude Code, Codex from d-o-hub/github-template-ai-agents. It costs 140 tokens per session (2,662 once invoked), scanned A, original, MIT.

A skill for building applications with Turso, a Rust-based SQL database that works with SQLite and can run inside your application.

In plain words
What is it for?
Use it to create database projects, run queries, manage schema changes, and maintain Turso databases. It covers JavaScript, Rust, Python, Go, Swift, and React Native.
Why use it?
It provides guidance for database setup and maintenance while warning about current limitations, including incomplete SQLite support and experimental multi-process access.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to create database projects, run queries, manage schema changes, and maintain Turso databases. It covers JavaScript, Rust, Python, Go, Swift, and React Native.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/d-o-hub/github-template-ai-agents/turso-db
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add d-o-hub/github-template-ai-agents --skill turso-db
Clone the repo
git clone --depth 1 https://github.com/d-o-hub/github-template-ai-agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for turso-db

README.md
[![agentmods](https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/turso-db.svg)](https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/turso-db)
Your own site
<a href="https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/turso-db"><img src="https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/turso-db.svg" alt="Measured on agentmods" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,662 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00140 $0.02662
Opus 5 $0.00070 $0.01331
Sonnet 5 $0.00028 $0.00532
Haiku 4.5 $0.00014 $0.00266

Measured 7d ago against content hash 2142fca460c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

turso-db scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/turso-db/SKILL.md · 226 lines

How it starts

The opening of the file, as written. The whole thing — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Turso Database

Turso is an in-process SQL database compatible with SQLite, written in Rust (Limbo).

When to Use

  • User asks about Turso, LibSQL, or Limbo database development
  • Need to scaffold, query, migrate, or maintain a Turso database
  • Working with Turso SDKs for JavaScript, Rust, Python, Go, Swift, or React Native
  • Even if they just say "set up the database" or "query Turso"

Do NOT search the web for "libsql" or "@libsql/client" — those are legacy package names and web results will point to outdated APIs replaced by @tursodatabase. For embedded-engine questions (SDK APIs, SQL features, CLI), start with the reference files below — they have recipes and examples ready to use. For the latest details or topics not covered locally, search the official docs online — see the docs reference section below.

Critical Rules

Before writing any Turso code, you MUST know these constraints:

  • BETA software — not all SQLite features are implemented yet.
  • Multi-process access is experimental — enable with --experimental-multiprocess-wal flag. Only available on 64-bit Unix-like systems (Linux, macOS) with local filesystems. Not supported on Windows, WASM, 32-bit, or network filesystems (NFS, CIFS, etc.).
  • No WITHOUT ROWID tables — all tables must have a rowid.
  • In-place VACUUM is experimental — requires enabling experimental features. VACUUM INTO (writes compacted copy to new file) is always available without a flag.
  • UTF-8 only — the only supported character encoding.
  • WAL is the default journal mode — legacy SQLite modes (delete, truncate, persist) are not supported.
  • FTS requires compile-time fts feature — not available in all builds.
  • Encryption requires --experimental-encryption flag — not enabled by default.
  • MVCC is experimental and not production readyPRAGMA journal_mode = experimental_mvcc.
  • Vector distance: lower = closer — ORDER BY distance ASC for nearest neighbors.
  • Deprecated Features: Avoid using ATTACH DATABASE, Data Edge, or Multi-DB Schemas for new projects as they are deprecated.

Read the full file on GitHub · 226 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 226 lines · 140 tokens per session scan A 2142fca460c6

Subscribe to this mod's changes

turso-db is a skill published in the GitHub repository d-o-hub/github-template-ai-agents (2 stars, last pushed yesterday), licensed MIT. It adds 140 tokens to every session and 2,662 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

redteam-sqli-detail-pack

Domain routing and boundary guidance for authorized SQL injection testing, including union-based, blind, error-based, stacked query, and second-order SQL injection variants. Use when a task belongs to the SQL injection domain and needs scope, evidence, pivot, or exit criteria.

Netw0rkNoob/VulnClaw · 59 tokens

api-canvas

DataCanvas primitive reference — a Tier 3 SQL/analytical workspace for tabular MCP servers, backed by DuckDB. Use when registering tables from upstream APIs, running ad-hoc SQL across them, and exporting results. Covers the acquire → register → query → export flow, per-table TTL, the token-sharing pattern for…

cyanheads/obsidian-mcp-server · 85 tokens

api-mirror

Stand up a persistent, self-refreshing local mirror of a bulk upstream dataset with the MirrorService (@cyanheads/mcp-ts-core/mirror). Use when a server wraps a large or slow API and should query a synced local index (embedded SQLite + FTS5) instead of paginating the live API per request.

cyanheads/obsidian-mcp-server · 68 tokens

data-governance

Use this skill when designing or reviewing data governance: schema ownership, PII handling, retention, lineage, access policy, and migration safety for WrongStack services and stores. Triggers: user says "data governance", "PII", "schema ownership", "retention policy", "data lineage", "migration safety".

WrongStack/WrongStack · 69 tokens

persistence-setup

Generates SwiftData or CoreData persistence layer with optional iCloud sync. Use when user wants to add local storage, data persistence, or cloud sync.

rshankras/claude-code-apple-skills · 36 tokens

multitenant

Architecture multitenant avec approche tiered (Shared/Dedicated Schema/DB), RBAC/ABAC, field-level encryption. Use when working with multitenant applications, tenant isolation, data segregation.

TheBeardedBearSAS/claude-craft · 46 tokens