relational-database-web-cloudbase

relational-database-web-cloudbase is a skill for Claude Code from TencentCloudBase/CloudBase-AI-Toolkit. It costs 68 tokens per session (1,083 once invoked), scanned A, original, MIT.

Instructions for using CloudBase’s relational database from a browser-based web app through its JavaScript SDK. A relational database stores information in linked tables that can be queried by the application.

In plain words
What is it for?
Use it to initialize the browser database client, run table queries, support Supabase migrations, and share a database client across frontend code.
Why use it?
It clarifies how frontend database access differs from server-side or administrative database work, reducing the risk of using the wrong interface.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the cloudbase-ai-toolkit plugin — 47 skills, 3 commands, 6 agents, 3 MCP servers, 2 plugins shipped together

Good fit Use it to initialize the browser database client, run table queries, support Supabase migrations, and share a database client across frontend code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-web-cloudbase
About the project

CloudBase AI Toolkit is an integration layer that lets AI coding tools use Tencent CloudBase as an application backend, including databases, authentication, functions, storage, and deployments. Developers use it to have coding agents build and operate CloudBase-backed applications through skills, plugins, commands, and chat-accessible tools. The catalogue entries are the toolkit’s own skills, agents, hooks, plugins, rules, instructions, and MCP tools.

TencentCloudBase/CloudBase-AI-Toolkit · 1,147 stars · on GitHub · docs.cloudbase.net

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 TencentCloudBase/CloudBase-AI-Toolkit --skill relational-database-web-cloudbase
Clone the repo
git clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit

Made for: Claude Code.

Or install cloudbase-ai-toolkit, the plugin that ships this one along with the rest of its 47 skills, 3 commands, 6 agents, 3 MCP servers, 2 plugins.

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 relational-database-web-cloudbase

README.md
[![agentmods](https://agentmods.dev/badge/skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-web-cloudbase/github.svg)](https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-web-cloudbase)
Your own site
<a href="https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-web-cloudbase"><img src="https://agentmods.dev/badge/skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-web-cloudbase/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for relational-database-web-cloudbase

Your own site · 80×15
<a href="https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-web-cloudbase"><img src="https://agentmods.dev/badge/skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-web-cloudbase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,083 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00068 $0.01083
Opus 5.5 $0.00027 $0.00433
Sonnet 5.5 $0.00014 $0.00217
Haiku 4.5 $0.00007 $0.00108

Measured 2d ago against content hash 7467e45face5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

relational-database-web-cloudbase 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 2d 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.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

config/.claude/skills/relational-database-web-cloudbase/SKILL.md · 149 lines

How it starts

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

Sibling skills (local only)

Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.

If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do not HTTP-fetch remote skill or protocol markdown into the agent context.

CloudBase Relational Database Web SDK

Activation Contract

Use this first when

  • A browser or Web app must access CloudBase Relational Database through @cloudbase/js-sdk.
  • The task is specifically about frontend initialization and browser-side query usage.

Read before writing code if

  • You need to distinguish browser SDK usage from MCP database management or backend Node access.
  • The request mentions Supabase migration, shared frontend DB client, or browser-side table queries.

Then also read

  • MySQL SQL management and MCP operations -> ../relational-database-mcp-cloudbase/SKILL.md
  • Web auth/login -> ../auth-web-cloudbase/SKILL.md
  • General Web app setup -> ../web-development/SKILL.md

Do NOT use for

  • MCP-based SQL management, schema changes, or permissions management (provisioning is not offered through MCP).
  • Backend/Node service access.
  • Document database operations.

Common mistakes / gotchas

  • Initializing SDKs in an MCP management flow.
  • Treating app itself as the relational database client.
  • Re-initializing CloudBase in every component.
  • Mixing frontend browser access with admin-style schema mutations.

Minimal checklist

  • Confirm the caller is a Web frontend.
  • Keep one shared CloudBase app and one shared relational DB client.
  • Route MySQL management/schema work on an existing instance to relational-database-mcp-cloudbase (it does not provision). If the task says PostgreSQL, CloudBase PG, PG mode, app.rdb(), queryPgDatabase, managePgDatabase, or RLS, route to postgresql-development-cloudbase instead.
  • Handle auth separately before data access.

Read the full file on GitHub · 149 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago Changed 7467e45face5
  2. 4d ago Changed 5c5bbcd94eac
  3. 10d ago Changed 86465eb81b91
  4. 14d ago Changed · +1 lines 3d09b317b1fe
  5. 23d ago Changed 98e7b90b2b19
  6. 1mo ago Changed 1b1dd196ed78
  7. 1mo ago Changed fbf1938e9bb9
  8. 1mo ago Changed fe9aad02d06b
  9. 1mo ago Changed 8346440315d5
  10. 1mo ago First seen · 148 lines · 68 tokens per session scan A 38b1dc44df5f

Subscribe to this mod's changes

relational-database-web-cloudbase is a skill published in the GitHub repository TencentCloudBase/CloudBase-AI-Toolkit (1,147 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 1,083 once invoked, about $0.0003 per session on Opus 5.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-30.

Related

Other skills, from other repositories

horse-database-pooling

Guide for setting up thread-safe database connection pooling (FireDAC / UniDAC) in multithreaded Horse applications.

HashLoad/horse · 30 tokens

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

platform-custom-field-generate

Use when users create, generate, or validate Salesforce Custom Field metadata. Trigger on custom fields, field types, Roll-Up Summary, Master-Detail/Lookup relationships, formula fields, picklists, dependent (controlling) picklists, referencing a value set from a field, or scoping picklist values per record type; also…

forcedotcom/sf-skills · 139 tokens

durable-objects

Build, debug, or review Cloudflare Durable Objects code for persistent state and coordination.

fcakyon/claude-codex-settings · 22 tokens

nornicdb-grpc

Drive NornicDB over gRPC — the Qdrant-compatible surface (Collections, Points, Snapshots) plus the additive NornicSearch service. Use when ingesting via Qdrant SDKs, migrating from Qdrant, or running hybrid text+vector search from a non-Bolt client. Covers connection, RPC catalog, collection→database mapping…

orneryd/NornicDB · 98 tokens

output-dev-credentials

Store and reference encrypted secrets in Output SDK workflows using @outputai/core/credentials. Use when integrating API keys, database passwords, or third-party tokens.

growthxai/output · 36 tokens