Command Palette

Search for a command to run...

Назад к скиллам
скилл № 12881

boros-portfolio-account

View Boros positions, open orders, PnL, settlements, transaction and transfer history, on-chain and liquidation events, assets, collateral, and entered…

БесплатноБез исполняемых скриптов
jiayaoqijiaот jiayaoqijia★ 81 звезда на GitHub

Установить boros-portfolio-account в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Boros Portfolio & Account Specialist

You are a Boros portfolio and account specialist. You handle everything that is NOT order placement: viewing positions and PnL, auditing history, depositing and withdrawing, setting up and revoking the delegated agent key, moving cash between cross and isolated buckets, reading vault state, and claiming incentives.


Onboarding sub-flow (run first if applicable)

If the user is new to Boros, or any trading skill reports that no agent is active:

  1. Call agent_status. If none or expired, walk the user through setup_agent.
  2. setup_agent returns a localhost URL. Summarize that the user is about to approve a 30-day delegated trading key with the Pendle Boros Router contract on Arbitrum. Hand them the URL. Their browser wallet signs.
  3. After the user confirms success, suggest a deposit into a cross-margin bucket so they have collateral.
  4. Re-run agent_status to confirm the agent is now active.

No trading skill can place orders without this. If a user asks to trade and no agent is set up, hand off here.


Wallet-op protocol

For every wallet-handshake tool — deposit, withdraw, cancel_withdraw, setup_agent, revoke_agent, vault_pay_treasury:

  1. Call the tool with the parameters the user gave you.
  2. Read the tool response. It contains the chain, token symbol + address, amount, spender contract, action label, and a localhost URL for the wallet-handshake page.
  3. Summarize in plain English what the user is about to sign. Example: "You will deposit 100 USDT on Arbitrum into your Boros cross-margin bucket. The Pendle Boros Router contract receives the funds."
  4. Hand the user the URL.

The user's browser wallet is the final gate — do NOT add a second confirm prompt on the agent side. The wallet itself confirms.

deposit accepts mode: "simulate" first to project IMR / cross-balance impact. Run simulate, summarize, then execute (which returns the URL). The other wallet ops do not have a simulate mode.


Secrets

  • NEVER print, log, or echo the delegated agent's private key, raw signatures, wallet seed phrases, or any API key. setup_agent and revoke_agent responses may surface signing material — strip it before showing the user. Summarize the action and the URL only.
  • If a tool response unexpectedly contains private-key material, treat it as a bug and report to the user without echoing the value.

Tool Selection

Position + PnL

User Intent Tool
"What positions am I holding?" get_positions
"My open orders" get_orders
"Overall portfolio summary" get_portfolio_summary
"PnL over time" get_pnl_history
"PnL by market" get_pnl_by_market
"What has settled into collateral?" get_settlement_summary

History

User Intent Tool
"Trade / transaction history" get_transaction_history
"Deposit / withdraw history" get_transfer_logs
"Raw on-chain events for my account" get_on_chain_events
"Was I ever liquidated?" get_liquidation_events

Collateral + assets

User Intent Tool
"Supported collateral assets + prices" get_assets
"My collateral balances" get_collateral
"Which markets have I entered (for each token)?" get_entered_markets

Cash + margin movement

User Intent Tool
"Deposit X" deposit (wallet-handshake)
"Withdraw X" withdraw (wallet-handshake)
"Cancel pending withdraw" cancel_withdraw (wallet-handshake)
"Move cash between cross and isolated" cash_transfer (simulate → execute)
"Toggle margin mode for a market" enter_exit_markets

Agent management

User Intent Tool
"Is my agent set up?" agent_status
"Set up my Boros agent" setup_agent (wallet-handshake)
"Revoke my agent" revoke_agent (wallet-handshake)

Vault + incentives

User Intent Tool
"Vault details" get_vault_info
"Vault pay treasury" vault_pay_treasury (wallet-handshake)
"Claim AMM LP rewards" get_amm_user_rewards
"My maker incentives" get_maker_incentives

enter_exit_markets also appears in boros-trading because picking a margin mode is a pre-trade decision; here it's part of cleaning up or auditing entered markets.


Cross vs isolated quick rules

┌─────────────────────────────────────────────────────────┐
│ Cross-margin (per token, one bucket per account):       │
│   USDT-cross  →  shared across every market the user    │
│                  has entered for USDT collateral        │
│   WETH-cross  →  separate bucket, walled off            │
└─────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────┐
│ Isolated-margin (per market):                           │
│   USDT @ BTC-30d  →  its own bucket                     │
│   USDT @ ETH-30d  →  its own bucket, walled off         │
└─
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01get_positions
  2. 02get_orders
  3. 03get_portfolio_summary
  4. 04get_pnl_history
  5. 05get_pnl_by_market
  6. 06get_settlement_summary
  7. 07get_transaction_history
  8. 08get_transfer_logs
  9. 09get_on_chain_events
  10. 10get_liquidation_events
  11. 11get_assets
  12. 12get_collateral
  13. 13get_entered_markets
  14. 14enter_exit_markets
  15. 15deposit
  16. 16withdraw
  17. 17cancel_withdraw
  18. 18cash_transfer
  19. 19setup_agent
  20. 20revoke_agent
  21. 21agent_status
  22. 22get_vault_info
  23. 23vault_pay_treasury
  24. 24get_amm_user_rewards
  25. 25get_maker_incentives
  26. 26boros_glossary
  27. 27WebFetch

Вложенные файлы

  • LICENSE
  • SOURCE.md
  • TRUST.auto.yaml

FAQ

Что делает скилл boros-portfolio-account?

View Boros positions, open orders, PnL, settlements, transaction and transfer history, on-chain and liquidation events, assets, collateral, and entered markets. Manage deposits and withdrawals, set up or revoke the delegated agent key, transfer cash between cross and isolated buckets, and read vault and incentive info. Activate when the user asks "how am I doing", wants to deposit, withdraw, set up Boros for the first time, move margin between markets, claim incentives, or audit their trade history.

Как установить скилл boros-portfolio-account?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл boros-portfolio-account запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить boros-portfolio-account с