Agent Plugins Marketplace
← All plugins

worktree

v0.2.0

Manage git worktrees a subagent used: integrate (squash-merge, human commits, cleanup only after the commit is verified) as the primary path, sweep (judge removable / human-decides / hands-off, with a machine check for squash-merged branches) to catch what integrate didn't handle. Never guesses squash status and never force-deletes without a machine-verified reason.

CodexClaude Code2 Skills

By gigun0 GitHub starsUpdated 1 hour ago

Directory evidence

Runtimes
Codex and Claude Code
Parsed components
2 skill or MCP entries
Source updated
Sep 25, 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 worktree for Codex and Claude Code

Installs for the current user
codex plugin marketplace add gigun-dev/claude-code
codex plugin marketplace upgrade gigun
codex plugin add worktree@gigun

Paste and run these commands in a terminal with Codex. They add and refresh the gigun catalog, then install this plugin.

Compatibility: the page URL and API slug “worktree-5” remain stable.

  • Codex: worktree-5@agent-plugin-marketplace → worktree@gigun

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/gigun-dev/claude-code

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is plugins/worktree/.

Plugin files

plugins/worktree/
├── .codex-plugin/plugin.json
├── .claude-plugin/plugin.json
├── skills/integrate/SKILL.md
└── skills/sweep/SKILL.md

Included Skills2

integrateskills/integrate/SKILL.md

Integrate a subagent's finished git worktree: squash-merge, let the caller write and make the commit, then clean up only after the commit is verified. Use when a worktree's work is done and ready to land — the primary path, not sweep.

sweepskills/sweep/SKILL.md

Clean up git worktrees a subagent left behind, when integrate wasn't used at the time. Use when asked to sweep, clean up, or garbage-collect worktrees.

Plugin manifests2

plugins/worktree/.codex-plugin/plugin.json
{
  "$generatedFrom": "../.claude-plugin/plugin.json (scripts/generate_manifests.py --write); generates name/version/description/author here — homepage, repository, keywords, the mcpServers/skills pointer, and interface stay hand-edited in this file",
  "name": "worktree",
  "version": "0.2.0",
  "description": "Manage git worktrees a subagent used: integrate (squash-merge, human commits, cleanup only after the commit is verified) as the primary path, sweep (judge removable / human-decides / hands-off, with a machine check for squash-merged branches) to catch what integrate didn't handle. Never guesses squash status and never force-deletes without a machine-verified reason.",
  "author": {
    "name": "gigun",
    "url": "https://github.com/gigun-dev"
  },
  "interface": {
    "category": "Developer Tools"
  }
}
plugins/worktree/.claude-plugin/plugin.json
{
  "name": "worktree",
  "version": "0.2.0",
  "description": "Manage git worktrees a subagent used: integrate (squash-merge, human commits, cleanup only after the commit is verified) as the primary path, sweep (judge removable / human-decides / hands-off, with a machine check for squash-merged branches) to catch what integrate didn't handle. Never guesses squash status and never force-deletes without a machine-verified reason.",
  "author": {
    "name": "gigun",
    "url": "https://github.com/gigun-dev"
  }
}

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

[worktree on Agent Plugins Marketplace](https://pluginsmp.com/plugins/worktree-5)