wasde-ingestor

wasde-ingestor is a skill for Claude Code, Codex from fatfingererr/macro-skills. It costs 78 tokens per session (2,505 once invoked), scanned A, original, MIT.

A data-ingestion tool for USDA’s monthly WASDE report, a publication forecasting supply and demand for crops, livestock, cotton, and sugar.

In plain words
What is it for?
Use it to download current or historical reports, parse their tables, validate stored data, track revisions, and configure which commodities to include.
Why use it?
It turns report tables into standard, versioned datasets and records revisions when earlier figures change.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - ./data/wasde/curated/corn_us_balance.parquet.

Good fit Use it to download current or historical reports, parse their tables, validate stored data, track revisions, and configure which commodities to include.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/fatfingererr/macro-skills
agentmods
npx agentmods add skills/fatfingererr/macro-skills/wasde-ingestor

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin wasde-ingestor/plugin install wasde-ingestor after adding the marketplace above.

Wrote 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.

agentmods badge for wasde-ingestor

README.md
[![agentmods](https://agentmods.dev/badge/skills/fatfingererr/macro-skills/wasde-ingestor/github.svg)](https://agentmods.dev/skills/fatfingererr/macro-skills/wasde-ingestor)
Your own site
<a href="https://agentmods.dev/skills/fatfingererr/macro-skills/wasde-ingestor"><img src="https://agentmods.dev/badge/skills/fatfingererr/macro-skills/wasde-ingestor/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.

agentmods 80×15 button for wasde-ingestor

Your own site · 80×15
<a href="https://agentmods.dev/skills/fatfingererr/macro-skills/wasde-ingestor"><img src="https://agentmods.dev/badge/skills/fatfingererr/macro-skills/wasde-ingestor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,505 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.02505
Opus 5 $0.00039 $0.01252
Sonnet 5 $0.00016 $0.00501
Haiku 4.5 $0.00008 $0.00250

Measured 12d ago against content hash 619c294206aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

wasde-ingestor 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 12d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/discover_releases.py, scripts/fetch_report.py, scripts/parse_tables.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/wasde-ingestor/SKILL.md · 272 lines

How it starts

The opening of the file, as written. The whole thing — 272 lines — stays where its author put it; the contents beside it link to each section on GitHub.

<essential_principles> WASDE Ingestor 核心原則

1. 商品範圍

WASDE 涵蓋三大類商品,每類有不同的表格結構與單位:

類別 商品 US 單位 World 單位
Grains Wheat, Corn, Rice, Barley, Sorghum, Oats million bushels / cwt million metric tons
Oilseeds Soybeans, Soybean Oil, Soybean Meal million bushels / pounds million metric tons
Cotton Upland, Pima million 480-lb bales million 480-lb bales
Livestock Beef, Pork, Poultry, Eggs, Dairy million lbs / dozen / lbs - (US only)
Sugar Sugar 1,000 short tons - (US + Mexico only)

2. 表格結構一致性

所有供需表遵循相同的平衡公式:

Ending Stocks = Beginning Stocks + Production + Imports - Total Use - Exports

3. 版本控制

  • 每月報告可能修正前期數據
  • 使用 content_hash 追蹤數據變化
  • 保留 revision_flag 標記修正值

4. 解析優先級

  1. PDF 結構化解析(優先)
  2. HTML 表格解析(fallback)
  3. TXT 固定寬度解析(legacy) </essential_principles>
  1. Ingest - 抓取並解析最新或指定月份的 WASDE 報告
  2. Backfill - 批量回補歷史 WASDE 數據
  3. Validate - 驗證現有數據與最新報告的一致性
  4. Configure - 配置商品範圍、輸出路徑等參數

等待回應後再繼續。

讀取工作流程後,請完全遵循其步驟。

<reference_index> 商品參考文件 (references/)

文件 內容
commodities-overview.md 所有商品總覽與單位對照
grains.md 穀物類(Wheat, Corn, Rice, Barley, Sorghum, Oats)
oilseeds.md 油籽類(Soybeans, Soybean Oil, Soybean Meal)
cotton.md 棉花(US & World)
livestock.md 畜產品(Beef, Pork, Poultry, Eggs, Dairy)
sugar.md 糖(US & Mexico)
validation-rules.md 驗證規則與合理性檢查
failure-modes.md 失敗模式與緩解策略
</reference_index>

<workflows_index>

Workflow Purpose
ingest.md 抓取解析單一或多個 WASDE 報告
backfill.md 批量回補歷史數據
validate.md 驗證數據一致性與修正追蹤
configure.md 配置商品範圍與輸出設定
</workflows_index>

<templates_index>

Template Purpose
config.yaml 標準配置文件模板
us-balance-schema.yaml US 供需表 schema
world-balance-schema.yaml World 供需表 schema
</templates_index>

<scripts_index>

Script Purpose
discover_releases.py 發現 WASDE 發布日期與 URL
fetch_report.py 下載 PDF/HTML 報告
parse_tables.py 解析表格提取數據
validate_data.py 執行驗證檢查
</scripts_index>

<examples_index> 範例輸出 (examples/)

文件 內容
corn_us_balance.json 美國玉米供需平衡表範例
wheat_world_balance.json 世界小麥供需平衡表範例
ingest_status_success.json 成功執行的狀態報告範例
backfill_result.json 批量回補作業結果範例
</examples_index>

<quick_start> CLI 快速開始:

Read the full file on GitHub · 272 lines

Changes

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.

  1. 12d ago First seen · 272 lines · 78 tokens per session scan A 619c294206aa

Subscribe to this mod's changes

wasde-ingestor is a skill published in the GitHub repository fatfingererr/macro-skills (3 stars, last pushed 7mo ago), licensed MIT. It adds 78 tokens to every session and 2,505 once invoked, about $0.0004 per session on Opus 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-31.

Related

Other skills, from other repositories

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens

google-cloud-solution-agentic-analytics-spark-knowledge-catalog

Discovers requirements and generates guidance to design and deploy a governed, secure agentic-analytics solution for data that's distributed across Google Cloud, other cloud providers, or on-premises. Data that's outside Google Cloud (such as data from Databricks, Snowflake, Salesforce, SAP, or Oracle systems) is…

google/skills · 138 tokens

training-check

Interactively monitor training metrics from the current Codex session, periodically checking WandB or fallback logs for NaN, divergence, plateaus, and broken runs.

wanshuiyin/Auto-claude-code-research-in-sleep · 35 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens