360 Secure SkillHub
360 安全技能中心

Turso

该 Skill 提供 Turso CLI 的使用说明,涵盖安装与登录、数据库创建/查询/销毁、数据库令牌、分组与副本位置、组织切换和套餐查看,并建议以 JSON 输出便于程序化调用;需本地安装 CLI 并连接 Turso 服务,技能本身不含脚本或代码。

melvynx
melvynx
热度 81.37
最近更新 2026-05-11 17:30:11
分类:开发依赖:代码执行 / 第三方 API应用场景:DevOps / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add turso
Metadata
name
turso
description
Manage Turso SQLite databases via CLI - databases, groups, tokens, replicas. Use when user mentions 'turso', 'libsql', 'sqlite edge', or wants to manage Turso databases.
category
devtools
install_command
brew install tursodatabase/tap/turso

turso

Setup

macOS:

brew install tursodatabase/tap/turso

Linux/WSL:

curl -sSfL https://get.tur.so/install.sh | bash

Verify installation:

turso --version

Always use --output json flag when calling commands programmatically (where supported).

Authentication

turso auth login

Get auth token:

turso auth token

Resources

Databases

Command Description
turso db list List all databases
turso db create <name> Create a new database
turso db create <name> --group <group> Create database in a specific group
turso db destroy <name> Destroy a database
turso db show <name> Show database details and URL
turso db shell <name> Open interactive SQL shell
turso db shell <name> "SELECT * FROM users" Run a SQL query directly
turso db inspect <name> Inspect database size and usage
turso db tokens create <name> Create an auth token for a database
turso db tokens create <name> --expiration none Create a non-expiring token

Groups

Command Description
turso group list List all groups
turso group create <name> Create a new group
turso group create <name> --location <location> Create group in specific location
turso group add-location <name> <location> Add a replica location to a group
turso group remove-location <name> <location> Remove a replica location
turso group destroy <name> Destroy a group

Organizations

Command Description
turso org list List organizations
turso org switch <name> Switch to a different organization

Plan

Command Description
turso plan show Show current plan details
turso plan upgrade Upgrade your plan

Global Flags

Flag Description
--output json Output result as JSON
--no-color Disable colored output