Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By RyanKim17920v0.2.0MITIn 1 marketplace
Records which agent created each git branch and worktree, and lists the unmerged ones with their owners (/branch-owners).
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Base branchbaseBranch
The branch that unmerged branches are measured against. Empty: origin/HEAD, then main. A value starting with - is refused.
stringdefault
Export pathexportPath
Where `/branch-owners json` writes the table as JSON for a ledger script. Empty: no file. A leading ~/ is the home directory.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; runs programs; writes files; reads environment variables (HOME).
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Records which agent created each git branch and worktree, and lists the
branches not yet merged with the agent that owns each (/branch-owners).
A branch is recorded when a Bash command creates it (git checkout -b|-B|--orphan,
git switch -c|-C|--orphan, git branch <name>, git worktree add [-b|-B])
or when an Agent call returns a worktree branch. The owner is main for
the main conversation, else the subagent's name, description or id. The
first owner recorded stands. Nothing is recorded when:
$X, a glob)# comment or a here-documentAfter adding the marketplace (see Install in the main README):
claude plugin install branch-owners@ryk-claude-mods
Or add the marketplace and install in one step:
claude plugin install branch-owners --marketplace RyanKim17920/ryk-claude-mods
/branch-owners prints the unmerged branches: name, owner, age of the
head commit and short sha. Branches with no record show unknown./branch-owners json also writes the table as JSON to exportPath.| Option | Default | Meaning |
|---|---|---|
baseBranch | "" | Branch that "unmerged" is measured against. Empty uses origin/HEAD, then main. A value starting with - or containing a space is refused. |
exportPath | "" | File that /branch-owners json writes. Empty writes nothing. A leading ~/ is your home directory, and a relative path is under the session's directory. |
The mod shows nothing in the status line, toasts or system notifications, so it has no visibility options. Its output is the command's own text.
git -C <repo> ... (rev-parse, for-each-ref, branch, worktree list, symbolic-ref).$.store, a JSON file in the Claude Code
config directory) under one key per repository, repo:<root>. The store is shared by every session.$.state, gone when the session ends).exportPath, only on /branch-owners json.Each repository's ledger stays bounded. Every new claim drops records for
branches that no longer exist and keeps at most 500 records, newest first.
/branch-owners also drops branches merged into the base. Writes from one
session go one at a time. The store has no compare-and-set across sessions,
so after each claim the ledger is read back and the claim is written again
if another session's write replaced it. A prune reads the ledger again just
before writing, so it only removes the branches it pruned.
claude plugin disable branch-owners@ryk-claude-mods
cd ~/.claude/ryk-claude-mods
claude plugin test branch-owners
claude plugin validate branch-owners
npx claudepluginhub ryankim17920/ryk-claude-mods --plugin branch-ownersBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.