faostat-export-dataset

faostat-export-dataset is a skill for Claude Code from berba-q/faostat-skills. It costs 163 tokens per session (2,834 once invoked), scanned A, original, MIT.

A documented export of FAOSTAT data in spreadsheet and CSV formats, plus a data dictionary explaining the fields. FAOSTAT is the United Nations food and agriculture statistics database.

In plain words
What is it for?
Use it when you need agricultural, food, trade or climate statistics for analysis, spreadsheets, reporting or reuse in another tool.
Why use it?
It gives you cleaned raw numbers and their definitions without requiring you to build the data download yourself.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the faostat-skills plugin — 14 skills, 14 commands shipped together

Good fit Use it when you need agricultural, food, trade or climate statistics for analysis, spreadsheets, reporting or reuse in another tool.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/berba-q/faostat-skills/export-dataset
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add berba-q/faostat-skills --skill export-dataset
Clone the repo
git clone --depth 1 https://github.com/berba-q/faostat-skills

Made for: Claude Code.

Or install faostat-skills, the plugin that ships this one along with the rest of its 14 skills, 14 commands.

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 faostat-export-dataset

README.md
[![agentmods](https://agentmods.dev/badge/skills/berba-q/faostat-skills/export-dataset/github.svg)](https://agentmods.dev/skills/berba-q/faostat-skills/export-dataset)
Your own site
<a href="https://agentmods.dev/skills/berba-q/faostat-skills/export-dataset"><img src="https://agentmods.dev/badge/skills/berba-q/faostat-skills/export-dataset/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 faostat-export-dataset

Your own site · 80×15
<a href="https://agentmods.dev/skills/berba-q/faostat-skills/export-dataset"><img src="https://agentmods.dev/badge/skills/berba-q/faostat-skills/export-dataset.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 163 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,834 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.00163 $0.02834
Opus 5 $0.00081 $0.01417
Sonnet 5 $0.00033 $0.00567
Haiku 4.5 $0.00016 $0.00283

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

Security

Grade A, and why

faostat-export-dataset 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 9d 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.

skills/export-dataset/SKILL.md · 172 lines

How it starts

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

FAOSTAT Data Export

Ship clean, documented FAOSTAT data. The user wants the numbers, not the story. Deliver a three-file bundle: one multi-sheet .xlsx, one tidy-long .csv, and a data-dictionary .md. Every row traces back to the FAOSTAT API call that produced it.

Prerequisites

FAOSTAT MCP tools: faostat_get_data, faostat_search_codes, faostat_list_domains, faostat_get_metadata. If any are missing, stop and tell the user the skill requires the FAOSTAT MCP server.

Python packages: openpyxl, pandas. Install with --break-system-packages in the sandbox.

Invariants

Cross-skill invariants (all six — violations are skill bugs):

  1. FILTER vs DISPLAY codes. faostat_get_data takes FILTER codes (e.g., 2510 Production). faostat_get_rankings takes DISPLAY codes (e.g., 5510). Never invert.

  2. Year syntax. Comma-separated lists only ('2010,2011,...,2023'). Colon ranges return empty in practice.

  3. Element filter required on every faostat_get_data call. Unfiltered pulls are massive, especially in emissions domains.

  4. TCL for national trade aggregates, TM only for partner breakdowns. Never sum TM rows to reconstruct national totals.

  5. China composite default (Apr 2026 user preference). Default: composite China (area 351). China, mainland (41) is an opt-in; full disaggregation (41 + 96 + 128 + 214) is also opt-in. Record the choice in the README sheet with the FAOSTAT-default-41 caveat.

  6. faostat_get_rankings HTTP-500 fallback. On failure, reconstruct by pulling faostat_get_data across all reporting countries and sorting client-side. Note the fallback in Methodology.

  7. Element and item code resolution. Never use a hardcoded numeric element or item code as the primary value in a faostat_get_data call. Always resolve at runtime: faostat_search_codes(domain_code='<dom>', dimension_id='element', query='<metric name>') for elements; faostat_search_codes(domain_code='<dom>', dimension_id='item', query='<item name>') for items. Numeric codes shown in reference tables and code examples are verified hints — use them to validate the search result, not as the authoritative source. Domain letter-codes (QCL, TCL, GT, EM, FBS, FS…) are stable and may be used directly.

Read the full file on GitHub · 172 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. 9d ago First seen · 172 lines · 163 tokens per session scan A 4b6824161d3c

Subscribe to this mod's changes

faostat-export-dataset is a skill published in the GitHub repository berba-q/faostat-skills (7 stars, last pushed 4mo ago), licensed MIT. It adds 163 tokens to every session and 2,834 once invoked, about $0.0008 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

skill-doc-delivery

Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.

nyldn/claude-octopus · 29 tokens

report-generator

A report-generation tool for producing SEO and GEO analysis reports in formats such as Markdown, HTML, PDF, JSON, and Excel. It also supports charts, templates, data processing, and interactive report elements.

foryourhealth111-pixel/Vibe-Skills · 24 tokens

technical-documentation

Audit, write, and improve developer documentation using Google's Developer Documentation Style Guide and Technical Writing courses. Use this skill for any documentation work, even when the user names no style guide: "audit our docs", "review this README", "write a README", "getting started guide", "how-to or…

wondelai/skills · 204 tokens

add-excel

Adds Excel Online (Business) connector to a Power Apps code app. Use when reading or writing Excel workbook data from OneDrive or SharePoint.

microsoft/power-platform-skills · 33 tokens

google-sheets

Read and write Google Sheets spreadsheets - get content, update cells, append rows, fetch specific ranges, search for spreadsheets, and view metadata. Use when user asks to: read a spreadsheet, update cells, add data to Google Sheets, find a spreadsheet, check sheet contents, export spreadsheet data, or get cell…

sanjay3290/ai-skills · 81 tokens

brand-xlsx

Brand-aware Excel engine. Use to (1) EXTRACT a company's brand from a .xlsx template into a reusable "Brand Profile", (2) COMPREHEND the template with the model (optional), (3) VERIFY it, (4) GENERATE a new on-brand .xlsx from a GridDocument fill manifest. Trigger on "extract our brand", "use our workbook template"…

ferdinandobons/brand-docs · 141 tokens