setup
/setup
Instaluje wakemux z klona gita, sprawdza maszynę poleceniem doctor, zapisuje ustawienia i w razie potrzeby usuwa go w całości.
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 13.11.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
Instaluje wakemux z klona gita, sprawdza maszynę poleceniem doctor, zapisuje ustawienia i w razie potrzeby usuwa go w całości.
Oryginalny opis (EN)
Installs wakemux from a git clone, checks the machine with `wakemux doctor`, writes the user's wakemux settings after asking about them, and uninstalls wakemux completely. Use it when the user asks to install, set up, configure, check or uninstall wakemux, or pastes the setup prompt from the wakemux README. Also works before wakemux is installed, read straight from a clone.
Jak działa
- 1. Check the place
- 2. Get the code
- 3. Check the machine
- 4. Settings
- 5. Finish
- Uninstall
Podgląd SKILL.md
---
name: setup
description: Installs wakemux from a git clone, checks the machine with `wakemux doctor`, writes the user's wakemux settings after asking about them, and uninstalls wakemux completely. Use it when the user asks to install, set up, configure, check or uninstall wakemux, or pastes the setup prompt from the wakemux README. Also works before wakemux is installed, read straight from a clone.
---
# Set up wakemux
Work through the steps in order. Ask before you install software, overwrite a file or change shell settings. Report each step's result in one line.
Change files only through `install.sh` and `wakemux config set`. They note every change in `~/.local/state/wakemux/manifest.tsv` and keep a backup of each original, so the uninstall below can restore it. Do not edit the user's shell profile or settings file by hand.
The clone lives in `~/.local/share/wakemux` unless the user names another folder or wakemux is already installed. Call it `<clone>` below. `<wakemux>` means `<clone>/bin/wakemux` for a clone install and plain `wakemux` for a marketplace install; pick it in step 2 and use it throughout.
## 1. Check the place
- `uname` must print `Darwin`. Otherwise say wakemux runs on macOS only and stop.
- `echo $CMUX_WORKSPACE_ID` must print something. If it is empty, say that this session does not run in a cmux terminal. Setup can continue, but the user has to start Claude Code from a cmux terminal to use wakemux.
## 2. Get the code
Check what exists:
- `claude plugin list` shows `wakemux@wakemux`: the marketplace install is in place. Skip to step 3 and use `wakemux` from the Bash tool, which Claude Code provides for installed plugins. Do not also run `install.sh`.
- `<clone>/.git` exists: run `git -C <clone> pull --ff-only`.
- Neither: run `git clone https://github.com/mschmdb/wakemux.git <clone>`.
Then run `<clone>/install.sh`. It links the clone into the Claude Code skills folder and `bin/wakemux` into `~/.local/bin`. If it refuses because something already exists at a target, show the user its message and ask what to do. Never delete the existing file yourself.
If `install.sh` notes that `~/.local/bin` is not on the PATH, offer to run `<clone>/install.sh --add-path`. It backs up the shell profile and adds a marked block that uninstall removes again. Only with a yes.
## 3. Check the machine
Run `<wakemux> doctor`. For each line:
- `FAIL`: explain what is missing and how to get it. Install nothing without the user's yes.
- `warn not inside a cmux terminal` and `warn claude does not run through the cmux wrapper`: the user must start Claude Code from a cmux terminal. Reports cannot wake sessions started elsewhere.
- `warn wakemux plugin not installed`: expected right after `install.sh`; Claude Code loads the plugin in the next session.
- `warn settings: ...`: fix it in step 4.
## 4. Settings
Show the current values with `<wakemux> config`. Then ask these questions in one message, each with the default as the suggested answer:
1. GitHub organizations whose repositories require pull requests (`prRequiredOrgs`, default none). Example: the user's employer.
2. Git-ignored files to copy into each new thread (`copyFiles`, default `.env`).
3. How many threads may be open per repository (`maxThreads`, default 4, `0` for no limit).
4. Browser and dev server next to each thread for web projects (`devLayout`, default `auto`, or `off`).
Set only the answers that differ from the default, one command each, for example `<wakemux> config set prRequiredOrgs "acme, beta"` and `<wakemux> config set maxThreads 6`. The command validates the value, keeps the file's other keys and backs up the original before the first change. Show the user the commands before you run them. Settings for one repository belong in `.wakemux.json` in that repository; mention this, do not create it.
Run `<wakemux> config` again and confirm the values. `docs/configuration.md` lists every setting (in the clone, or at https://github.com/mschmdb/wakemux/blob/main/docs/configuration.md).
Then offer the `SendMessage` allow rule. When cmux cannot deliver a report, the thread forwards it through Claude Code, and Claude Code asks for approval in the thread first. The report waits until someone approves it there. Explain the trade-off in two sentences: with the rule, Claude Code no longer asks before any `SendMessage`, also when the model sends one in any session; without it, a forwarded report waits for a click in the thread. Only with a yes, ask the user to add `SendMessage` on the Allow tab of `/permissions`, or to put `"SendMessage"` into `permissions.allow` of `~/.claude/settings.json` themselves. Do not edit that file yourself, and tell the user that the uninstall does not remove the rule.
## 5. Finish
Tell the user:
- Start a new Claude Code session from a cmux terminal, in a project's main checkout.
- `/wakemux` opens the threads pane there.
- Ask for any side task "as a thread" to start one.
If the user had an older, hand-made version of this setup, for example a `thread` skill in `~/.claude/skills/thread` or another plugin that reports thread turns, point out that both would run side by side, and ask whether to disable the old one.
## Uninstall
When the user asks to remove wakemux:
1. **Open threads.** Run `git worktree list` in the current repository and in each repository listed with `exclude` in `~/.local/state/wakemux/manifest.tsv`. Name every thread worktree with uncommitted changes or commits not merged into its base. Ask the user to land or clean them up first, or to confirm that they stay. Never delete a worktree or a branch yourself.
2. **Settings.** Ask whether the user wants their wakemux settings back as they were before (`--purge`) or kept for a later install.
3. **Run the uninstall** with `${CLAUDE_PLUGIN_ROOT}/install.sh --uninstall`, plus `--purge` if the user chose it. It removes the links and the PATH block from the shell profile. With `--purge` it also restores the settings file from its backup (or removes it if wakemux created it), takes `.claude/worktrees/` out of `.git/info/exclude` in repositories without open threads, and deletes `~/.local/state/wakemux`. Show the user its output.
4. **Marketplace install:** afterwards run `claude plugin uninstall wakemux@wakemux` and `claude plugin marketplace remove wakemux`.
5. **The clone:** if `git -C <clone> status --porcelain` prints nothing, offer to delete the clone folder. Delete it only with a yes.
6. **Tell the user what stays,** because wakemux did not create it or cannot know it is unused: thread branches and worktrees they kept, `.wakemux.json` files in repositories, cmux workspace groups and the workspace renamed `main`, and a settings file that wakemux never changed (for example one the user wrote by hand). Start a new Claude Code session so the plugin is gone from it.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · mschmdb/wakemux | 100 | MIT |
| HwangSlater/harness-fit | 100 | MIT |
| nesquikm/dev-process-toolkit | 100 | MIT |
| userKael/rastro | 100 | MIT |
| als-apg/osprey | 100 | BSD-3-Clause |
| dedujeong/gemba | 100 | Apache-2.0 |
| eigenwise/eigenwise-toolshed | 100 | MIT |
| awrshift/agent-memory-kit | 100 | MIT |
| lifecycle-innovations-limited/claude-ops | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 9ba942f1051d (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
- 100manage-skills
Instaluje, usuwa i sprawdza skille z klona repozytorium kapo-skills i aktualizuje wspólny zestaw. - 96doctor
Sprawdza, czy narzędzia i wtyczki potrzebne Pavedline są zainstalowane, a brakujące opisuje i instaluje. - 100setup-kit
Ustawia pliki AGENTS.md, strażników agentów, kontrole lint i CI oraz ustawienia repozytorium w dowolnym języku. - 100austere-setup
Instaluje i konfiguruje austere-axi na tym komputerze: sprawdza Node, instaluje skill i testuje pętlę przeglądu. - 98mmsetup
Konfiguruje, przekonfigurowuje lub usuwa Memory Mason: ustawia ścieżkę vaultu, instaluje haki i w razie potrzeby usuwa instalację. - 90setup-workstation
Przygotowuje komputer do budowy rozwiązań Power Platform z agentami AI: instaluje narzędzia, wtyczki, logowanie i sprawdza działanie.