alibabacloud-bailian-m…
Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian Managed Agent…
Implement AI Coaching best practices on AnalyticDB for PostgreSQL (ADBPG): Leverage Supabase projects (training data management) + ADBPG instances with vector optimization to build RAG-driven coaching systems that guide users through domain-specific workflows, decision-making,
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-analyticdb-postgresql-ai-coaching-best-practice --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/alibabacloud-analyticdb-postgresql-ai-coaching-best-practiceContext preview
The summary Claude sees to decide when to auto-load this skill.
Implement AI Coaching best practices on AnalyticDB for PostgreSQL (ADBPG): Leverage Supabase projects (training data management) + ADBPG instances with vector optimization to build RAG-driven coaching systems that guide users through domain-specific workflows, decision-making,
name: alibabacloud-analyticdb-postgresql-ai-coaching-best-practice description: | Implement AI Coaching best practices on AnalyticDB for PostgreSQL (ADBPG): Leverage Supabase projects (training data management) + ADBPG instances with vector optimization to build RAG-driven coaching systems that guide users through domain-specific workflows, decision-making, or skill development. Use when: User wants to create Supabase projects (spb-xxx), ADBPG instances (gp-xxx), vector knowledge bases, or RAG-driven coaching systems on ADBPG. Triggers: "Supabase", "ADBPG", "vector database", "knowledge base", "RAG", "AI coaching", "coaching system", "spb-xxx", "gp-xxx"
Build RAG-driven coaching systems using **ADBPG Supabase** (training data management) + **ADBPG Vector Knowledge Base** (RAG-driven intelligent coaching).
**Core Capabilities**:
---
> **IMPORTANT**: Run `aliyun version` to verify >= 3.3.3. If not installed or version too low, > run `curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash` to update, > or see [references/cli-installation-guide.md](references/cli-installation-guide.md) for installation instructions. > > Then **[MUST]** run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation. > **[MUST]** run `aliyun plugin update` to ensure that any existing plugins on your local machine are always up-to-date.
---
> **Every `aliyun` CLI command invocation must include:** > `--user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice`
---
At the **start** of the Core Workflow (before any CLI invocation):
**[MUST] Enable AI-Mode** — AI-mode is required for Agent Skill execution. Run the following commands before any CLI invocation:
aliyun configure ai-mode enable aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-ai-coaching-best-practice"
**[MUST] Disable AI-Mode at EVERY exit point** — Before delivering the final response for ANY reason, always disable AI-mode first. This applies to ALL exit paths: workflow success, workflow failure, error/exception, user cancellation, session end, or any other scenario where no further CLI commands will be executed. AI-mode is only used for Agent Skill invocation scenarios and MUST NOT remain enabled after the skill stops running.
aliyun configure ai-mode disable
---
> **Security Rules:** > - **NEVER** read, echo, or print AK/SK values > - **NEVER** ask the user to input AK/SK directly > - **NEVER** print passwords or API Keys in plain text in logs or stdout > - **ONLY** use `aliyun configure list` to check credential status > - When displaying API Keys, show only the first 6 characters + `***` (e.g., `sk-abc1***`)
aliyun configure list
**If no valid profile exists, STOP here.** Configure credentials outside of this session via `aliyun configure` or environment variables.
---
| Scenario | Use Case | Target Users | |----------|----------|--------------| | **Workflow Coaching** | Guide professionals through structured business processes (sales cycles, project management) | Sales teams, project managers | | **Decision Support** | Help engineers evaluate trade-offs and make informed technical decisions | Engineers, architects | | **Skill Development** | Develop communication, negotiation, or technical skills through guided practice | Professionals, new hires | | **Onboarding** | Systematically guide new team members through technical and process onboarding | New employees, mentors |
User (Web / Terminal / Agent)
│
┌──────┴──────┐
v v
┌─────────────┐ ┌────────────────────────┐
│ Supabase │ │ Agent Mode │
│ (spb-xxx) │ │ ChatWithKnowledgeBase │
│ - Domains │ └───────────┬────────────┘
│ - Sessions │ │
└──────┬──────┘ │
v v
┌────────────────────────────────────────┐
│ ADBPG Instance (gp-xxx) + KB │
│ Domain Knowledge + RAG + LLM │
└────────────────────────────────────────┘---
| Operation | RAM Permission | |-----------|----------------| | Supabase Project Management | `gpdb:CreateSupabaseProject`, `gpdb:GetSupabaseProject`, `gpdb:ModifySupabaseProjectSecurityIps` | | ADBPG Instance Management | `gpdb:CreateDBInstance`, `gpdb:DescribeDBInstances`, `gpdb:ModifySecurityIps` | | Account Management | `gpdb:DescribeAccounts`, `gpdb:CreateAccount` | | Knowledge Base Operations | `gpdb:InitVectorDatabase`, `gpdb:CreateNamespace`, `gpdb:CreateDocumentCollection`, `gpdb:UploadDocumentAsync`, `gpdb:ChatWithKnowledgeBase` | | VPC Network | `vpc:DescribeVpcs`, `vpc:DescribeVSwitches`, `vpc:DescribeVSwitchAttributes` | | NAT Gateway & EIP | `vpc:DescribeNatGateways`, `vpc:CreateNatGateway`, `vpc:DescribeEipAddresses`, `vpc:AllocateEipAddress`, `vpc:AssociateEipAddress`, `vpc:CreateSnatEntry` |
**Recommended System Policies:** `AliyunGPDBFullAccess`, `AliyunVPCFullAccess` (or `AliyunVPCReadOnlyAccess` if NAT already exists)
See [references/ram-policies.md](references/ram-policies.md) for complete list.
> **[MUST] Permission Failure Handling:** When any command fails due to permission errors: > 1. Read [references/ram-policies.md](references/ram-policies.md) for required permissions > 2. Use `ram-permission-diagnose` skill to guide the user > 3. Pause and wa
Official Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.
Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian Managed Agent…
Alibaba Cloud Parse-X intelligent document parsing and extraction tool. Supports two…
Execute code in a secure cloud sandbox via AgentBay SDK. Use this skill whenever users…
Operate Alibaba Cloud AgentLoop Dataset resources with aliyun CLI and the AgentLoop API…
Orchestrate AgentLoop evaluation workflows through the Aliyun CLI plugin with safe previews,…
Proactively use AgentLoop Recall to retrieve prior Alibaba Cloud AgentLoop experience through…