Command Palette

Search for a command to run...

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

add-stablecoin

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

Add a new stablecoin or staked/derivative stablecoin to feed metadata, classification sets, rich metadata YAML and logos. Use when the user wants a stablecoin…

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

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

Add stablecoin

This skill adds a stablecoin — or a staked/wrapped derivative of one — to the repository and wires it into every layer that consumes stablecoin data.

The most common trigger is a vault whose denomination token is a yield-bearing stablecoin derivative (e.g. sNUSD, savUSD, syrupUSDC, eEARN, stkGHO) that is_stablecoin_like() does not yet recognise, so the vault is dropped by filter_vaults_by_stablecoin() in the price-cleaning pipeline and never reaches top_vaults_by_chain.json.

The four layers (what files we have)

Stablecoin support is spread across four decoupled layers. They are maintained by hand and are not auto-synced — adding one does not update the others. Decide up front which layers the task needs.

# Layer Path Purpose Required?
1 Classification set eth_defi/stablecoin_metadata.py is_stablecoin_like() membership; the only layer the price-cleaning filter reads Yes — without it the vault stays filtered out
2 Metadata YAML eth_defi/data/stablecoins/{slug}.yaml Name, description, links, contracts, category — exported to R2 / shown on site Strongly recommended
3 Feed YAML eth_defi/data/feeds/stablecoins/{slug}.yaml News/post scanner sources (Twitter, RSS) Recommended
4 Logos eth_defi/data/stablecoins/original_logos/{slug}/ and formatted_logos/{slug}/light.png Site logo; only exported if light.png exists Optional

Critical gotcha: layer 1 is a hardcoded Python set of bare symbol strings. The category: field in the YAML (layer 2) does not feed it. A YAML file alone will not make a vault pass the filter — you must edit the Python set.

Reference files (read these before editing)

Authoritative format docs and copy-from examples already in the repo:

Open the example that matches your token's category and mirror its field order and style. Do not invent fields not present in these examples.

Batch / parallel runs (read if multiple stablecoins at once)

When several stablecoins are added concurrently (e.g. one subagent each):

  • The Python file is shared state. Every token's Step 3 edits the same file eth_defi/stablecoin_metadata.py. Parallel writes clobber each other. In a parallel run, a worker must not edit the Python file — instead it returns its decision (symbol, target_set, justification) and the orchestrator applies all set edits in one serial pass afterwards.
  • The YAML and logo files are per-slug and do not collide — workers create those directly.
  • Do not run post-process-prices.py inside a worker. It is heavy and uploads to R2. The orchestrator runs it once, at the end, after all Python edits land
Полный SKILL.md на GitHub

Установить add-stablecoin в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл add-stablecoin?

Add a new stablecoin or staked/derivative stablecoin to feed metadata, classification sets, rich metadata YAML and logos. Use when the user wants a stablecoin symbol (e.g. a vault denomination token) to be recognised by is_stablecoin_like() and shown on the site.

Как установить скилл add-stablecoin?

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

Скилл add-stablecoin запускает скрипты?

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

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

Сравнить add-stablecoin с