weed-detection

weed-detection is a skill for Claude Code, Codex from Jeffisgod/Agri-CV-Research. It costs 0 tokens per session (390 once invoked), scanned A, original, MIT.

A computer-vision workflow for identifying weed species and locating weeds in agricultural field images.

In plain words
What is it for?
Use it to train and evaluate weed detectors or classifiers, identify species in datasets such as DeepWeeds, and support precision herbicide application planning.
Why use it?
It helps replace broad field treatment with information about where particular weeds appear. It also supports comparing detection methods across changing field conditions.

Skill for Claude CodeCodex

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

Good fit Use it to train and evaluate weed detectors or classifiers, identify species in datasets such as DeepWeeds, and support precision herbicide application planning.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeffisgod/agri-cv-research/weed-detection
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 Jeffisgod/Agri-CV-Research --skill weed-detection
Clone the repo
git clone --depth 1 https://github.com/Jeffisgod/Agri-CV-Research

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 weed-detection

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeffisgod/agri-cv-research/weed-detection/github.svg)](https://agentmods.dev/skills/jeffisgod/agri-cv-research/weed-detection)
Your own site
<a href="https://agentmods.dev/skills/jeffisgod/agri-cv-research/weed-detection"><img src="https://agentmods.dev/badge/skills/jeffisgod/agri-cv-research/weed-detection/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 weed-detection

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeffisgod/agri-cv-research/weed-detection"><img src="https://agentmods.dev/badge/skills/jeffisgod/agri-cv-research/weed-detection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 390 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.00000 $0.00390
Opus 5 $0.00000 $0.00195
Sonnet 5 $0.00000 $0.00078
Haiku 4.5 $0.00000 $0.00039

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

Security

Grade A, and why

weed-detection 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.

skills/weed-detection/SKILL.md · 54 lines

What it actually says

Weed Detection

Description

Weed identification and site-specific weed management skill for precision agriculture, supporting detection, classification, and localization of weed species in field conditions.

When to Use

  • User needs to detect or identify weed species in agricultural fields
  • Need to build precision herbicide application systems
  • Need to compare weed detection methods across different field conditions
  • Need to work with DeepWeeds or similar weed datasets

Prerequisites

pip install torch torchvision ultralytics timm albumentations

Supported Datasets

Dataset Classes Images Environment
DeepWeeds 9 weed species 17,509 Australian field

Quick Start

from agri_cv_research.models import YOLODetector, ViTClassifier
from agri_cv_research.datasets import DeepWeedsDataset

dataset = DeepWeedsDataset(root="./data/deepweeds", split="train", download=True)

model = YOLODetector(model_size="n", task="detect", num_classes=9)
model.train(dataset, epochs=50, batch_size=32)
metrics = model.evaluate(dataset, split="test")

Code Examples

Multi-Model Weed Classification

from agri_cv_research.models import ViTClassifier

weeds_dataset = DeepWeedsDataset(split="train", download=True)

classifiers = {
    "ResNet-50": ViTClassifier(backbone="resnet50"),
    "EfficientNet-B4": ViTClassifier(backbone="efficientnet_b4"),
    "ViT-B/16": ViTClassifier(backbone="vit_base_patch16_224"),
}

for name, clf in classifiers.items():
    clf.train(weeds_dataset, epochs=30)
    results[name] = clf.evaluate(weeds_dataset, split="test")
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 · 54 lines · 0 tokens per session scan A c2eebb7540a7

Subscribe to this mod's changes

weed-detection is a skill published in the GitHub repository Jeffisgod/Agri-CV-Research (23 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 390 tokens. 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

arboreto

Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk RNA-seq, single-cell RNA-seq) to identify transcription factor-target gene relationships and regulatory interactions. Supports distributed computation for…

K-Dense-AI/scientific-agent-skills · 66 tokens

pyhealth

Build clinical/healthcare deep-learning pipelines with PyHealth — loading EHR/signal/imaging datasets (MIMIC-III/IV, eICU, OMOP, SleepEDF, ChestXray14, EHRShot), defining tasks (mortality, readmission, length-of-stay, drug recommendation, sleep staging, ICD coding, EEG events), instantiating models (Transformer…

K-Dense-AI/scientific-agent-skills · 216 tokens

torchdrug

Build and troubleshoot TorchDrug 0.2.1 workflows for molecular graphs, property prediction, self-supervised pretraining, molecule generation, retrosynthesis, protein representation learning, and knowledge graph reasoning. Use when code imports torchdrug or needs its datasets, models, tasks, or Engine.

K-Dense-AI/scientific-agent-skills · 61 tokens

deepspot-m

Generate transcriptome-wide virtual spatial transcriptomics from H&E histology with DeepSpot-M. Use when you need spatial gene expression in log1p-CPM for 224x224 tiles at about 20x, want to query protein-coding genes by symbol instead of a fixed panel, or want to run prediction across a whole slide after tiling with…

K-Dense-AI/scientific-agent-skills · 80 tokens

nemo-mbridge-perf-expert-parallel-overlap

Validate and use MoE expert-parallel communication overlap in Megatron-Bridge, including overlapmoeexpertparallelcomm, delaywgradcompute, and flex dispatcher backends such as DeepEP and HybridEP.

NVIDIA/skills · 56 tokens

pick-a-pii-model

Select an on-device OpenMed PII model from the committed registry by language, runtime format, and size budget, then require recall validation before deployment. Use when an agent must choose a local PII detector for CPU, Apple Silicon, or a mobile export without relying on live model discovery.

maziyarpanahi/openmed · 64 tokens