post-merge-scan

post-merge-scan is a skill for Claude Code, Codex from cobusgreyling/loop-engineering. It costs 33 tokens per session (211 once invoked), scanned A, original, MIT.

A review task for examining recent changes merged into a code repository. It looks for technical debt, unfinished TODO or FIXME comments, debug code, and new lint warnings, then creates a prioritized cleanup list.

In plain words
What is it for?
Use it after recent merges to identify cleanup work, separate small fixes from architectural debt, and record the results in post-merge-state.md.
Why use it?
It helps find small problems left behind after changes are merged without treating larger design problems as quick fixes.

Skill for Claude CodeCodex

Part of the loop-engineering plugin — 15 skills, 2 agents shipped together

About the project

Loop Engineering is a collection of patterns, starter projects, and command-line tools for designing recurring workflows around AI coding agents. It is for developers who want agents to discover work, make changes, verify results, and preserve project state across tasks. The catalogue entries provide the project's reusable skills, agents, plugin, and instruction.

cobusgreyling/loop-engineering · 10,959 stars · on GitHub

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/cobusgreyling/loop-engineering/post-merge-scan
Any agent
npx skills add cobusgreyling/loop-engineering --skill post-merge-scan
Clone the repo
git clone --depth 1 https://github.com/cobusgreyling/loop-engineering

Made for: Claude Code, Codex.

Or install loop-engineering, the plugin that ships this one along with the rest of its 15 skills, 2 agents.

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 post-merge-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/cobusgreyling/loop-engineering/post-merge-scan.svg)](https://agentmods.dev/skills/cobusgreyling/loop-engineering/post-merge-scan)
Your own site
<a href="https://agentmods.dev/skills/cobusgreyling/loop-engineering/post-merge-scan"><img src="https://agentmods.dev/badge/skills/cobusgreyling/loop-engineering/post-merge-scan.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 211 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.00033 $0.00211
Opus 5 $0.00016 $0.00105
Sonnet 5 $0.00007 $0.00042
Haiku 4.5 $0.00003 $0.00021

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

Security

Grade A, and why

post-merge-scan 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.

starters/post-merge-cleanup-opencode/skills/post-merge-scan/SKILL.md · 35 lines

What it actually says

Post-Merge Scan Skill

You are a post-merge cleanup agent. Scan recent merges for follow-up work.

Scan Sources

  • Recent commits and PRs merged to main
  • git diff HEAD~10 for left-behind debug code
  • TODO/FIXME/HACK comments in changed files
  • Lint warnings introduced by recent changes

Classification

  • Small fix: doc/comment/lint/debug — auto-fix candidate
  • Architectural debt: ticket for human
  • Denylist path: escalate to human

Output

Update post-merge-state.md with prioritized cleanup list.

Rules

  • Run off-peak (evening).
  • Never auto-fix architectural debt.
  • Max 2 fix attempts per run.
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 · 35 lines · 33 tokens per session scan A 4b16b96ce2cf

Subscribe to this mod's changes

post-merge-scan is a skill published in the GitHub repository cobusgreyling/loop-engineering (10,959 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 211 once invoked, about $0.0002 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

github-actions

Use when authoring or fixing GitHub Actions CI/CD — workflows under .github/workflows, triggers, job matrix, caching, token permissions, OIDC cloud deploys, environment gates, reusable workflows. NOT the Dockerfile or image build strategy (that is docker), NOT the branching model (that is git-workflow), NOT release…

ericrisco/rsc-harness · 81 tokens

github-workflow-automation

Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI/CD pipelines, and comprehensive repository management.

ruvnet/ruflo · 26 tokens

securing-github-actions-workflows

This skill covers hardening GitHub Actions workflows against supply chain attacks, credential theft, and privilege escalation. It addresses pinning actions to SHA digests, minimizing GITHUBTOKEN permissions, protecting secrets from exfiltration, preventing script injection in workflow expressions, and implementing…

adriannoes/awesome-agentic-ai · 68 tokens

deployment

Use when taking an app from source to live: choosing the deploy target from requirements (Hetzner+Coolify vs Vercel vs a third), then wiring container → CI → registry → host with build secrets, healthchecks and rollback. NOT one platform's mechanics (that is coolify, vercel, railway, render), NOT the Dockerfile alone…

ericrisco/rsc-harness · 86 tokens

aw-author

Author, validate, and improve GitHub Agentic Workflow (gh-aw) markdown files. Use when the user wants to create a new workflow, validate an existing workflow, improve a workflow, or debug workflow issues. Triggers on: "aw-author", "agentic workflow", "gh-aw workflow", "workflow markdown", "workflow frontmatter"…

zircote-plugins/github-agentic-workflows · 91 tokens

aw-daily

Fully autonomous daily pipeline for the aw-author plugin. Executes intelligence research (web search + GitHub activity queries), posts to Discussions, performs gap analysis against reference files, creates issues, implements changes on develop branch, creates PR, requests review, and auto-merges. Designed for…

zircote-plugins/github-agentic-workflows · 94 tokens