pr-merge-temporal

pr-merge-temporal is a skill for Claude Code, Codex from OutlineDriven/odin-gemini-cli-extension. It costs 47 tokens per session (529 once invoked), scanned A, a copy of pr-merge-temporal, Apache-2.0.

A workflow for combining several GitHub pull requests into a temporary integration branch before merging them into the main branch.

In plain words
What is it for?
Use it to fetch pull requests, choose a safe dependency order, merge them one by one, handle conflicts, and validate the combined result before advancing the base branch.
Why use it?
It lets you test how changes work together and resolve conflicts in an isolated branch. Pull requests are proposed code changes awaiting review or merging.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to fetch pull requests, choose a safe dependency order, merge them one by one, handle conflicts, and validate the combined result before advancing the base branch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/outlinedriven/odin-gemini-cli-extension/pr-merge-temporal
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 OutlineDriven/odin-gemini-cli-extension --skill pr-merge-temporal
Clone the repo
git clone --depth 1 https://github.com/OutlineDriven/odin-gemini-cli-extension

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 pr-merge-temporal

README.md
[![agentmods](https://agentmods.dev/badge/skills/outlinedriven/odin-gemini-cli-extension/pr-merge-temporal/github.svg)](https://agentmods.dev/skills/outlinedriven/odin-gemini-cli-extension/pr-merge-temporal)
Your own site
<a href="https://agentmods.dev/skills/outlinedriven/odin-gemini-cli-extension/pr-merge-temporal"><img src="https://agentmods.dev/badge/skills/outlinedriven/odin-gemini-cli-extension/pr-merge-temporal/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 pr-merge-temporal

Your own site · 80×15
<a href="https://agentmods.dev/skills/outlinedriven/odin-gemini-cli-extension/pr-merge-temporal"><img src="https://agentmods.dev/badge/skills/outlinedriven/odin-gemini-cli-extension/pr-merge-temporal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 529 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.
Origin 100% copy Near-identical to another mod 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.00047 $0.00529
Opus 5 $0.00023 $0.00264
Sonnet 5 $0.00009 $0.00106
Haiku 4.5 $0.00005 $0.00053

Measured 12d ago against content hash 077f1c4a0799, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pr-merge-temporal 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 12d 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.

Origin

This is a copy

100% identical to pr-merge-temporal — 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.

skills/pr-merge-temporal/SKILL.md · 48 lines

How it starts

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

Smart Merge to Temporal Branch

Merge multiple PRs into a temporal integration branch for validation before merging to base.

Process

  1. Detect base branch: Identify the default branch via git remote show origin or repo conventions.

  2. Enumerate PRs: List all PRs to merge. For each, fetch the latest HEAD.

  3. Create temporal branch: Fetch latest and branch from the remote base tip.

    git fetch origin
    git checkout -b temporal/<timestamp> origin/<base>
    
  4. 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.
  5. Sequential merge with conflict handling — for each PR in order: a. Attempt git merge --no-ff <pr-branch> into the temporal branch. b. If merge succeeds cleanly, continue to next PR. c. If conflicts occur:

    • Analyze each conflict using difft and codebase context.
    • Apply resolution using structural understanding (prefer base for formatting, PR for logic).
    • If a conflict cannot be resolved with confidence, abort (git merge --abort), stop, and report the conflict with both sides and a recommended resolution. d. After each successful merge, run available build/test commands to catch regressions early.
  6. Validate temporal branch: Once all PRs are merged, run full build/test suite if available.

  7. Report results: Present the validated temporal branch to the user. Do NOT merge into base automatically — only advance base if the user explicitly requests it.

  8. 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. The temporal branch is abandoned: git checkout <base> — base remains untouched.

Output

Report for each PR: merged successfully, conflicts resolved (with details), or blocked (with reason). Include the temporal branch name for user review.

Read the full file on GitHub · 48 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. 12d ago First seen · 48 lines · 47 tokens per session scan A 077f1c4a0799

Subscribe to this mod's changes

pr-merge-temporal is a skill published in the GitHub repository OutlineDriven/odin-gemini-cli-extension (5 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 47 tokens to every session and 529 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to pr-merge-temporal, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

git-branchless

Enforce idiomatic git-branchless during planning and executing tasks — detached-HEAD-first work, in-memory rebase via git move, event-log recovery via git undo, deferred branch creation, speculative-merge git sync for base updates. Use when planning or executing multi-commit work, history rewrites, stack edits…

OutlineDriven/odin-codex-plugin · 131 tokens

qa

Conversational QA mode — user reports bugs in plain language, agent clarifies minimally, files GitHub issues that survive refactors. Trigger on "QA", "QA session", or ad-hoc bug reporting without a fixed deliverable shape. Distinct from branch-scoped and PR-scoped review.

OutlineDriven/odin-codex-plugin · 62 tokens

request-refactor-plan

Plan a refactor as a sequence of tiny, working commits via adversarial interview. Default output is a markdown plan at /docs/refactor-plans/ .md; pass --emit-issue to also file a GitHub issue. Trigger on structural refactors (rename, extract, move, split, dedupe) — NOT new features.

OutlineDriven/odin-codex-plugin · 80 tokens

setup-gitignore

Initialize or idempotently revise the repo's .gitignore by composing gitignore.io templates, AI-tooling/IDE patterns, and confirmed noise from git status. Use when the user says "set up gitignore", "fix gitignore", or untracked files keep appearing in git status.

OutlineDriven/odin-codex-plugin · 64 tokens

setup-pre-commit

Install git pre-commit hooks via the project's hook tool — Husky+lint-staged (JS), pre-commit (Python/OCaml), lefthook (Go), cargo-husky (Rust). Use when the user wants commit-time formatting, linting, type-checking, or test gates. Detects ecosystem first.

OutlineDriven/odin-codex-plugin · 73 tokens

pr-merge-base

Merge one or more PRs into the base branch with queue-like sequencing and conflict resolution. Use when merging PRs that may conflict with each other or the base, requiring ordered application and intelligent conflict handling.

OutlineDriven/odin-codex-plugin · 46 tokens