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.
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.
---
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. Create a dedicated folder for this skill in your local skills library.
- 2. Place SKILL.md into that folder.
- 3. Restart Syntic and invoke this skill on matching tasks.
Syntic Code (CLI)
- 1. Save SKILL.md in your local Syntic Code skills directory.
- 2. Keep related files in the same skill folder.
- 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 LinkRelated Skills
a11y-audit
Use when auditing WCAG 2.2 Level A/AA accessibility, fixing violations in React, Next.js, Vue, Angular...
Engineeringadversarial-reviewer
Use when reviewing recent code changes or a PR before merge and you want a genuinely critical review, not...
Engineeringagent-designer
Use when architecting multi-agent systems, selecting orchestration patterns, or evaluating agent performance.
Engineeringagent-harness
Use when building bounded agentic loops with verified task execution and state machines.