project-session-manager
Manage isolated dev environments with git worktrees and tmux sessions
Skill by MeroZemory
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/merozemory-project-session-manager
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/project-session-manager
What's inside
- Skill name
project-session-manager- Description
- Manage isolated dev environments with git worktrees and tmux sessions
- License
- MIT
- Instructions
- 406 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (11)
- SKILL.md
- config.sh · lib/
- parse.sh · lib/
- session.sh · lib/
- tmux.sh · lib/
- worktree.sh · lib/
- psm.sh
- feature.md · templates/
- issue-fix.md · templates/
- pr-review.md · templates/
- projects.json · templates/
SKILL.md (first lines)
# Project Session Manager (PSM) Skill
Automate isolated development environments using git worktrees and tmux sessions with Factory Droid. Enables parallel work across multiple tasks, projects, and repositories.
## Commands
| Command | Description | Example |
|---------|-------------|---------|
| `review <ref>` | PR review session | `/psm review omc#123` |
| `fix <ref>` | Issue fix session | `/psm fix omc#42` |
| `feature <proj> <name>` | Feature development | `/psm feature omc add-webhooks` |
| `list [project]` | List active sessions | `/psm list` |
| `attach <session>` | Attach to session | `/psm attach omc:pr-123` |
| `kill <session>` | Kill session | `/psm kill omc:pr-123` |
| `cleanup` | Clean merged/closed | `/psm cleanup` |
| `status` | Current session info | `/psm status` |
## Project References
Supported formats:
- **Alias**: `omc#123` (requires `~/.psm/projects.json`)
- **Full**: `owner/repo#123`
- **URL**: `https://github.com/owner/repo/pull/123`
- **Current**: `#123` (uses current directory's repo)
## Configuration
### Project Aliases (`~/.psm/projects.json`)
```json
{
"aliases": {
"omd": {
"repo": "MeroZemory/oh-my-droid",
"local": "~/Workspace/oh-my-droid",
"default_base": "main"
}
},
"defaults": {
"worktree_root": "~/.psm/worktrees",
"cleanup_after_days": 14
}
}
```
## Directory Structure
```
~/.psm/
├── projects.json # Project aliases
├── sessions.json # Active session registry
└── worktrees/ # Worktree storage
└── <project>/
└── <type>-<id>/
```
## Session Naming
| Type | Tmux Session | Worktree Dir |
|------|--------------|--------------|
| PR Review | `psm:omc:pr-123` | `~/.psm/worktrees/omd/pr-123` |
| Issue Fix | `psm:omc:issue-42` | `~/.psm/worktrees/omd/issue-42` |
| Feature | `psm:omc:feat-auth` | `~/.psm/worktrees/omd/feat-auth` |
---
## Implementation Protocol
When the user invokes a PSM command, follow this protocol:
### Parse Arguments
Parse `$ARGUMENTS` to determine:
1. **Subcommand**: review, fix, feature, list, attach, kill, cleanup, status
2. **Reference**: project#number, URL, or session ID
3. **Options**: --branch, --base, --no-droid, --no-tmux, etc.
### Subcommand: `review <ref>`
**Purpose**: Create PR review session
**Steps**:
1. **Resolve reference**:
```bash
# Read project aliases
cat ~/.psm/projects.json 2>/dev/null || echo '{"aliases":{}}'
# Parse ref format: alias#num, owner/repo#num, or URL
# Extract: project_alias, repo (owner/repo), pr_number, local_path
```
2. **Fetch PR info**:
```bash
gh pr view <pr_number> --repo <repo> --json number,title,author,headRefName,baseRefName,body,files,url
```
3. **Ensure local repo exists**:
```bash
# If local path doesn't exist, clone
if [[ ! -d "$local_path" ]]; then
git clone "https://github.com/$repo.git" "$local_path"
fi
```
4. **Create worktree**:
```bash
worktree_path="$HOME/.psm/worktrees/$project_alias/pr-$pr_number"
# Fetch PR branch
cd "$local_path"
git fetch origin "pull/$pr_number/head:pr-$pr_number-review"
# Create worktree
git worktree add "$worktree_path" "pr-$pr_number-review"
```
5. **Create session metadata**:
```bashFrom MeroZemory/oh-my-droid, MIT.
More from MeroZemory/oh-my-droid
- 0.553score
swarm
MeroZemory
N coordinated agents on shared task list with SQLite-based atomic claiming
SkillCFreshness: C★ 28Claude Code +9 - 0.553score
local-skills-setup
MeroZemory
Set up and manage local skills for automatic matching and invocation
SkillCFreshness: C★ 28Claude Code +9 - 0.553score
ralph-init
MeroZemory
Initialize a PRD (Product Requirements Document) for structured ralph-loop execution
SkillCFreshness: C★ 28Claude Code +9 - 0.553score
ralplan
MeroZemory
Iterative planning with Planner, Architect, and Critic until consensus
SkillCFreshness: C★ 28Claude Code +9 - 0.550score
learner
MeroZemory
Extract a learned skill from the current conversation
SkillCFreshness: C★ 28Claude Code +9 - 0.549score
hud
MeroZemory
Configure HUD display options (layout, presets, display elements)
SkillCFreshness: C★ 28Claude Code +9 - 0.546score
skill
MeroZemory
Manage local skills - list, add, remove, search, edit
SkillCFreshness: C★ 28Claude Code +9 - 0.544score
omd-setup
MeroZemory
Setup and configure oh-my-droid (the ONLY command you need to learn)
SkillCFreshness: C★ 28Claude Code +9 - 0.494score
deepsearch
MeroZemory
Exhaustive multi-strategy codebase search using grep, ripgrep, find, and AST-aware tracing to locate implementations, references, dependencies, and usage…
SkillDFreshness: D★ 28Claude Code +9 - 0.494score
orchestrate
MeroZemory
Coordinate multi-agent task execution by delegating to specialist subagents, managing parallel workflows, and verifying completion through architect review.
SkillDFreshness: D★ 28Claude Code +9 - 0.494score
autopilot
MeroZemory
Expand a product idea into a spec, plan implementation with critic validation, execute code across parallel agents, run iterative QA cycles, and perform…
SkillDFreshness: D★ 28Claude Code +9 - 0.494score
tdd
MeroZemory
Enforce strict Test-Driven Development (TDD) using the red-green-refactor cycle.
SkillDFreshness: D★ 28Claude Code +9
Signals
- Stars
- 28
- Forks
- 7
- Open issues
- 1
- Last commit (this folder)
- Jul 8, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/MeroZemory/oh-my-droid
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.303score
project-session-manager
F0rty-Tw0
Manage isolated dev environments with git worktrees and tmux sessions
SkillBFreshness: BClaude Code +9 - 0.284score
project-session-manager
realsigridjin
Manage isolated dev environments with git worktrees and tmux sessions
SkillDFreshness: D★ 20Claude Code +9 - 0.237score
project-session-manager
shaun0927
Manage isolated dev environments with git worktrees and tmux sessions
SkillDFreshness: DClaude Code +9
More from MeroZemory
- 0.553score
swarm
MeroZemory
N coordinated agents on shared task list with SQLite-based atomic claiming
SkillCFreshness: C★ 28Claude Code +9 - 0.553score
ralph-init
MeroZemory
Initialize a PRD (Product Requirements Document) for structured ralph-loop execution
SkillCFreshness: C★ 28Claude Code +9 - 0.553score
ralplan
MeroZemory
Iterative planning with Planner, Architect, and Critic until consensus
SkillCFreshness: C★ 28Claude Code +9 - 0.553score
local-skills-setup
MeroZemory
Set up and manage local skills for automatic matching and invocation
SkillCFreshness: C★ 28Claude Code +9 - 0.550score
learner
MeroZemory
Extract a learned skill from the current conversation
SkillCFreshness: C★ 28Claude Code +9 - 0.549score
hud
MeroZemory
Configure HUD display options (layout, presets, display elements)
SkillCFreshness: C★ 28Claude Code +9
Cite this page
project-session-manager skill. Agent Mart. https://agentmart.dev/skills/merozemory-project-session-manager (last updated 2026-10-24)