create

create is a command for Claude Code from Marcel-Bich/marcel-bich-claude-marketplace. It costs 12 tokens per session (589 once invoked), scanned A, original, MIT.

A command that creates a separate Git worktree, which is another working folder linked to the same repository. It also creates or uses a matching branch for the isolated work.

In plain words
What is it for?
Use it to create a named worktree and branch in a predictable location, after checking that the folder and branch do not already exist.
Why use it?
It keeps changes for a task separate from your main checkout, so you can work on multiple branches without constantly switching files.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the hydra plugin — 9 commands shipped together

Good fit Use it to create a named worktree and branch in a predictable location, after checking that the folder and branch do not already exist.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/marcel-bich/marcel-bich-claude-marketplace/create
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Marcel-Bich/marcel-bich-claude-marketplace

Made for: Claude Code.

Or install hydra, the plugin that ships this one along with the rest of its 9 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create

README.md
[![agentmods](https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/create/github.svg)](https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/create)
Your own site
<a href="https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/create"><img src="https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/create/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create

Your own site · 80×15
<a href="https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/create"><img src="https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 589 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00012 $0.00589
Opus 5 $0.00006 $0.00295
Sonnet 5 $0.00002 $0.00118
Haiku 4.5 $0.00001 $0.00059

Measured 11d ago against content hash d0f45948067c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

create scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/hydra/commands/create.md · 101 lines

What it actually says

Worktree Create

You are executing the /hydra:create command. Create a new Git worktree for isolated work.

Arguments

  • $ARGUMENTS - Name for the worktree (also becomes branch name)

Process

1. Check Prerequisites

# Git repo?
git rev-parse --git-dir 2>/dev/null || { echo "Error: Not a Git repository"; exit 1; }

# Repo name for path
basename "$(git rev-parse --show-toplevel)"

2. Prepare Parameters

If $ARGUMENTS is empty, ask for the name.

Determine:

  • Branch name: hydra/$ARGUMENTS (or just $ARGUMENTS if already path-like)
  • Worktree path: ../{repo-name}-worktrees/$ARGUMENTS/

3. Check if Already Exists

# Worktree with this name?
git worktree list | grep -q "$ARGUMENTS" && echo "Worktree already exists"

# Branch exists?
git show-ref --verify --quiet "refs/heads/hydra/$ARGUMENTS" && echo "Branch exists"

If worktree exists: Show path and exit with hint.

4. Create Worktree

# Determine path (always relative to repo root, not CWD)
REPO_ROOT=$(git rev-parse --show-toplevel)
REPO_NAME=$(basename "$REPO_ROOT")
WORKTREE_PATH="$(dirname "$REPO_ROOT")/${REPO_NAME}-worktrees/$ARGUMENTS"

# Create directory if needed
mkdir -p "$(dirname "$WORKTREE_PATH")"

# Create worktree with new branch
git worktree add -b "hydra/$ARGUMENTS" "$WORKTREE_PATH"

5. Output

On success:

Worktree created:

  Path:   {absolute path}
  Branch: hydra/{name}

Next steps:
  - cd {path}                     # Switch manually
  - /hydra:spawn {name} "..."     # Start agent there
  - /hydra:status                 # Check status

On error:

Error creating worktree:

{git error message}

Possible causes:
- Worktree already exists
- Branch name already taken
- No write permission in target directory

Notes

  • Uncommitted changes in current directory do NOT block creation
  • New worktree starts from current HEAD
  • Branch prefix hydra/ helps with organization
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 101 lines · 12 tokens per session scan A d0f45948067c

Subscribe to this mod's changes

create is a command published in the GitHub repository Marcel-Bich/marcel-bich-claude-marketplace (13 stars, last pushed yesterday), licensed MIT. It adds 12 tokens to every session and 589 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.