alicloud-compute-fc-agentrun
About alicloud-compute-fc-agentrun
This skill uses Function Compute AgentRun OpenAPI to manage runtimes, sandboxes, model services, memory, and credentials. It is for cloud workflows configuring these resources, with scripts for runtime setup and cleanup.
Key features
- 01Manage runtimes and endpoints
- 02Create sandboxes or templates
- 03Configure model services and credentials
- 04Query resources for troubleshooting
- 05Scripts for runtime setup and cleanup
Use cases
- 01Create and publish a runtime version
- 02Configure an endpoint for a runtime
- 03Create a sandbox or template as needed
- 04Troubleshoot AgentRun resource states
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ cinience/ alicloud-skills --skill alicloud-compute-fc-agentrunAfter installing, type/alicloud-compute-fc-agentrunin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
agents/openai.yamlreferences/api_overview.mdendpoints.mdsdk.mdsources.mdscripts/cleanup_runtime.pyquickstart.pyruntime_flow.pyDetails
From the project READMECategory: 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
- Choose region endpoint (
agentrun.cn-<region>.aliyuncs.com). - Create runtime → publish version → create runtime endpoint.
- Create sandbox/template if needed.
- Configure credentials and model services as required.
- Query resources for troubleshooting.
API Groups
See references/api_overview.md for the full API list and grouping.
Script quickstart
python skills/compute/fc/alicloud-compute-fc-agentrun/scripts/quickstart.py
Environment variables:
AGENTRUN_ENDPOINTALICLOUD_ACCESS_KEY_IDALICLOUD_ACCESS_KEY_SECRETOUTPUT_DIR(optional)
Runtime flow script
AGENTRUN_RUNTIME_NAME="my-runtime" \\
AGENTRUN_RUNTIME_ENDPOINT_NAME="my-runtime-endpoint" \\
python skills/compute/fc/alicloud-compute-fc-agentrun/scripts/runtime_flow.py
Environment variables:
AGENTRUN_ENDPOINTALICLOUD_ACCESS_KEY_IDALICLOUD_ACCESS_KEY_SECRETAGENTRUN_RUNTIME_NAMEAGENTRUN_RUNTIME_ENDPOINT_NAMEAGENTRUN_RUNTIME_DESC(optional)OUTPUT_DIR(optional)
Cleanup script
AGENTRUN_RUNTIME_ID="runtime-id" \\
AGENTRUN_RUNTIME_ENDPOINT_ID="endpoint-id" \\
python skills/compute/fc/alicloud-compute-fc-agentrun/scripts/cleanup_runtime.py
Environment variables:
AGENTRUN_ENDPOINTALICLOUD_ACCESS_KEY_IDALICLOUD_ACCESS_KEY_SECRETAGENTRUN_RUNTIME_IDAGENTRUN_RUNTIME_ENDPOINT_IDOUTPUT_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/alicloud-compute-fc-agentrun
for f in skills/compute/fc/alicloud-compute-fc-agentrun/scripts/*.py; do
python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/alicloud-compute-fc-agentrun/validate.txt
Pass criteria: command exits 0 and output/alicloud-compute-fc-agentrun/validate.txt is generated.
Output And Evidence
- Save artifacts, command outputs, and API response summaries under
output/alicloud-compute-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