rlm-worktree

Create an isolated git worktree for each RLM run with Phase 0 setup.

4|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/try-works/rlm-workflow-acp --skill rlm-worktree-try-works
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rlm-worktree
Source: https://github.com/try-works/rlm-workflow-acp/tree/main/skills/rlm-worktree
Command: npx skills add https://github.com/try-works/rlm-workflow-acp --skill rlm-worktree-try-works

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill automates creating an isolated git worktree for each RLM run, preventing main/master pollution and enabling Phase 0 work before Phase 1.

Core Features & Use Cases

  • Create a dedicated worktree on a feature branch (rlm/<run-id>), verify the worktree directory is git-ignored when project-local, and perform the initial setup.
  • Run project setup appropriate to detected stacks (Node.js, Python, Rust, etc.) and validate a clean baseline before proceeding.
  • Generate the Phase 0 artifact 00-worktree.md detailing location, branch, setup commands, baseline results, and traceability.

Quick Start

Create an isolated worktree for the active RLM run, verify safety, and bootstrap Phase 0 setup.

Frequently Asked Questions about rlm-worktree

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I isolate git work to prevent main branch pollution during automation runs?

Git worktree isolation provisions a dedicated worktree on a feature branch for each automation run, preventing main branch pollution. It creates an isolated workspace on a branch like rlm/<run-id> to keep changes separate from main.

What is a Phase 0 artifact in isolated workspace setup?

A Phase 0 artifact is a generated markdown file detailing workspace location, branch, setup commands, and baseline validation results. It enforces safety checks and produces 00-worktree.md before Phase 1 begins.

Can I use automated worktree provisioning with Node.js, Python, or Rust project stacks?

Yes, automated worktree provisioning detects common project stacks including Node.js, Python, and Rust. It runs stack-appropriate project setup and validates a clean baseline before generating the Phase 0 artifact.

How do I set up an isolated git worktree for safe automated runs?

To set up an isolated git worktree, the automation creates a dedicated worktree on a feature branch, verifies the directory is git-ignored if project-local, and performs initial stack-specific setup. It then validates the baseline and generates the Phase 0 artifact.

When should I not use a project-local git worktree for isolated runs?

You should be cautious with project-local git worktrees if the directory cannot be properly git-ignored. The automation enforces workspace safety checks to verify the worktree directory is git-ignored when project-local, preventing accidental commits.