$npx skillfedfor your agent

turso-db

Turso is a Rust-based, in-process SQL database that runs SQLite-compatible queries in Node.js, browsers, React Native, and edge functions. It includes vector similarity search, full-text search powered by Tantivy, change tracking, encryption, and remote sync capabilities. This skill covers SDK setup, CLI usage, and recipes for all supported languages and platforms.

Turso Database helps you set up and connect to an in-process SQLite-compatible database across Node.js, browsers, React Native, and serverless environments.

AI-generated summary based on this skill's SKILL.md

21 1 MITupdated by tursodatabase

Decision gist · record as of 2026-07-22

Turso Database helps you set up and connect to an in-process SQLite-compatible database across Node.js, browsers, React Native, and serverless environments. Turso is a Rust-based, in-process SQL database that runs SQLite-compatible queries in Node.js, browsers, React Native, and edge functions. It includes vector similarity search, full-text search powered by Tantivy, change tracking, encryption, and remote sync capabilities. This skill covers SDK setup, CLI usage, and recipes for all supported languages and platforms.

manual: git clone https://github.com/tursodatabase/agent-skills → cp -r agent-skills/skills/turso-db ~/.claude/skills/turso-db
skills/turso-db/SKILL.md · version ef0dd9c4

Use it when

  • Turso provides SDKs for multiple languages and platforms: JavaScript/TypeScript for Node.js and browsers, Python, Go, Rust.
  • Turso includes built-in vector similarity search and full-text search powered by Tantivy.

Verify before relying

Read SKILL.md below before installing (14 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

tursodatabase/agent-skills/turso-db

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I set up and use Turso database in my application?

Turso is a Rust-based, in-process SQL database that runs SQLite-compatible queries across Node.js, browsers, React Native, and edge functions. To set up Turso, install the appropriate SDK for your platform (JavaScript, Python, Go, Rust, or others), initialize a database connection, and execute SQL queries. Turso supports remote sync, so you can connect to local or remote instances. The skill covers SDK setup, CLI commands, and platform-specific recipes to get you started quickly.

What SDKs does Turso offer for different platforms and languages?

Turso provides SDKs for multiple languages and platforms: JavaScript/TypeScript for Node.js and browsers, Python, Go, Rust, and React Native for mobile. Each SDK is optimized for its environment—the JavaScript SDK works in serverless edge functions and WASM browsers, while the React Native SDK enables offline-first mobile apps. The skill guides you in choosing the correct SDK for your platform and implementing it in your application.

How can I implement vector or full-text search with Turso?

Turso includes built-in vector similarity search and full-text search powered by Tantivy. For vector search, store embeddings in your database and use Turso's similarity functions to find nearest neighbors. For full-text search, Turso indexes text columns automatically and provides FTS queries. The skill covers recipes and best practices for both search types, helping you integrate semantic and keyword search into your application.

Does Turso support encryption, MVCC, and change data capture?

Yes, Turso supports encryption at rest, MVCC (Multi-Version Concurrency Control) for concurrent writes without blocking, and CDC (Change Data Capture) for tracking database changes. These features enable secure, scalable applications with real-time data synchronization. The skill explains how to enable and configure each feature based on your application's requirements.

How do I sync data between local and remote Turso databases?

Turso enables offline-first sync between local and remote databases, making it ideal for mobile and edge applications. You can replicate data remotely and sync changes bidirectionally. The skill covers sync setup, conflict resolution, and recipes for implementing offline-first architectures with Turso's remote replication capabilities.

What is the license for Turso, and how do I access CLI and MCP tools?

Turso is released under the MIT license. The skill includes guidance on using the Turso CLI for database management, configuration, and deployment, as well as integration with MCP (Model Context Protocol) servers for advanced automation and tooling.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Turso Database

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

Do NOT search the web for "libsql" or "@libsql/client" — those are

(truncated - see the full file via the links below)

File tree — 14 files
skills/turso-db/SKILL.md
skills/turso-db/references/cdc.md
skills/turso-db/references/encryption.md
skills/turso-db/references/full-text-search.md
skills/turso-db/references/mvcc.md
skills/turso-db/references/sync.md
skills/turso-db/references/vector-search.md
skills/turso-db/sdks/go.md
skills/turso-db/sdks/javascript.md
skills/turso-db/sdks/python.md
skills/turso-db/sdks/react-native.md
skills/turso-db/sdks/rust.md
skills/turso-db/sdks/serverless.md
skills/turso-db/sdks/wasm.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Set up and connect to Turso database in my application”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

Turso
by oakoss · oakoss/agent-skills

Turso is a globally distributed SQLite platform built on libSQL that combines edge-hosted databases with embedded replicas for low-latency local reads. It supports vector similarity search, multi-database per-tenant architectures, batch operations, and integrates with Drizzle ORM for schema management. Use it for applications requiring offline-capable replicas, programmatic database provisioning, or distributed deployments.

no license declared → metadata onlyupdated Mar 2026
★ 13repo stars
cdc
by tursodatabase · tursodatabase/turso

CDC is Turso's change data capture system that records INSERT, UPDATE, and DELETE operations at the bytecode translation layer. Changes are written to a dedicated CDC table and consumed by the sync engine to replicate local modifications remotely. The system supports two schema versions and operates per-connection via PRAGMA configuration.

MITfor claude-codeupdated Jul 2026
★ 23,479repo stars
storage-format
by tursodatabase · tursodatabase/turso

This guide breaks down how SQLite organizes data on disk, from the 100-byte header through page types, B-tree layouts, and cell formats. It covers record encoding with serial types, overflow page chains for large payloads, and freelist structures for space reuse. Includes Turso implementation details and debugging commands.

MITfor claude-codeupdated Jul 2026
★ 23,479repo stars
yield-injections
by tursodatabase · tursodatabase/turso

yield-injections provides test-only infrastructure for injecting cooperative yields and synthetic failures into resumable state machines. Use it to test state-machine re-entry safety, interleaving behavior, and abandonment cleanup by marking yield points and controlling when they fire. Includes fixed injectors for unit tests and simulator support for randomized deterministic coverage.

MITfor claude-codeupdated Jul 2026
★ 23,479repo stars
debugging
by tursodatabase · tursodatabase/turso

This guide walks through Turso's debugging toolkit for tracking down database problems. Compare bytecode between SQLite and Turso to pinpoint code generation bugs versus VM issues, enable trace logging for core components, run stress tests with ThreadSanitizer to catch threading problems, and use deterministic simulation with seeds to reproduce elusive bugs. Corruption debugging tools help diagnose WAL and integrity failures.

MITfor claude-codeupdated Jul 2026
★ 23,479repo stars
transaction-correctness
by tursodatabase · tursodatabase/turso

This guide explains Turso's Write-Ahead Logging system, covering how transactions are written, read, and checkpointed back to the main database file. It details the concurrency model where one writer coexists with multiple readers, checkpoint strategies from passive to truncate modes, and the recovery process after crashes. The guide also maps Turso's implementation to its core storage layer, distinguishing per-connection state from shared WAL structures.

MITfor claude-codeupdated Jul 2026
★ 23,479repo stars

More skills mvcc (MIT) · memory-benchmark (MIT)

Tags
rust-databaseembedded-sqlvector-embeddingsoffline-firstedge-computemobile-databasechange-trackingconcurrent-accesswasm-compatiblemulti-sdk