Run Longhaul's setup from this chat: accounts (add, sign in, remove, pick a chat's), switching, subagent models, the VS Code panel, the status line, auto-update, clearing limits, uninstalling. Each change runs only after the user's yes.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Manage?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/noah-os-manage)
---
name: manage
description: "Run Longhaul's setup from this chat: accounts (add, sign in, remove, pick a chat's), switching, subagent models, the VS Code panel, the status line, auto-update, clearing limits, uninstalling. Each change runs only after the user's yes."
allowed-tools: Bash(${CLAUDE_PLUGIN_ROOT}/bin/longhaul status) Bash(${CLAUDE_PLUGIN_ROOT}/bin/longhaul switch) Bash(${CLAUDE_PLUGIN_ROOT}/bin/longhaul models) Bash(${CLAUDE_PLUGIN_ROOT}/bin/longhaul update status) Bash(${CLAUDE_PLUGIN_ROOT}/bin/longhaul uninstall --dry-run) Bash(${CLAUDE_PLUGIN_ROOT}/bin/longhaul repair --dry-run) Bash(${CLAUDE_PLUGIN_ROOT}/bin/longhaul activity) Bash(${CLAUDE_PLUGIN_ROOT}/bin/longhaul panel)
---
Longhaul's setup actions, which once needed a terminal, run from this chat
on the user's word: each line below is one action and its exact command.
Run each by that full path, `${CLAUDE_PLUGIN_ROOT}/bin/longhaul`; the
plugin's shim runs these forms and refuses any other. What the user asked
for: $ARGUMENTS (or the conversation before).
Ask first, always. For every command that changes something, show the user
the exact command, say in plain words what it changes, ask, and run it only
after their yes in this chat: one yes, one command. Claude Code's own
permission prompt is not enough: the VS Code panel can run in a mode that
approves Bash by itself. The lines marked "reads" change nothing and need
no yes. Show what a command prints as it is.
Before `${CLAUDE_PLUGIN_ROOT}/bin/longhaul uninstall --yes --purge`, say
first that it deletes ~/.longhaul: the checkpoints, the usage ledger and
the accounts list, for good.
Accounts:
- See them, their sign-ins and limits, and the switching mode (reads): `${CLAUDE_PLUGIN_ROOT}/bin/longhaul status`
- Add one: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul add NAME EMAIL`, with `--repo PATH` for each repository it alone may be used in (and those inside it) and `--dir DIR` for its folder (default ~/.claude-<name>). It writes Longhaul's accounts list, then signs the account in.
- Sign one in again: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul setup NAME --relogin`; `${CLAUDE_PLUGIN_ROOT}/bin/longhaul setup NAME` signs in one that is not.
- Take one off the list: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul remove NAME`; its folder and sign-in stay. Deleting its folder as well is not run from here: tell the user first that its sign-in and the chat history kept in that folder go for good, then that they do it themselves, with **Remove and delete its sign-in folder…** in `/accounts` or `longhaul remove NAME --delete-folder` in a terminal, which says what goes and asks first.
- Where one may be used (reads): `${CLAUDE_PLUGIN_ROOT}/bin/longhaul folders NAME`. Change it: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul folders NAME --add PATH` (a folder it may be used in, and those inside it), `--remove PATH`, each PATH starting with / or ~/ and repeatable, or `${CLAUDE_PLUGIN_ROOT}/bin/longhaul folders NAME --anywhere` (drops its list). A folder on an account's list is kept for the accounts that list it, so say which other accounts that leaves out, as the command's output does.
Which account a chat runs on, and which a folder prefers:
- Run this chat on one account from now on: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul use NAME`. A VS Code panel chat moves the next time Claude is idle in it; any other chat starts there when it is next opened, and the command says which. It refuses an account not allowed in this chat's folder, one at its usage limit (`${CLAUDE_PLUGIN_ROOT}/bin/longhaul clear NAME` forgets a limit that is over), or one not signed in as expected. It is no lock: at a usage limit the switching mode decides, as for any chat.
- Prefer an account in a folder: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul folders NAME --prefer PATH`; `${CLAUDE_PLUGIN_ROOT}/bin/longhaul folders NAME --no-prefer PATH` takes it off. A new chat in PATH or a folder inside it, and a chat there that moves at a usage limit, goes to NAME first while it has room; a reopened chat goes back to the account it ran on. A PATH the account may not be used in is refused, with why.
For add and setup, tell the user first that the sign-in opens in the
browser and that they sign in there with that account's email: Longhaul
accepts no other. A browser signed in to claude.ai as someone else: copy
the link into a private window. Never ask for a password, a code or a token
in the chat. If no browser opens, give the user the same line to type in a
terminal, `longhaul` in place of the full path.
Settings:
- Switching at a usage limit (reads): `${CLAUDE_PLUGIN_ROOT}/bin/longhaul switch`. Set it: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul switch MODE`, MODE ask (ask first: in the terminal, and in the panel with Longhaul's pane, whose question only the user answers), auto (move by itself) or never (wait for the reset).
- Subagent models (reads): `${CLAUDE_PLUGIN_ROOT}/bin/longhaul models`. Set them: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul models MODE` (guide, on, off or trial), `${CLAUDE_PLUGIN_ROOT}/bin/longhaul models cap MODEL` (haiku, sonnet, opus or fable; off for none), `${CLAUDE_PLUGIN_ROOT}/bin/longhaul models TYPE MODEL` (one agent type's row).
- The VS Code panel on Longhaul's accounts: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul vscode on --yes` (it replaces any other program the panel was set to run); back to its own sign-in: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul vscode off`. Each edits VS Code's settings, a copy kept. After either, tell the user to reload VS Code: Cmd+Shift+P, then Developer: Reload Window.
- The status line: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul statusline install --yes` sets Claude Code's to Longhaul's, replacing one of the user's own (say so; a copy is kept); `${CLAUDE_PLUGIN_ROOT}/bin/longhaul statusline uninstall` puts the one before back.
- Claude Code's auto-update for Longhaul (reads): `${CLAUDE_PLUGIN_ROOT}/bin/longhaul update status`. Set it: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul update on --yes` or `${CLAUDE_PLUGIN_ROOT}/bin/longhaul update off --yes`.
- Forget the recorded usage limits (an account was reset before its time and Longhaul still waits for it): `${CLAUDE_PLUGIN_ROOT}/bin/longhaul clear`. The chats waiting for one carry on within a few seconds. One account's alone: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul clear NAME`.
Something stuck (a wait or a question that never goes, a limit that is not
a time, an accounts.json that will not read, the VS Code panel pointing at
a Longhaul that is gone): offer this before any uninstall.
- What is stuck, one line each with what its fix does (reads): `${CLAUDE_PLUGIN_ROOT}/bin/longhaul repair --dry-run`. Show it as it is.
- The fixes do not run from here: tell the user to run `longhaul repair` in a terminal, which asks before each fix (`longhaul repair --yes` makes them all; `longhaul repair --fix ID --yes` one alone), or to press **Fix** on the Troubleshoot page of `/accounts`, which asks too.
- Longhaul off in the VS Code panel's chats, without an uninstall: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul panel pause`; back on: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul panel resume`; which is in force: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul panel`. Each counts for the chats opened after it: say so. The Troubleshoot page of `/accounts` has the same as a button.
- What Longhaul did by itself, and why (reads): `${CLAUDE_PLUGIN_ROOT}/bin/longhaul activity` (today; `--days 7` for a week, `--chat ID` for one chat). Show its lines as they are.
Uninstall:
- What it would remove (reads): `${CLAUDE_PLUGIN_ROOT}/bin/longhaul uninstall --dry-run`; with ~/.longhaul too: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul uninstall --dry-run --purge`. Show it before asking.
- Remove what Longhaul set up outside the plugin (its status line, VS Code's line, auto-update, the terminal command): `${CLAUDE_PLUGIN_ROOT}/bin/longhaul uninstall --yes`; ~/.longhaul too: `${CLAUDE_PLUGIN_ROOT}/bin/longhaul uninstall --yes --purge`. The output says how to remove the plugin itself.
Terminal only: give the user the line to type there. The trials
(`longhaul trial ...`: a chat must not know or set its own arm),
`longhaul advisor record-probe` (half of the Advisor's gate, the owner's
alone), and starting a chat (`longhaul`, `-c`, `-r`: in VS Code the panel
already runs the chat on the right account).
With buttons: `/accounts`, typed by the user, does the account actions,
switching, the VS Code panel, forgetting the limits and the fixes of
Troubleshoot in a pane, and is
where the user answers the question at a usage limit. Tell the user of it
when they would rather press than type; the rules above still hold for
every command you run.
If the shim refuses a command, show its message and do not try another
form of it.