mcpField
A
aliyun-fc-agentrun

aliyun-fc-agentrun

github.com/cinienceCloud & DevOps39659 installsUpdated 11w ago
Repository

About aliyun-fc-agentrun

aliyun-fc-agentrun is a skill for managing Alibaba Cloud Function Compute AgentRun resources through OpenAPI. It guides runtime and endpoint setup, optional sandbox creation, configuration, and resource queries.

Key features

  1. 01Manage runtimes and versions
  2. 02Create runtime endpoints
  3. 03Set up sandboxes and templates
  4. 04Configure credentials and model services
  5. 05Query resources for troubleshooting

Use cases

  1. 01Create and publish an AgentRun runtime
  2. 02Set up an endpoint for a runtime
  3. 03Configure model services or credentials
  4. 04Inspect resources during troubleshooting

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/cinience/alicloud-skills --skill aliyun-fc-agentrun

After installing, type/aliyun-fc-agentrunin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

agents/
openai.yaml
references/
api_overview.md
endpoints.md
sdk.md
sources.md
scripts/
cleanup_runtime.py
quickstart.py
runtime_flow.py

Details

From the project README

Category: service

Function Compute AgentRun (OpenAPI)

Use AgentRun OpenAPI (ROA) to manage runtimes, sandboxes, model services, memory, and credentials.

Prerequisites

  • AccessKey via RAM user (least privilege).
  • Select the correct regional endpoint (see references/endpoints.md). If unsure, choose the most reasonable region for the task or ask the user.
  • Use OpenAPI Explorer or official SDK to avoid manual signing (ROA requires SignatureV1).

Workflow

  1. Choose region endpoint (agentrun.cn-<region>.aliyuncs.com).
  2. Create runtime → publish version → create runtime endpoint.
  3. Create sandbox/template if needed.
  4. Configure credentials and model services as required.
  5. Query resources for troubleshooting.

API Groups

See references/api_overview.md for the full API list and grouping.

Script quickstart

python skills/compute/fc/aliyun-fc-agentrun/scripts/quickstart.py

Environment variables:

  • AGENTRUN_ENDPOINT
  • ALIBABACLOUD_ACCESS_KEY_ID
  • ALIBABACLOUD_ACCESS_KEY_SECRET
  • OUTPUT_DIR (optional)

Runtime flow script

AGENTRUN_RUNTIME_NAME="my-runtime" \\
AGENTRUN_RUNTIME_ENDPOINT_NAME="my-runtime-endpoint" \\
python skills/compute/fc/aliyun-fc-agentrun/scripts/runtime_flow.py

Environment variables:

  • AGENTRUN_ENDPOINT
  • ALIBABACLOUD_ACCESS_KEY_ID
  • ALIBABACLOUD_ACCESS_KEY_SECRET
  • AGENTRUN_RUNTIME_NAME
  • AGENTRUN_RUNTIME_ENDPOINT_NAME
  • AGENTRUN_RUNTIME_DESC (optional)
  • OUTPUT_DIR (optional)

Cleanup script

AGENTRUN_RUNTIME_ID="runtime-id" \\
AGENTRUN_RUNTIME_ENDPOINT_ID="endpoint-id" \\
python skills/compute/fc/aliyun-fc-agentrun/scripts/cleanup_runtime.py

Environment variables:

  • AGENTRUN_ENDPOINT
  • ALIBABACLOUD_ACCESS_KEY_ID
  • ALIBABACLOUD_ACCESS_KEY_SECRET
  • AGENTRUN_RUNTIME_ID
  • AGENTRUN_RUNTIME_ENDPOINT_ID
  • OUTPUT_DIR (optional)

SDK Notes

See references/sdk.md for SDK acquisition guidance.

Output Policy

If you store any generated files or responses, write them under: output/compute-fc-agentrun/.

Validation

mkdir -p output/aliyun-fc-agentrun
for f in skills/compute/fc/aliyun-fc-agentrun/scripts/*.py; do
  python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/aliyun-fc-agentrun/validate.txt

Pass criteria: command exits 0 and output/aliyun-fc-agentrun/validate.txt is generated.

Output And Evidence

  • Save artifacts, command outputs, and API response summaries under output/aliyun-fc-agentrun/.
  • Include key parameters (region/resource id/time range) in evidence files for reproducibility.

References

  • API overview and operation list: references/api_overview.md

  • Regional endpoints: references/endpoints.md

  • SDK guidance: references/sdk.md

  • Source list: references/sources.md

Comments

Markdown supported