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 LandonSchropp/agent-toolkit --skill git-merge-into-maingit clone --depth 1 https://github.com/LandonSchropp/agent-toolkitWrote 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/landonschropp/agent-toolkit/git-merge-into-main)<a href="https://agentmods.dev/skills/landonschropp/agent-toolkit/git-merge-into-main"><img src="https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/git-merge-into-main/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/landonschropp/agent-toolkit/git-merge-into-main"><img src="https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/git-merge-into-main.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.00041 | $0.00819 |
| Opus 5.5 | $0.00016 | $0.00328 |
| Sonnet 5.5 | $0.00008 | $0.00164 |
| Haiku 4.5 | $0.00004 | $0.00082 |
Grade A, and why
git-merge-into-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 2mo 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 — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Merge Into Main
Merges a finished branch into the default branch (e.g. main) by rebasing it on top, then fast-forwarding. For personal repos that integrate directly to main rather than through pull requests.
This skill does no reviewing and creates no commits.
Process
-
Check preconditions: The branch must be committed with no unstaged files. It must also be reviewed by the user (not the same as a pull request review). Stop if either is missing.
-
Rebase onto the default branch: Find the default branch with
git default-branch, then rebase the branch onto it. Always rebase, even for a trivial branch. Resolve any conflicts before continuing — do not--skipor force past them. -
Fast-forward and push: Advance the default branch to the rebased branch with a fast-forward only (no merge commit), then push. If the default branch is checked out in another worktree, run the update from that worktree's directory — Git refuses to move a branch that is checked out elsewhere.
-
Delete the merged branch: Once the default branch has the commits, delete the branch with
git branch -d <branch>(the-drefuses if it isn't fully merged, so it's a safety check). Run it from the default-branch worktree, never from inside the branch's own worktree.Git won't delete a branch that is checked out anywhere, so free it first. If the branch has a worktree that is no longer needed, remove it with
git worktree remove <branch-worktree>. If something else owns that worktree's lifecycle — thels-agent:close-workspaceskill removes herdr worktrees itself — leave it in place and detach it instead withgit -C <branch-worktree> checkout --detach.If the branch was pushed, also delete the remote with
git push origin --delete <branch>.
default_branch=$(git default-branch)
git rebase "$default_branch"
git -C <default-branch-worktree> merge --ff-only <branch>
git -C <default-branch-worktree> push origin "$default_branch"
git -C <default-branch-worktree> worktree remove <branch-worktree> # or checkout --detach, if the worktree stays
git -C <default-branch-worktree> branch -d <branch>
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.
- 2mo ago Changed · +1 lines · +7 tokens per session 11c93d938366
- 3mo ago First seen · 48 lines · 34 tokens per session scan A f7c05b53c073
git-merge-into-main is a skill published in the GitHub repository LandonSchropp/agent-toolkit (3 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 819 once invoked, about $0.0002 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-08-31.
git-merge-into-main compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| git-merge-into-mainLandonSchropp/agent-toolkit | Skill | 3 | today | MIT | A | 41 | Claude Code |
| artifactscloudflare/skills | Skill | 3.5k | 5d ago | Apache-2.0 | A | 66 | Claude Code |
| skill-upstream-prluongnv89/asm | Skill | 976 | yesterday | MIT | A | 56 | Claude Code |
| skill-changelogluongnv89/asm | Skill | 976 | yesterday | MIT | A | 53 | Claude Code |
| meanest-editorelvisun/newsjack | Skill | 1.7k | 5d ago | MIT | A | 33 | Claude Code |
| headline-generatorelvisun/newsjack | Skill | 1.7k | 5d ago | MIT | A | 88 | Claude Code |
| ai-visibility-writingelvisun/newsjack | Skill | 1.7k | 5d ago | MIT | A | 137 | Claude Code |