# X-Harness Safe Main: merge-only main with owner approval

> Use when the user asks to protect the main branch, set up a merge workflow for a coding agent, merge a branch into main, push main, or stop an agent from committing straight to main. Keeps main merge-only through git hooks - no direct commits, no history rewrites, and merges only after checks pass a

X-Harness Safe Main: merge-only main with owner approval is a paid AI agent skill on Agensi by Evgeny Romanov. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.9 (one-time purchase)
- Creator: [Evgeny Romanov](https://www.agensi.io/creators/cheusbeats)
- Version: 1.1
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/x-harness-safe-main-merge-only-main-with-owner-approval

## About this skill

Part of X-Harness: Plan Registries, Safe Main, Quality Gate. All three share one git-hook setup.

Agents cannot commit to main, force-push or merge without you. Every merge needs your approval, tied to the exact branch tip; a new commit cancels it. `ready` checks the branch, conflicts and your test command before the agent asks. Git hooks, so it works in any agent.

## Requires

- Git
- Python
- laravel
- PHP

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the X-Harness Safe Main: merge-only main with owner approval skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does X-Harness Safe Main: merge-only main with owner approval do?

Use when the user asks to protect the main branch, set up a merge workflow for a coding agent, merge a branch into main, push main, or stop an agent from committing straight to main. Keeps main merge-only through git hooks - no direct commits, no history rewrites, and merges only after checks pass a

### Which AI agents support X-Harness Safe Main: merge-only main with owner approval?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use X-Harness Safe Main: merge-only main with owner approval?

Connect your AI agent to Agensi through MCP, then ask it to use X-Harness Safe Main: merge-only main with owner approval on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
