tmux
/tmux
Uruchamia zadania w tle, przechwytuje wyjście odłączonych procesów i zarządza sesjami tmux na serwerze bez ekranu.
- Autor
- DaRacci ↗
- Repozytorium
- nix-config ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 26.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Uruchamia zadania w tle, przechwytuje wyjście odłączonych procesów i zarządza sesjami tmux na serwerze bez ekranu.
Oryginalny opis (EN)
Manage background jobs, capture command output, and handle session multiplexing. Use when running long commands, capturing output from detached processes, or managing concurrent tasks in headless environments.
Jak działa
- Quick Reference
- Running Background Processes
- Capturing Output
- Sending Input
- Session Management
- Wait for Completion
- Common Patterns
- Tips
Podgląd SKILL.md
--- name: tmux description: Manage background jobs, capture command output, and handle session multiplexing. Use when running long commands, capturing output from detached processes, or managing concurrent tasks in headless environments. --- # tmux Terminal multiplexer for background jobs, output capture, and session control. ## Quick Reference | Command | Description | | ------------------------------------- | --------------------------------- | | `tmux new -d -s name 'cmd'` | Run command in background session | | `tmux capture-pane -t name -p` | Capture session output | | `tmux send-keys -t name 'text' Enter` | Send input to session | | `tmux kill-session -t name` | Kill session | | `tmux ls` | List sessions | | `tmux has -t name` | Check if session exists | ## Running Background Processes ```bash # Run command in new detached session tmux new-session -d -s myserver 'python -m http.server 8080' # With specific working directory tmux new-session -d -s build -c /path/to/project 'make build' # Keep session alive after command ends tmux new-session -d -s task 'command; exec bash' # Run only if session does not already exist tmux has -t myserver || tmux new-session -d -s myserver 'command' ``` ## Capturing Output ```bash # Capture visible output tmux capture-pane -t mysession -p # Capture whole scrollback tmux capture-pane -t mysession -p -S - # Capture last N lines tmux capture-pane -t mysession -p -S -100 # Save to file tmux capture-pane -t mysession -p > output.txt # Capture with escape sequences (colors) tmux capture-pane -t mysession -p -e ``` ## Sending Input ```bash # Send text and press Enter tmux send-keys -t mysession 'echo hello' Enter # Send without Enter tmux send-keys -t mysession 'some-text' # Send Ctrl+C tmux send-keys -t mysession C-c ``` ## Session Management ```bash # List sessions tmux list-sessions tmux ls # Kill specific session tmux kill-session -t myserver # Kill all sessions tmux kill-server # Check whether session exists tmux has -t mysession ``` ## Wait for Completion ```bash # Signal completion from command tmux new-session -d -s job 'command; tmux wait-for -S job-done' # Wait for signal tmux wait-for job-done ``` ## Common Patterns ### Development Servers ```bash tmux new-session -d -s backend 'bun run backend' tmux new-session -d -s frontend 'bun run frontend' tmux new-session -d -s tests 'vitest --watch' ``` # Run and capture output ```bash tmux new-session -d -s job 'command' sleep 0.5 output=$(tmux capture-pane -t job -p) echo "$output" ``` ### Conditional session ```bash tmux has -t myserver || tmux new-session -d -s myserver 'command' ``` ### Clean up ```bash tmux kill-session -t backend tmux kill-session -t frontend tmux kill-server # Kill all ``` ## Tips - Use `tmux new-session -d` for background jobs - Use `tmux capture-pane -p -S -` for whole scrollback - Use `tmux has -t name` to check whether session exists - Use `tmux kill-server` to clean up all sessions - Use `-c /path` to set working directory - Use `exec bash` to keep session alive after command
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · DaRacci/nix-config | 100 | MIT |
| julianobarbosa/claude-code-skills | 100 | MIT |
| G1Joshi/Agent-Skills | 100 | MIT |
| nicknisi/claude-plugins | 100 | MIT |
| hkuds/nanobot | 96 | MIT |
| rachebtms/Cirno | 96 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki b4b4a00dcdea (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100tmux-aware
Uruchamia usługę w panelu tmux i sprawdza wynik procesów w tle, gdy sesja tmux jest aktywna. - 100autodl-remote-tmux
Uruchamia i monitoruje długie zdalne zadania w panelach tmux przez AutoDL Remote. - 100tmux-automation
Uruchamia testy aplikacji CLI w izolowanych sesjach tmux lub byobu, wysyła klawisze, przechwytuje wynik i monitoruje przebieg przez ai-monitor. - 100session
Zarządza sesjami i drzewami roboczymi Git oraz sesjami tmux: tworzy nowe sesje i porządkuje worktree. - 95effect-command-executor
Uruchamia i zarządza procesami potomnymi w Effect: przechwytuje wyjście, składa polecenia w potoki i sprząta po zakończeniu. - 100tmux-orchestrator
Steruje w tmux interaktywnymi procesami, takimi jak trening czy inferencja na GPU, i uruchamia je równolegle.