Skip to content
Skills Library
Programming · Automation

session

/session

Worktree and session management. Use for "new session", "worktree", "tmux", and "session management".

Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Worktree and session management. Use for "new session", "worktree", "tmux", and "session management".

Triggers from the description

new sessionworktreetmuxsession management
Original author description

Worktree and session management. Use for "new session", "worktree", "tmux", and "session management".

How it works

  1. Skill: session
  2. When to Use
  3. Session Types
  4. Worktree Management
  5. Tmux Session Management
  6. Session Workflow
  7. Commands
  8. Output Format
  9. Constraints
Original SKILL.md headings · 172 lines, 367 words
SKILL.md preview
---
name: session
description: Worktree and session management. Use for "new session", "worktree", "tmux", and "session management".
trigger: /oma:session
---

## Skill: session

Manage development sessions with worktrees and tmux.

## When to Use

- Creating new branches
- Managing multiple tasks
- Isolating work
- Session recovery
- Parallel development

## Session Types

### Development Session
- Feature work
- Bug fixes
- Single focused task

### Exploration Session
- Research
- Prototyping
- Proof of concept

### Review Session
- Code review
- Pair programming
- Pair review

## Worktree Management

### Create Worktree
```bash
git worktree add {path} {branch}
```

### List Worktrees
```bash
git worktree list
```

### Remove Worktree
```bash
git worktree remove {path}
```

### Worktree for Feature
```
{project}-feature-{name}
```

## Tmux Session Management

### Session Structure
```
session:{project}
  └── window:feature-{name}
      └── pane: editor
      └── pane: terminal
      └── pane: tests
```

### Commands
```bash
# Create session
tmux new-session -s {name} -d

# Attach
tmux attach -t {name}

# List
tmux list-sessions

# Kill
tmux kill-session -t {name}
```

## Session Workflow

### Start New Feature
1. Create worktree
2. Start tmux session
3. Set up windows/panes
4. Track session info
5. Begin work

### Switch Context
1. Detach current session
2. Attach target session
3. Resume work

### End Session
1. Commit changes
2. Push if needed
3. Clean up tmux
4. Optionally remove worktree
5. Log session summary

## Commands

### Start Session
```
/oma:session start {name}
```

### Attach Session
```
/oma:session attach {name}
```

### Detach Session
```
/oma:session detach
```

### List Sessions
```
/oma:session list
```

### End Session
```
/oma:session end {name}
```

### Create Worktree
```
/oma:session worktree create {branch} {path}
```

## Output Format

```
## Session: {name}

### Type
{type}

### Worktree
**Path:** {path}
**Branch:** {branch}
**Status:** {clean|dirty}

### Tmux
**Session:** {tmux-session}
**Windows:** {n}
**Created:** {date}
**Last active:** {date}

### Windows
| Window | Panes | Current |
|--------|-------|---------|
| {name} | {n} | {yes/no} |

### Recent Sessions
| Name | Type | Last Active | Status |
|------|------|-------------|--------|
| {name} | {type} | {date} | {active/ended} |

### Session Notes
{notes}
```

## Constraints

- Clean up completed sessions
- Don't forget worktree paths
- Keep session names unique
- Document session purpose
- Backup before major changes

Versions

RepositoryScoreLicence
This page · r3dlex/oh-my-auggie100Apache-2.0
glassflow/tares100MIT
lex0tan/backlog-resume100MIT
rdennler/yat100Apache-2.0
rdennler/thinkpad100Apache-2.0
maxwell2732/claudecode-research-harness-workflow100MIT
dotroza/hermes-comfy-recipe96MIT
guillaume-piron-dev/you-decide90Apache-2.0
autocss-com/ai90MIT

Database snapshot: 13.11.2026 · package version e10bd1ca0426 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100workmux
    Manage terminal agents, git worktrees, and tmux sessions with workmux. Use when the user asks to open or start an agent in a project, check running agents or their progress in a tmux session, or work with workmux, worktrees, or parallel agent workflows.
  • 95tmux-start
    Start issue work in a new tmux window with its own worktree. Use when the user has tmux running and wants issue startup to continue outside the current session. SKIP when not inside a tmux session ($TMUX unset) or when the user wants to work in the current session; use start-issue directly.
  • 100git-worktree
    Git worktree management with tmux and iTerm2 integration. Use when creating isolated dev environments, managing parallel feature branches, switching contexts without stashing, or running multiple Claude instances. Covers worktree creation, tmux window management, iTerm2 tabs, and cleanup workflows.
  • 100using-git-worktrees
    Git worktree management with tmux integration and task dispatch. Use when creating isolated dev environments, launching parallel feature work, running multiple Claude instances, managing worktrees, dispatching tasks to worktree terminals, or cleaning up after merge. Covers…
  • 96flow-next-worktree-kit
    Manage git worktrees (create/list/switch/cleanup) and copy .env files. Use for parallel feature work, isolated review, clean workspace, or when user mentions worktrees.
  • 96flow-next-worktree-kit
    Manage git worktrees (create/list/switch/cleanup) and copy .env files. Use for parallel feature work, isolated review, clean workspace, or when user mentions worktrees.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.