alibabacloud-apsaradb-agent
Alibaba Cloud ApsaraDB Agent
Scenario Description
Use ApsaraDB Agent to manage Alibaba Cloud database resources across their lifecycle. It can inspect instances, diagnose performance, prepare procurement and change plans, and execute service-supported operations after human confirmation. This is a client guide to the remote agent, not a product API executor. The service owns product workflows, operation availability and parameter schemas; this Skill must not maintain a second positive API allowlist. Query and consultation coverage includes RDS, PolarDB, Tair/Redis, MongoDB, Lindorm, PolarDB-X, DBS, AnalyticDB, ClickHouse, SelectDB, DTS, DMS, and DAS. Execution support depends on the product, operation and account permissions.
Architecture: Agent Skill -> call_apsaradb_agent.sh -> DAS CLI plugin -> ApsaraDB service -> product tools
Route before acting. Consult this Skill for database management requests even when the appropriate result is a missing-target checklist or a refusal. If the request only asks which target information is missing, return the required product, region and resource identifier checklist and finish. For forbidden destructive actions, apply the refusal boundary below and finish. These local decisions require no dependency setup, credential check or cloud call; do not invent a resource or send the destructive request to the service.
Before returning a diagnosis: carry the user's target, time window and evidence restrictions into the remote query. Review the returned findings rather than copying its conclusion. A healthy aggregate metric supports only that observation; missing index metadata, current auto-increment watermarks or concurrent-DDL evidence remain unknown. State those gaps alongside the affected conclusion in both the answer and report. A successful request does not make every returned inference valid.
| Management scenario | Examples |
|---|---|
| Provisioning and capacity | Compare specs, availability, network and billing; Delegate selection, pricing and new-instance or resource-package purchase to the service |
| Database and configuration | Create databases/accounts; modify parameters, descriptions and Serverless configuration |
| Maintenance and protection | Back up, restart, upgrade, migrate, update maintenance windows or enable deletion protection |
| Access and resource governance | Manage privileges, network access, tags, resource groups, billing and renewal after confirmation |
| Diagnosis and security checks | Analyze performance, slow SQL and inventories; request new analysis/collection tasks only through confirmation |