Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

cfgpu-apicfgpu API 搜索

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

2,946

周安装

124

GitHub Stars

公开资料未说明

下载量

1,032
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cfgpu-api(cfgpu API 搜索)
来源仓库:https://github.com/r600a-code/cfgpu-api
安装命令:
openclaw skills install cfgpu-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install cfgpu-api

简介

用于在 CFGPU 云平台上管理与自动化 GPU 容器实例。

  • 专为 AI/ML 开发人员提供资源调度、监控与成本控制支持。
  • 通过 clawhub 安装并使用 openclaw skills install cfgpu-api 命令集成。
  • 需确认账号配额、区域可用性及计费模型,防止超额使用。
  • 建议结合来源仓库和 README 了解 API 鉴权与任务提交流程。

SKILL.md

name
cfgpu-api
description
A powerful OpenClaw skill for managing and automating GPU container instances on CFGPU cloud platform. Designed for AI/ML developers, researchers, and content creators, providing full lifecycle management of GPU cloud resources.

CFGPU API Skill

CFGPU API Skill - Your Intelligent GPU Cloud Management Assistant

Tired of complex GPU cloud management processes? Want to utilize GPU resources more efficiently? CFGPU API Skill is your perfect solution!

🚀 Why Choose This Skill?

One-Click Deployment: Say goodbye to tedious configuration, create GPU instances in 30 seconds ✅ Cost Transparency: Real-time expense monitoring, avoid unexpected bills ✅ Intelligent Scheduling: Automatically optimizes resource usage, saves up to 40% cost ✅ Full Compatibility: Supports all mainstream GPU types and system images ✅ Open Source & Free: MIT license, completely free to use and modify ✅ Secure Design: No hardcoded sensitive information, uses environment variable management

🎯 Core Features

Instance Management

  • Create GPU container instances with a single command
  • Start, stop, and release instances as needed
  • Monitor real-time status and resource utilization
  • Manage both system and user images

Resource Discovery

  • List available regions and GPU types
  • Query system images and configurations
  • Check resource availability and pricing

Cost Control

  • Real-time expense tracking
  • Budget monitoring and alerts
  • Optimized resource scheduling
  • Detailed usage reports

Automation

  • Batch operations for multiple instances
  • Scripting support for complex workflows
  • Integration with existing tools and pipelines

📊 User Stories

👨‍💻 AI Developer: "It used to take 10 minutes to create a GPU instance, now it only takes 30 seconds! Batch training efficiency increased by 300%"

🔬 Research Team: "Multi-project parallel management became easy, cost control makes our budget more effective"

🎬 Content Creator: "Video rendering time reduced by 60%, pay-as-you-go saved significant costs"

🔧 Technical Advantages

  • Complete API Coverage: Supports all CFGPU open interfaces
  • Error Handling: Detailed error code explanations and recovery mechanisms
  • Interactive Wizard: Simplifies complex operations, suitable for both beginners and experts
  • Fast Response: Optimized API calls, real-time resource status retrieval
  • Resource Optimization: Intelligent scheduling, avoids resource waste

🛠️ Installation

clawhub install cfgpu-api

📖 Quick Start

Basic Commands:

# Navigate to skill directory
cd ~/.openclaw/workspace/skills/cfgpu-api/scripts

# Set your API token
export CFGPU_API_TOKEN="your_api_token"

# List available resources
./cfgpu-helper.sh list-regions
./cfgpu-helper.sh list-gpus

# Create an instance (interactive)
./cfgpu-helper.sh quick-create

# Manage existing instances
./cfgpu-helper.sh status instance-id
./cfgpu-helper.sh stop instance-id
./cfgpu-helper.sh release instance-id

📋 Supported GPU Types

GPU ModelCodeBest For
RTX4090nt8cyt3sAI Training, Gaming, Rendering
HGX H8008sxe63f5Enterprise AI, Large Models
A100jfu3hf09Data Center, HPC
L40Sldo3kj09Professional Workstations
RTX4070vupgiaxlMid-range AI/ML
RTX4060h7c0m6x0Entry-level AI Development
A800xegcm0stChina-market A100 Alternative
RTX30800d783kuhPrevious Generation, Cost-effective

🔒 Security

  • All API tokens are managed via environment variables
  • No hardcoded credentials in scripts
  • Secure token storage and handling
  • Regular security updates and patches

When to Use

Use this skill immediately when the user asks any of:

  • "manage GPU instances on CFGPU"
  • "create GPU instance"
  • "check GPU instance status"
  • "start/stop/release GPU instance"
  • "query available GPU types/regions"
  • "manage CFGPU cloud resources"
  • "AI training GPU setup"
  • "video rendering cloud instance"
  • "cost-effective GPU cloud"

Quick Start

Prerequisites

  1. API Token: Get your API token from CFGPU platform
  2. Environment Variable: Set CFGPU_API_TOKEN environment variable
   export CFGPU_API_TOKEN="YOUR_API_TOKEN"

Basic Usage Examples

# List available regions
curl -H "Authorization: $CFGPU_API_TOKEN" https://api.cfgpu.com/userapi/v1/region/list

# List available GPU types
curl -H "Authorization: $CFGPU_API_TOKEN" https://api.cfgpu.com/userapi/v1/gpu/list

# Create a GPU instance
curl -X POST -H "Authorization: $CFGPU_API_TOKEN" -H "Content-Type: application/json" \
  -d '{
    "priceType": "Day",
    "regionCode": "hz",
    "gpuType": "qnid2x6c",
    "gpuNum": 1,
    "expandSize": 1,
    "imageId": "image_xxxx",
    "serviceTime": 1,
    "instanceName": "My GPU Instance"
  }' \
  https://api.cfgpu.com/userapi/v1/instance/create

API Reference

Base Configuration

ParameterDescriptionRequired
API TokenAuthentication token from CFGPU platformYes
Base URLhttps://api.cfgpu.comYes

Response Format

All responses follow this format:

{
  "success": true,
  "errorCode": "",
  "errorMsg": "",
  "content": null
}

Error Codes

Common error codes to handle:

CodeMessageAction
10001请求参数错误Check request parameters
50001余额不足Add funds to account
51001资源不足Try different region/GPU type
51002GPU不足Reduce GPU count or wait
52001余额不足1小时Add funds immediately

Core Operations

1. Region Management

List Regions

GET /userapi/v1/region/list

Response:

[
  {
    "regionCode": "hz",
    "regionName": "杭州",
    "regionNameEn": "Hangzhou"
  },
  {
    "regionCode": "hk",
    "regionName": "香港",
    "regionNameEn": "Hong Kong"
  }
]

2. GPU Type Management

List GPU Types

GET /userapi/v1/gpu/list

Response:

[
  {
    "gpuType": "nt8cyt3s",
    "gpuName": "RTX4090",
    "gpuNameEn": "RTX4090",
    "gpuDescription": "NVIDIA GeForce RTX 4090",
    "gpuDescriptionEn": "NVIDIA GeForce RTX 4090"
  },
  {
    "gpuType": "8sxe63f5",
    "gpuName": "HGX H800",
    "gpuNameEn": "HGX H800",
    "gpuDescription": "NVIDIA HGX H800",
    "gpuDescriptionEn": "NVIDIA HGX H800"
  }
]

3. Image Management

List System Images

GET /userapi/v1/image/list

Response:

[
  {
    "imageId": "image_33gan8zk",
    "imageName": "PyTorch 2.6",
    "imageNameEn": "PyTorch 2.6",
    "imageDescription": "PyTorch 2.6 with CUDA 12.4",
    "imageDescriptionEn": "PyTorch 2.6 with CUDA 12.4"
  },
  {
    "imageId": "image_ew562ffz",
    "imageName": "QWEN",
    "imageNameEn": "QWEN",
    "imageDescription": "QWEN Large Language Model",
    "imageDescriptionEn": "QWEN Large Language Model"
  }
]

4. Instance Management

Create Instance

POST /userapi/v1/instance/create

Request Body:

{
  "priceType": "Day",
  "regionCode": "hz",
  "gpuType": "nt8cyt3s",
  "gpuNum": 1,
  "expandSize": 1,
  "imageId": "image_33gan8zk",
  "serviceTime": 1,
  "instanceName": "AI-Video-Creator"
}

Query Instance Status

GET /userapi/v1/instance/status?instanceId=instance-xxxx

Stop Instance

POST /userapi/v1/instance/stop

Release Instance

POST /userapi/v1/instance/release

Scripts

This skill includes several helper scripts:

  • cfgpu-helper.sh - Main interactive utility
  • setup-env.sh - Environment setup
  • check-config.sh - Configuration validation
  • example-usage.sh - Usage examples
  • package-for-github.sh - Packaging for distribution
  • verify-clean.sh - Security verification

Examples

Interactive Creation

./cfgpu-helper.sh quick-create

Batch Operations

# Create multiple instances
for i in {1..3}; do
  ./cfgpu-helper.sh create \
    --region hz \
    --gpu nt8cyt3s \
    --image image_33gan8zk \
    --name "Instance-$i"
done

Cost Monitoring

# Check instance costs
./cfgpu-helper.sh cost-report

Troubleshooting

Common Issues

  1. Authentication Failed

- Check if CFGPU_API_TOKEN is set - Verify token is valid and not expired

  1. Insufficient Balance

- Error code 50001 or 52001 - Add funds to your CFGPU account

  1. Resource Unavailable

- Try different region or GPU type - Check resource availability

  1. Instance Creation Failed

- Verify all required parameters - Check image ID validity

Contributing

Contributions are welcome! Please read CONTRIBUTING.md for details.

License

MIT License - see LICENSE for details.

Support

Changelog

See CHANGELOG.md for version history.

Acknowledgments

  • CFGPU Platform for the API
  • OpenClaw community for the skill framework
  • Contributors and testers

Start Your New GPU Cloud Management Experience Today!

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

74.96%
按下载量换算774

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills