Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

categorise-vault-strategy

БесплатноБез исполняемых скриптовНе проверен

Categorise a DeFi vault's investment strategy from its address, link, name, and published strategy context. Use when adding or reviewing StrategyTag…

tradingstrategy-aiот tradingstrategy-ai★ 834 звезды на GitHub

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

Categorise vault strategy

Assign evidence-based strategy tags to a known vault. Keep the maintained address-to-tag mapping next to its vault protocol adapter.

Workflow

  1. Identify the vault and its adapter.

    • Resolve the chain and lowercase contract address from the supplied link, address, or name. Do not classify a same-address deployment on a different chain without confirming it is the same product.
    • For an ERC-4626 adapter, locate eth_defi/erc_4626/vault_protocol/{slug}/vault.py and read its description, short_description, nearby address overlays, and protocol metadata. Use the vault's official documentation or announcement to corroborate material claims.
    • Treat ApeX, Hyperliquid, GRVT, Hibachi, and Lighter as native perpetual DEX integrations, not VaultBase adapters. Their vaults are materialised by eth_defi/{slug}/vault_data_export.py with either an address, a platform vault ID, or a synthetic address.
  2. Select tags from eth_defi.vault.strategy_tag.StrategyTag.

    Podcast coverage is an editorial tag maintained by chain and vault address in eth_defi/vault/podcast_tags.py. Record the episode that covers the vault and verify the deployment against the linked vault page or official docs.

    • Assign every supported tag that the documented strategy warrants; tags are additive and are not mutually exclusive.
    • Add discretionary_trading when product-specific evidence shows that a person or investment team chooses, approves or rebalances investments. This includes curator-selected lending markets, yield farms, underlying vaults and credit deals, even when the return comes from interest or fees rather than trading prices. Retain the supported income-mechanism tags.
    • Identify who makes investment decisions separately from who executes them. Human selection with automated execution or allocation can warrant both discretionary_trading and algorithmic_trading, when each is supported. A curator name, admin role, multisig, permissioned deposits or the word “managed” alone does not establish discretion. Fully rules-driven allocation without evidence of human investment choices does not receive the discretionary tag. Routine settlement or reward claiming alone does not establish algorithmic trading either.
    • Record the evidence of human decisions for the exact product in its tag comment. Do not propagate one discretionary product's tags to every vault of the same curator, including fixed-universe and automated products.
    • Prefer the most specific tag and include a relevant parent tag where it conveys useful search or reporting context. For example, an RWA lending vault normally receives both rwa and rwa_lending.
    • Reserve index for passive tracking of a defined basket with equal weights, market-capitalisation weights or a comparable weighting rule. Rebalancing to match the index is part of tracking. Classify actively traded strategies by how they trade, even when marketed as an index.
    • Do not infer a tag merely from a token symbol, protocol name, or generic yield marketing. When the strategy is not documented well enough, leave the address out of the mapping: get_strategy_tags() then returns None, meaning the information is missing. Use unknown only when a researched classification explicitly establishes that the strategy is unknown.
  3. Create or update the protocol tag mapping.

    For a VaultBase adapter, use eth_defi/erc_4626/vault_protocol/{slug}/tags.py with plain lowercase string keys. Do not wrap table literals in verbose HexAddress(...) constructors:

    """Maintained strategy classifications for {Protocol} vaults."""
    
    from eth_defi.vault.strategy_tag import StrategyTag
    
    STRATEGY_TAGS: dict[str, set[StrategyTag]] = {
        #: Vault: Example RWA lending vault.
        #: Added: 2026-08-17.
        #: Decision material: The issuer describes this product as lending
        #: against real-world assets.
        #: Sources:
        #: - https://issuer.example/vaults/example
        "0x...": {StrategyTag.rwa, StrategyTag.rwa_lending},
    }
    

    Where the protocol has CHAIN_STRATEGY_TAGS (including Lagoon and Morpho), use its (chain_id, lowercase_address) keys for deployment-specific evidence. Pass the chain ID through both the adapter and persisted-tag resolver; do not let an unrelated same-address deployment inherit the classification.

    Keep every EVM address key lowercase and scope every entry to an individual vault. lookup_strategy_tags() normalises the adapter's HexAddress input before looking up the string key. Put a Sphinx line-comment block immediately above every address-specific entry. It must include the vault name, the UTC date the tagging entry was added, and the decision material used to assi

Полный SKILL.md на GitHub

Установить categorise-vault-strategy в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

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

agents/openai.yaml

FAQ

Что делает скилл categorise-vault-strategy?

Categorise a DeFi vault's investment strategy from its address, link, name, and published strategy context. Use when adding or reviewing StrategyTag classifications for VaultBase adapters or native perpetual DEX vault exports, including their maintained tags.py mappings.

Как установить скилл categorise-vault-strategy?

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

Скилл categorise-vault-strategy запускает скрипты?

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

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

Сравнить categorise-vault-strategy с