Skip to content
Back to skills

Jumar

ASecurity

Pick a git worktree in jumar's overlay and either move into it to work there, or pass one or more worktrees to the conversation as context. Activates on "jumar", "pick a worktree", "switch worktree", "work in a worktree", "work in <name>", "add worktree as context", "use the <name> worktree as context", "which worktrees do I have".

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
toolsshellbashgit

Works with

  • cursor

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add joshbarrington/jumar --skill jumar --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Jumar?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Jumar
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/joshbarrington-jumar/badge)](https://www.skillsdirectory.com/skills/joshbarrington-jumar)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: jumar
description: Pick a git worktree in jumar's overlay and either move into it to work there, or pass one or more worktrees to the conversation as context. Activates on "jumar", "pick a worktree", "switch worktree", "work in a worktree", "work in <name>", "add worktree as context", "use the <name> worktree as context", "which worktrees do I have".
argument-hint: 'optional: "work <name>" or "context <name>" to skip the picker'
allowed-tools: [Bash, Read]
---

# jumar: pick a worktree

jumar lists the git worktrees of the user's repos. This skill opens it as an overlay,
lets the user pick, and acts on the pick.

## Step 1: Get the pick

If `$ARGUMENTS` names a worktree (for example `work refactor` or `context fix-login`),
skip the overlay: run `jumar list --json`, find the entry whose path ends in that name,
and treat it as a pick with that use. Ask the user when several match or none do.

Otherwise run the launcher, with the bash timeout set to the maximum the harness allows
(it waits for the user):

```bash
"${CLAUDE_SKILL_DIR}/scripts/launch-jumar.sh"
```

In the overlay, Enter picks the worktree under the cursor to work in, and Tab passes it as
context (`V` then Tab passes several). The launcher prints one block per picked worktree:

```
use: work
path: /home/me/app/.claude/worktrees/fix-login
repo: /home/me/app
branch: fix-login
status: 2 changed
base: 3f2c1e9a...
```

`use` is `work` or `context`. `base` is where the branch left the repo's default branch;
it is missing when there is no default branch. A block for a repo's own checkout also has
`main: true`.

- **No output**: the user closed jumar without picking. Say so in one line and stop.
- **Exit 3** (no overlay: not in herdr, tmux or WezTerm): run `jumar list --json` and ask
  the user which worktree, and whether to work in it or use it as context.
- **Other failures**: report the launcher's stderr as it is.

## Step 2: Act on it

### `use: work`

Move the session into the worktree:

- If the path is under `<repo>/.claude/worktrees/` and an `EnterWorktree` tool is
  available, call it with `path` set to the picked path.
- Otherwise run every later command in that directory (`cd <path> && ...`, or `git -C
  <path>`), and use absolute paths under it for file edits, since the shell's directory
  may reset between commands.

Then tell the user, in one line, the branch and status you are now working on.

### `use: context`

Do not change directory. For each picked worktree, read enough to know what it is:

```bash
git -C <path> status --short
git -C <path> log --oneline <base>..HEAD
git -C <path> diff --stat <base>
```

Without a `base`, use `git -C <path> log --oneline -10` instead.

Give the user a short summary per worktree (branch, what its commits do, uncommitted
changes), and keep the paths in mind for the rest of the conversation.

Files in this skill

  • SKILL.md2.8 KB
  • scripts/launch-jumar.sh2.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.