shepherd

shepherd is a skill for Claude Code, Codex from ashtanko/compose-android-template. It costs 49 tokens per session (2,126 once invoked), scanned A, original, MIT.

A workflow for monitoring open pull requests or merge requests, which are proposed code changes awaiting review and automated checks.

In plain words
What is it for?
Use it to poll GitHub or GitLab requests, fix straightforward issues, push updates, resolve review threads, and wait for checks.
Why use it?
It helps keep proposed changes moving by finding review comments, failed continuous-integration checks, and small problems that need attention.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to poll GitHub or GitLab requests, fix straightforward issues, push updates, resolve review threads, and wait for checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ashtanko/compose-android-template/shepherd
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 ashtanko/compose-android-template --skill shepherd
Clone the repo
git clone --depth 1 https://github.com/ashtanko/compose-android-template

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 shepherd

README.md
[![agentmods](https://agentmods.dev/badge/skills/ashtanko/compose-android-template/shepherd/github.svg)](https://agentmods.dev/skills/ashtanko/compose-android-template/shepherd)
Your own site
<a href="https://agentmods.dev/skills/ashtanko/compose-android-template/shepherd"><img src="https://agentmods.dev/badge/skills/ashtanko/compose-android-template/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/skills/ashtanko/compose-android-template/shepherd"><img src="https://agentmods.dev/badge/skills/ashtanko/compose-android-template/shepherd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,126 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 166
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00049 $0.02126
Opus 5.5 $0.00020 $0.00850
Sonnet 5.5 $0.00010 $0.00425
Haiku 4.5 $0.00005 $0.00213

Measured 1mo ago against content hash b8f3d27fcc6a, 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 1mo 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.

.agents/skills/shepherd/SKILL.md · 184 lines

How it starts

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

Shepherd

Core principle

Poll open PRs (GitHub) and MRs (GitLab) in a loop, fix all outstanding issues locally first, then push fixes, then resolve review threads, then wait for CI. Never sit idle when a PR has unaddressed feedback or a failing CI check.

Platform detection

Use git remote get-url origin to determine the platform:

Remote URL pattern Platform CLI tool ID prefix
github.com GitHub gh #
gitlab.* GitLab glab !

Use the detected CLI tool (gh or glab) for all commands below. The skill uses PR generically for both pull requests and merge requests.

Command reference

Operation GitHub (gh) GitLab (glab)
List open PRs gh pr list --state open --json number,title,headRepository,baseRefName,statusCheckRollup glab mr list --source-branch $(git branch --show-current) --output json
View PR details gh pr view <#> --comments --json comments glab mr view <!> --comments
Check CI status gh pr checks <#> glab mr view <!> (check pipeline or head_pipeline fields)
View CI logs gh run view <run-id> --log-failed glab ci trace <job-id>
List CI pipelines — glab ci list --mr <!>
Add comment gh pr comment <#> --body "..." glab mr note <!> --message "..."
Merge gh pr merge <#> --squash --delete-branch glab mr merge <!> --squash
Approve gh pr review <#> --approve glab mr approve <!>

When to use

  • User says "shepherd my PRs", "babysit my PRs", "watch my PRs", "monitor open PRs", or "poll PRs" — applies to GitHub PRs and GitLab MRs interchangeably
  • User has open PRs that need ongoing attention across minutes or hours
  • You're asked to handle PR review feedback autonomously
  • CI keeps failing on issues you can fix (lint, format, minor test breakage)

Do NOT use when:

  • The failure requires domain knowledge you don't have (ambiguous test failure, architectural feedback)
  • The user explicitly says to do something else first
  • There are no open PRs to shepherd

Read the full file on GitHub · 184 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. 1mo ago First seen · 184 lines · 49 tokens per session scan A b8f3d27fcc6a

Subscribe to this mod's changes

shepherd is a skill published in the GitHub repository ashtanko/compose-android-template (13 stars, last pushed 12d ago), licensed MIT. It adds 49 tokens to every session and 2,126 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

shepherd

Use when asked to shepherd, babysit, monitor, or poll open pull requests or merge requests, including triaging review feedback, CI failures, and routine follow-up.

chrisbanes/skills · 37 tokens

engineer-bot-getting-started

An onboarding guide for an engineering delivery assistant. It helps define a repository, the allowed level of access, and the work needed before reviewing a code change.

makecindy/cindy · 44 tokens

release-kotlin-library

Use when preparing, publishing, or checking readiness for a Kotlin library release, including verifying its gradle-maven-publish-plugin prerequisite, reconciling changelogs and API snapshots, and checking publication.

chrisbanes/skills · 46 tokens

deliver-spec

Use when explicitly asked to deliver an approved GitHub or local spec through a reviewed pull request, or when a Project controller delegates one claimed implementation ticket.

chrisbanes/skills · 33 tokens

kotlin-concurrency-and-flow

Use when writing or reviewing Kotlin coroutine scope ownership, raw Thread or Executor work, init launches, non-suspending launch APIs, runBlocking, cancellation, StateFlow, SharedFlow, Channel, stateIn, SharingStarted, state updates, or one-shot events.

chrisbanes/skills · 60 tokens

kotlin-api-design

Use when designing or reviewing Kotlin function ownership, member or extension functions, factories, single-field domain types, value classes, data classes, Kotlin Multiplatform expect/actual declarations, or platform service boundaries.

chrisbanes/skills · 46 tokens