spawn-agent

Create a git worktree and spawn a coding agent in a new Zellij tab.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/pepegar/nix-home --skill spawn-agent-pepegar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spawn-agent
Source: https://github.com/pepegar/nix-home/tree/main/skills/spawn-agent
Command: npx skills add https://github.com/pepegar/nix-home --skill spawn-agent-pepegar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of setting up a new development environment for a specific task and immediately launching a coding agent within it, reducing setup time and context switching.

Core Features & Use Cases

  • Git Worktree Creation: Automatically creates a new Git worktree for a specified branch.
  • Agent Spawning: Launches a coding agent in a dedicated Zellij tab with a predefined prompt.
  • Use Case: When starting a new feature, you can use this skill to create a worktree for that feature's branch and open a coding agent in a new Zellij tab, ready to receive your prompt for implementing the feature.

Quick Start

Use the spawn-agent skill to create a worktree for the 'new-feature' branch and start a coding agent with the prompt 'Implement the user login functionality'.

Frequently Asked Questions about spawn-agent

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

FAQPage Schema
How do I launch a coding agent in a new Zellij tab?

To launch a coding agent in a new Zellij tab, use the spawn-agent skill with a specified branch name and a prompt. It automatically sets up the environment and executes the agent command in a dedicated workspace.

How do I create a git worktree and start a coding agent at the same time?

You can create a git worktree and start a coding agent simultaneously by providing a branch name and a task prompt. The tool handles the worktree creation and spawns the agent in the new tab.

Does the spawn-agent skill require a specific terminal multiplexer?

Yes, this skill requires the Zellij terminal multiplexer to function. It relies on Zellij tabs to spawn and manage the coding agent alongside your existing development environment.

What information do I need to provide to set up a development environment with a coding agent?

You need to provide a branch name for the git worktree and a text prompt for the coding agent. These two arguments configure the isolated workspace and define the agent's initial task.

When should I use a git worktree for spawning a coding agent?

Use a git worktree for spawning a coding agent when starting a new feature in an isolated directory. This prevents context switching and keeps your main branch clean while the agent works.