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.
npx skills add cboone/agent-harness-plugins --skill merge-maingit clone --depth 1 https://github.com/cboone/agent-harness-pluginsWrote 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/skills/cboone/agent-harness-plugins/merge-main)<a href="https://agentmods.dev/skills/cboone/agent-harness-plugins/merge-main"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/merge-main.svg" alt="Measured on agentmods" 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.00085 | $0.01149 |
| Opus 5 | $0.00043 | $0.00575 |
| Sonnet 5 | $0.00017 | $0.00230 |
| Haiku 4.5 | $0.00009 | $0.00115 |
Grade A, and why
merge-main 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 7d 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 — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Merge Main
Fetch and merge the repository's base branch into the current feature branch.
Options
The user may provide these options inline:
- --base
<branch>: Override the auto-detected base branch (e.g.,--base develop)
Workflow
1. Pre-Flight Checks
Run these commands in parallel to understand the current state:
# Check for uncommitted changes
git status
# Detect the repository's default branch
gh repo view --json defaultBranchRef -q '.defaultBranchRef.name'
# Confirm which branch we are on
git branch --show-current
If --base <branch> was specified, use that value instead of the detected default branch.
If gh is not available, fall back to detecting the default branch with:
git remote show origin | grep 'HEAD branch' | sed 's/.*: //'
If the current branch is the default branch itself, warn the user that merging the base branch into itself is a no-op and stop.
2. Handle Uncommitted Changes
If git status shows uncommitted changes (staged or unstaged):
- Warn the user that there are uncommitted changes.
- Ask whether to:
- Stash: Run
git stashbefore proceeding, thengit stash popafter the merge completes. - Commit first: Invoke the
/commitskill, then continue with the merge. - Abort: Stop without doing anything.
- Stash: Run
3. Fetch and Merge
git fetch origin <base-branch>
git merge origin/<base-branch>
Where <base-branch> is the detected or overridden base branch name.
4. Handle Merge Result
Clean Merge
If the merge completes without conflicts:
- Report success.
- Show a summary of what was merged:
git log HEAD@{1}..HEAD --oneline
Already Up to Date
If git reports "Already up to date.", report that the branch is already current with the base branch and stop.
Conflicts
If the merge produces conflicts, proceed to the conflict resolution workflow below.
5. Conflict Resolution
When merge conflicts occur:
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.
- 7d ago First seen · 162 lines · 85 tokens per session scan A 9d2b1fd9e778
merge-main is a skill published in the GitHub repository cboone/agent-harness-plugins (2 stars, last pushed 1mo ago), licensed MIT. It adds 85 tokens to every session and 1,149 once invoked, about $0.0004 per session on Opus 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.
Other skills, from other repositories
release-check
Pre-release verification checklist. Validates features, tests, docs, security, and quality gates before shipping. Delegates to the Centinela (QA) agent.
05-review
Review a diff read-only on three axes, code, behavior versus the plan, and relevancy, into one verdict report. Use before shipping a change. Not for fixing findings or auditing a codebase.
00-repo-init
Initialize a project repository with git init, a default branch, a bootstrap commit, CONTRIBUTING.md, and optionally the remote. Use when the user wants to init or set up a new repo, or publish to a remote. Not for committing, opening a PR, or tagging.
01-commit
Create an atomic git commit with a conventional message, optionally pushing. Use when the user wants to commit changes, optionally pushing the branch. Not for amending, rebasing, opening a pull request, or tagging a release.
02-pull-request
Create a draft pull or merge request from the current branch, in whatever VCS tool the project uses. Use when the user wants to open a pull or merge request. Not for committing, pushing, or merging a branch.
03-release-tag
Cut a semver release with an annotated tag and release notes. Use when the user wants to release, tag a release, bump the version, or cut a version. Not for a plain commit, a pull request, or amending an existing tag.