src/skills/builtin/working-in-parallel/SKILL.md
Guide for working in parallel with other agents. Use when another agent is already working in the same directory, or when you need to work on multiple features simultaneously. Covers git worktrees as the recommended approach.
npx skillsauth add letta-ai/letta-code working-in-parallelInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use git worktrees to work in parallel when another agent is in the same directory.
Git worktrees let you check out multiple branches into separate directories. Each worktree has its own isolated files while sharing the same Git history and remote connections. Changes in one worktree won't affect others, so parallel agents can't interfere with each other.
Learn more: Git worktree documentation
Before running ANY commands in a new worktree, check the project's setup instructions:
claude.md or AGENT.md - Agent-specific guidance if presentproject memory block - Contains learned project preferencesDon't assume npm vs bun vs pnpm - check the project first!
# Create worktree with new branch (from main repo)
git worktree add -b fix/my-feature ../repo-my-feature main
# Work in the worktree
cd ../repo-my-feature
# CHECK PROJECT SETUP FIRST - then install dependencies
# Read README.md or check project memory block for correct command
bun install # Example - verify this is correct for YOUR project!
# Make changes, commit, push, PR
git add <files>
git commit -m "fix: description"
git push -u origin fix/my-feature
gh pr create --title "Fix: description" --body "## Summary..."
# Clean up when done (from main repo)
git worktree remove ../repo-my-feature
git worktree add -b <branch> <path> main # Create with new branch
git worktree add <path> <existing-branch> # Use existing branch
git worktree list # Show all worktrees
git worktree remove <path> # Remove worktree
Worktrees share .git, but pre-commit hooks may need initialization depending on project setup. After creating a worktree and installing dependencies, verify hooks are active before committing. Check project docs or run the project's hook setup command if needed.
../repo-feature-auth, ../repo-bugfix-123Some users prefer cloning the repo multiple times (gh repo clone owner/repo project-01) for simpler mental model. This uses more disk space but provides complete isolation. If the user expresses confusion about worktrees or explicitly prefers clones, use that approach instead.
tools
Schedules reminders and recurring tasks via the letta cron CLI. Use when the user asks to be reminded of something, wants periodic messages, or needs to manage scheduled tasks.
tools
# Skill Execute a skill within the main conversation When users ask you to perform tasks, check if any of the available skills match. Skills provide specialized capabilities and domain knowledge. When users reference a "slash command" or "/<something>" (e.g., "/commit", "/review-pr"), they are referring to a skill. Use this tool to invoke it. How to invoke: - Use this tool with the skill name and optional arguments - Examples: - `skill: "pdf"` - invoke the pdf skill - `skill: "commit", a
testing
Manage git-backed memory repos. Load this skill when working with git-backed agent memory, setting up remote memory repos, resolving sync conflicts, or managing memory via git workflows.
testing
Search past messages to recall context. Use when you need to remember previous discussions, find specific topics mentioned before, pull up context from earlier in the conversation history, or find which agent discussed a topic.