Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

llm-opsLLM OPS 搜索

Agent Skill

llm-ops 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

360

周安装

15

GitHub Stars

4

下载量

120
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill llm-ops

简介

该技能用于大语言模型(LLM)的自动化部署与监控,支持 GPT/BERT 类模型运维。

  • 适用于生产环境模型扩容、性能监控及 CI/CD 流水线集成。
  • 通过 GitHub 仓库安装,适用于 Codex、Claude、Cursor、Gemini CLI。
  • 需配合 Kubernetes 或云平台实现弹性伸缩与版本回滚。
  • 操作前应确认资源配额与计费策略,避免超额消耗。

SKILL.md

llm-ops

Purpose

This skill automates the deployment, scaling, and monitoring of large language models (LLMs) in AI/ML operations, handling infrastructure for models like GPT or BERT variants to ensure efficient runtime management.

When to Use

Use this skill when deploying LLMs in production environments, such as scaling a chatbot backend during peak traffic, monitoring model performance in real-time, or updating models in Kubernetes-based ML ops setups. Apply it in scenarios involving resource-constrained environments or when integrating LLMs with CI/CD pipelines for automated deployments.

Key Capabilities

  • Deploy LLMs to cloud providers (e.g., AWS, GCP) with automatic containerization.
  • Scale instances dynamically based on metrics like CPU usage or request volume.
  • Monitor key metrics including latency, throughput, and error rates via integrated dashboards.
  • Handle model versioning and rollbacks for safe updates.
  • Integrate with logging tools like ELK stack for detailed tracing.

Usage Patterns

To deploy an LLM, first set the environment variable for authentication: export OPENCLAW_API_KEY=your_api_key. Then, use the CLI to initiate deployment with specific flags. For scaling, monitor metrics and trigger adjustments programmatically. Always specify the model ID and target environment in commands to avoid conflicts. For API-based usage, include the API key in headers and handle responses for asynchronous operations.

Common Commands/API

Use the OpenClaw CLI for quick operations; prefix commands with openclaw llm. For API calls, target the base endpoint https://api.openclaw.ai/llm and include the header Authorization: Bearer $OPENCLAW_API_KEY.

  • Deploy Command: openclaw llm deploy --model-id my-llm-123 --env production --replicas 3 --config-path./config.json

- Example config.json: {"image": "my-llm-image:v1", "resources": {"cpu": "2", "memory": "4Gi"}} - Code snippet (Python): import requests response = requests.post('https://api.openclaw.ai/llm/deploy', json={'model_id': 'my-llm-123', 'replicas': 3}, headers={'Authorization': f'Bearer {os.environ["OPENCLAW_API_KEY"]}'}) print(response.json())

  • Scale Command: openclaw llm scale --model-id my-llm-123 --scale-to 5 --metric cpu_utilization

- This adjusts replicas based on the specified metric threshold (e.g., >80% CPU). - API Endpoint: POST /api/llm/scale with body: {"model_id": "my-llm-123", "scale_to": 5}

  • Monitor Command: openclaw llm monitor --model-id my-llm-123 --duration 60 --output json

- Outputs metrics to stdout or file; use --alert-threshold 0.9 for CPU alerts. - API Endpoint: GET /api/llm/metrics?model_id=my-llm-123&duration=60

  • Rollback Command: openclaw llm rollback --model-id my-llm-123 --version v1.0

- Reverts to a previous model version; requires versioning enabled in config.

Config formats are JSON-based, e.g.,:

{
  "model_id": "my-llm-123",
  "deployment": {
    "type": "kubernetes",
    "namespace": "aiml"
  }
}

Integration Notes

Integrate this skill with existing ML ops tools by exporting metrics to Prometheus or using webhooks for CI/CD. For Kubernetes, apply manifests generated by openclaw llm generate-k8s --model-id my-llm-123. When combining with other OpenClaw skills, chain commands like openclaw llm deploy && openclaw monitoring setup. Use environment variables for secrets, e.g., set $OPENCLAW_API_KEY in your.env file and load it via dotenv in Python scripts. Ensure network accessibility to API endpoints; configure firewalls to allow traffic to api.openclaw.ai.

Error Handling

Check command exit codes; for example, if openclaw llm deploy fails with code 1, parse the error message for details like "Model not found". In API responses, handle HTTP status codes: 401 for authentication issues (retry with export OPENCLAW_API_KEY=new_key), 404 for missing models, or 500 for server errors (wait and retry with exponential backoff). Include try-except blocks in code snippets:

try:
    response = requests.post('https://api.openclaw.ai/llm/deploy', ...)
    response.raise_for_status()
except requests.exceptions.HTTPError as e:
    print(f"Error: {e.response.status_code} - {e.response.text}")
    sys.exit(1)

Log errors to files using --log-file errors.log in CLI commands and monitor for common issues like resource limits.

Concrete Usage Examples

  1. Deploy and Scale an LLM: First, export your API key: export OPENCLAW_API_KEY=abc123. Deploy a model with: openclaw llm deploy --model-id gpt-finetuned --env staging --replicas 2. Then, scale it based on load: openclaw llm scale --model-id gpt-finetuned --scale-to 10 --metric request_rate.
  2. Monitor and Rollback: Run monitoring: openclaw llm monitor --model-id gpt-finetuned --duration 300. If issues arise, rollback: openclaw llm rollback --model-id gpt-finetuned --version v2.1.

Graph Relationships

  • Related to: aimlops (cluster), llm (tag), mlops (tag)
  • Depends on: authentication services for API access
  • Integrates with: monitoring tools, deployment orchestrators like Kubernetes
  • Conflicts with: none specified; ensure no overlapping model IDs in multi-skill environments

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.12%
按下载量换算45

Claude

27.55%
按下载量换算33

Cursor

18.06%
按下载量换算22

Gemini CLI

9.53%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills