faostat-compare

faostat-compare is a skill for Claude Code from berba-q/faostat-skills. It costs 129 tokens per session (1,794 once invoked), scanned A, original, MIT.

A skill for comparing named countries, commodities, or regions side by side using FAOSTAT, the Food and Agriculture Organization's statistics database.

In plain words
What is it for?
Use it for comparisons of production, yield, harvested area, trade, growth rates, or other available indicators.
Why use it?
It organizes the same agricultural measures across selected entities so differences are easier to see.

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 for comparisons of production, yield, harvested area, trade, growth rates, or other available indicators.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/berba-q/faostat-skills/compare"><img src="https://agentmods.dev/badge/skills/berba-q/faostat-skills/compare.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,794 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.00129 $0.01794
Opus 5 $0.00064 $0.00897
Sonnet 5 $0.00026 $0.00359
Haiku 4.5 $0.00013 $0.00179

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

Security

Grade A, and why

faostat-compare 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/compare/SKILL.md · 133 lines

How it starts

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

Comparative Agricultural Analysis

Produce a structured side-by-side comparison of countries, commodities, or both across agricultural metrics using FAOSTAT data.

Prerequisites

Verify that the following FAOSTAT MCP tools are available before proceeding:

  • faostat_search_codes
  • faostat_get_data
  • faostat_get_rankings

If any tool is missing, inform the user: "This skill requires the FAOSTAT MCP server to be connected. Please ensure it is running and try again."

Workflow

Step 1: Clarify Comparison Parameters

Determine from the user's message (or ask if unclear):

  1. What to compare: Countries, commodities, or a cross-comparison (e.g., wheat production in Brazil vs. Argentina).
  2. Metric: Production volume, yield, area harvested, trade value, or another indicator. Default to production if unspecified.
  3. Time range: Specific years or a span. Default to the most recent 10 years if unspecified.
  4. Domain: Infer the FAOSTAT domain:
    • Production / yield / area harvested: QCL
    • Aggregate trade quantities or values for a country-commodity pair: TCL (not TM)
    • Bilateral trade by partner country: TM (use only if the user specifically asks about partners)
    • Food balance sheets (supply, dietary energy): FBS
    • Food security indicators: FS
    • Agrifood emissions: GT; temperature change: ET; land use: RL

Map the metric to the correct FAOSTAT element FILTER codes:

Element codes below are verified hints. Resolve at runtime via faostat_search_codes before use.

  • Production (QCL): '2510'
  • Yield (QCL): '2413'
  • Area harvested (QCL): '2312'
  • Import quantity (TCL): '2610'; Export quantity (TCL): '2910'
  • Import value (TCL, USD 1000): '2612'; Export value (TCL, USD 1000): '2912'

Step 2: Resolve All Codes

For each entity (country or commodity), call faostat_search_codes:

Countries: faostat_search_codes(domain_code='<domain>', dimension_id='area', query='<country_name>')

Read the full file on GitHub · 133 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 · 133 lines · 129 tokens per session scan A ff40e94354d8

Subscribe to this mod's changes

faostat-compare is a skill published in the GitHub repository berba-q/faostat-skills (7 stars, last pushed 4mo ago), licensed MIT. It adds 129 tokens to every session and 1,794 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

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

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

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