# Auto Merge

> Bot that auto-merges green GitHub PRs. Automatically merge open PRs that have passing CI, no blocking reviews, and no conflicts

- Skill: `auto-merge`
- Category: Core (https://www.aeon.fun/skills#core)
- Default schedule: Daily at 14:00 UTC (cron `0 14 * * *`)
- Last updated: 2026-11-05 (commit 504a21d)
- Source: https://github.com/aeonfun/aeon/blob/main/skills/auto-merge/SKILL.md

## What it does

Merge open PRs that are fully green **and** pass an explicit safety policy. The policy exists because this skill runs autonomously with write access - a bug in the gate is a bug that ships to main.

## Input: the var setting

Repo (owner/repo) to target. If empty, uses every repo in memory/watched-repos.md.
Env: `AUTO_MERGE_DRY_RUN=1` logs intent without merging. `MAX_AUTO_MERGE=N` caps merges per run (default 3).

## What it needs

No extra API keys or MCP servers beyond the model you connected to Aeon.

## Install

```bash
bin/add-skill aeonfun/aeon auto-merge
```

```yaml
skills:
  auto-merge: { enabled: true, schedule: "0 14 * * *", var: "" }
```

## Related skills

- [Auto-Workflow Builder](https://www.aeon.fun/skills/auto-workflow): Two-mode aeon.yml workflow builder - analyze inspects URLs and emits a tiered, signal-verified skill-enablement plan plus an aeon.yml diff; enable flips slugs to enabled:true and opens a PR
- [Aeon Update](https://www.aeon.fun/skills/aeon-update): Pull framework updates from the upstream Aeon repo into this instance - 3-way merges canon's new commits into a PR, never clobbering operator config
- [Fleet Control](https://www.aeon.fun/skills/fleet-control): Operate managed Aeon instances from memory/instances.json - health-check, dispatch, and status snapshots (control), plus a fleet scorecard of runs, tokens, cost, and reliability (scorecard)
- [Strategy Builder](https://www.aeon.fun/skills/strategy-builder): Draft STRATEGY.md from a goal - read the operator's brief (goal, repo, links) plus the repo README and memory, then write a tight north-star/priorities/audience/constraints strategy
- [Fork Fleet](https://www.aeon.fun/skills/fork-fleet): Fork divergence monitor - tracks where the fleet's active forks diverge in CODE (unique commits, new/modified skills) and CONFIG (enable/var/model/schedule vs upstream), gated on real change
- [Spawn Instance](https://www.aeon.fun/skills/spawn-instance): Clone this Aeon agent into a new GitHub repo - fork, configure skills, validate, and register in the fleet
