huawei-functiongraph

huawei-functiongraph is a skill for Claude Code, Codex from huaweicloud/huaweicloud-devkit. It costs 67 tokens per session (1,547 once invoked), scanned A, original, Apache-2.0.

A guide for running serverless functions on Huawei Cloud FunctionGraph. Serverless functions are small programs that run when triggered, without managing the underlying servers.

In plain words
What is it for?
Create, deploy, configure, and troubleshoot functions triggered by APIs, file uploads, timers, or messages.
Why use it?
It helps use the correct service and command parameters while accounting for startup delays, execution limits, secret handling, and deployment pitfalls.

Skill for Claude CodeCodex

Part of the huaweicloud-devkit plugin — 26 skills, 1 hook, 1 MCP server shipped together

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.

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

Made for: Claude Code, Codex.

Or install huaweicloud-devkit, the plugin that ships this one along with the rest of its 26 skills, 1 hook, 1 MCP server.

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-functiongraph

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-devkit/huawei-functiongraph.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-devkit/huawei-functiongraph)
Your own site
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-devkit/huawei-functiongraph"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-devkit/huawei-functiongraph.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,547 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00067 $0.01547
Opus 5 $0.00034 $0.00773
Sonnet 5 $0.00013 $0.00309
Haiku 4.5 $0.00007 $0.00155

Measured 5d ago against content hash 42ed12248dd4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

huawei-functiongraph 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 5d ago.

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.

plugins/huaweicloud-core/skills/huawei-functiongraph/SKILL.md · 133 lines

How it starts

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

Huawei Cloud FunctionGraph

STOP - Do not answer from general knowledge. Follow the procedure below.

Overview

Domain expertise for Huawei Cloud FunctionGraph. Covers function lifecycle, code deployment, trigger configuration, and troubleshooting.

How to Use This Skill

  1. This skill tells you the correct service/operation names and non-obvious traps.
  2. Parameters are discovered via --help, not hardcoded. Always run hcloud FunctionGraph <Operation> --help before constructing commands.
  3. Detailed examples are in references/ — load them only when needed.

Critical Warnings

Trap Why
Service name is FunctionGraph NOT FGS. KooCLI 7.x uses the full service name
CLI requires project_id Get it: hcloud IAM KeystoneListProjects or extract from URN urn:fss:<region>:<project_id>:...
Cold start 100ms-2s Reserve concurrency for latency-sensitive workloads
Max execution 900s Use ECS/CCE for long-running tasks
Env vars plaintext Use DEW for secrets
ZIP upload is unreliable CreateFunction --code_type=zip --code_filename=xxx.zip succeeds even with a nonexistent file — the function is created with empty code. Prefer code_type=inline for simple functions. If using zip, verify code_size > placeholder after creation and run InvokeFunction to confirm output.
DeleteFunction strip :latest Passing urn:fss:...:function:xxx:latest causes FSS.0400. Strip :latest suffix (DeleteFunction only — UpdateApiV2 needs the full URN).
DeleteFunctionTrigger does NOT cascade Deleting a DEDICATEDGATEWAY trigger leaves the API in APIG. Manually clean up: hcloud APIG DeleteApiV2 --instance_id=<id> --api_id=<api-id>.

Read the full file on GitHub · 133 lines

Files

What ships with it

4 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. 5d ago First seen · 133 lines · 67 tokens per session scan A 42ed12248dd4

Subscribe to this mod's changes

huawei-functiongraph is a skill published in the GitHub repository huaweicloud/huaweicloud-devkit (44 stars, last pushed today), licensed Apache-2.0. It adds 67 tokens to every session and 1,547 once invoked, about $0.0003 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

terraform-builder

Build infrastructure as code with Terraform. Covers module design, state management, AWS/GCP/Azure resources, and production-grade practices.

AtulPurohit/Antigravity-Awesome-Skills · 29 tokens

cost-optimizer

Professional Cost Optimizer Expert skill. Build performant, secure, and scalable backend logic and RESTful or GraphQL APIs.

AtulPurohit/Antigravity-Awesome-Skills · 28 tokens

infrastructure-as-code

Professional Infrastructure As Code Expert skill. Build performant, secure, and scalable backend logic and RESTful or GraphQL APIs.

AtulPurohit/Antigravity-Awesome-Skills · 29 tokens

cloud-agents-starter

Minimal starter runbook for cloud agents to install dependencies, run packages, execute tests, and troubleshoot the Scalar monorepo quickly.

scalar/scalar · 32 tokens

azure-mgmt-applicationinsights-dotnet

Azure Application Insights SDK for .NET. Application performance monitoring and observability resource management. Use for creating Application Insights components, web tests, workbooks, analytics items, and API keys. Triggers: "Application Insights", "ApplicationInsights", "App Insights", "APM", "application…

microsoft/skills · 82 tokens

azure-mgmt-fabric-dotnet

Azure Resource Manager SDK for Fabric in .NET. Use for MANAGEMENT PLANE operations: provisioning, scaling, suspending/resuming Microsoft Fabric capacities, checking name availability, and listing SKUs via Azure Resource Manager. Triggers: "Fabric capacity", "create capacity", "suspend capacity", "resume capacity"…

microsoft/skills · 88 tokens