huawei-cloud-functiongraph-function-create

huawei-cloud-functiongraph-function-create is a skill for Claude Code, Codex from huaweicloud/huaweicloud-skills. It costs 90 tokens per session (1,305 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 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,305 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 17 Jun 2026
  • Snyk fail 17 Jun 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.00090 $0.01305
Opus 5 $0.00045 $0.00652
Sonnet 5 $0.00018 $0.00261
Haiku 4.5 $0.00009 $0.00130

Measured 9d ago against content hash d924418ce084, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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 · 175 lines

How it starts

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

FunctionGraph Function Creation Skill

Overview

This skill creates FunctionGraph functions on Huawei Cloud based on user-provided parameters including function name, runtime, and code content.

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
  • Foundation component for workflow deployment
  • CI/CD integration for function deployment

Typical Use Cases:

  1. "Create a Python function named my_handler"
  2. "Deploy this code to FunctionGraph"
  3. "Batch create 10 functions from template"

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

See IAM Policies for detailed permission configuration.

Usage

Command

cd scripts
python create_function.py   --name <function_name>   --runtime <runtime>   --han
dler <handler>   --code <code_content>   --memory <memory_size>   --timeout <timeout>

Parameter Confirmation

|| Parameter | Required/Optional | Description | Default || || ----------- | ------------------ | ------------- | --------- || || function_name | Required | Function name, must follow naming rules | - || || runtime | Required | Runtime environment (Python3.9, etc.) | - || || code_content | Required | Function code content | - || || handler | Required | Function entry point (e.g., index.handler) | - || || memory_size | Optional | Memory size in MB | 128 || || timeout | Optional | Timeout in seconds | 3 || || description | Optional | Function description | - ||

Read the full file on GitHub · 175 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. 9d 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 (47 stars, last pushed yesterday), licensed MIT. It adds 90 tokens to every session and 1,305 once invoked, about $0.0005 per session on Opus 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

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

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

serverless

Advanced serverless deployment and cold-start optimization skill.

j4flmao/agent-skills · 13 tokens

serverless-expert

Design and implement production-grade serverless applications with optimal performance, cost efficiency, and scalability. Use when the user mentions serverless or FaaS, AWS Lambda, Azure Functions, Cloud Functions, cold starts, event-driven architecture, or API Gateway-fronted workloads.

personamanagmentlayer/pcl · 58 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

hono-cloudflare

Hono on Cloudflare Workers - bindings, KV, D1, R2, Durable Objects, and edge deployment patterns.

bobmatnyc/claude-mpm-skills · 29 tokens