Loading...
Loading...
Mutating operations on the user's Longbridge watchlist — create group, rename group, add / remove symbols, delete group (optionally purging members). Requires longbridge login. Every mutation requires a two-step preview + confirm protocol. Use only when the user gives a clear imperative ("add X to favourites", "delete the Tech group"); ambiguous prompts ("organise my watchlist") must ask back. Triggers: "把 X 加到自选", "添加到自选", "创建自选分组", "删除自选", "删除分组", "改名分组", "把 X 加到自選", "新增至自選", "建立自選分組", "刪除自選", "刪除分組", "重新命名", "add to watchlist", "create watchlist group", "remove from watchlist", "delete group", "rename group", "watchlist edit".
npx skill4agent add longbridge/skills longbridge-watchlist-adminResponse language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
longbridge watchlist <subcommand> ...The Longbridge CLI'ssubcommand prints its own confirmation prompt — let it run; do not pipedeleteor pass any flag that bypasses it. Foryes/create, this skill's preview-then-confirm protocol is the SKILL-layer gate.update
longbridge watchlist --format jsonlongbridge-watchlistgroup_id| User says | Skill |
|---|---|
| 看 / list / show | |
| 加 / 删 / 创建 / 改名 | |
longbridge watchlistlongbridge watchlist <subcommand> --help| Action | CLI invocation (typical shape — verify with |
|---|---|
| Create a new group | |
| Add symbols to a group | |
| Remove symbols from a group | |
| Rename a group | |
| Delete a group | |
Thesubcommand has a built-in confirmation prompt (perdelete). Let it run interactively in your environment.longbridge watchlist --help
即将{动作}:{plan 摘要}。是否确认执行?About to {action}: {plan summary}. Confirm?即將{動作}:{plan 摘要}。是否確認執行?
longbridge watchlist <subcommand> --format json| 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 read skill ( |
| Other stderr | Surface verbatim. Do not silently retry — if a mutating call failed, ask the user before any second attempt. |
unauthorizednot in authorized scopelongbridge auth logout && longbridge auth login| CLI subcommand | MCP tool |
|---|---|
| |
| |
| |
Important: 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-watchlist-admin/
└── SKILL.md # prompt-only, no scripts/scripts/longbridge watchlist <subcommand> --help