Skip to content
Agentmart
Submit a tool

github-bare-worktree-clone

Create a GitHub repo as repo/.bare with repo/<branch> worktrees and origin-tracking branches.

Skill by szokeasaurusrex

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/szokeasaurusrex-github-bare-worktree-clone

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Create a GitHub repo as repo/.bare with repo/<branch> worktrees and origin-tracking branches. Use when users ask for bare+worktree layout.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/github-bare-worktree-clone

What's inside

Skill name
github-bare-worktree-clone
Description
Create a GitHub repo as repo/.bare with repo/<branch> worktrees and origin-tracking branches. Use when users ask for bare+worktree layout.
License
MIT
Instructions
20 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • create.sh

SKILL.md (first lines)

Run:

```bash
create.sh <repo-url> [target-base=/home/agent] [branch1,branch2,...]
```

Examples:

```bash
create.sh https://github.com/getsentry/sentry-docs.git
create.sh https://github.com/getsentry/sentry.git /home/agent main,release/24.8.0
```

What it guarantees:
- `<repo>/.bare` exists and tracks all `origin/*` branches
- default branch worktree (or requested branches) at `<repo>/<branch>`
- local branches track `origin/<branch>`
- safe.directory entries added for `.bare` and worktrees

From szokeasaurusrex/pi-agent, MIT.

More from szokeasaurusrex/pi-agent

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Feb 27, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from szokeasaurusrex

Cite this page

github-bare-worktree-clone skill. Agent Mart. https://agentmart.dev/skills/szokeasaurusrex-github-bare-worktree-clone (last updated 2026-10-24)