Loading...
Loading...
Mutating operations on the user's Longbridge price alerts — list (read-only), add a new price alert, enable / disable an alert, delete an alert. Requires longbridge login. Every mutation (add / delete / enable / disable) requires a two-step preview + confirm protocol. Use only when the user gives a clear imperative ("set a price alert at 200 for NVDA", "delete alert 486469", "提醒我 NVDA 涨到 200"); ambiguous prompts ("整理我的提醒") must be rejected with a "please be more specific" reply rather than triggered. Triggers: "设置股价提醒", "添加股价提醒", "提醒我 X 涨到 Y", "提醒我 X 跌破 Y", "删除股价提醒", "关掉提醒", "暫停提醒", "設置股價提醒", "添加股價提醒", "提醒我 X 漲到 Y", "提醒我 X 跌破 Y", "刪除股價提醒", "關掉提醒", "set price alert", "add price alert", "alert me when X hits Y", "delete price alert", "enable alert", "disable alert", "price alert".
npx skill4agent add longbridge/skills longbridge-alertResponse language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
longbridge alert --format jsonrisefalllongbridge alert <subcommand> ...The Longbridge CLI'ssubcommand prints its own confirmation prompt — let it run; do not pipedeleteor pass any flag that bypasses it. Foryes/add/enable, this skill's preview-then-confirm protocol is the SKILL-layer gate.disable
longbridge alertlongbridge alert <subcommand> --help| Action | CLI invocation (typical shape — verify with |
|---|---|
| List all alerts | |
| List alerts for one symbol | |
| Add a price alert | |
| Delete an alert by id | |
| Enable an alert | |
| Disable an alert | |
Thesubcommand has a built-in confirmation prompt. Let it run interactively in your environment.delete
longbridge alert <SYMBOL> --format json即将{动作}:{plan 摘要}。是否确认执行?About to {action}: {plan summary}. Confirm?即將{動作}:{plan 摘要}。是否確認執行?
longbridge auth loginunauthorizedlongbridge auth login| Situation | LLM response |
|---|---|
Shell | Tell the user to install longbridge-terminal; MCP fallback can apply (see below) but only after user confirmation — never use MCP to bypass the preview / confirm protocol. |
stderr contains | Tell the user to run |
Bad | Re-run the list command ( |
| Run |
| Other stderr | Surface verbatim. Do not silently retry — if a mutating call failed, ask the user before any second attempt. |
mcp__longbridge__create_price_alertmcp__longbridge__delete_price_alertmcp__longbridge__list_price_alertsListMcpResourcesToolImportant: the preview / confirm cycle still applies when going through MCP. MCP write tools have no built-in confirmation prompt; this SKILL is responsible for the gate.
longbridge-quotelongbridge-watchlistlongbridge-watchlist-adminlongbridge-subscriptionslongbridge-alert/
└── SKILL.md # prompt-only, no scripts/scripts/longbridge alert <subcommand> --help