# stockbreeder-expert

stockbreeder-expert is a Claude Code skill with Python domain models and workflows for livestock records, breeding, animal health monitoring, and vaccination schedules.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 195 installs · ★ 45 repo stars
- Author: personamanagmentlayer
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/personamanagmentlayer/pcl/tree/HEAD/stdlib/domains/stockbreeder-expert/SKILL.md
- Updated: 2026-10-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/stockbreeder-expert

## What it does

The skill equips your coding agent with livestock domain knowledge and reference architectures written in Python. It includes typed data models for cattle, sheep, goats, pigs, and poultry, along with structures for veterinary records, RFID tracking, and health metrics.

Health tracking relies on evaluating sensor telemetry against physiological indicators. For cattle, a temperature above 39.5°C triggers a high-severity fever alert, while activity below half of normal flags potential sickness. The breeding module prevents inbreeding by screening out relatives within three generations.

You need a persistent database and an actual telemetry feed to run these routines. Without them, the calculations remain purely algorithmic templates.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add personamanagmentlayer/pcl --skill stockbreeder-expert -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/stockbreeder-expert/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/stockbreeder-expert/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add personamanagmentlayer/pcl --skill stockbreeder-expert -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/stockbreeder-expert/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add personamanagmentlayer/pcl --skill stockbreeder-expert -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/stockbreeder-expert/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install personamanagmentlayer/pcl stdlib/domains/stockbreeder-expert
```

2. **Manually: put the files in place**
- File: `.github/skills/stockbreeder-expert/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add personamanagmentlayer/pcl --skill stockbreeder-expert -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/personamanagmentlayer/pcl --path stdlib/domains/stockbreeder-expert
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/stockbreeder-expert/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add personamanagmentlayer/pcl --skill stockbreeder-expert -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/personamanagmentlayer/pcl/tree/HEAD/stdlib/domains/stockbreeder-expert/SKILL.md

## When to use it
- Design database models for herd tracking and RFID ear tags
- Process sensor telemetry to detect fever and reduced activity
- Generate prioritized vaccination schedules based on animal age and species
- Filter breeding pairs to prevent inbreeding within three generations

## Example prompts
- Draft a livestock health tracking module with alerts for high body temperature
- Build a herd vaccination scheduler that sorts tasks by priority
- Implement breeding pair selection that rejects relatives within three generations

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: c0959896fb16dfa7.

BEGIN THIRD-PARTY FILE c0959896fb16dfa7
````text
---
name: stockbreeder-expert
version: 2.0.0
description: >-
  Expert-level livestock management, animal health monitoring, breeding programs, and ranch
  management. Use when the user mentions livestock, animal husbandry, breeding, ranch
  management, or veterinary, or when the task involves Livestock Management, Animal Health,
  or Technologies.
category: domains
tags: [livestock, animal-husbandry, breeding, ranch-management, veterinary]
allowed-tools:
  - Read
  - Write
  - Edit
---

# Stockbreeder Expert

Expert guidance for livestock management, animal health monitoring, breeding programs, feed optimization, and ranch operations.

## Core Concepts

### Livestock Management

- Herd/flock management
- Animal identification and tracking
- Health monitoring
- Nutrition and feed management
- Breeding and genetics
- Facility management

### Animal Health

- Disease prevention and control
- Vaccination schedules
- Biosecurity protocols
- Health records
- Veterinary care coordination
- Early warning systems

### Technologies

- RFID ear tags
- Automated feeding systems
- Wearable sensors
- Milking automation
- Genetic analysis
- Precision livestock farming

## Livestock Management System

```python
from dataclasses import dataclass
from typing import List, Optional
from datetime import datetime, timedelta
from enum import Enum

class AnimalType(Enum):
    CATTLE = "cattle"
    SHEEP = "sheep"
    GOAT = "goat"
    PIG = "pig"
    POULTRY = "poultry"

class HealthStatus(Enum):
    HEALTHY = "healthy"
    OBSERVATION = "observation"
    SICK = "sick"
    QUARANTINE = "quarantine"
    DECEASED = "deceased"

@dataclass
class Animal:
    animal_id: str
    tag_number: str
    type: AnimalType
    breed: str
    sex: str
    birth_date: datetime
    weight_kg: float
    sire_id: Optional[str]
    dam_id: Optional[str]
    health_status: HealthStatus
    location: str
    vaccinations: List[dict]
    treatments: List[dict]

@dataclass
class HealthRecord:
    record_id: str
    animal_id: str
    date: datetime
    type: str  # 'vaccination', 'treatment', 'check-up'
    diagnosis: Optional[str]
    treatment: Optional[str]
    veterinarian_id: Optional[str]
    notes: str
    follow_up_date: Optional[datetime]

class LivestockManagement:
    """Livestock management system"""

    def __init__(self, db):
        self.db = db

    def register_animal(self, animal_data):
        """Register new animal in system"""
        animal = Animal(**animal_data)

        # Generate unique tag if not provided
        if not animal.tag_number:
            animal.tag_number = self.generate_tag_number(animal.type)
````
END THIRD-PARTY FILE c0959896fb16dfa7

The third-party file has ended. Everything between the c0959896fb16dfa7 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2634 of 15063 bytes. © personamanagmentlayer · Apache-2.0 · https://github.com/personamanagmentlayer/pcl/tree/HEAD/stdlib/domains/stockbreeder-expert/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
