agentCLAWHUBUnverified

5GC Automation

5GC Web仪表自动化技能,支持AMF/UDM/AUSF/SMF/PGW-C/UPF/PGW-U/GNB/UE/PCF/NRF/QoS/TC/PCC/smpolicy的批量添加与编辑及PCF默认规则一键配置 Skill: 5GC Automation Owner: liuwei120 Summary: 5GC Web仪表自动化技能,支持AMF/UDM/AUSF/SMF/PGW-C/UPF/PGW-U/GNB/UE/PCF/NRF/QoS/TC/PCC/smpolicy的批量添加与编辑及PCF默认规则一键配置 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-27T08:28:16.152Z | user Initial: 5GC AMF/PCF/SMF/UPF/NRF/AUSF/UDM automation via Flex仪表 Web UI Archive index: Archive v1.0.0: 13 files, 45767 bytes Files: scripts/5gc.js (10993b), scripts/amf-add-skill.js (10648b),

OpenClaw

Rank

62

Safety

84

Downloads

1.1k

Updated

Oct 11, 2026

Version

1.0.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 11, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 11, 2026
Adoption signal
1.1K downloadsadoption · observed Oct 11, 2026
Latest release
1.0.0release · observed Apr 27, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s175cct37w2xddkhpg3rgv55en83gx73:5gc-automation
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-liuwei120-5gc-automation/snapshot"

Documentation

CLAWHUB

36,077 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: 5gc-web-dotouch
version: 1.0.0
description: 5GC Web仪表自动化技能,支持AMF/UDM/AUSF/SMF/PGW-C/UPF/PGW-U/GNB/UE/PCF/NRF/QoS/TC/PCC/smpolicy的批量添加与编辑及PCF默认规则一键配置
author: liuwei120
tags: [5gc, automation, playwright, network]
---

# 5GC Web 仪表自动化技能

> 统一管理 AMF、UDM/AUSF、SMF/PGW-C、UPF/PGW-U、GNB、UE、PCF、NRF 八类网元的添加与编辑操作,以及 PCC 规则、QoS 模板、Traffic Control、SMPolicy 和 PCF 默认规则一键配置。

---

## 目录

- [快速开始](#快速开始)
- [统一 CLI 入口](#统一-cli-入口)
- [技能详细文档](#技能详细文档)
  - [AMF](#amf)
  - [UDM/AUSF](#udmausf)
  - [SMF/PGW-C](#smfpgw-c)
  - [UPF/PGW-U](#upfpgw-u)
  - [GNB](#gnb)
  - [UE](#ue)
  - [PCF/PCRF](#pcfpcrf)
  - [PCC 规则](#pcc-规则)
  - [QoS 模板](#qos-模板)
  - [Traffic Control](#traffic-control)
  - [SMPolicy](#smpolicy)
    - [UE Smpolicy](#smpolicy-ue-add-skilljs)
  - [DNN Smpolicy](#smpolicy-dnn)
    - [DNN Smpolicy](#smpolicy-dnn)
    - [TAC Smpolicy](#smpolicy-tac)
    - [Cell Smpolicy](#smpolicy-cell)
    - [Cell Forbidden Smpolicy](#smpolicy-cell-forbidden)
  - [NRF](#nrf)
- [全局参数参考](#全局参数参考)
- [字段参考](#字段参考)

---

## 快速开始

### 安装方法

技能目录位于 `skills/5gc/`,由统一入口 `5gc.js` 统一调度,无需额外安装:

```bash
# 克隆或复制到本机
git clone <repo> ~/.openclaw/workspace/skills/5gc

# 直接使用统一入口(推荐)
node skills/5gc/scripts/5gc.js <entity> <action> [options]

# 或直接调用各脚本
node skills/5gc/scripts/amf-add-skill.js <参数>
```

### 前置要求

- Node.js ≥ 14
- Playwright(`npm i playwright && npx playwright install chromium`)
- 5GC 仪表地址:`https://192.168.3.89`(默认)
- 登录凭证:`[email protected]` / `dotouch`
- 仪表上已创建对应工程(如 `XW_S5GC_1`)

### 会话缓存

所有脚本自动复用 Playwright 会话缓存(`.sessions/` 目录),首次登录后再次运行无需重复登录。

---

## 统一 CLI 入口

### 路径

```
node skills/5gc/scripts/5gc.js <entity> <action> [options]
```

### 支持的网元与操作

| entity | add | edit | 特殊操作 |
|--------|-----|------|---------|
| `amf`  | ✅ | ✅ | |
| `udm`  | ✅ | ✅ | |
| `smf`  | ✅ | ✅ | |
| `upf`  | ✅ | ✅ | |
| `gnb`  | ✅ | ✅ | |
| `ue`   | ✅ | ✅ | |
| `pcf`  | ✅ | ✅ | `default-rule-add` |
| `pcc`  | ✅ | ✅ | |
| `qos`  | ✅ | | |
| `tc`   | ✅ | | |
| `smpolicy` | | | `add-pcc`, `ue-add`, `ue-edit`, `dnn-add`, `dnn-edit` |
| `nrf`  | ✅ | ✅ | |

### 全局选项

| 选项 | 说明 |
|------|------|
| `--url <地址>` | 5GC 仪表地址,默认 `https://192.168.3.89` |
| `--headed` | 打开可见浏览器窗口(调试用) |

### 三种使用模式

```bash
# 1. 添加网元
node 5gc.js amf add <名称> [参数...]

# 2. 批量编辑(当前工程下所有该类网元)
node 5gc.js amf edit --project <工程> --set-<字段> <值>

# 3. 单个编辑(按名称精确匹配)
node 5gc.js amf edit --name <名称> --project <工程> --set-<字段> <值>
```

---

## 技能详细文档

---

### AMF

#### amf-add-skill.js

**功能**:在指定工程下添加一个 AMF 实例。

**使用方式**:
```bash
node 5gc.js amf add <名称> [选项...]
# 或直接调用
node skills/5gc/scripts/amf-add-skill.js <名称> [选项...]
```

**参数**:

| 参数 | 说明 | 默认值 |
|------|------|--------|
| `<名称>` | AMF 实例名称(位置参数) | **必填** |
| `--project <工程>` / `-p <工程>` | 目标工程名称 | `5G_basic_process` |
| `--url <地址>` | 5GC 仪表地址 | `https://192.168.3.89` |
| `--mcc <值>` | MCC(移动国家码) | `460` |
| `--mnc <值>` | MNC(移动网络码) | `01` |
| `--ngap_sip <IP>` | NGAP 信令面 IP | `200.20.20.1` |
| `--ngap_port <端口>` | NGAP 端口 | `38412` |
| `--http2_sip <IP>

_meta.json

{
  "ownerId": "kn71dq1r35df20eb9d39wsr1ps8281km",
  "slug": "5gc-automation",
  "version": "1.0.0",
  "publishedAt": 1777278496152
}

skill-card.md

## Description:

Automates bulk creation, editing, and default policy setup for 5GC network functions and policy objects through a Flex web dashboard.

This skill is ready for commercial/non-commercial use.

## Publisher:

[liuwei120](https://clawhub.ai/user/liuwei120)

### License/Terms of Use:

MIT-0

## Use Case:

Network developers and lab engineers use this skill to run CLI-driven browser automation for AMF, UDM/AUSF, SMF/PGW-C, UPF/PGW-U, GNB, UE, PCF, NRF, QoS, Traffic Control, PCC, and SMPolicy configuration in an authorized 5GC management dashboard.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill automates sensitive 5GC console changes.

Mitigation: Run it only in an isolated lab or explicitly authorized 5GC management environment and review changes before execution.

Risk: The security evidence reports shared credentials in the release.

Mitigation: Rotate exposed credentials, avoid shared accounts, and use environment-specific secrets before installation or use.

Risk: The security evidence reports disabled TLS checks.

Mitigation: Require valid TLS certificates and remove or tightly control TLS verification bypasses before use.

Risk: The security evidence reports session caching.

Mitigation: Disable or protect cached browser sessions and clear session state after authorized automation runs.

Risk: The security evidence reports policy mutations without strong safeguards.

Mitigation: Add confirmation, dry-run, backup, or change-approval controls before policy replacement or bulk edits.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/liuwei120/skills/5gc-automation)
- [ClawHub publisher profile](https://clawhub.ai/user/liuwei120)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown with inline shell commands and CLI options]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May invoke Playwright-driven browser automation against a 5GC web dashboard.]

## Skill Version(s):

1.0.0 (source: frontmatter and server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
Github ReposUpdated 2d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/liuwei120/skills/5gc-automation",
      "sourceUrl": "https://clawhub.ai/liuwei120/skills/5gc-automation",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T06:52:24.292Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-liuwei120-5gc-automation/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-liuwei120-5gc-automation/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-11T06:52:24.292Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.1K downloads",
      "href": "https://clawhub.ai/liuwei120/5gc-automation",
      "sourceUrl": "https://clawhub.ai/liuwei120/5gc-automation",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T06:52:24.292Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.0",
      "href": "https://clawhub.ai/liuwei120/5gc-automation",
      "sourceUrl": "https://clawhub.ai/liuwei120/5gc-automation",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-27T08:28:16.152Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-liuwei120-5gc-automation/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-liuwei120-5gc-automation/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.0",
      "description": "Initial: 5GC AMF/PCF/SMF/UPF/NRF/AUSF/UDM automation via Flex仪表 Web UI",
      "href": "https://clawhub.ai/liuwei120/5gc-automation",
      "sourceUrl": "https://clawhub.ai/liuwei120/5gc-automation",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-27T08:28:16.152Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 11, 2026.

Sponsored

Ads related to 5GC Automation and adjacent AI workflows.