selection-chips
Use this skill when a node's code works on the rows a user selects in a view, by a brush or a click in a Vega-Lite chart or by a pick or a brush in an Autark…
от urban-toolkit★ 37 звёзд на GitHub
Установить selection-chips в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Selection tags
A selection tag gives a node's code the rows selected in a view: a brush or a click in a {{template.label:curio.builtin/vis-vega}} chart, or a pick or a brush in an {{template.label:curio.builtin/autk-grammar}} map or plot. A tag belongs to the node whose code reads it, and names the view and the column whose values identify the view's rows, such as osm_id or building_id. Only the user adds one, in that node's Widgets tab once the view has run. dataflow.read lists each node's tags under "selections", each with its view, its column and how many ids it holds.
The node's code places a tag where its ids are used, as its reference: {{selections.reference:picked}} for the tag named picked. A run replaces the reference with the list of the ids of the selected rows, each once, or an empty list when nothing is selected, so the code reads the rows of its input that hold them in that column:
rows = {{inputs.chip:0}}
picked = {{selections.reference:picked}}
return rows[rows["osm_id"].isin(picked)]
A tag holds at most {{selections.id_cap}} ids: a run that reads one whose view selected more fails. Never place a reference to a tag the node does not have, and never type the ids into the code in its place.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/evals.json
- evals/files/roofs-picked-zips.json
- evals/truth.json
FAQ
Что делает скилл selection-chips?
Use this skill when a node's code works on the rows a user selects in a view, by a brush or a click in a Vega-Lite chart or by a pick or a brush in an Autark map or plot. It says how a selection tag names its view and the column that identifies its rows, how dataflow.read lists the tags, and how code places a tag's reference to read the selected ids.
Как установить скилл selection-chips?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл selection-chips запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…