PlugWiki

Huawei Cloud FunctionGraph Trigger Skill: Timer Cron Jobs

Lets an agent add a scheduled timer trigger to a Huawei Cloud FunctionGraph function, using a cron expression or a fixed rate.

Installs
17.5K
on skills.sh
Stars
59
on GitHub
Files
8
besides SKILL.md
Updated
Oct 2026
last repo commit

This is Huawei Cloud's own skill for FunctionGraph timer triggers. The agent runs the bundled create_trigger.py with a function URN, a trigger name and a schedule, written either as a Quartz cron expression or a rate value such as 5m. The script first checks that the function exists, then validates the inputs and creates the trigger.

You need Python 3.9+, the huaweicloudsdkfunctiongraph package and four environment variables for your key and project, and the target function must already exist. A new trigger is ACTIVE unless you pass --status DISABLED, so it starts firing on its schedule.

Good for

  • Developers who want an existing serverless function to run on a schedule
  • Teams setting up periodic jobs such as reports, backups or health checks
  • Anyone who finds Quartz cron syntax hard and wants it validated first

Install huawei-cloud-functiongraph-trigger-create

Claude Code

  1. 1

    Copy this prompt.

    Install the huawei-cloud-functiongraph-trigger-create skill in Claude Code. Run this command:
    
    npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-functiongraph-trigger-create
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

SKILL.md needs Python 3.9+ and the SDK package, then HUAWEI_AK, HUAWEI_SK, HUAWEI_REGION and HUAWEI_PROJECT_ID exported in your shell. The target function must already exist. The repo has no plugin manifest, so there is no plugin route.

Built from the package data we hold. Not yet tested by us. Source.

What's in the skill

When it loads

Create and configure scheduled TIMER triggers for Huawei Cloud FunctionGraph functions using Quartz Cron expressions. Use this skill when users ask to create triggers, schedule function execution, set up periodic tasks, or configure timers for functions. Triggered by keywords like "create trigger", "set up trigger", "schedule function", "periodic task", "timer", "cron", "创建云函数触发器", "配置云函数触发器", "云函数定时触发", "定时执行", "定时任务", "创建定时器", "FunctionGraph trigger", "schedule function execution".

Sections in SKILL.md

  1. Basic Command Structure
  2. Examples
  3. Cron Expression Trigger
  4. Fixed Rate Trigger
  5. Cron Expression Format
  6. Confirmation Checklist
  7. Success Response
  8. Error Response
  9. 1. List Function Triggers
  10. 2. Check Trigger Details
  11. 3. Monitor Trigger Execution
  12. Cron Expression Best Practices
  13. Naming Conventions
  14. Security Considerations
  15. Operational Recommendations
  16. Compatibility Notes

Key facts

Installs on skills.sh
17,506 (Nov 2, 2026)
Last repo commit
Oct 31, 2026

What it includes

  • Reads the key and region from environment variables

    The script reads HUAWEI_AK, HUAWEI_SK, HUAWEI_REGION (default cn-north-4) and HUAWEI_PROJECT_ID, and exits before any API call if the key is missing.

    Try: “Create a daily 2:00 trigger for my function.”

    Read · Step 1: load keys

  • Calls ShowFunctionConfig to confirm the function exists

    Before creating anything, the script looks up the function URN you pass and stops with FunctionNotFound if it is not there.

    Network · Step 2: check the function

  • Checks cron syntax, name length and status

    Validates required fields, a 6 or 7 field Quartz cron expression (or a rate value), a trigger name of 1 to 64 characters and the ACTIVE or DISABLED status.

    Read · Step 3: validate the schedule

  • Creates the TIMER trigger

    Creates the trigger with --function-urn, --name, --schedule, --schedule-type Cron or Rate, --status and optional --user-event, then prints a JSON result with the trigger ID.

    Try: “Create a trigger named daily-trigger on my function with schedule 0 0 2 * * ? and status DISABLED.”

    Runs code · Step 4: create_trigger.py

  • Two small example functions

    simple_timer_func.py and timer_func_code.py are sample handler files. timer_func_code.py returns a "Timer triggered successfully" message with a timestamp.

    Files · Sample handlers

From the official docs

Permissions

Medium risk

It creates a recurring trigger in your cloud account that runs a function and costs money on each run. Create it disabled first, check the schedule, then enable it.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • The trigger starts running on its own

    The default status is ACTIVE, so the function runs on the schedule and each run is billed. Pass --status DISABLED first, check it, then enable it. A short rate such as 5m means many runs. github.com

  • Overlapping runs are possible

    SKILL.md warns that several triggers can cause concurrent runs and that the function timeout should be shorter than the trigger interval. github.com

  • It needs a pip package and your key in the environment

    SKILL.md says to run pip install huaweicloudsdkfunctiongraph and to export the key variables. Use an IAM user limited to FunctionGraph. github.com

Security advisories

No published security advisories as of Nov 2, 2026.

Technical details
Turning on read-onlyNo read-only mode. The skill creates triggers.
Talks toHuawei Cloud FunctionGraph API through the Python SDK
Sign-in and keysThe script reads the key from environment variables. SKILL.md says nothing about printing it, so keep it out of chat yourself.
Scopes
  • Creates a TIMER trigger on a FunctionGraph function you name

  • Reads HUAWEI_AK, HUAWEI_SK, HUAWEI_REGION and HUAWEI_PROJECT_ID from the environment

  • Calls ShowFunctionConfig to check the function first

Questions

What does huawei-cloud-functiongraph-trigger-create do?

It makes an agent add a scheduled TIMER trigger to an existing FunctionGraph function, using a Quartz cron expression or a fixed rate, through a bundled Python script.

Does it need an API key?

Yes. SKILL.md has you set HUAWEI_AK and HUAWEI_SK as environment variables, plus region and project ID. Our advice: use an IAM user limited to FunctionGraph, and see the skill's references/iam-policies.md for the permissions it expects.

Is huawei-cloud-functiongraph-trigger-create official?

It is in Huawei Cloud's own huaweicloud/huaweicloud-skills repo, which the README calls officially maintained Huawei Cloud Agent Skills.

Is it safe to run?

It creates a recurring trigger in your cloud account, and function runs are billed per invocation according to SKILL.md. The trigger is ACTIVE by default. Our advice: create it with --status DISABLED first, check the schedule in the console, then enable it.

Does it work in Claude Code, Codex or the Claude app?

The install box has Claude Code, Codex and standalone tabs. Huawei says only that the skills are compatible with mainstream AI Agents and names none, and it documents no Claude app upload. This skill runs command-line tools on your machine, so the box has no Claude app tab.

How is it different from the FunctionGraph function skill?

This one only adds a timer trigger to a function that already exists. The huawei-cloud-functiongraph-function-create skill creates and invokes the function itself.

Information

updated Nov 2, 2026

Folder
skills/computing/functiongraph/huawei-cloud-functiongraph-trigger-create

huaweicloud/huaweicloud-skillsskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 5
  1. huawei-cloud-functiongraph-trigger-create SKILL.md · github.com
  2. huaweicloud-skills README · github.com
  3. huaweicloud-skills LICENSE · github.com
  4. create_trigger.py · github.com
  5. timer_func_code.py · github.com

Updated Nov 2, 2026.