- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill ts -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill ts -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill ts -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill ts -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/HEAD/config/.claude/skills/cloudbase-agent/ts來自發布者
TypeScript SDK for deploying AI agents as HTTP services using the AG-UI protocol.
Note: This skill is for TypeScript/JavaScript projects only.
Use this skill for AI agent development when you need to:
Do NOT use for:
ai-model-* skills)cloud-functions skill)cloudrun-development skill)Choose the right adapter
Deploy the agent server
@cloudbase/agent-server to expose HTTP endpointsmanageAgent MCP tool (see agent-deployment)Build the UI client
@ag-ui/client for web applications@cloudbase/agent-ui-miniprogram for WeChat Mini Programs/send-message or /agui endpointsFollow the routing table below to find detailed documentation for each task
Prerequisites: Node.js >= 20 is required.
1. Install dependencies:
npm install @cloudbase/agent-server@latest @cloudbase/agent-adapter-langgraph@latest
Critical: Always use @latest for all @cloudbase/agent-* packages. For dependency version rules, see Dependency Alignment Policy in agent-deployment.md.
2. Create and run your agent:
import { run } from "@cloudbase/agent-server";
import { LanggraphAgent } from "@cloudbase/agent-adapter-langgraph";
run({
createAgent: () => ({ agent: new LanggraphAgent({ workflow }) }),
port: 9000,
});
Build and deploy AI agents with Cloudbase Agent (TypeScript), a TypeScript SDK implementing the AG-UI protocol. Use when: (1) deploying agent servers with @cloudbase/agent-server, (2) using LangGraph
---name: cloudbase-agentdescription: Build and deploy AI agents with Cloudbase Agent (TypeScript), a TypeScript SDK implementing the AG-UI…---# config/.claude/skills/cloudbase-agent/ts/skill.md總覽
Build and deploy AI agents with Cloudbase Agent (TypeScript), a TypeScript SDK implementing the AG-UI protocol. Use when: (1) deploying agent servers with @cloudbase/agent-server, (2) using LangGraph adapter with ClientStateAnnotation, (3) using LangChain adapter with clientTools(), (4) building custom adapters that implement AbstractAgent, (5) understanding AG-UI protocol events, (6) building web UI clients with @ag-ui/client, (7) building WeChat Mini Program UIs with @cloudbase/agent-ui-miniprogram.
常見問題
從發布者下載 config/.claude/skills/cloudbase-agent/ts/skill.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。