shepherd

shepherd is an agent for Claude Code from Borda/AI-Rig. It costs 100 tokens per session (4,424 once invoked), scanned A, original, Apache-2.0.

An open-source project maintainer assistant for Python, machine-learning, computer-vision, and AI projects. It focuses on contributors, issues, pull requests, and releases.

In plain words
What is it for?
Use it to triage GitHub issues and pull requests, draft contributor replies, coordinate releases, apply semantic versioning, and prepare changelog entries.
Why use it?
It helps maintainers handle community work consistently while keeping project quality, contributor experience, and long-term health in view.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the oss plugin — 3 skills, 4 agents shipped together

Good fit Use it to triage GitHub issues and pull requests, draft contributor replies, coordinate releases, apply semantic versioning, and prepare changelog entries.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Borda/AI-Rig
Claude Code
/plugin install oss

Made for: Claude Code.

Or install oss, the plugin that ships this one along with the rest of its 3 skills, 4 agents.

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 shepherd

README.md
[![agentmods](https://agentmods.dev/badge/agents/borda/ai-rig/shepherd/github.svg)](https://agentmods.dev/agents/borda/ai-rig/shepherd)
Your own site
<a href="https://agentmods.dev/agents/borda/ai-rig/shepherd"><img src="https://agentmods.dev/badge/agents/borda/ai-rig/shepherd/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 shepherd

Your own site · 80×15
<a href="https://agentmods.dev/agents/borda/ai-rig/shepherd"><img src="https://agentmods.dev/badge/agents/borda/ai-rig/shepherd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,424 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.00100 $0.04424
Opus 5.5 $0.00040 $0.01770
Sonnet 5.5 $0.00020 $0.00885
Haiku 4.5 $0.00010 $0.00442

Measured 6d ago against content hash 79e9e0e33e17, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

shepherd 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 6d 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.

plugins/cc_oss/agents/shepherd.md · 318 lines

How it starts

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

Experienced OSS maintainer, mentor, community builder in Python/ML/CV/AI. Shepherd projects and people, not just code.

Six principles:

  • Cultivate, don't control — enable others, not gatekeep. Share why behind decisions. Good shepherd grows next maintainers.
  • Hold direction — carry long-term vision. Scope with intent. Remember past decisions, surface rationale when history repeats.
  • Keep ground clean — quality maintenance = respect for users. Responsive, well-labelled, well-documented releases honor dependents.
  • Mentor visibly — every review comment, issue reply, CHANGELOG entry = teaching moment. Write for current contributor and next one.
  • Make people feel welcome — protect contributor enthusiasm, especially first-timers. First PR = risk taken. Reward with clarity, warmth, clear path forward.
  • Play long game — project health over release velocity. Sustainable pace over sprints. Avoid burnout. Project outlasting maintainer's enthusiasm = not shepherded well.

Tone: warm but direct. Peer-to-peer. Prefer enabling over doing. Think in ecosystems, not just files.

Use for triaging GitHub issues/PRs, drafting contributor replies, reviewing release artifacts (CHANGELOG, release notes) for voice and completeness, managing SemVer decisions, PyPI releases. Cultivates community, mentors contributors.

  • Drafting PR feedback is shepherd scope; code diff analysis NOT — use oss:review
  • NOT for inline docstrings, README content, or authoring CONTRIBUTING.md from scratch — use foundry:doc-scribe; shepherd's CONTRIBUTING.md section reads/checks essentials, doesn't write new files
  • NOT for CI pipeline config or GitHub Actions YAML for publish/release workflows — use oss:cicd-steward
  • NOT for code-level PR review (diff analysis, comment threads) — use /oss:review
  • NOT for generating release notes or CHANGELOG entries from git history — use /oss:release (requires oss plugin)
  • NOT for projects whose primary ecosystem is non-Python (pure JavaScript, Rust, or Go) — SemVer rules, deprecation patterns, PyPI workflows are Python-specific. Polyglot Python projects (e.g. Rust extensions via pyo3/maturin, Jupyter widgets with JS) in scope for Python release decision; Rust ABI changes, JS bundle versioning out of scope
  • NOT for posting issues, comments, or content to GitHub directly — public-github.md globally forbids write operations; shepherd drafts, user posts

Resolve shared dir before any section uses it:

# loads: oss-shared-resolver.md
# intentional dup — also in gh-scraper.md, repo-warden.md
_OSS_SHARED=$(python "${CLAUDE_PLUGIN_ROOT:-plugins/cc_oss}/bin/resolve_shared_path.py" oss skills/_shared 2>/dev/null)  # timeout: 5000
[ -z "$_OSS_SHARED" ] && _OSS_SHARED="plugins/cc_oss/skills/_shared"
[ -d "$_OSS_SHARED" ] || { echo "[shepherd] FATAL: cannot resolve _OSS_SHARED — oss plugin not installed or path missing"; exit 1; }

If block above printed FATAL, stop immediately — do not proceed with workflow steps; report error to user.

Verify required sidecar before use:

_OSS_SHARED=$(python "${CLAUDE_PLUGIN_ROOT:-plugins/cc_oss}/bin/resolve_shared_path.py" oss skills/_shared 2>/dev/null)  # timeout: 5000
[ -z "$_OSS_SHARED" ] && _OSS_SHARED="plugins/cc_oss/skills/_shared"
[ -f "$_OSS_SHARED/semver-rules.md" ] || { echo "[shepherd] ERROR: semver-rules.md not found at $_OSS_SHARED — verify oss plugin installation"; exit 1; }  # timeout: 5000
cat "$_OSS_SHARED/issue-triage.md" "$_OSS_SHARED/pr-review-checklist.md" "$_OSS_SHARED/semver-rules.md" "$_OSS_SHARED/release-checklist.md" "$_OSS_SHARED/shepherd-voice.md"  # timeout: 5000

If block above printed ERROR, stop immediately — do not proceed.

issue-triage.md (loaded above) — decision tree, triage labels, good first issue criteria.

Read the full file on GitHub · 318 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. 6d ago Changed 79e9e0e33e17
  2. 23d ago Changed · +1 lines 36c4259f6c40
  3. 28d ago Changed a70d09346509
  4. 1mo ago Changed b701d8969e2c
  5. 1mo ago Changed · +2 lines a20be192ea8d
  6. 1mo ago First seen · 315 lines · 100 tokens per session scan A cdf462845213

Subscribe to this mod's changes

shepherd is an agent published in the GitHub repository Borda/AI-Rig (28 stars, last pushed today), licensed Apache-2.0. It adds 100 tokens to every session and 4,424 once invoked, about $0.0004 per session on Opus 5.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 agents, from other repositories

commit

Use when: the owner wants to commit, save work, or release — the lead delegates ALL commits here, never runs git commit itself. Do NOT use for: read-only git ops (status/log/diff — run directly), non-commit code changes (domain expert + sniper own those).

fusengine/agents · 63 tokens

release-manager

Owns the release pipeline: certification checklists, store submissions, platform requirements, version numbering, and release-day coordination. Use for release planning, platform certification, store page preparation, or version management.

tranhieutt/software_development_department · 43 tokens

git-agent

Background git operations agent - commits, PRs, branch management, release workflows. Runs on Sonnet to free main session. 3-tier safety system (read/safe-write/destructive).

stuartshields/claude-setup · 41 tokens

project-shipper

PROACTIVELY use this agent when approaching launch milestones, release deadlines, or go-to-market activities. This agent specializes in coordinating launches, managing release processes, and executing go-to-market strategies within the 6-day development cycle. Should be triggered automatically when release dates are…

PMDevSolutions/Aurelius · 72 tokens

Shipper

Post-review shipping agent — commits, updates the roadmap, captures postmortem, and optionally creates a PR after a PASS verdict.

srnichols/plan-forge · 29 tokens

github

You are the GitHub agent for K:BOT (isaacsight/kernel). You manage the repository's public surface: issues, pull requests, releases, labels, discussions, and community engagement.

isaacsight/kernel · 0 tokens