alicloud-redis — community alicloud-redis, licell, community, ide skills, Claude Code, Cursor, Windsurf

v1.0
GitHub

About this Skill

Ideal for Cloud Agents requiring streamlined management of Alibaba Cloud Redis instances TypeScript + Bun 实现的阿里云部署 CLI,目标是把阿里云上的部署体验做成接近 Vercel CLI 的一键化流程,并可用于生产环境。

agents-infrastructure agents-infrastructure
[2]
[0]
Updated: 2/23/2026

Agent Capability Analysis

The alicloud-redis skill by agents-infrastructure is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Ideal for Cloud Agents requiring streamlined management of Alibaba Cloud Redis instances

Core Value

Empowers agents to manage Redis and Tair instances via the @alicloud/r-kvstore20150101 TypeScript SDK, leveraging Alibaba Cloud's openAPI capabilities and facilitating one-click deployment workflows with TypeScript and Bun

Capabilities Granted for alicloud-redis

Automating Redis instance provisioning on Alibaba Cloud
Managing Tair instance configurations programmatically
Monitoring Redis performance metrics for optimized deployment

! Prerequisites & Limits

  • Requires Alibaba Cloud Access Key ID and Secret
  • Dependent on @alicloud/r-kvstore20150101 and @alicloud/openapi-core libraries
  • Specific to Alibaba Cloud Redis (R-KVStore) instances
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

alicloud-redis

Install alicloud-redis, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Alibaba Cloud Redis (R-KVStore) Skill

Manage Redis and Tair instances via the @alicloud/r-kvstore20150101 TypeScript SDK.

Prerequisites

bash
1npm install @alicloud/r-kvstore20150101 @alicloud/openapi-core @darabonba/typescript
bash
1export ALIBABA_CLOUD_ACCESS_KEY_ID="<your-key-id>" 2export ALIBABA_CLOUD_ACCESS_KEY_SECRET="<your-key-secret>"

See scripts/setup_client.ts for a reusable client factory, and references/quickstart.md for full setup including endpoints, instance types, architectures, Redis versions, pagination, and async polling.

Client Initialization

typescript
1import Client from '@alicloud/r-kvstore20150101'; 2import { Config } from '@alicloud/openapi-core'; 3 4const client = new Client(new Config({ 5 accessKeyId: process.env.ALIBABA_CLOUD_ACCESS_KEY_ID, 6 accessKeySecret: process.env.ALIBABA_CLOUD_ACCESS_KEY_SECRET, 7 endpoint: 'r-kvstore.aliyuncs.com', 8 regionId: 'cn-hangzhou', 9}));

API Overview (157 APIs in 8 Domains)

DomainAPIsKey OperationsReference
Instance Management82createInstance, describeInstances, modifyInstanceSpecreferences/instance.md
Account Management7createAccount, grantAccountPrivilege, resetAccountPasswordreferences/account.md
Backup & Recovery11createBackup, describeBackups, modifyBackupPolicy, restoreInstancereferences/backup.md
Security & Encryption23modifySecurityIps, modifyInstanceSSL, modifyInstanceTDE, modifyAuditLogConfigreferences/security.md
Parameter Management11describeParameters, createParameterGroup, modifyInstanceParameterreferences/parameter.md
Monitoring & Performance8describeHistoryMonitorValues, describeSlowLogRecordsreferences/monitoring.md
Tair Custom Instance12createTairKVCacheCustomInstance, describeTairKVCacheCustomInstancesreferences/tair-custom.md
Tag & Resource5tagResources, untagResources, listTagResourcesreferences/tag-resource.md

Core Patterns

RPC-Style with instanceId

Most APIs require instanceId as the primary identifier:

typescript
1import * as models from '@alicloud/r-kvstore20150101/dist/models'; 2 3const { body } = await client.describeInstanceAttribute( 4 new models.DescribeInstanceAttributeRequest({ 5 instanceId: 'r-bp1xxxxxxxxxxxxx', 6 }) 7);

Page-Based Pagination

typescript
1let pageNumber = 1; 2let all: any[] = []; 3while (true) { 4 const { body } = await client.describeInstances(new models.DescribeInstancesRequest({ 5 regionId: 'cn-hangzhou', pageSize: 50, pageNumber, 6 })); 7 all.push(...(body.instances?.KVStoreInstance || [])); 8 if (all.length >= (body.totalCount || 0)) break; 9 pageNumber++; 10}

Async Operation Polling

Many operations are async — poll instance status until target state:

typescript
1while (true) { 2 const { body } = await client.describeInstanceAttribute( 3 new models.DescribeInstanceAttributeRequest({ instanceId }) 4 ); 5 const status = body.instances?.DBInstanceAttribute?.[0]?.instanceStatus; 6 if (status === 'Normal') break; 7 await new Promise(r => setTimeout(r, 5000)); 8}

Multi-Type Support

R-KVStore supports Redis Community and Tair (DRAM/Persistent Memory/ESSD):

typescript
1// Redis Community 2const { body: redis } = await client.createInstance(new models.CreateInstanceRequest({ 3 regionId: 'cn-hangzhou', instanceType: 'Redis', engineVersion: '7.0', 4 instanceClass: 'redis.master.small.default', chargeType: 'PostPaid', 5 password: process.env.REDIS_PASSWORD!, vpcId: 'vpc-xxx', vSwitchId: 'vsw-xxx', 6})); 7 8// Tair (Enhanced Redis) 9const { body: tair } = await client.createTairInstance(new models.CreateTairInstanceRequest({ 10 regionId: 'cn-hangzhou', instanceType: 'tair_rdb', 11 instanceClass: 'tair.rdb.2g', chargeType: 'PostPaid', 12 password: process.env.REDIS_PASSWORD!, vpcId: 'vpc-xxx', vSwitchId: 'vsw-xxx', 13}));

Config as JSON String

Instance configuration is passed as a JSON string:

typescript
1await client.modifyInstanceConfig(new models.ModifyInstanceConfigRequest({ 2 instanceId, 3 config: JSON.stringify({ 4 'maxmemory-policy': 'allkeys-lru', 5 'timeout': '300', 6 }), 7}));

Error Handling

typescript
1try { 2 await client.createInstance(request); 3} catch (err: any) { 4 console.error(`Code: ${err.code}, Message: ${err.message}, RequestId: ${err.data?.RequestId}`); 5}

Common Workflows

1. Create Redis Instance with Account

createInstance → waitForNormal → createAccount → modifySecurityIps

2. Create Tair Cluster

createTairInstance → waitForNormal → describeClusterMemberInfo

3. Backup and Recovery

modifyBackupPolicy → createBackup → describeBackups → restoreInstance

4. Security Hardening

modifySecurityIps → modifyInstanceSSL → modifyInstanceTDE → modifyAuditLogConfig

5. Cluster Scaling

describeClusterMemberInfo → addShardingNode / deleteShardingNode

6. Direct Connection Mode

allocateDirectConnection → describeDBInstanceNetInfo → releaseDirectConnection

7. Parameter Tuning

describeParameterTemplates → createParameterGroup → modifyInstanceParameter

8. Performance Monitoring

describeMonitorItems → describeHistoryMonitorValues → describeSlowLogRecords → createCacheAnalysisTask

See references/workflows.md for detailed workflow examples with full code.

API Reference Quick Index

Load the corresponding reference file for parameter details:

  • Instance CRUD/lifecycle/spec/network/cluster/proxy: references/instance.md
  • Account CRUD/password/privileges: references/account.md
  • Backup/restore/cache analysis: references/backup.md
  • IP whitelist/SSL/TDE/audit/global whitelist: references/security.md
  • Parameters/parameter groups/templates: references/parameter.md
  • Performance monitoring/slow logs/running logs: references/monitoring.md
  • TairKVCache custom instances: references/tair-custom.md
  • Resource tagging: references/tag-resource.md

Each reference file contains per-API documentation with method signatures and parameter tables.

Code Examples

See scripts/examples.ts for ready-to-use code covering:

  • Instance listing, creation, and deletion
  • Account management
  • Backup creation and listing
  • IP whitelist and SSL configuration
  • Audit log management
  • Performance monitoring and slow log analysis
  • Parameter management
  • Resource tagging

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is alicloud-redis?

Ideal for Cloud Agents requiring streamlined management of Alibaba Cloud Redis instances TypeScript + Bun 实现的阿里云部署 CLI,目标是把阿里云上的部署体验做成接近 Vercel CLI 的一键化流程,并可用于生产环境。

How do I install alicloud-redis?

Run the command: npx killer-skills add agents-infrastructure/licell. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for alicloud-redis?

Key use cases include: Automating Redis instance provisioning on Alibaba Cloud, Managing Tair instance configurations programmatically, Monitoring Redis performance metrics for optimized deployment.

Which IDEs are compatible with alicloud-redis?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for alicloud-redis?

Requires Alibaba Cloud Access Key ID and Secret. Dependent on @alicloud/r-kvstore20150101 and @alicloud/openapi-core libraries. Specific to Alibaba Cloud Redis (R-KVStore) instances.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add agents-infrastructure/licell. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use alicloud-redis immediately in the current project.

Related Skills

Looking for an alternative to alicloud-redis or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI