Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Parallel-Sessions

    1

    Run several Claude Code sessions in one repo without losing work: a worktree per task, checks before any cleanup, and handover notes.

    Free

    Security scanned
    Parallel-Sessions

    Parallel-Sessions

    Example session with this skill installed

    I need to start working on the oauth-fix task in a new worktree. Also, check if I can clean up the old feature-login branch.

    • Read your context and instructions
    • Compiled the parallel-sessions

    I have initialized the new worktree for oauth-fix and audited the feature-login branch for cleanup.

    Task Management Report

    1. New Worktree Initialized

    The worktree for oauth-fix has been created outside your main repository directory to prevent session interference.

    • Path: ../serenity-oauth-fix
    • Branch: oauth-fix
    • Base: origin/main

    To start the session, run:
    cd ../serenity-oauth-fix && claude

    2. Cleanup Plan

    I checked the status of feature-login. Here is the proposed plan:

    ResourceActionReason
    Worktree ../serenity-feature-loginRemoveNo uncommitted or untracked changes found.
    Branch feature-loginDelete (-d)Branch is fully merged into origin/main.
    Branch feature-login-uiKeepStacked: This branch is based on feature-login.

    Next steps

    1. Confirm the cleanup plan for feature-login by saying "Go ahead".
    2. Switch to the oauth-fix directory to begin the new task.
    3. Retarget the feature-login-ui PR to main if you decide to delete its parent.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Keeps parallel Claude Code sessions tidy.

    Start: every task gets its own git worktree and branch, so sessions never overwrite each other's files.

    Cleanup: before removing a worktree or branch, it checks for uncommitted files, unpushed commits, PR state and stacked branches, shows you a plan, and deletes nothing until you confirm.

    Handover: a short note (goal, state, decisions, open questions, key files, next steps) when you switch sessions, hand a branch over, or change a branch others are stacked on.

    For developers running several Claude Code agents in parallel. Works with plain git, plus gh if you have it.

    Running many sessions at once? See serenity (https://getserenity.dev), a calm terminal map for all your Claude Code sessions.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Requires git and tmux. Full PR auditing needs the gh CLI. Only supports macOS and Linux. Cannot force-remove worktrees containing uncommitted files.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 15 days ago

    • Free with an Agensi account

    Accounts
    GitHub
    Software
    Git

    Permissions

    Terminal / Shell
    Network Access
    Write Files

    Allowed Hosts

    raw.githubusercontent.com
    Listed15 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the creation of isolated git worktrees, allowing you to run multiple Claude Code sessions simultaneously in the same repository without file conflicts or messy commit histories.

    It is specifically optimized for Claude Code on macOS and Linux, requiring Git, tmux, and the GitHub CLI (gh) to manage branch audits and terminal sessions.

    The skill uses a multi-step safety check that audits uncommitted files, push status, and PR states via the GitHub CLI before allowing any branch or directory to be deleted.

    You receive the core logic for the worktree workflow, the safety-audit protocols, and standardized markdown templates for generating session handovers.

    Yes, the skill is designed to identify and manage stacked branches, ensuring that dependencies between multiple PRs are respected during both development and cleanup.

    A handover is a structured markdown report generated by the skill that documents architectural decisions and current state, allowing you to resume work in a new session or pass it to a human teammate without losing context.

    New in Agents & Orchestration

    Free