Skip to content
Back to skills

Oak Set Up Worktree Lane

ASecurity

Create a git worktree for a lane and configure it so every downstream surface is true: an inherited bot commit identity checked rather than re-set, dependencies, environment files, and a draft PR at first push. Use when taking up a lane needing its own checkout, or when a worktree misbehaves — commits attributed to nobody, missing env, hook failures. Do not use to switch branches in place (never on the principal), for the session-level residency switch alone (that is EnterWorktree), or to dis...

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
ai-agentsgit

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add oaknational/oak-open-curriculum-ecosystem --skill oak-set-up-worktree-lane --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Oak Set Up Worktree Lane?

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

Security grade badge for Oak Set Up Worktree Lane
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/oaknational-oak-set-up-worktree-lane/badge)](https://www.skillsdirectory.com/skills/oaknational-oak-set-up-worktree-lane)

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: oak-set-up-worktree-lane
description: "Create a git worktree for a lane and configure it so every downstream surface is true: an inherited bot commit identity checked rather than re-set, dependencies, environment files, and a draft PR at first push. Use when taking up a lane needing its own checkout, or when a worktree misbehaves — commits attributed to nobody, missing env, hook failures. Do not use to switch branches in place (never on the principal), for the session-level residency switch alone (that is EnterWorktree), or to dispose of a finished worktree. Right looks like: branch cut explicitly from origin/main, the inherited bot identity verified with no worktree-scoped override shadowing it, deps installed, .env.local carried, draft PR at first push. Wrong looks like: EnterWorktree fresh mode basing the branch on the principal's coordination HEAD so the lane PR ships foreign commits; or the bot commit email carrying the app id instead of the bot user id, which resolves to no GitHub user and silently breaks deployment attribution."
---

# Set Up Worktree Lane (Cross-tool)

Read and follow `.agent/skills/set-up-worktree-lane/SKILL-CANONICAL.md`.

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.

Comments

Loading comments…

Newsletter

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