# AI use cases for Shell Online (TeoSlayer/shell.online)

Repo: [TeoSlayer/shell.online](https://github.com/TeoSlayer/shell.online) | Use cases: 4 | Page: https://dedupedai.com/use-cases/teoslayer-shell-online/

shell.online is an open source CLI and hosted relay that runs an agent or terminal command on your computer and lets you view and use that same session from a browser.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Check and answer a running agent from your phone: https://dedupedai.com/use-cases/teoslayer-shell-online/check-and-reply-to-agent-from-phone/
- Let a teammate watch a terminal without typing: https://dedupedai.com/use-cases/teoslayer-shell-online/share-read-only-view-with-teammate/
- Watch a dev server or script from another device: https://dedupedai.com/use-cases/teoslayer-shell-online/run-dev-server-and-monitor-remotely/
- Give another agent scoped access to a session: https://dedupedai.com/use-cases/teoslayer-shell-online/grant-scoped-agent-access-to-session/

## How to check and answer a running agent from your phone with Shell Online

Repo: [TeoSlayer/shell.online](https://github.com/TeoSlayer/shell.online) | Difficulty: Beginner | Time: 15 minutes | Basis: From the README

Start an agent at your desk, then watch its output and reply to prompts from a phone browser.

**Who it is for:** A developer who starts a coding agent on their work computer and leaves the desk while it runs.

**The problem:** Agents stop at prompts or keep running while you are away, and you have no way to see their output or answer from another device.

**The outcome:** The agent session runs on your computer and you can view its terminal output and send replies from a browser on another device.

### Steps

1. Install on the computer doing the work with `curl -fsSL https://shell.online/install | sh` on macOS, Linux, BSD or Solaris, or `irm https://shell.online/install.ps1 | iex` in PowerShell on Windows.
2. Start an installed agent with `shell claude`, `shell codex`, `shell opencode` or `shell muse`.
3. Scan the QR code or open the printed link in your phone browser, then enter the printed password.
4. Keep the host computer awake and online, then watch the output and reply to prompts from the browser.

### Prompt to paste into your agent

```text
Using the repo TeoSlayer/shell.online, install the shell CLI on <target-computer> and start the agent with `shell claude`. Expected output: a printed link, password and QR code for the new session. Verify by opening the link in a second browser and confirming the live terminal output matches the host.
```

### Caveat

The session only lives while the host process runs, so a sleeping or offline computer cannot be reached.

Risk, credentials: The link and password give anyone who holds them the same typing permissions as the process, so share them only with people you trust.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/teoslayer-shell-online/check-and-reply-to-agent-from-phone/

## How to let a teammate watch a terminal without typing with Shell Online

Repo: [TeoSlayer/shell.online](https://github.com/TeoSlayer/shell.online) | Difficulty: Beginner | Time: 15 minutes | Basis: From the README

Share a read-only link so someone can follow a command's output without control of it.

**Who it is for:** A team lead or reviewer who wants a colleague to follow a build, test run or agent session without being able to type into it.

**The problem:** Sharing a full interactive link gives the viewer the same typing permissions as the process, which is more access than a review needs.

**The outcome:** A teammate opens a link and watches the session output while the process only accepts input from the host.

### Steps

1. Install the CLI with the installer for your system from the install section of the README.
2. Add `--read-only` to a start command, for example `shell --read-only -- npm run dev`. The README shows the flag but does not give a full example with a command. (inferred, check the README)
3. Send the printed link and password to the teammate through a channel you trust.
4. Ask the teammate to confirm they can see the output and cannot type into the session.

### Prompt to paste into your agent

```text
Using the repo TeoSlayer/shell.online, start a read-only share of <command> on this machine with `shell --read-only`. Expected output: a printed link and password for a view that does not accept typed input. Verify by opening the link in a second browser and confirming input is refused there.
```

### Caveat

The README does not give a full example command for --read-only, so confirm the exact flag placement with shell help before relying on it.

Risk, credentials: Anyone with the read-only link and password can still see all output, so check that the command does not print secrets before sharing it.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/teoslayer-shell-online/share-read-only-view-with-teammate/

## How to watch a dev server or script from another device with Shell Online

Repo: [TeoSlayer/shell.online](https://github.com/TeoSlayer/shell.online) | Difficulty: Beginner | Time: 15 minutes | Basis: From the README

Run a long dev command on your computer and check its output and sessions from elsewhere.

**Who it is for:** A developer who starts a dev server or Python script at home and wants to check it from a laptop elsewhere.

**The problem:** Long-running commands in a local terminal are hard to monitor once you leave that machine, and you may lose track of which session is which.

**The outcome:** The command runs on your computer, you can open its session from another device, and you can list and reattach to local sessions.

### Steps

1. Start the command with `shell -- npm run dev` or `shell -- python script.py` on the computer doing the work.
2. Open the printed link or scan the QR code on another device.
3. Run `shell list` on the host to see the sessions on this machine.
4. Run `shell attach` with the session you want to rejoin locally, and press Ctrl-X then D to detach.

### Prompt to paste into your agent

```text
Using the repo TeoSlayer/shell.online, run `shell -- npm run dev` in <project-directory> and then run `shell list`. Expected output: a session entry for the dev server and a printed link for remote viewing. Verify by opening the link from a second device and confirming the dev server log is visible.
```

### Caveat

A saved link does not restore the process, so if the host restarts you must start the command again.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/teoslayer-shell-online/run-dev-server-and-monitor-remotely/

## How to give another agent scoped access to a session with Shell Online

Repo: [TeoSlayer/shell.online](https://github.com/TeoSlayer/shell.online) | Difficulty: Advanced | Time: 30 minutes | Basis: From the README

Create a limited MCP grant so a second agent can inspect or control one terminal session.

**Who it is for:** An engineer running multiple agents who wants one agent to monitor or drive a session started by another agent.

**The problem:** Letting a second agent act on a live terminal needs a bounded permission, and a browser password alone does not give it the right access.

**The outcome:** A second agent receives a scoped grant for one session, and you can revoke that access by rotating the session password.

### Steps

1. Install the CLI and start the primary agent with `shell claude`, `shell codex`, `shell opencode` or `shell muse`.
2. Follow the guide at https://shell.online/agents/ to create a scoped MCP grant for the session.
3. Give the grant only to the agent you intend to authorize.
4. Run `shell password rotate` on that session to change browser access and revoke MCP grants when access should end.

### Prompt to paste into your agent

```text
Using the repo TeoSlayer/shell.online, start <agent-name> on this machine with `shell <agent-name>` and follow https://shell.online/agents/ to create one scoped MCP grant for that session. Expected output: a grant that the second agent can use for that session only. Verify that the grant works for inspecting the session and that `shell password rotate` on that session revokes it.
```

### Caveat

The README points to the agents guide for the grant steps and does not show the grant commands, so follow that guide directly rather than assuming a command.

Risk, credentials: A native MCP grant lets the authorized client decrypt the session server side, so issue it only to an agent you fully trust and rotate it when the work ends.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/teoslayer-shell-online/grant-scoped-agent-access-to-session/
