بنقرة واحدة
session
Worktree and tmux session management. Use for "new session", "worktree", "tmux", and "session management".
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Worktree and tmux session management. Use for "new session", "worktree", "tmux", and "session management".
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Diagnose and fix build/CI failures automatically
Concurrent code generation via multi-model picker
UI/UX design and frontend component generation
OMP self-improvement — analyse own skills/agents and propose improvements
Visual diff/screenshot comparison verdict
Clone and adapt a web page/design to the codebase
| name | session |
| description | Worktree and tmux session management. Use for "new session", "worktree", "tmux", and "session management". |
| trigger | session:, /session, /omp:session |
| autoinvoke | false |
| Field | Value |
|---|---|
| ID | session |
| Keywords | session:, /session |
| Tier | Developer Tool |
| Source | src/skills/session.mts |
Manage development sessions with git worktrees and tmux. Create, attach, detach, list, and end sessions with isolated worktrees for parallel development.
| Aspect | session | psm |
|---|---|---|
| Scope | Git worktrees + tmux sessions for development isolation | OMP Plugin State Manager — inspect and update plugin runtime state |
| Manages | Branches, worktrees, tmux windows/panes, session lifecycle | OMP internal state, session metadata, plugin config values |
| Use when | You need to create/switch/end a development context | You need to inspect or modify OMP's running plugin state |
interface SkillInput {
trigger: string;
args: string[];
}
interface SkillOutput {
status: "ok" | "error";
message: string;
}
export async function activate(input: SkillInput): Promise<SkillOutput>
export function deactivate(): void
Spawns bin/omp.mjs session [args]. No persistent resources are maintained.
git worktree add {path} {branch}
git worktree list
git worktree remove {path}
{project}-feature-{name}
session:{project}
└── window:feature-{name}
└── pane: editor
└── pane: terminal
└── pane: tests
# Create session
tmux new-session -s {name} -d
# Attach
tmux attach -t {name}
# List
tmux list-sessions
# Kill
tmux kill-session -t {name}
/omp:session start {name}
/omp:session attach {name}
/omp:session detach
/omp:session list
/omp:session end {name}
/omp:session worktree create {branch} {path}
Session state is stored in .omp/sessions/. Each session has a JSON record with worktree path, branch, tmux session name, and timestamps.
## 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}