Agent skill

longbridge-portfolio

Account-level analysis via Longbridge — total market value, cash share, period P&L, single-stock contribution ranking, industry distribution, currency exposure, historical P/L curve. Requires longbridge login with trade scope. Triggers: "我账户表现", "我本月浮盈", "我哪只股票贡献最多", "我组合配置", "我货币暴露", "我账户行业分布", "账户全貌", "我賬戶表現", "我本月浮盈", "我哪隻股貢獻最多", "我貨幣暴露", "我賬戶行業分佈", "my account performance", "monthly P&L", "biggest contributor", "portfolio breakdown", "currency exposure", "industry mix", "account-level analysis".

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

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

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Version: 1.0.0
Declared author: longbridge
Path: skills/analysis/longbridge-portfolio/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-portfolio Prompt-only skill for **account-level** analysis. Distinguished from `longbridge-positions` (snapshot lookup): this skill answers *"how am I doing"*, not *"what do I hold"*. > **Response language**: match the user's input language — Simplified Chinese / Traditional Chinese / English. > > **Privacy**: returns the user's private P&L. Only render detailed numbers in direct conversation; if you suspect screen-sharing or third-party observation, ask before showing exact figures. Never echo amounts into PR descriptions, tickets, or other places third parties can read. ## Login This skill requires a logged-in session with trade scope: ```bash longbridge auth login # check "trade" / 「交易」 permission in the browser auth screen ``` If using MCP fallback and a tool returns *unauthorized* / *not in authorized scope*, re-authorise: ```bash claude mcp logout longbridge # Re-trigger any MCP tool call; check "trade" / 「交易」 permission. ``` ## When to use - *"我账户表现如何"*, *"how is my account doing?"* - *"我本月浮盈"*, *"this month's P&L"* - *"我哪只股票贡献最多"*, *"top contributors"* - *"我货币暴露"*, *"currency exposure"* - *"我账户行业分布"*, *"industry mix"* ## "Me" disambiguation By default, treat *我

What's inside
Steps it walks through
  1. Login
  2. When to use
  3. "Me" disambiguation
  4. Time-window inference
  5. Tool selection by intent
  6. CLI
  7. Workflow
  8. Output template
  9. Performance optimisation
  10. Output constraints
  11. Error handling
  12. MCP fallback
  13. Related skills
  14. File layout
Ships with 1 file
  • metadata.json
Commands it runs
longbridge auth login   # check "trade" / 「交易」 permission in the browser auth screen
claude mcp logout longbridge
Re-trigger any MCP tool call; check "trade" / 「交易」 permission.
longbridge profit-analysis --start 2026-05-01 --end 2026-05-06 --format json
longbridge profit-analysis detail --start 2026-05-01 --end 2026-05-06 --format json
longbridge assets --format json
longbridge positions --format json
longbridge exchange-rate --format json
longbridge portfolio short-margin --format json   # per-position margin deposit breakdown
More from claude-skill-registry
All skills →
About this skill
What does the longbridge-portfolio skill do?

Account-level analysis via Longbridge — total market value, cash share, period P&L, single-stock contribution ranking, industry distribution, currency exposure, historical P/L curve. Requires longbridge login with trade scope. Triggers: "我账户表现", "我本月浮盈", "我哪只股票贡献最多", "我组合配置", "我货币暴露", "我账户行业分布", "账户全貌", "我賬戶表現", "我本月浮盈", "我哪隻股貢獻最多", "我貨幣暴露", "我賬戶行業分佈", "my account performance", "monthly P&L", "biggest contributor", "portfolio breakdown", "currency exposure", "industry mix", "account-level analysis".

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill longbridge-portfolio --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