Syntic

Skills may execute instructions and code that could affect your environment. Marketplace scans reduce risk but do not guarantee safety. Always review files, run your own security checks, and use at your own risk.

EngineeringFree Safe

merge

Security Scan Summary

Status: Safe

Source: Syntic Skills registry

Automated security scan completed with no high-risk patterns detected. Manual review is still required.

About This Skill

Merge the winning agent's branch into base, archive losers, and clean up worktrees. Use when the user runs /hub:merge or asks to land the winning AgentHub result and tidy the session.

Downloadable SKILL.md

Download SKILL.md and place it in your Syntic skills folder. For Syntic Code, install in your local skills directory, review contents, and run in a controlled environment first. Acknowledge the risk notice above to enable the download.

SKILL.md
---
name: merge
description: Merge the winning agent's branch into base, archive losers, and clean up worktrees. Use when the user runs /hub:merge or asks to land the winning AgentHub result and tidy the session.
category: Engineering
version: 1.0.0
tools: []
---

# Hub Merge — Land Winning Result

Merge the best agent's branch into base, archive losers via tags, and clean up worktrees.

## Steps

1. Identify winner (from most recent eval, or via --agent flag).
2. Merge winner into base_branch with --no-ff.
3. Archive losing branches via git tags (commits preserved, refs deleted).
4. Clean up worktrees.
5. Write merge summary to .agenthub/board/results/.
6. Update session state to "merged".

## Safety Guarantees

- **Confirm before merging** — show diff summary first.
- **Never force-push** — merge always uses --no-ff for clear history.
- **Archive, don't delete** — losers' commits preserved via hub/archive/{session-id}/{agent-id} tags.
- **Clean worktrees** — remove orphan directories.

## Output

Confirm to user:
- Winner merged into {base_branch}
- Losers archived with tags hub/archive/{session-id}/{agent-N}
- Worktrees cleaned
- Session state: merged

---

Safe multi-agent session cleanup.

Bundle Download

Includes SKILL.md and bundled support files where provided. Risk acknowledgement is required.

Install Targets

Syntic App

  1. 1. Create a dedicated folder for this skill in your local skills library.
  2. 2. Place SKILL.md into that folder.
  3. 3. Restart Syntic and invoke this skill on matching tasks.

Syntic Code (CLI)

  1. 1. Save SKILL.md in your local Syntic Code skills directory.
  2. 2. Keep related files in the same skill folder.
  3. 3. Run in a safe environment and validate outputs.

Source

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/agenthub/skills/merge/SKILL.md

Open Source Link
Engineering

Related Skills