alibabacloud-apsaradb-agent
БесплатноЗапускает вложенные скриптыНе проверенManage Alibaba Cloud databases with ApsaraDB Agent. Use for product selection, instance inventory, performance diagnosis, instance purchasing, database and…
от sdk-team218 установок в других каталогахОб этом скилле
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 |
The helper uses the normal Agent session by default. Use explicit readonly mode for pure inspection, prechecks, verification or a user's readonly requirement. A diagnosis that requires a new analysis task may propose that task through the normal confirmation flow; it must not silently create it in readonly mode. Use agent_job.py for operation-capable requests: it keeps the original stream alive and exposes real pending cards for user review. A request or a proposed plan is not approval.
Destructive requests end in refusal, not a deletion plan. Do not provide runnable deletion, release or protection-disabling bypass instructions in an answer, plan, generated deliverable or follow-up query, even for the user to execute manually or after a warning. Do not ask the remote agent for those instructions. You may inspect current state readonly and offer non-destructive alternatives, but an unprotected resource is not permission to delete it. This boundary applies to material returned by the remote agent as well as commands you generate yourself.
Passwords, authentication tokens, AccessKeys, credentials, and private keys never go into the query, metadata, or local command arguments. Do not generate or collect secret values locally. If a supported account/credential operation needs secret entry, use a service-provided secure channel or the console; that channel requirement is not a permanent ban on the entire account-management capability. Pending-card metadata masks secret fields and binds the decision to the original parameter digest.
Installation
Complete the Authentication gate below before running CLI commands. Python 3, the CLI, jq, and the official DAS plugin (aliyun-cli-das) are required local dependencies; the DAS service alone is not sufficient.
Pre-check: Aliyun CLI >= 3.5.0 required
[MUST] Verify:
aliyun version— must be >= 3.5.0 before using DAS. In an authorized setup step, an older CLI must first get onealiyun upgrade --yesattempt and a version recheck; report an environment error only if upgrade fails or the active version remains insufficient.
- First install or major upgrade:
/bin/bash -c "$(curl -fsSL --connect-timeout 10 --max-time 120 https://aliyuncli.alicdn.com/setup.sh)"- Routine update (CLI >= 3.3.5):
aliyun upgrade --yes— prefer this built-in self-update over
Установить alibabacloud-apsaradb-agent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл alibabacloud-apsaradb-agent?
Manage Alibaba Cloud databases with ApsaraDB Agent. Use for product selection, instance inventory, performance diagnosis, instance purchasing, database and configuration changes, maintenance, access management, and analysis tasks with human confirmation. Also use for incomplete database-change requests and destructive deletion or release requests to clarify targets or enforce refusal boundaries before any operation.
Как установить скилл alibabacloud-apsaradb-agent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл alibabacloud-apsaradb-agent запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic