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 darellchua2/opencode-config-template --skill pr-merge-workflow-skillgit clone --depth 1 https://github.com/darellchua2/opencode-config-templateWrote 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/darellchua2/opencode-config-template/pr-merge-workflow-skill)<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/pr-merge-workflow-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/pr-merge-workflow-skill/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/darellchua2/opencode-config-template/pr-merge-workflow-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/pr-merge-workflow-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00105 | $0.02627 |
| Opus 5.5 | $0.00042 | $0.01051 |
| Sonnet 5.5 | $0.00021 | $0.00525 |
| Haiku 4.5 | $0.00011 | $0.00263 |
Grade A, and why
pr-merge-workflow-skill 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 — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PR Merge + Monitor + Fix Workflow
Use when the user says phrases like "pr merge to main", "merge the PR to develop", "merge to [branch]", "complete the PR", or "merge it". This skill handles everything after the PR is approved and ready to merge.
Prerequisites
Before executing, confirm:
- Current branch has an open PR targeting the specified branch
- PR is in a mergeable state (no conflicts, reviews passed)
- If not, tell the user what's blocking and stop
Phase 0: Promotion Pre-flight (long-lived → long-lived merges)
Runs ONLY when the PR's head AND base are both long-lived lanes (the Phase 1 classifier list — exact, case-sensitive; an unlisted environment-shaped name → treat as long-lived or ask). Feature/fix heads skip this phase entirely.
Divergence check (one API call, no local checkout)
gh api repos/{owner}/{repo}/compare/{target}...{source} — BASE=target,
HEAD=source — read ahead_by (source-side commits: what the promotion will
carry) and behind_by (target-only commits the source lacks — fixes that
landed directly on the target lane):
ahead_by == 0andbehind_by == 0→ report "nothing to promote" and stop.behind_by == 0→ no backmerge needed; go straight to Phase 1.behind_by > 0→ backmerge first (below), then Phase 1.
Backmerge PR (target → source)
Capture target-only fixes before promoting so both lanes converge:
- Create the backmerge PR:
gh pr create --head <target> --base <source> --title "chore(backmerge): <target> → <source>" --body "Capture <target>-only fixes before promoting <source> → <target> (compare behind_by=N)." - Merge with a merge commit (long-lived head):
gh pr merge <number> --merge --delete-branch=false— never--squash(duplicates content under new SHAs) and never--admin(bypasses review protection). - Mergeable is
BLOCKED(conflicts or missing review) → report the blocker and stop. Message convention persemantic-release-convention-skill§Promotion Merge Commits. - Watch CI on the source branch (Phase 2) — the backmerge must be green before promoting.
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 · +54 lines · +48 tokens per session cac67c7a26bb
- 2mo ago Changed 4c0474dbdd4a
- 3mo ago First seen · 165 lines · 57 tokens per session scan A f7ba5fbdf350
pr-merge-workflow-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 105 tokens to every session and 2,627 once invoked, about $0.0004 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-09-03.
pr-merge-workflow-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pr-merge-workflow-skilldarellchua2/opencode-config-template | Skill | 6 | 2mo ago | Apache-2.0 | A | 105 | Claude Code, Codex |
| release-notesbasementstudio/xmcp | Skill | 1.4k | 3d ago | MIT | A | 36 | Claude Code, Codex |
| Release Notes GeneratorAgentEra/Agently | Skill | 1.7k | 23d ago | Apache-2.0 | A | 46 | Claude Code, Codex |
| pinned-release-checklistAgentEra/Agently | Skill | 1.7k | 23d ago | Apache-2.0 | A | 18 | Claude Code, Codex |
| Release ChecklistAgentEra/Agently | Skill | 1.7k | 23d ago | Apache-2.0 | A | 19 | Claude Code, Codex |
| Release Readiness ReviewerAgentEra/Agently | Skill | 1.7k | 23d ago | Apache-2.0 | A | 18 | Claude Code, Codex |
| maf-release-watcherjoslat/maf-doctor | Skill | 14 | 5d ago | MIT | A | 94 | Claude Code, Codex |