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 OutlineDriven/odin-gemini-cli-extension --skill pr-merge-basegit clone --depth 1 https://github.com/OutlineDriven/odin-gemini-cli-extensionWrote 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/outlinedriven/odin-gemini-cli-extension/pr-merge-base)<a href="https://agentmods.dev/skills/outlinedriven/odin-gemini-cli-extension/pr-merge-base"><img src="https://agentmods.dev/badge/skills/outlinedriven/odin-gemini-cli-extension/pr-merge-base/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/skills/outlinedriven/odin-gemini-cli-extension/pr-merge-base"><img src="https://agentmods.dev/badge/skills/outlinedriven/odin-gemini-cli-extension/pr-merge-base.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.00046 | $0.00587 |
| Opus 5.5 | $0.00018 | $0.00235 |
| Sonnet 5.5 | $0.00009 | $0.00117 |
| Haiku 4.5 | $0.00005 | $0.00059 |
Grade A, and why
pr-merge-base 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 3mo 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.
This is a copy
100% identical to pr-merge-base — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Smart Merge to Base Branch
Merge one or more PRs into the base branch (main/master) using queue-like sequencing.
Process
-
Detect base branch: Identify the default branch (
main,master, or repo-specific) viagit remote show originor repo conventions. -
Enumerate PRs: List all PRs to merge. For each, fetch the latest HEAD.
-
Create checkpoint: Record the current base branch tip as a rollback point.
CHECKPOINT=$(git rev-parse HEAD) -
Create integration branch: Work on a temporary branch to validate before touching base.
git checkout -b merge-queue/<timestamp> <base> -
Determine merge order:
- If the user specifies an order, use that.
- Otherwise, compute dependency/topological order (if PR B depends on PR A, merge A first).
- If PRs are independent with no clear ordering, present the list and ask the user to confirm or reorder before proceeding.
-
Sequential merge with conflict handling — for each PR in order: a. Attempt
git merge --no-ff <pr-branch>into the integration branch. b. If merge succeeds cleanly, continue to next PR. c. If conflicts occur:- Analyze each conflict file using
difftand codebase context. - Apply resolution using structural understanding (prefer base for formatting, PR for logic).
- If a conflict cannot be resolved with confidence, abort this merge (
git merge --abort), stop and report the conflict to the user with both sides and a recommended resolution. d. After each successful merge, verify the build still passes (if build commands are available).
- Analyze each conflict file using
-
Validate integration branch: Once all PRs are merged on the integration branch, run full build/test suite if available.
-
Report results: Present the validated integration branch to the user. Do NOT advance the base branch automatically — only update base if the user explicitly requests it.
-
Abort conditions — stop the queue and report if:
- A conflict cannot be safely auto-resolved.
- A post-merge build/test fails.
- A PR has been superseded or closed.
Roll back:
git checkout <base> && git branch -D merge-queue/<timestamp>— base remains untouched at checkpoint.
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.
- 3mo ago First seen · 52 lines · 46 tokens per session scan A 1680d8c99c7e
pr-merge-base is a skill published in the GitHub repository OutlineDriven/odin-gemini-cli-extension (4 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 46 tokens to every session and 587 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to pr-merge-base, differing in 0 lines, and is treated as a copy.
pr-merge-base compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pr-merge-baseOutlineDriven/odin-gemini-cli-extension | Skill | 4 | 4mo ago | Apache-2.0 | A | 46 | Claude Code, Codex |
| git-branchlessOutlineDriven/odin-codex-plugin | Skill | 14 | 4mo ago | Apache-2.0 | A | 131 | Claude Code, Codex |
| qaOutlineDriven/odin-codex-plugin | Skill | 14 | 4mo ago | Apache-2.0 | A | 62 | Claude Code, Codex |
| setup-pre-commitOutlineDriven/odin-codex-plugin | Skill | 14 | 4mo ago | Apache-2.0 | A | 73 | Claude Code, Codex |
| pr-merge-baseOutlineDriven/odin-codex-plugin | Skill | 14 | 4mo ago | Apache-2.0 | A | 46 | Claude Code, Codex |
| request-refactor-planOutlineDriven/odin-codex-plugin | Skill | 14 | 4mo ago | Apache-2.0 | A | 80 | Claude Code, Codex |
| setup-gitignoreOutlineDriven/odin-codex-plugin | Skill | 14 | 4mo ago | Apache-2.0 | A | 64 | Claude Code, Codex |