faostat-commodity

faostat-commodity is a skill for Claude Code from berba-q/faostat-skills. It costs 124 tokens per session (3,809 once invoked), scanned A, original, MIT.

A global briefing about one agricultural commodity, such as wheat, rice, coffee or cocoa, using FAOSTAT data. It covers production, yields, trade and changes over time, with extra sections where relevant.

In plain words
What is it for?
Use it to examine where a commodity is produced, how yields are changing, how it moves between countries and what affects its supply.
Why use it?
It gathers the main facts about a crop or other commodity into one readable overview.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it to examine where a commodity is produced, how yields are changing, how it moves between countries and what affects its supply.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/berba-q/faostat-skills/commodity
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 commodity
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-commodity

README.md
[![agentmods](https://agentmods.dev/badge/skills/berba-q/faostat-skills/commodity.svg)](https://agentmods.dev/skills/berba-q/faostat-skills/commodity)
Your own site
<a href="https://agentmods.dev/skills/berba-q/faostat-skills/commodity"><img src="https://agentmods.dev/badge/skills/berba-q/faostat-skills/commodity.svg" alt="Measured on agentmods" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,809 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.00124 $0.03809
Opus 5 $0.00062 $0.01904
Sonnet 5 $0.00025 $0.00762
Haiku 4.5 $0.00012 $0.00381

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

Security

Grade A, and why

faostat-commodity 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 8d 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/commodity/SKILL.md · 257 lines

How it starts

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

Commodity Deep Dive

Produce a comprehensive global briefing for a specific agricultural commodity using FAOSTAT data. The output is a structured, data-driven document a reader can consume in ~2 minutes and come away with the essential picture: where it's produced, how efficiently, where it flows, and what's changing.

Prerequisites

This skill uses these FAOSTAT MCP tools:

  • faostat_search_codes
  • faostat_get_data
  • faostat_get_rankings (sometimes unreliable — see Step 3)

If the MCP is not connected, tell the user: "This skill requires the FAOSTAT MCP server to be connected."

Orientation — the shape of the end product

Before following the steps, hold the target in mind. The briefing has four required sections plus up to two optional sections, determined by what kind of commodity it is:

  • Required: Global Production Overview, Yield Trajectories, Trade Flows, Historical Context & Outlook
  • Optional, depending on commodity type: Consumption & Food Security (for food staples), Price Dynamics (for volatile cash crops), Use Breakdown (for feed grains/oilseeds)

Knowing the shape up front helps you decide how much depth each data pull needs and avoid over-fetching.

Workflow

Step 1: Identify and resolve the commodity

Extract the commodity name from the user's request, or ask if not specified. Accept common names ("wheat", "coffee", "palm oil", "cocoa beans").

Call faostat_search_codes(domain_code='QCL', dimension_id='item', query='<commodity_name>').

Handle the response based on context:

  • Single match (requires_confirmation: false) — proceed with the returned item code.

  • Multiple matches (requires_confirmation: true) — how you resolve depends on whether a user is available:

    • Interactive flow (a user can reply): present all matching options and ask the user to choose. Wait for their answer. This is the correct behavior for slash-command / chat use.
    • Unattended flow (running inside an agent, script, or pipeline with no interactive user): pick the canonical item — usually the bare commodity name (e.g., "Rice, paddy" over "Rice, milled"; "Wheat" over "Buckwheat"; "Cocoa beans" over a cocoa derivative). Record the choice you made and surface it in the methodology footer of the final briefing so the reader knows. Do not silently assume.

Read the full file on GitHub · 257 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. 8d ago First seen · 257 lines · 124 tokens per session scan A df097e95ecf4

Subscribe to this mod's changes

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

food-systems-data

Use this Skill to analyze food systems data from FAOSTAT: production/trade/food balance sheets, food security indicators, dietary diversity, and trade flow Sankey diagrams.

xjtulyc/awesome-rosetta-skills · 40 tokens

scientific-slides

Build slide decks and presentations for research talks. Use this for making PowerPoint slides, conference presentations, seminar talks, research presentations, thesis defense slides, or any scientific talk. Provides slide structure, design templates, timing guidance, and visual validation. Works with PowerPoint and…

foryourhealth111-pixel/Vibe-Skills · 65 tokens

LQF_Machine_Learning_Expert_Guide

LQF Machine Learning Expert Guide - Routed skill for ML/Statistical Modeling with Critical Discussion Mode. Triggers on: machine learning, modeling, prediction, training, classification, regression, clustering, deep learning, neural network, model evaluation, feature engineering, hyperparameter tuning, overfitting…

foryourhealth111-pixel/Vibe-Skills · 152 tokens

imaging-data-commons

Query and download public cancer imaging data from NCI Imaging Data Commons using idc-index. Use for accessing large-scale radiology (CT, MR, PET) and pathology datasets for AI training or research. No authentication required. Query by metadata, visualize in browser, check licenses.

foryourhealth111-pixel/Vibe-Skills · 62 tokens

paper-2-web

Use when converting academic papers into dissemination assets such as Paper2Web websites, Paper2Video video abstracts, or Paper2Poster conference posters from LaTeX or PDF sources.

foryourhealth111-pixel/Vibe-Skills · 40 tokens

get-available-resources

This skill should be used at the start of any computationally intensive scientific task to detect and report available system resources (CPU cores, GPUs, memory, disk space). It creates a JSON file with resource information and strategic recommendations that inform computational approach decisions such as whether to…

foryourhealth111-pixel/Vibe-Skills · 115 tokens