protect-main-branch
v0.0.1Block 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. [Advisory skill only; enforcement needs chock installed in the repo.]
By chock-coreLicense: Apache-2.00 GitHub starsUpdated 6 days ago
Directory evidence
- Runtimes
- Codex
- Parsed components
- 1 skill or MCP entry
- Source updated
- Sep 30, 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 →
Install protect-main-branch for Codex
codex plugin marketplace add IchenDEV/agent-plugin-mkt
codex plugin marketplace upgrade agent-plugin-marketplace
codex plugin add protect-main-branch@agent-plugin-marketplacePaste and run these commands in a terminal with Codex. They add and refresh the PluginsMP catalog, then install this plugin.
Compatibility: the page URL and API slug “protect-main-branch-4” remain stable.
- Codex:
protect-main-branch-4@agent-plugin-marketplace→protect-main-branch@agent-plugin-marketplace
The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.
Get the source manually
git clone https://github.com/open-coder-ai/chock-codex-pluginsClone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is codex/protect-main-branch/.
Plugin files
├── .codex-plugin/plugin.json└── skills/protect-main-branch/SKILL.md
Included Skills1
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
{
"name": "protect-main-branch",
"version": "0.0.1",
"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. [Advisory skill only; enforcement needs chock installed in the repo.]",
"author": {
"name": "chock-core"
},
"repository": "https://github.com/open-coder-ai/chock",
"license": "Apache-2.0",
"keywords": [
"chock",
"policy-as-code",
"hook",
"block"
],
"interface": {
"displayName": "Protect Main Branch",
"shortDescription": "Block direct commits and pushes to main or master.",
"composerIcon": "./assets/icon.svg"
},
"skills": "./skills"
}For maintainers
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-4)