Skip to main content
skill CX Codex

cloudbase-agent — Claude Code skill: what it does, how to install

Helps build and deploy CloudBase Agent SDK servers in TypeScript or Python with streaming via the AG-UI protocol.

MIT 268 installs ★ 82 updated 2026-11-15

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add TencentCloudBase/skills --skill cloudbase-agent -a claude-code
Open on GitHub

What cloudbase-agent does

This skill routes agent generation tasks to the right CloudBase Agent SDK guides for TypeScript (@cloudbase/agent-server) or Python (cloudbase-agent-server with FastAPI). Before generating code, it detects the stack and reads ts/skill.md or py/skill.md. If no programming language is mentioned, it defaults strictly to TypeScript.

The system relies on the AG-UI protocol for real-time event streaming between backend agents and web or mini-program clients. It includes guidance for LangGraph, LangChain, and CrewAI adapters, alongside custom implementations. Keep sibling skills available locally: fetching remote skill files over HTTP into context is prohibited.

What it helps with

  • deploy an agent server using @cloudbase/agent-server in TypeScript
  • set up a Python agent backend using FastAPI and cloudbase-agent-server
  • stream AG-UI protocol events to web or mini-program frontends
  • integrate LangGraph, LangChain, or CrewAI adapters

Example prompts for the agent

  • Build a FastAPI agent server that streams events with the AG-UI protocol
  • Set up a TypeScript agent using @cloudbase/agent-server with LangGraph
  • Create a custom adapter for our web client with CloudBase Agent SDK

How to install cloudbase-agent

1Skills CLI (Vercel)

npx skills add TencentCloudBase/skills --skill cloudbase-agent -a claude-code

2Manually: put the files in place

~/.claude/skills/cloudbase-agent/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cloudbase-agent/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cloudbase-agent

How do I install cloudbase-agent in Claude Code?

Run npx skills add TencentCloudBase/skills --skill cloudbase-agent -a claude-code in your terminal.

What does cloudbase-agent do?

It routes your AI assistant to the correct CloudBase Agent SDK documentation for TypeScript or Python to configure AG-UI streaming.

What happens if I do not specify a language?

The skill automatically routes the workflow to TypeScript and requires the model to read ts/skill.md before generating code.

Source text

SKILL.md · MIT
---
name: cloudbase-agent
description: Build and deploy AI agents with CloudBase Agent SDK (TypeScript & Python). Implements the AG-UI protocol for streaming agent-UI communication. Use when deploying agent servers, using LangGraph/LangChain/CrewAI adapters, building custom adapters, understanding AG-UI protocol events, or building web/mini-program UI clients. Supports both TypeScript (@cloudbase/agent-server) and Python (cloudbase-agent-server via FastAPI).
version: 2.37.6
license: MIT
alwaysApply: false
---

## 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 Agent SDK — Language Router

This skill supports **TypeScript** and **Python**. Determine the language first, then read the corresponding skill file. If the user does not explicitly specify which programming language to use, TypeScript must be enforced.

## Step 1: Determine Language

| Signal | Language |
|--------|----------|
| User says "TypeScript", "Node.js", "TS" | **TypeScript** |
| User says "Python", "FastAPI", "pip" | **Python** |
| No clear signal | **TypeScript** |

## Step 2: Read the Language-Specific Skill File

- **TypeScript** → Read [ts/skill.md](ts/skill.md) — then follow ALL instructions in that file
- **Python** → Read [py/skill.md](py/skill.md) — then follow ALL instructions in that file

**⚠️ IMPORTANT:** After determining the language, you MUST read the corresponding skill file above. Do NOT proceed with any code generation until you have read it. Each language skill file is self-contained with its own quick start, routing table, deployment instructions, and adapter guides.

© TencentCloudBase · MIT · TencentCloudBase/skills

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set25

The whole set →
relational-database-mcp-cloudbase relational-database-mcp-cloudbase operates existing CloudBase MySQL through MCP tools: queries, schema changes, permissions, destruction. New projects should use PostgreSQL instead. CX Codex +1 962installs auth-web-cloudbase auth-web-cloudbase guides frontend authentication and session handling for Tencent CloudBase in Web apps. Helps agents avoid deprecated methods and broken route guards. CX Codex +1 959installs cloudbase-document-database-web-sdk cloudbase-document-database-web-sdk — a skill for browser-side CloudBase document database work with @cloudbase/js-sdk, covering CRUD, queries, pagination, and realtime listeners. CX Codex +1 939installs ai-model-web ai-model-web — a skill for calling AI models directly from the browser in React, Vue, Next, Nuxt and other frontend apps via @cloudbase/js-sdk. CX Codex +1 920installs relational-database-web-cloudbase relational-database-web-cloudbase is a Claude Code skill for browser apps that already use CloudBase MySQL. It sets up a shared client for relational table queries. CX Codex +1 903installs cloudbase-cli cloudbase-cli is a Claude Code skill that deploys Tencent CloudBase functions, storage, databases, and static hosting via tcb CLI for CI/CD, batch operations, and first-session use before MCP tools load. CX Codex +1 245installs ops-inspector ops-inspector is a Claude Code skill that checks CloudBase environment health, analyzes metrics, logs, and alarms. It matches 429, timeout, 404, invalid-token, and zero-call patterns. CX Codex +1 175installs cloudbase-wechat-integration cloudbase-wechat-integration — a skill for Claude Code guides WeChat Pay, virtual payment, and Official Account OAuth setups in CloudBase. Activates when handling callbacks, generated cloud functions, or openid routing. CX Codex +1 125installs

Project sponsors

Companies that keep this analytics open