Agent Plugins Marketplace
← All plugins

protect-main-branch

v0.0.2

Block direct commits and pushes to main or master. Enforced at commit time by reading the current branch, and at push time by parsing the refs the agent is pushing.

Agent Plugins1 Skill

By chock-coreLicense: Apache-2.03 GitHub starsUpdated 2 hours ago

Directory evidence

Runtimes
Agent Plugins
Parsed components
1 skill or MCP entry
Source updated
Oct 4, 2026
Manifest status
Canonical path parsed

The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →

Get the plugin

git clone https://github.com/open-coder-ai/chock-catalog

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is base/protect-main-branch/.

This listing currently publishes only the generic Agent Plugins format. Automatic install commands for other clients are not generated yet.

Plugin files

base/protect-main-branch/
├── plugin.json
└── skills/protect-main-branch/SKILL.md

Included Skills1

protect-main-branchskills/protect-main-branch/SKILL.md

Block direct commits and pushes to main or master. Enforced at commit time by reading the current branch, and at push time by parsing the refs the agent is pushing.

Plugin manifests1

base/protect-main-branch/plugin.json
{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "protect-main-branch",
  "version": "0.0.2",
  "description": "Block direct commits and pushes to main or master. Enforced at commit time by reading the current branch, and at push time by parsing the refs the agent is pushing.",
  "author": {
    "name": "chock-core"
  },
  "repository": "https://github.com/open-coder-ai/chock-catalog",
  "license": "Apache-2.0",
  "keywords": [
    "chock",
    "policy-as-code",
    "hook",
    "block"
  ],
  "extensions": {
    "io.github.open-coder-ai": {
      "manifest": "manifest.yaml",
      "artifact": "hook",
      "enforcement": "block",
      "coverage_without_chock": "advisory"
    }
  }
}

If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.

[protect-main-branch on Agent Plugins Marketplace](https://pluginsmp.com/plugins/protect-main-branch-2)