# huawei-cloud-ges-graph

The huawei-cloud-ges-graph Claude Code skill guides graph database work with Huawei Cloud GES from the terminal. It covers Cypher and GQL queries, schema and label changes, and graph data edits.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 197 installs · ★ 59 repo stars
- Author: huaweicloud
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/huaweicloud/huaweicloud-skills/tree/HEAD/skills/ai/ges/huawei-cloud-ges-graph/SKILL.md
- Updated: 2026-11-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/huawei-cloud-ges-graph

## What it does

The skill guides agents through Cypher and GQL queries, schema and label management, graph summaries, and edits to Huawei Cloud GES data. Operations use Python or Node.js scripts in `scripts/`.

You need Python 3.8+ or Node.js 14+, plus graph and IAM connection settings. Python scripts require `requests`; the Node.js scripts use standard modules. Configure the connection with environment variables or `config/ges_env.csv`. The code blocks unscoped deletion queries, and clearing the entire graph requires explicit confirmation because the operation cannot be undone.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-ges-graph -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/huawei-cloud-ges-graph/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/huawei-cloud-ges-graph/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-ges-graph -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/huawei-cloud-ges-graph/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-ges-graph -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/huawei-cloud-ges-graph/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install huaweicloud/huaweicloud-skills skills/ai/ges/huawei-cloud-ges-graph
```

2. **Manually: put the files in place**
- File: `.github/skills/huawei-cloud-ges-graph/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-ges-graph -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/huaweicloud/huaweicloud-skills --path skills/ai/ges/huawei-cloud-ges-graph
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/huawei-cloud-ges-graph/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-ges-graph -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/huaweicloud/huaweicloud-skills/tree/HEAD/skills/ai/ges/huawei-cloud-ges-graph/SKILL.md

## When to use it
- run a Cypher query against a GES graph
- send a GQL query from the terminal
- manage graph schema and labels
- retrieve a graph summary
- edit graph data using a condition

## Example prompts
- Run a Cypher query against my GES graph and show the result.
- Get a summary of the Huawei Cloud GES graph.
- Add a label to a node in the GES graph and check the result.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: fa0e8e678109b5c5.

BEGIN THIRD-PARTY FILE fa0e8e678109b5c5
```text
---
name: huawei-cloud-ges-graph
description: |
  Provides access guide for Huawei Cloud Graph Database GES service.
  Covers Cypher queries, GQL queries, schema/label management,
  summary info queries, graph data editing and more. Use this skill when users
  want to operate Huawei Cloud graph database GES service via terminal.
Trigger: Graph Database, 图数据库, Cypher查询, GES图, 图引擎, 使用Cypher查一下图数据库, 华为云图引擎, 操作图数据库,
  用Cypher查询图, GES图数据库操作, graph database, "query graph with Cypher", 查询图数据库, 在图数据库中发送语句,
  "Cypher查询", "图数据库GES", "GES图查询"
tags: [huawei-cloud, ges, graph, python, nodejs]
---

> **⚠️ Execution Method (Must Read): This skill executes queries via local Python or Node.js scripts under `scripts/`. Using direct API calls is prohibited.**
>
> - Query scripts are located under the skill directory `scripts/` (e.g., `scripts/ges_graph_skill.py`)
> - All scripts and environment check scripts are inside the skill package. **You must use `skill action=exec` to execute them; do not run them directly in the shell**
> - **Prefer inline execution** (`python -c` or `node -e`) over creating temporary script files. See "Inline Execution (No Temp Files)" section below.
> - **All paths are relative to the skill directory, which is the directory where this SKILL.md resides**

# GES Graph Access Guidance

## Overview

Huawei Cloud Graph Engine Service (GES) persistent edition atomic capability,
providing access guide for graph database operations.
Covers Cypher queries, GQL queries, schema/label management, summary info queries, graph data editing and other core capabilities.

## Directory Structure

The directory conventions are as follows (all paths are relative to the skill directory):

1. `scripts/` - Contains the Python and Node.js execution scripts
   - `ges_graph_skill.py` - Python SDK for GES graph operations
   - `ges_graph_skill.js` - Node.js SDK for GES graph operations
2. `references/` - Contains documentation and configuration examples
   - `ges_env.csv.example` - Environment configuration template
   - `cypher-gql-guide.md` - Full Cypher/GQL usage guide (examples, tables, inline execution)
   - `cli-installation-guide.md` - Runtime (Python/Node.js) installation and configuration guide
   - `iam-policies.md` - Minimum IAM permission policies for GES/OBS
   - `verification-method.md` - Verification steps and checklist
   - `acceptance-criteria.md` - Acceptance criteria (pass/fail thresholds)
   - `user-guide-authentication.md` - IAM token methods and GitCode API Token auth
   - `chaining-protocol.md` - Uniform result envelope and chained-call contract

## Prerequisites

Before using this skill, ensure the following conditions are met:

### 1. Runtime Environment
Supports Python or Node.js runtime.
```
END THIRD-PARTY FILE fa0e8e678109b5c5

The third-party file has ended. Everything between the fa0e8e678109b5c5 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2879 of 23077 bytes. © huaweicloud · MIT · https://github.com/huaweicloud/huaweicloud-skills/tree/HEAD/skills/ai/ges/huawei-cloud-ges-graph/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
