Borrowing it
Nothing to install: this file belongs to adamw7/tools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/adamw7/tools/main/.claude/skills/data-sources/SKILL.mdgit clone --depth 1 https://github.com/adamw7/toolsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/adamw7/tools/data-sources)<a href="https://agentmods.dev/skills/adamw7/tools/data-sources"><img src="https://agentmods.dev/badge/skills/adamw7/tools/data-sources/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/adamw7/tools/data-sources"><img src="https://agentmods.dev/badge/skills/adamw7/tools/data-sources.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Output Handling · line 45 Output size or generation rate is not bounded. Unbounded output enables denial-of-service through resource exhaustion, log flooding, or context-window stuffing.Fix: Set explicit limits on output length, generation count, and rate. Use max_tokens and truncation to prevent unbounded output.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00085 | $0.02084 |
| Opus 5.5 | $0.00034 | $0.00834 |
| Sonnet 5.5 | $0.00017 | $0.00417 |
| Haiku 4.5 | $0.00009 | $0.00208 |
Grade A, and why
data-sources scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Data Sources Skill
Pick the right data source in the data module, respect the schema contract
that keeps forward-only sources away from schema-dependent callers, and run the
uniqueness checker to find whether a set of columns can serve as a key.
In-memory vs iterative — pick first
Every format ships in two variants:
InMemory…— loads all rows once (readAll()), then runs multiple recursive checks cheaply. Use when the data fits in heap.Iterable…— holds one row at a time (tiny heap), but re-reads the source for each recursive pass. Use for large data or streaming.
The schema contract (don't fight it)
IterableDataSource— the base forward-only contract:open(),nextRow(),hasMoreData(),reset(),nextRows(int batchSize).ColumnarDataSource extends IterableDataSource— addsgetColumnNames()for sources whose columns are known up front.- Forward-only sources that discover keys as they stream — iterable JSON, YAML,
TOON — deliberately do not implement
ColumnarDataSource. Callers that need the schema (e.g. the uniqueness check) depend on the narrowerColumnarDataSource, so a schema-less source can never be handed in and answer withnull. Don't widenIterableDataSourceto "fix" a compile error — reach for a columnar source instead. getColumnNames()never returnsnull: a columnar source that cannot name its columns throwsIllegalStateExceptionsaying why.IterableSQLDataSourcedoes it for a source read beforeopen();CSVDataSourcedoes it for one built without acolumnsRow(new CSVDataSource(fileName)defaults it to-1), which otherwise surfaced two frames away asexecForAllColumns()failing withWrong input: null. A CSV header survivesclose()and is only dropped — and reloaded — byreset().
Source picker
| Format | In-memory | Iterable | Notes |
|---|---|---|---|
| CSV | InMemoryCSVDataSource |
CSVDataSource |
file path or InputStream |
| JDBC | InMemorySQLDataSource |
IterableSQLDataSource |
batchSize sets JDBC fetch size |
| Parquet | InMemoryParquetDataSource |
IterableParquetDataSource |
read via in-process DuckDB, JDBC-like |
| JSON | InMemoryJSONDataSource |
IterableJSONDataSource |
nested flattened to dotted paths |
| YAML | InMemoryYAMLDataSource |
IterableYAMLDataSource |
same flattening; iterable lifts the 3 MB limit |
| TOON | InMemoryTOONDataSource |
IterableTOONDataSource |
compact, LLM-friendly |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +2 lines 21a40db126ad
- 1mo ago First seen · 139 lines · 85 tokens per session scan A 0017aec73447
data-sources is a skill published in the GitHub repository adamw7/tools (11 stars, last pushed today), licensed MIT. It adds 85 tokens to every session and 2,084 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
apify-youtube-transcript-scraper
Get YouTube captions, timestamped quotations, SRT/VTT and translated transcripts for videos, channels and playlists through the harshmaur/youtube-transcript-scraper Apify Actor.
data-report
Turns CSV, Excel, or JSON data into a polished visual report page.
file-to-markdown
Turn almost any file into Markdown plus metadata — PDF, Office, HTML, email, archives, images, audio/video, 1000+ formats — powered by Apache Tika, either via the tika-app CLI (zero setup, one file) or a running tika-server (curl, warm process, many calls). Leads with rmeta (structured, embedded-item-aware output) as…
data-cleaning
Define cleaning rules, then deduplicate and standardise dirty data into a clean table with a line-by-line cleaning log, delivered as an Excel workbook.
kpi-dashboard
Turn operating data into a KPI dashboard workbook with metric definitions, target vs actual, attainment rates and trend charts, delivered as an Excel workbook.
survey-analyst
Clean raw survey responses, run cross-tabulations and charts, and produce an analysis workbook plus a findings report, delivered as an Excel workbook and a Word document.