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.
/plugin marketplace add Borda/AI-Rig/plugin install ossWrote 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.
[](https://agentmods.dev/agents/borda/ai-rig/shepherd)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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(requiresossplugin) - 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.mdglobally 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.
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.
- 6d ago Changed 79e9e0e33e17
- 23d ago Changed · +1 lines 36c4259f6c40
- 28d ago Changed a70d09346509
- 1mo ago Changed b701d8969e2c
- 1mo ago Changed · +2 lines a20be192ea8d
- 1mo ago First seen · 315 lines · 100 tokens per session scan A cdf462845213
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.
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).
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.
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).
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…
Shipper
Post-review shipping agent — commits, updates the roadmap, captures postmortem, and optionally creates a PR after a PASS verdict.
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.