food-security-analysis

food-security-analysis is a skill for Claude Code, Codex from coffee-man666/mommy-chaogu. It costs 382 tokens per session (4,128 once invoked), scanned A, original, MIT.

A fixed analysis workflow for food-security companies listed on China’s A-share market. It builds a 35-stock basket, studies money flow, moving averages, valuation and profitability, then packages the findings into several report files.

In plain words
What is it for?
Use it to analyze the selected basket for a trading day, examine the top five candidates with technical and fundamental data, rank them, and produce the specified report package.
Why use it?
It turns a broad food-crisis or food-security question into a repeatable analysis with defined stocks, calculations, ranking rules, and data-timing labels. This makes the result easier to review and reproduce.

Skill for Claude CodeCodex

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

Good fit Use it to analyze the selected basket for a trading day, examine the top five candidates with technical and fundamental data, rank them, and produce the specified report package.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/coffee-man666/mommy-chaogu/food-security-analysis
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 coffee-man666/mommy-chaogu --skill food-security-analysis
Clone the repo
git clone --depth 1 https://github.com/coffee-man666/mommy-chaogu

Made for: Claude Code, Codex.

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 food-security-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/coffee-man666/mommy-chaogu/food-security-analysis/github.svg)](https://agentmods.dev/skills/coffee-man666/mommy-chaogu/food-security-analysis)
Your own site
<a href="https://agentmods.dev/skills/coffee-man666/mommy-chaogu/food-security-analysis"><img src="https://agentmods.dev/badge/skills/coffee-man666/mommy-chaogu/food-security-analysis/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 food-security-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/coffee-man666/mommy-chaogu/food-security-analysis"><img src="https://agentmods.dev/badge/skills/coffee-man666/mommy-chaogu/food-security-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 382 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,128 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00382 $0.04128
Opus 5 $0.00191 $0.02064
Sonnet 5 $0.00076 $0.00826
Haiku 4.5 $0.00038 $0.00413

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

Security

Grade A, and why

food-security-analysis 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/analyze.py, scripts/html_render.py, scripts/package_zip.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.

src/mommy_chaogu/bundled_skills/food-security-analysis/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.

Food Security Analysis

End-to-end pipeline that takes a trading day (default: today, Beijing time) and produces a packaged set of food-security / food-crisis analysis artifacts for the 35-stock A-share basket, plus Top-5 deep-dive with technicals and fundamentals.

Inputs to collect

Ask the user only what the procedure cannot infer:

  • Trading day (default: today Beijing time). Required if the user asks for a back-fill ("复盘 8/15 那次涨停潮"). Format: YYYY-MM-DD.
  • Run label (default: auto-timestamp). User can override (run_label: "morning-prep").
  • Mark as final (default: false if multiple runs already today, true if first or only run). User can force.

If the user is vague ("复现刚才的分析"), just run with defaults.

Procedure

  1. Resolve trading day and data freshness

    • Compute today_bj = now(Asia/Shanghai).strftime("%Y-%m-%d") and now_bj_iso with offset +08:00.
    • Detect post-market: if now_bj.time() > 15:05, mark is_market_close=true and the data label becomes as of {today_bj} close (Beijing). Otherwise label as as of {today_bj} mid-day (Beijing).
    • Why: the data label is what readers see; getting the freshness wrong misleads every downstream user.
  2. Verify mommy-chaogu + basket exist

    • Run mommy food-security list --chain 上游 and mommy food-security stats. Confirm 35 codes and 4 chain × 14 subcategory. If missing, run mommy food-security seed first.
    • Why: the basket is the canonical 35-code reference for the whole pipeline; missing seed → downstream flows are incomplete.
  3. Get A-share market snapshot for today_bj

    • Use web_search(query="A股 {today_bj} 午间/收盘 上证指数 深证成指 创业板", freshness="day") to get 上证/深成/创业/科创50/北证50 half-day or close values plus 涨停潮板块 and 拖累板块.
    • If pre-08:00 and no results, fall back to previous trading day's data and label accordingly.
    • Why: mommy has no direct "indices" subcommand; web is the only available index data source in this sandbox.
  4. Get global food crisis context

    • Use web_search(query="FAO Food Price Index {month_before(today_bj)} wheat corn", freshness="month") for the latest FAO index and sub-indices.
    • Use web_search(query="Black Sea grain exports {month_before(today_bj)} Russia Ukraine", freshness="month") for the Black Sea disruption status.
    • Use web_search(query="El Nino strength 2026 ONI", freshness="month") for the climate driver.
    • Why: 4-variable trigger check (FAO ≥ +2%, Black Sea ≤ -30%, ONI ≥ 1.5, 399365 PE ≤ 40%) is the topic's gating condition. Without global context, the A-share picture is incomplete.

Read the full file on GitHub · 172 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 172 lines · 382 tokens per session scan A 4550e1ac41b0

Subscribe to this mod's changes

food-security-analysis is a skill published in the GitHub repository coffee-man666/mommy-chaogu (47 stars, last pushed today), licensed MIT. It adds 382 tokens to every session and 4,128 once invoked, about $0.0019 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-30.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens