2 makeev

manage-alerts Skill

通过 AlphAI MCP 列出、添加或删除用户的 ticker 新闻提醒订阅。当用户要求"<ticker> 有消息提醒我"、"订阅 <ticker> 的财报新闻"、"我有哪些提醒?"、"取消 <ticker> 的提醒",或管理其 AlphAI 提醒列表时使用。需要付费(基础版/专业版)的 AlphAI 套餐。

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(SKILL.md)

Manage alerts

Let the user manage their own AlphAI ticker news-alert subscriptions from the
chat. Identity comes from the OAuth login — these tools act on the **caller's
own** account.

Tier-gated. alphai_alerts_* require a Basic or Pro plan. On the Free
tier they return tier_not_paid — relay that and point to
instead of retrying.

Steps

  1. Show current state first. For any add/remove, call alphai_alerts_list()

up front so you (and the user) can see existing subscriptions, the per-alert
filters, and the tier limit (current / limit).

  1. Subscribe / update. `alphai_alerts_subscribe(ticker, category_filter?,

min_relevance_score?)`.

  • This is a partial update: omitting a field on an existing subscription

preserves its current value. A brand-new subscription defaults
min_relevance_score to 7. The threshold applies to email and Telegram
delivery; a Pro webhook receives every matched story and filters on its own.

  • Crypto alerts use the -USD ticker (BTC-USD); bare BTC is a

stock/ETF symbol, and the response's note says so.

  • category_filter is an optional whitelist from the 14 categories (e.g.

["earnings", "insider"]) — only those categories trigger the alert.

  • Confirm the ticker is real first if unsure (alphai_tickers); the tool

raises unknown_ticker / limit_reached otherwise.

  1. Unsubscribe. alphai_alerts_unsubscribe(ticker) — idempotent; returns

{removed: false} if it was already inactive.

Output

  • After a change, restate the resulting subscription in one line: ticker, which

categories trigger it, and the minimum relevance — so the user sees exactly
what they'll be alerted on.

  • For a list request, render the subscriptions as a short table (ticker ·

categories · min relevance · delivery mode) and note current/limit.

Guardrails

  • Confirm before mutating. Read back what you're about to subscribe to or

remove before calling the write tool, especially for bulk changes.

  • Handle errors plainly: tier_not_paid → suggest upgrading; limit_reached →

list current alerts so the user can free a slot; unknown_ticker → don't guess
a substitute.

  • Never subscribe to tickers the user didn't ask for.