agricultural-grader-sorter

agricultural-grader-sorter is a skill for Claude Code, Codex from wonsukchoi/domain-experts. It costs 86 tokens per session (3,503 once invoked), scanned A, original, MIT.

A decision aid for workers who inspect and sort agricultural products on a packing line, such as fruit, vegetables, eggs, or nuts. It focuses on judging defects and deciding what happens to borderline lots.

In plain words
What is it for?
Use it to assess defect grades, decide whether a lot should be accepted, hand-sorted, downgraded, or held, and place human checks around an optical sorting machine.
Why use it?
It helps balance product quality, saleable yield, line speed, and the risk of customer claims when decisions must be made quickly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to assess defect grades, decide whether a lot should be accepted, hand-sorted, downgraded, or held, and place human checks around an optical sorting machine.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wonsukchoi/domain-experts/agricultural-grader-sorter
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 wonsukchoi/domain-experts --skill agricultural-grader-sorter
Clone the repo
git clone --depth 1 https://github.com/wonsukchoi/domain-experts

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 agricultural-grader-sorter

README.md
[![agentmods](https://agentmods.dev/badge/skills/wonsukchoi/domain-experts/agricultural-grader-sorter/github.svg)](https://agentmods.dev/skills/wonsukchoi/domain-experts/agricultural-grader-sorter)
Your own site
<a href="https://agentmods.dev/skills/wonsukchoi/domain-experts/agricultural-grader-sorter"><img src="https://agentmods.dev/badge/skills/wonsukchoi/domain-experts/agricultural-grader-sorter/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 agricultural-grader-sorter

Your own site · 80×15
<a href="https://agentmods.dev/skills/wonsukchoi/domain-experts/agricultural-grader-sorter"><img src="https://agentmods.dev/badge/skills/wonsukchoi/domain-experts/agricultural-grader-sorter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,503 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.00086 $0.03503
Opus 5 $0.00043 $0.01751
Sonnet 5 $0.00017 $0.00701
Haiku 4.5 $0.00009 $0.00350

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

Security

Grade A, and why

agricultural-grader-sorter 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.

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.

roles/agricultural-grader-sorter/SKILL.md · 107 lines

How it starts

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

Agricultural Grader/Sorter

Identity

Works the packing-line floor of a fruit, vegetable, egg, or nut packing house, making a size/color/defect call on every piece (or a fraction of every piece) passing at line speed, and disposing of borderline lots as accept, hand re-sort, downgrade, or hold. Unlike the Agricultural Inspector — a regulatory or third-party role that samples a finished lot against USDA/FDA/EPA thresholds and issues a defensible, legally consequential finding (stop-sale, certificate, corrective-action letter) — the grader/sorter is a packing-house employee whose calls are internal and economic: every stricter call trades yield for grade quality, every looser call trades customer-claim risk for throughput, and nobody outside the plant sees the individual decision unless it shows up in a chargeback. Accountable for the packing house's own margin on every bin, not for regulatory compliance, and works at a pace (a piece a second or faster) that leaves no time to look anything up mid-decision.

First-principles core

  1. Grade tolerance is a nested budget, not one number. USDA-style standards (7 CFR 51 series) allow a total defect percentage, but only a fraction of that total can be serious damage, and a smaller fraction still can be decay — a grader tracking only "am I under X% defective overall" can blow the decay sub-allowance while looking compliant on the aggregate.
  2. The grade call is a continuous economic trade, not a fact-finding exercise. Every piece sits somewhere between "definitely ships at top grade" and "definitely culls," and the grader is pricing two error types against each other in real time: a false-accept that ships out-of-grade fruit (chargeback, claim, damaged buyer relationship) against a false-reject that culls sellable fruit (yield loss, juice-grade pennies on the wholesale dollar). The "right" strictness moves with the customer and the season, not with a fixed rule.
  3. A handful of pieces that "look fine" understates the lot's true defect rate. Statistical sampling plans exist because unstructured spot-checks systematically miss the tail — a lot's actual defect rate only becomes trustworthy once the sample size and accept/reject numbers come from a table tied to lot size, not from "grabbed a double-handful and it looked okay."
  4. Automation moves the judgment call, it doesn't retire it. Optical/NIR sorters are excellent and repeatable on static external attributes — size, color, sometimes internal sugar/density — but blind to defects that haven't physically manifested yet, above all fresh mechanical bruising within hours of harvest. The highest-value human grading station sits exactly at the sensor's blind spot, not spread evenly across the whole line.
  5. A lot hold looks expensive in the moment and a shipped bad lot is expensive later. Stopping the line for a re-sort costs visible, immediate labor minutes; a shipped out-of-tolerance lot costs an invisible, compounding chargeback, return freight, and a buyer relationship that remembers the miss longer than the packer does.

Read the full file on GitHub · 107 lines

Files

What ships with it

3 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 · 107 lines · 86 tokens per session scan A 76a3904ed3c4

Subscribe to this mod's changes

agricultural-grader-sorter is a skill published in the GitHub repository wonsukchoi/domain-experts (15 stars, last pushed 4d ago), licensed MIT. It adds 86 tokens to every session and 3,503 once invoked, about $0.0004 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

infrastructure-publishing

Skill for the publishing infrastructure module providing academic publishing workflows including BibTeX CLI citation generation, APA/MLA citation helper functions, DOI management, Zenodo publication, arXiv submission preparation, GitHub releases, PyPI and TestPyPI package distribution, static-site deployment to GitHub…

docxology/template · 127 tokens

infrastructure-rules

Skill for the rules module — discovery, validation, scope, and private-sidecar symlink sync for the top-level rules/ directory (specifications include soft markdown guidelines and strong yaml/json formal constraints). Use when discovering rules (discoverrules), resolving a rule path (resolveruleroot), validating rule…

docxology/template · 171 tokens

infrastructure-reference-citation

BibTeX read/write/convert that matches the syntax/semantics of projects/templates/templatecodeproject/manuscript/references.bib (consumed by Pandoc with --natbib -- see infrastructure/rendering/pdfcombinedrenderer.py). Provides BibEntry/BibDatabase models, parsebibfile/renderdatabase functions, papertobibentry…

docxology/template · 142 tokens

template-documentation-creation

Author or refresh AGENTS.md and README.md for template directories — accurate commands, Mermaid where helpful, link generated/activeprojects.md. USE WHEN folder needs AGENTS, README audit, doc contract fix, or signposting after code change — even without documentationcreation prompt.

docxology/template · 63 tokens

Data Visualization Library

Orchestrates matplotlib and seaborn pipelines for rendering figures.

docxology/template · 16 tokens

cost-tracker

Track LLM API spend per session and task. Estimate token usage across providers. Warn before you blow your budget.

suryast/free-ai-agent-skills · 27 tokens