huawei-cloud-functiongraph-function-create

huawei-cloud-functiongraph-function-create is a skill for Claude Code, Codex from huaweicloud/huaweicloud-skills. It costs 120 tokens per session (2,253 once invoked), scanned A, original, MIT.

A guide for creating serverless functions in Huawei Cloud FunctionGraph, a service that runs code without managing servers directly. It uses the Huawei Cloud Python SDK and requires function details and cloud credentials.

In plain words
What is it for?
Use it to create individual or batch FunctionGraph functions, including deployments and CI/CD workflows.
Why use it?
It provides a defined process for creating, deploying, or uploading functions through the service instead of doing those steps manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create individual or batch FunctionGraph functions, including deployments and CI/CD workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huaweicloud/huaweicloud-skills/huawei-cloud-functiongraph-function-create
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-functiongraph-function-create
Clone the repo
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for huawei-cloud-functiongraph-function-create

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-functiongraph-function-create/github.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-functiongraph-function-create)
Your own site
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-functiongraph-function-create"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-functiongraph-function-create/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for huawei-cloud-functiongraph-function-create

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-functiongraph-function-create"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-functiongraph-function-create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,253 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 23 Oct 2026
  • Snyk pass 23 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00120 $0.02253
Opus 5.5 $0.00048 $0.00901
Sonnet 5.5 $0.00024 $0.00451
Haiku 4.5 $0.00012 $0.00225

Measured 3d ago against content hash 4451a1d24014, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

huawei-cloud-functiongraph-function-create scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/create_function.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/computing/functiongraph/huawei-cloud-functiongraph-function-create/SKILL.md · 274 lines

How it starts

The opening of the file, as written. The whole thing — 274 lines — stays where its author put it; the contents beside it link to each section on GitHub.

FunctionGraph Function Creation & Invocation Skill

Overview

This skill manages FunctionGraph functions on Huawei Cloud, supporting creation with advanced configuration (VPC, environment variables) and function invocation (sync/async).

Architecture: Uses Huawei Cloud FunctionGraph Python SDK to interact with FunctionGraph service.

Applicable Scenarios:

  • Quickly create cloud functions without manual console login
  • Batch creation of multiple functions with VPC or environment variable configuration
  • Foundation component for workflow deployment
  • CI/CD integration for function deployment
  • Invoke and test deployed functions

Typical Use Cases:

  1. "Create a Python function named my_handler"
  2. "Deploy this code to FunctionGraph with VPC configuration"
  3. "Create a function with environment variables"
  4. "Invoke the function I just created"

Prerequisites

1. Python Environment

  • Python 3.9+
  • Verify: python --version

2. SDK Installation

pip install huaweicloudsdkfunctiongraph

3. Authentication Configuration

  • Valid Huawei Cloud credentials (AK/SK mode)
  • Configure via environment variables:
export HUAWEI_AK="your-access-key"
export HUAWEI_SK="your-secret-key"
export HUAWEI_REGION="cn-north-4"
export HUAWEI_PROJECT_ID="your-project-id"

Security Rules:

  • NEVER expose AK/SK values in code or logs
  • NEVER let users input AK/SK directly in conversation
  • ALWAYS use environment variables for credentials
  • Recommend using IAM user instead of main account

4. IAM Permission Requirements

  • functiongraph:function:create - Create function
  • functiongraph:function:get - Query function details
  • functiongraph:function:list - List functions
  • functiongraph:function:invoke - Invoke function

See IAM Policies for detailed permission configuration.

Workflow

User Request → Parse Parameters → Validate Input
  → Create Function (with optional VPC/Env Vars) → Return Function URN
  → (Optional) Invoke Function → Return Invocation Result

Read the full file on GitHub · 274 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +7 lines 4451a1d24014
  2. 12d ago Changed · +92 lines · +30 tokens per session 34b2284ae3af
  3. 1mo ago First seen · 175 lines · 90 tokens per session scan A d924418ce084

Subscribe to this mod's changes

huawei-cloud-functiongraph-function-create is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed 3d ago), licensed MIT. It adds 120 tokens to every session and 2,253 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gcp-essentials

Use when running a small product on core Google Cloud via the gcloud CLI: a project, Cloud Run deploys, a locked-down Cloud Storage bucket, managed Cloud SQL, and least-privilege IAM wiring them together. NOT AWS (that is aws-essentials), NOT the CI pipeline that ships the image (that is deployment), NOT Postgres…

ericrisco/rsc-harness · 91 tokens

architecture-paradigm-serverless

Applies serverless FaaS patterns for event-driven workloads. Use when designing bursty workloads with minimal infrastructure and pay-per-execution cost model.

athola/claude-night-market · 37 tokens

huawei-cloud-apig-instance-management

Manage Huawei Cloud APIG (API Gateway, dedicated instances) via hcloud CLI: instance lifecycle (create/list/delete), API groups, API create/update/delete, publish/offline, request throttling policies, signature keys, access control (ACL) policies, and public ingress EIP binding, plus read-only diagnosis of public…

huaweicloud/huaweicloud-devkit · 206 tokens

serverless

Advanced serverless deployment and cold-start optimization skill.

j4flmao/agent-skills · 13 tokens

openapi-to-apigw-transform

Transform OpenAPI specifications (Swagger 2.0, OpenAPI 3.0, 3.1) into Amazon API Gateway-compatible REST APIs. Orchestrates transform, validate, optionally deploy via AWS SAM, E2E test against live endpoints, and report unsupported features. Use when converting OpenAPI to API Gateway, importing a Swagger/OpenAPI spec…

aws-samples/serverless-samples · 109 tokens

serverless-architecture

Designs and implements serverless functions: function boundary design, runtime selection, event sources, IAM least privilege, configuration, observability, and cost estimation. Invoked when the user asks to build a serverless function, design a Lambda-based system, or move workloads to serverless.

soulcodex/agentic · 62 tokens