askill
turso

tursoSafety 88Repository

Turso SQLite database. Covers encryption, sync, agent patterns. Use when working with Turso/libSQL embedded databases, configuring encryption-at-rest, setting up sync replication, or building agent-friendly database patterns. Keywords: Turso, libSQL, embedded, SQLite, encryption, sync.

9 stars
1.2k downloads
Updated last week

Package Files

Loading files...
SKILL.md

Turso Database

SQLite-compatible embedded database for modern applications, AI agents, and edge computing.

Links

Quick Navigation

TopicReference
Installationinstallation.md
Encryptionencryption.md
Authorizationauth.md
Syncsync.md
Agent DBsagents.md

When to Use

  • Embedded SQLite database with cloud sync
  • AI agent state management and multi-agent coordination
  • Offline-first applications
  • Encrypted databases (AEGIS, AES-GCM)
  • Edge computing and IoT devices

Core Concepts

libSQL

Turso is built on libSQL, an open-source fork of SQLite with:

  • Native encryption (AEGIS-256, AES-GCM)
  • Async I/O (Linux io_uring)
  • Cloud sync capabilities

Deployment Options

  1. Embedded — runs locally in your app
  2. Turso Cloud — managed platform with branching, backups
  3. Hybrid — local with cloud sync (push/pull)

Common Patterns

Encrypted Database

openssl rand -hex 32  # Generate key
tursodb --experimental-encryption "file:db.db?cipher=aegis256&hexkey=YOUR_KEY"

Cloud Sync

import { connect } from "@tursodatabase/sync";

const db = await connect({
  path: "./local.db",
  url: "libsql://...",
  authToken: process.env.TURSO_AUTH_TOKEN,
});

await db.push(); // local → cloud
await db.pull(); // cloud → local

Agent Database

import { connect } from "@tursodatabase/database";

// Local-first
const db = await connect("agent.db");

// Or with sync
const db = await connect({
  path: "agent.db",
  url: "https://db.turso.io",
  authToken: "...",
  sync: "full",
});

Version

Based on product version: 0.4.3

Links

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

72/100Analyzed last week

Well-structured Turso database skill with good technical content, code examples, and clear use cases. Scores well on reusability and safety. Main gaps are actionability (lacks step-by-step instructions, references non-existent files) and completeness (no error handling, troubleshooting). Good tags and metadata. Located in proper skills folder.

88
78
78
65
60

Metadata

Licenseunknown
Version-
Updatedlast week
Publisheritechmeat

Tags

databasegithubsecurity