data-sources
Use this skill when node code reads data from a file, a Data Catalog dataset, a URL or an API, such as a node that loads data or fetches it. It gives the…
от urban-toolkit★ 37 звёзд на GitHub
Установить data-sources в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Data sources
A node that reads data resolves its SOURCE before any code is written, in this order:
- A file path the user typed in this conversation.
- A Data Catalog dataset. Copy the row's
loaderline exactly, from catalog.search when the run has it, else as the run's dataflow context lists the dataset:df = curio_load_data("<id>"), which the sandbox resolves and reads by the dataset's format. Usecurio_data_path("<id>")with your own reader only when the file needs one, such as a CSV with another delimiter. - An external source: only a URL the runtime has verified.
- When
sourceGrounding.confirmedSourceis present, that IS the user's confirmed selection for this node: build from exactly those rows (a catalog row throughcurio_data_path("<datasetId>"), an external row from its exact url) and nothing else. A row a person downloads ("access": "manual-download") or Curio downloads ("acquirable": true) gets no fetch code: the node reads it once it is a Data Catalog dataset. - When "sourceGrounding" rides the run's inputs, fetch only its verifiedUrls and open only its listed paths. "urlEvidence", which a correction round's inputs carry beside it, is what the failed code's requests answered: read it before changing the request.
- Otherwise a chat delegates the "dataset.discover" capability with the intent, lets the user select and confirm a candidate from the card (do not add the node in that same turn), then fetches the confirmed URL when its row is fetchable.
- When
- A key-gated endpoint whose host has a saved connection key, which the gate's refusal or "sourceGrounding.availableSecrets" names. It is a grounded source when the code reaches the key ONLY through its
useline,api_key = curio_secret("<name>"), which the sandbox resolves, and sends the value the way itsdeliverysays (query:, header:, or as the API documents when it iscode). Never write a key literal or a key value into the code. - Values the user typed in this conversation: write them inline as typed, added to the values the node already holds, such as two rows the user gave added to the table a loading node builds. Add no value the user did not give.
- Data made up in the code: synthetic data ONLY when the user explicitly asked for made-up data in their own words: say so in the node's title. Values drawn at random (
random,numpy.random), faked (faker) or made as a sample dataset (sklearn.datasets.make_*) are made up beside a loaded dataset or typed values too; to keep a random part of the loaded rows, usedf.sample.
Never invent a filename, never assume a file exists on disk, never write a URL from memory: the runtime probes every URL and refuses ungrounded content naming the literal: fix exactly that.
When "urlEvidence" shows the request was answered with a sign-in or "missing key" page, or the endpoint needs credentials the run was not given and no saved key covers its host, do not retry with other parameters. When no source can be grounded:
- in a chat, for a key-gated host without a saved key, name the host that needs one and stop; for any other source, ask the user for a path or URL instead of writing the node's code;
- in a run that writes a node's content, reply with a one-line explanation naming exactly what is missing (for example, an API key for that host) instead of code.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/evals.json
- evals/truth.json
FAQ
Что делает скилл data-sources?
Use this skill when node code reads data from a file, a Data Catalog dataset, a URL or an API, such as a node that loads data or fetches it. It gives the sources such code may read, in their order: a path the user typed, a catalog dataset through its loader line, a URL the runtime verified, a key-gated host through a saved key, and made-up data only when the user asked for it, and what to do when no source can be grounded.
Как установить скилл data-sources?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл data-sources запускает скрипты?
Нет, скилл состоит только из инструкций (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…