dewey
БесплатноЗапускает вложенные скриптыНе проверенUse when "query Dewey Data", "deweydata.io", "SafeGraph places/patterns/spend", "Advan foot traffic", "POI / points of interest", "mobility data", "dataplor"…
от edwinhu★ 28 звёзд на GitHubОб этом скилле
What this skill carries — grep references/ for any subject the names below miss:
!d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"
Contents
- What Dewey Is
- Credential Enforcement
- Download Enforcement
- Access Method Decision Table
- Authentication
- Quick Reference: Featured Datasets
- SafeGraph Global Places Quick Reference
- Additional Resources
What Dewey Is
Dewey Data is an academic data marketplace — one institutional Platform Subscription unlocks a catalog of ~300 datasets from ~40 providers (foot traffic, POI, mobility, consumer transactions, real estate, labor). UVA Library and NYU both hold the institutional subscription; SafeGraph and most providers are free under it.
Dewey is not a SQL warehouse like WRDS. Data is delivered as partitioned Parquet/CSV.gz files downloaded via an API key. You discover datasets, read metadata, sample, filter (by date partition + columns), then download. Think "S3 of presigned Parquet links," not "PostgreSQL."
| WRDS | Dewey | |
|---|---|---|
| Data | Finance/accounting | POI, foot traffic, mobility, consumer, real estate |
| Access | PostgreSQL / SAS on the grid | File download (Parquet/CSV.gz) via API key |
| Query engine | server-side SQL | DuckDB over the files (local or remote presigned URLs) |
| Licensing | per-vendor, negotiated | one platform subscription unlocks the catalog |
| AI access | none | MCP server (api.deweydata.io/mcp) |
Credential Enforcement
IRON LAW: NEVER GUESS, INVENT, OR HARDCODE THE API KEY
- ALWAYS look for an existing key first:
DEWEY_API_KEYenv, then~/.config/dewey/apikey(also on rjds at the same path; agenixdewey-api-key.age→DEWEY_API_KEY_FILE). Validate before any pull:GET https://api.deweydata.io/api/v1/external/data/<prj_id>/files?page=1with headerX-API-Key; 200 = valid, 401Invalid API key.= revoked/wrong (Authorization: Beareris the wrong scheme and gives a misleading 401). Ask the user only when no key exists or it 401s. - NEVER write a placeholder like
apikey = "your_api_key"and run it — it will 401 and waste a round trip. Read fromDEWEY_API_KEYenv var or a gitignored file (~/.config/dewey/apikey). - NEVER commit the key, echo it back, print it, or paste it into a script that gets committed.
Guessing or hardcoding the key is NOT HELPFUL — every call 401s, and a committed key is a security incident the user must rotate.
Each product (dataset) has its own product path / project ID (prj_…), obtained from the dataset page: Get Data → (Skip filtering) → Connect to API / Bulk API → API URL. One API key, many product paths. If you don't have the product path, discover it via the MCP server (search_datasets) rather than guessing.
Download Enforcement
IRON LAW: NO BULK DOWNLOAD WITHOUT METADATA + SAMPLE + FILTER FIRST
Before downloading ANY Dewey dataset, you MUST:
- IDENTIFY the product path and what partitions/columns you actually need
- META — call
get_meta(deweydatapy) /get_download_info(MCP) to learn partition columns, date range, file count, total size - SAMPLE — pull 100 rows (
read_sample/ MCPsample_dataset) and INSPECT the schema before committing to a full pull - FILTER — restrict by date partition (
partition_key_after/before) AND columns; for selective pulls use DuckDBCOPY TOover the presigned URLs, never download the whole catalog - DOWNLOAD the filtered subset, then verify row counts / NULLs / date range on disk
This is not negotiable. Skipping the sample-and-filter step is NOT HELPFUL — Dewey datasets are routinely hundreds of GB to multiple TB; an unfiltered pull burns hours of bandwidth and disk for data you'll immediately throw away.
Dewey Facts
- SafeGraph Patterns is multi-TB; "download everything and filter in pandas" fills the disk before the filter ever runs — counterproductive on its own terms. Use DuckDB
COPY TOwith a WHERE clause on the remote parquet to pull only the rows/columns you need. - Column names differ by provider and release (
naics_codevsNAICS_CODE;opened_onmay not exist at all). A full pull against guessed columns is the ex
Установить dewey в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл dewey?
Use when "query Dewey Data", "deweydata.io", "SafeGraph places/patterns/spend", "Advan foot traffic", "POI / points of interest", "mobility data", "dataplor", "Veraset", "PassBy", "crypto/Bitcoin ATM locations", "GovFiles", "business entity / Secretary of State registry data", "OpenCorporates bulk data or entity status", "LinkUp job postings", "job-postings panel", "Exchange Data International / EDI", "WCA / RCAN corporate actions", "global corporate actions (dividends, splits, mergers, tenders)", or any pull from the Dewey Data academic marketplace (UVA/NYU Platform Subscription) via the deweypy/deweydatapy client, DuckDB, or the Dewey MCP server.
Как установить скилл dewey?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dewey запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create 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…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic