slopcannon
v0.1.7
Published
Create a git worktree. Launch Claude Code. Ship slop.
Maintainers
Readme
slopcannon
Create a git worktree. Launch Claude Code. Ship slop.
What it does
git worktree add -b <branch> ../repo-branch origin/main
claude --dangerously-skip-permissionsThat's it. Run it in any git repo.
Quick start
bunx slopcannonShell function (recommended)
Add to ~/.zshrc so your shell cds into the worktree:
slopcannon() {
local tmpfile=$(mktemp /tmp/slopcannon.XXXXXX)
bunx slopcannon --path-file "$tmpfile" "$@"
local p=$(cat "$tmpfile" 2>/dev/null)
rm -f "$tmpfile"
if [[ -n "$p" ]] && [[ -d "$p" ]]; then
cd "$p" && claude --dangerously-skip-permissions
fi
}