merge

merge is a skill for Claude Code, Codex from metedata/Remarc. It costs 15 tokens per session (268 once invoked), scanned A, original, MIT.

A procedure for merging a Git worktree branch into the main branch. A worktree is a separate working copy of a repository that can use another branch.

In plain words
What is it for?
It helps identify the worktree, build the application before and after the merge, relaunch the app, and clean up the merged worktree and branch.
Why use it?
It reduces the risk of merging code that does not build and leaves behind unused branches or working copies.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/metedata/remarc/merge
Any agent
npx skills add metedata/Remarc --skill merge
Clone the repo
git clone --depth 1 https://github.com/metedata/Remarc

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 merge

README.md
[![agentmods](https://agentmods.dev/badge/skills/metedata/remarc/merge.svg)](https://agentmods.dev/skills/metedata/remarc/merge)
Your own site
<a href="https://agentmods.dev/skills/metedata/remarc/merge"><img src="https://agentmods.dev/badge/skills/metedata/remarc/merge.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 268 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00015 $0.00268
Opus 5 $0.00008 $0.00134
Sonnet 5 $0.00003 $0.00054
Haiku 4.5 $0.00002 $0.00027

Measured 5d ago against content hash 4b49d3233f92, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

merge 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 5d 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.

.claude/skills/merge/SKILL.md · 29 lines

What it actually says

Merge Worktree Branch to Main

  1. Run git worktree list to identify the active worktree and its branch
  2. Build in the worktree to confirm it compiles cleanly:
    cd <worktree>/app && xcodebuild build -workspace Remarc.xcworkspace -scheme Remarc -configuration Debug -derivedDataPath "$(pwd)/DerivedData"
    
  3. From the main repo root, merge:
    git merge --no-ff <branch>
    
  4. Rebuild on main to verify the merge:
    cd app && xcodebuild build -workspace Remarc.xcworkspace -scheme Remarc -configuration Debug -derivedDataPath "$(pwd)/DerivedData"
    
  5. Relaunch: pkill -x Remarc; sleep 0.5; open app/DerivedData/Build/Products/Debug/Remarc.app
  6. Clean up the worktree and branch:
    git worktree remove .worktrees/<name>
    git branch -d <branch>
    
  7. Ask the user if they want to push to origin. Do NOT push without confirmation.
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. 5d ago First seen · 29 lines · 15 tokens per session scan A 4b49d3233f92

Subscribe to this mod's changes

merge is a skill published in the GitHub repository metedata/Remarc (66 stars, last pushed today), licensed MIT. It adds 15 tokens to every session and 268 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

swift-fast-mcp

Generate a complete MCP server project in Swift using the FastMCP library. Use when asked to create a Swift MCP server, build an MCP tool server, or scaffold a Model Context Protocol project in Swift.

mehmetbaykar/swift-fast-mcp · 46 tokens

peekaboo

Use Peekaboo for macOS desktop automation, screenshots, visual UI maps, native accessibility inspection, app/window/menu/dialog control, native app and browser chrome control, browser-page MCP tooling, MCP diagnostics, and Peekaboo repo validation. Use when Codex needs current macOS UI state, direct desktop control…

openclaw/Peekaboo · 82 tokens

release-peekaboo

Peekaboo release: notarization, npm/GitHub release, appcast, verify, closeout.

openclaw/Peekaboo · 28 tokens

scarf-template-author

Scaffold a new Scarf project OR enrich an existing one after a Scarf "Upgrade Project" — dashboard, optional configuration schema, optional cron job, AGENTS.md, and (via the scarf-miniapp-author skill) a starter mini-app — from a short conversational interview. Output is immediately usable locally and cleanly…

awizemann/scarf · 79 tokens

scarf-miniapp-author

Author a Scarf mini-app — a small sandboxed web surface (HTML/CSS/JS) that renders inside a project's cockpit and talks to the bound Hermes session + project data through the versioned window.scarf bridge. Use to build a bespoke panel (a task board, an approval queue, a chart, a data table) for a project.

awizemann/scarf · 78 tokens

awesome-swift-macos-apps-docs

Use when adding, updating, or validating app entries in the awesome-swift-macos-apps repository, especially when maintaining both README.md and README.zh.md with concise one-sentence descriptions, correct category placement, and consistent bilingual formatting.

jaywcjlove/awesome-swift-macos-apps · 57 tokens