AGENT SKILL

alert-only-when-a-human-must-act

Use when designing alerting for a job or service and tempted to notify on every failure. Sends a page only when a person must act now and demotes the rest.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 81
Forks
17

01 前言 Front Matter

name
alert-only-when-a-human-must-act
description
Use when designing alerting for a job or service and tempted to notify on every failure. Sends a page only when a person must act now and demotes the rest.

02 资源文件 3

03 SKILL.md 正文

Alert only when a human must act

Every notification competes for attention. If an alert does not require a specific human to do a specific thing now, it is not a page — it is a log line, a ticket, or a dashboard panel.

Procedure

  1. For each candidate alert, write the required action in one sentence: "Operator X restarts the consumer." If you cannot name the actor and the action, it is not a page.
  2. Classify each signal into one of four buckets: page (act now, waking a human is justified), ticket (act during business hours), dashboard (look when investigating), log (evidence only).
  3. Route by classification: page to the paging system, ticket to the issue tracker, dashboard to a graph, log to logs. Do not send all four to chat.
  4. Apply the auto-recoverable test: if the system heals itself, the event is dashboard or log, not a page. Transient retries that succeed belong in metrics.
  5. Alert on symptoms users feel, not on causes that may be harmless: page on "checkout error rate > 1% for 5 min", not on "one pod restarted".
  6. Attach a runbook link and an owner to every page; a page without a runbook is an interruption, not an alert.
  7. Set a duration condition so a single blip does not page: for: 5m on a Prometheus rule, or an equivalent consecutive-failures count.
  8. Review every page against its action: if the last N pages required no action, demote the alert. Track the ratio of actioned to unactioned pages.
  9. Do not page on information already shown on a dashboard the on-call checks anyway.
  10. Batch low-value notifications into a digest (a daily unresolved-failures summary) instead of streaming them.
  11. Keep exactly one paging path with a tested reachability check; nothing erodes trust faster than a page that never arrives.

Pitfalls

  • Paging on every non-zero exit of a retried job; the retry usually succeeds and the page was noise.
  • Sending dashboard-grade metrics to the phone because the tooling only has one channel.
  • An alert with no owner, so everyone assumes someone else looked.
  • Alerting on a cause you cannot act on (a third-party 500) when the symptom is stable.
  • Thresholds with no duration, so normal jitter pages.
  • Growing the alert list and never retiring entries.

Verification

# count pages in the last 7 days and how many had a linked action
grep -c '"type":"page"' alerts.log
# pass: every page names an actor+action and has a runbook link; unactioned pages are demoted

Report the action sentence for each page, its classification bucket, and the ratio of actioned to total pages last week.

04 同仓库更多 Skills

jiayaoqijia
jiayaoqijia/cryptoskill

troves

Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say "Troves" explicitly.

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

trade

Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say "swap".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

staking

Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say "stake" explicitly.

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

send

Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say "pay 10 STRK to 0x...".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

portfolio

View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks "what do I have", "show me everything", "how much am I worth", "my positions", "my investments", "rebalance my portfolio", "I want 50% ETH", "optimize my holdings", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say "portfolio".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

multi-swap

Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions "two swaps", "three swaps", "swap X and Y at the same time", or wants to convert multiple tokens in a single call.

★ 81