faostat-story

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

A tool for turning FAOSTAT data into an HTML data story. FAOSTAT is the Food and Agriculture Organization's public database of statistics about food, farming, forests, and related topics.

In plain words
What is it for?
Use it to investigate a research question or story angle, then create an article or webpage with FAOSTAT data and interactive charts for journalists, researchers, or public-facing communication.
Why use it?
It helps communicate statistics as a researched narrative instead of leaving them as raw tables. The result can include interactive charts and sourced figures for a general audience.

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 investigate a research question or story angle, then create an article or webpage with FAOSTAT data and interactive charts for journalists, researchers, or public-facing communication.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/berba-q/faostat-skills/story"><img src="https://agentmods.dev/badge/skills/berba-q/faostat-skills/story.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,623 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.00153 $0.02623
Opus 5 $0.00077 $0.01311
Sonnet 5 $0.00031 $0.00525
Haiku 4.5 $0.00015 $0.00262

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

Security

Grade A, and why

faostat-story 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 11d 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/story/SKILL.md · 176 lines

How it starts

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

Data Storyteller

Build data-driven narratives for journalists, researchers, and communicators using FAOSTAT data, with embedded interactive charts and properly sourced statistics.

Prerequisites

Before starting, confirm the FAOSTAT MCP tools are available by checking that tools faostat_get_data, faostat_search_codes, faostat_list_groups, faostat_list_domains, and faostat_get_rankings are accessible. If they are not, inform the user that this skill requires the FAOSTAT MCP server to be connected and stop.

Important Rules

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.

Workflow

Step 1 — Understand the Story Angle

Ask the user for their research question or story angle. Examples:

  • "The global avocado boom"
  • "Africa's fertilizer gap"
  • "Wheat after the Ukraine crisis"
  • "Who feeds the world's growing cities?"
  • "The rise of quinoa"

If the user provides the angle in their initial message, proceed without re-asking.

Identify:

  • Subject — what commodity, country, or theme?
  • Tension — what's surprising, changing, or at stake?
  • Scope — global, regional, or country-level?
  • Time frame — recent years, historical arc, or a specific event window?

Step 2 — Identify Relevant FAOSTAT Domains

Based on the story angle, determine which FAOSTAT domains contain relevant data. Use faostat_list_groups and faostat_list_domains to confirm domain availability.

Common domain mappings:

  • Production stories: QCL (Crops and Livestock Products)
  • Trade stories — aggregate flows (total imports/exports for a country-commodity): TCL (Crops and Livestock Trade, country-level)
  • Trade stories — partner / bilateral flows (who ships to whom): TM (Detailed Trade Matrix)
  • Food security stories: FS (Food Security), FBS (Food Balance Sheets)
  • Climate/emissions stories: GT (Emissions Totals), ET (Temperature Change), GF (Forests)
  • Input stories: RFN/RFM/RFB (Fertilizers), RP (Pesticides)
  • Land use stories: RL (Land Use)
  • Producer prices: PP

Read the full file on GitHub · 176 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. 11d ago First seen · 176 lines · 153 tokens per session scan A 8382124b13fb

Subscribe to this mod's changes

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

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