Overview
- Skill Key
- cinience/alicloud-compute-fc-serverless-devs
- Author
- cinience
- Source Repo
- openclaw/skills
- Version
- 1.0.0
- Source Path
- skills/cinience/alicloud-compute-fc-serverless-devs
- Latest Commit SHA
- 7d2400146c6c60d4b16aa7e72df6de0adb010fde
Alibaba Cloud Function Compute (FC 3.0) skill for installing and using Serverless Devs to create, deploy, invoke, and remove a Python function. Use when users need CLI-based FC quick start or Serverless Devs setup guidance.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 alicloud-compute-fc-serverless-devs 技能。 若已安装,则直接安装 alicloud-compute-fc-serverless-devs 技能。
Category: tool
# Function Compute (FC 3.0) Serverless Devs
## Goals
- Install and validate Serverless Devs.
- Configure credentials, initialize example project, deploy, invoke, and remove.
- Provide CLI flow with Python runtime example.
## Quick Start Flow
1. Install Node.js (14+) and npm.
2. Install and validate Serverless Devs.
3. Configure credentials via guided setup.
4. Initialize example project and enter directory.
5. Deploy, invoke, and optionally remove.
## Install Serverless Devs (npm)
Global install (requires sudo):
```bash
sudo npm install @serverless-devs/s -g
sudo s -v
```
No-sudo alternative (recommended in restricted environments):
```bash
npx -y @serverless-devs/s -v
```
## Configure Credentials (guided)
```bash
sudo s config add
```
Choose `Alibaba Cloud (alibaba)`, provide `AccountID`, `AccessKeyID`, `AccessKeySecret`, and set alias.
## Configure Credentials (command)
Use CLI args to configure credential alias in one command (non-interactive):
```bash
s config add -a default --AccessKeyID <AK> --AccessKeySecret <SK> -f
```
If using environment variables, inject them into the command (example):
```bash
s config add -a default -kl AccessKeyID,AccessKeySecret -il ${ALIBABA_CLOUD_ACCESS_KEY_ID},${ALIBABA_CLOUD_ACCESS_KEY_SECRET} -f
```
Or use Serverless Devs convention JSON environment variable (example):
```bash
export default_serverless_devs_key='{\"AccountID\":\"<AccountID>\",\"AccessKeyID\":\"<AK>\",\"AccessKeySecret\":\"<SK>\"}'
```
Reference in `s.yaml`:
```yaml
access: default_serverless_devs_key
```
## Initialize Example (Python)
```bash
sudo s init start-fc3-python
cd start-fc3-python
```
Initialization creates `s.yaml`, `code/`, and `readme.md`; edit `code/index.py` for function logic.
## Deploy, Invoke, and Remove
```bash
sudo s deploy
sudo s invoke -e "test"
sudo s remove
```
## Custom Domain Binding (Avoid Default Domain Forced Download)
> Note: FC default domain adds `Content-Disposition: attachment`, causing...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.