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.
git clone --depth 1 https://github.com/openshift-eng/ai-helpersWrote 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/commands/openshift-eng/ai-helpers/cherry-pick-by-patch)<a href="https://agentmods.dev/commands/openshift-eng/ai-helpers/cherry-pick-by-patch"><img src="https://agentmods.dev/badge/commands/openshift-eng/ai-helpers/cherry-pick-by-patch/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/commands/openshift-eng/ai-helpers/cherry-pick-by-patch"><img src="https://agentmods.dev/badge/commands/openshift-eng/ai-helpers/cherry-pick-by-patch.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.00013 | $0.00353 |
| Opus 5.5 | $0.00005 | $0.00141 |
| Sonnet 5.5 | $0.00003 | $0.00071 |
| Haiku 4.5 | $0.00001 | $0.00035 |
Grade A, and why
cherry-pick-by-patch 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- cherry-pick-by-patch — 100% identical, 0 lines differ
What it actually says
Name
git:cherry-pick-by-patch
Synopsis
/git:cherry-pick-by-patch commit_hash
Description
The /git-cherry-pick-by-patch commit_hash command cherry-picks commit with hash
commit_hash into current branch. Rather then doing git cherry-pick commit_hash,
the command streams the output of git show commit_hash to
patch -p1 --no-backup-if-mismatch, and then commit changes with commit message
from commit_hash commit.
Implementation
Pre-requisites
The commit with hash commit_hash must exist. To verify that use:
git show commit_hash
and check if exit code is zero.
Fail, if there is no commit_hash in the current repository checkout.
Cherry-pick commit_hash into current branch
- Execute command
git show commit_hash | patch -p1 --no-backup-if-mismatch
and check if exit code is zero. Fail if exit code is not zero.
-
Find files removed from local checkout by the patch command and execute
git rmfor them. -
Find files added or modified by the patch command and execute
git addfor them. -
Commit changes by
git commitcommand and use commit title and description fromcommit_hashcommit.
Arguments
- $1 (required): Commit hash (e.g.,
902409c0) of commit to cherry-pick.
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.
- 1mo ago First seen · 51 lines · 13 tokens per session scan A b9f8cc4a254f
cherry-pick-by-patch is a command published in the GitHub repository openshift-eng/ai-helpers (121 stars, last pushed today), licensed Apache-2.0. It adds 13 tokens to every session and 353 once invoked, about $0.0001 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-09-03.
Other commands, from other repositories
standup
Review my git commits from the past workday and generate a standup summary.
git
The pre-finish status: branch, hygiene findings, message checks, workflow lint, template state.
session-report
Capture what changed this session and why, scoped to the current branch. Read by ship verbs when synthesizing the commit message; deleted after a successful commit.
commit
A command that examines staged Git changes and proposes a commit message using the Conventional Commits format, such as feat, fix, or docs. Git is a tool for tracking changes to code.
git-workflow
Run review, tests, and commit steps, then prepare a pull request.
commit
Context-aware Git commit assistant with smart pre-commit checks.