Agent skill

longbridge-positions

Account holdings — stock positions, fund positions, multi-currency assets / cash, margin ratio (initial / maintenance / forced liquidation), and estimated max buy/sell quantity for a symbol. Requires longbridge login. Triggers: "我的持仓", "我有什么股票", "账户余额", "我有多少美金", "基金持仓", "我能买多少股", "保证金率", "杠杆要求", "账户全貌", "我的持倉", "賬戶餘額", "我有多少美金", "基金持倉", "保證金率", "賬戶全貌", "my holdings", "stock positions", "account balance", "how much can I buy", "margin ratio", "max buy qty", "portfolio snapshot".

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill longbridge-positions --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Version: 1.0.0
Declared author: longbridge
Path: skills/analysis/longbridge-positions/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# longbridge-positions Read-only account snapshot — what the user holds, how much cash, what they can buy/sell, and per-symbol margin ratios. > **Response language**: match the user's input language — Simplified Chinese / Traditional Chinese / English. > > **Privacy**: the data here is the user's private account state. Only return detailed numbers in direct conversation; if you suspect screen-sharing or third-party observation, confirm before showing exact figures. ## Subcommands > Run `longbridge <subcommand> --help` to confirm current flags / defaults if anything below seems off. | CLI command | Returns | |---|---| | `longbridge portfolio --format json` | Combined view: total assets, P/L, intraday P/L, holdings, and cash breakdown. Single call — useful for "account snapshot" questions. | | `longbridge positions --format json` | Stock holdings array. | | `longbridge fund-positions --format json` | Fund holdings array. | | `longbridge assets [--currency USD\|HKD\|CNY\|SGD] --format json` | Net assets, cash, buy power, margins; per-currency breakdown in `cash_infos`. | | `longbridge margin-ratio <SYMBOL> --format json` | Initial / maintenance / forced-liquidation factors for a symbo

What's inside
Steps it walks through
  1. Subcommands
  2. When to use
  3. max-qty workflow
  4. CLI
  5. Output
  6. OAuth scope
  7. Error handling
  8. MCP fallback
  9. Related skills
  10. File layout
Ships with 1 file
  • metadata.json
Commands it runs
longbridge portfolio                                                  --format json
longbridge positions                                                  --format json
longbridge fund-positions                                             --format json
longbridge assets --currency USD                                      --format json
longbridge margin-ratio TSLA.US                                       --format json
longbridge max-qty TSLA.US --side buy --price 250                     --format json
More from claude-skill-registry
All skills →
About this skill
What does the longbridge-positions skill do?

Account holdings — stock positions, fund positions, multi-currency assets / cash, margin ratio (initial / maintenance / forced liquidation), and estimated max buy/sell quantity for a symbol. Requires longbridge login. Triggers: "我的持仓", "我有什么股票", "账户余额", "我有多少美金", "基金持仓", "我能买多少股", "保证金率", "杠杆要求", "账户全貌", "我的持倉", "賬戶餘額", "我有多少美金", "基金持倉", "保證金率", "賬戶全貌", "my holdings", "stock positions", "account balance", "how much can I buy", "margin ratio", "max buy qty", "portfolio snapshot".

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill longbridge-positions --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going