argos-alarm

Manage Argos alarm rules across CN, I18N, TTP, and BOE regions via gdpa-cli.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill argos-alarm-yuezhen-huang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: argos-alarm
Source: https://github.com/yuezhen-huang/my-bytedance-skillhub/tree/main/argos-alarm
Command: npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill argos-alarm-yuezhen-huang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Managing Argos alarm rules across multiple regional control planes (CN, I18N, TTP, BOE) requires knowing different gateways, JWT scopes, and API endpoints. This Skill lets you list, inspect, create, update, and delete alarm rules for PSMs you own through a single gdpa-cli interface, with a mandatory two-phase confirmation flow that prevents accidental write operations. ## Core Features & Use Cases - Rule CRUD across regions: List, get, create, update, and delete alarm rules by PSM or rule UID across CN / I18N / TTP / BOE control planes with automatic vregion-to-gateway mapping. - Safe two-phase writes: Every create/update/delete runs a preview phase first showing the exact request, and only executes after explicit user confirmation with confirm: true. - Lark notification configuration: A dedicated reference covers routing alerts to Lark groups, LarkBot webhooks, escalation chains, and receiver_mode decision matrices. - Use Case: You own the PSM ies.gdp.open_api in Singapore and want to check why it is not alerting. List its rules, inspect thresholds and receivers, then update the rule level after previewing the change. ## Quick Start Ask the agent to list all Argos alarm rules for your PSM in the sg region, for example: "List the alarm rules for psm ies.gdp.open_api in sg and show their thresholds and receivers."

Frequently Asked Questions about argos-alarm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an Argos alarm rule for my PSM?

Run the create_rule action with vregion and a rule body containing name, attach_model, level, and expression. The first call returns a preview only; after reviewing it, re-run the same input with confirm set to true to execute the write.

How do I list alarm rules for a PSM in a specific region?

Use the list_rules action with the vregion parameter (such as cn, sg, us, ttp, or boe) and a psm filter. Results are paginated; pass the returned next_token back as token to fetch subsequent pages.

Why does my alarm rule update fail with error 41010403?

Error 41010403 means unauthorized: the skill authenticates with your gdpa-cli login JWT and only supports PSMs where you are the service-tree owner. Verify ownership of the target PSM or re-run gdpa-cli login if your token expired.

Can I send Argos alerts to a Lark group?

Yes, set receiver_mode to override and provide Lark group IDs in the lark_ids field of the rule body. The references/lark-notification.md file documents receiver modes, escalation channels, and webhook configuration examples.

What happens when I delete an Argos alarm rule?

Deletion is a soft delete: the rule is marked status deleted, hidden from list_rules, but still retrievable via get_rule as a tombstone. Like all writes, delete requires a preview call followed by a confirmed call.