tidbcloud-http
CommunityBypass SDK, query TiDB Serverless via raw HTTP.
Authoralex-quan-001
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill solves the limitation of requiring the official @tidbcloud/serverless SDK to query TiDB Serverless, enabling direct raw HTTP access for users who need to bypass the driver or build custom integration workflows with TiDB Cloud.
Core Features & Use Cases
- Direct HTTP Access: Send SQL queries directly to TiDB Serverless's /v1beta/sql endpoint without relying on the official JS SDK or driver.
- Flexible Query Modes: Support for stateless one-off queries, persistent stateful sessions for multi-query workflows, and interactive transactions with configurable isolation levels.
- Automated Handling: Built-in session token management with automatic retry on invalid sessions, in-memory decoding of binary field types (BLOB, BIT, etc.) without extra queries, and a 10,000 row limit to prevent overload.
- Use Case: A DevOps engineer building a custom alerting tool can pull real-time slow query metrics directly from TiDB Serverless via HTTP without integrating the full TiDB Cloud SDK as a project dependency.
Quick Start
Ask the AI to run a stateless SQL query against your TiDB Serverless instance by providing your DATABASE_URL and the target SQL statement to execute via direct HTTP.
Dependency Matrix
Required Modules
jqpython3curl
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: tidbcloud-http Download link: https://github.com/alex-quan-001/nutshell-skills/archive/main.zip#tidbcloud-http Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.