> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Add mods to the mux

> Switch mods on and off in the mux Mods tab, install a pack from a URL, and put a mod in a layout slot.

A mod is a panel you add to the mux. For example, the Review ledger mod shows the newest review verdict on each branch. Mods come in packs. A pack can also hold layouts, which arrange a whole window. F\[no] installs and lists packs with `fno config plugins`.

After this page, you can turn on the mods that ship with F\[no] and show one in a pane. You can put a mod in a layout slot next to your pane. You can also install a pack from a git URL and see what it runs before you agree.

Nightly builds before v0.4.9 named this tab Extensions. The v0.4.8 release has no Mods tab.

## Terms

* **Pack:** a folder or git repo with a `plugin.yaml` file. It holds mods, layouts, or both.
* **Mod:** one panel in a pack. Its name is `<pack>/<mod>`, for example `fno-panels/review-ledger`.
* **Switch:** the on or off state of one mod. Only a mod that is on can run.
* **Digest:** a sha256 hash of every file in the pack. A change to any file gives a new digest.
* **Slot:** one place in a layout. A slot holds your pane, a shell, an agent, or a mod.

## Before you begin

* Install F\[no] v0.4.9 or later through the [quickstart](/docs/quickstart.md). Run `fno --version` to check.
* Open the mux: run `fno` in your project folder. The mux opens with one pane. [Create a mux workspace and start a session](/docs/guides/mux-workspaces.md) shows this step.

Run each command on this page in that mux pane. The `graft` command must run in a mux pane.

## The three kinds of mod

Each mod draws its panel in one of three ways. The kind decides whether the mod is on after install.

| Kind | What runs | After install |
| - | - | - |
| Feed | One fno read from a fixed list, such as `fno-agents review-summary`. The mod draws its JSON rows as a table. No pack program runs. | On |
| Run | The pack's own command, from the pack folder. | Off, until you turn it on |
| Built in | Nothing. It names a view the mux paints itself, such as the backlog board. | On, and stays on |

A run mod runs code from the pack. The Mods tab marks it "Runs code".

## Turn on the packs that ship with F\[no]

F\[no] ships one pack, `fno-panels`. It holds the Backlog board, Review ledger and Decisions mods. The pack sits in the plugin folder that the installer writes. Activate it once:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno config plugins activate "$(cat ~/.fno/install/plugin-root)/plugins/fno-panels"
```

The command prints the pack id, its version and its digest:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
activated fno-panels 0.1.0 digest=8fbf935e142a
```

If your F\[no] build ships a newer pack, your digest differs.

Review ledger is a feed mod, so it is on after the activate. Backlog board and Decisions are the built-in kind, so they are always on.

## Use the Mods tab

1. Press `Ctrl+b`, then `Shift+S` (a capital S), to open Settings. If you changed `mux.prefix`, press your prefix instead of `Ctrl+b`.
2. Press `Tab` until the dot moves to `mods`, or click `mods`.
3. Move with the up and down arrows. Press `Enter` on a row to use it, or click the row.

![The Mods tab with demo packs. The Review ledger row has a check mark, with Open in a pane, Preview and Recipe rows under it. The Clock row has an empty box and the label Runs code.](https://mintcdn.com/fno/DQlFc1nwfGybkxpq/images/mods-dark.png?fit=max\&auto=format\&n=DQlFc1nwfGybkxpq\&q=85\&s=dd3e336e1f051a41da081444685d5d66)

The shot shows demo packs. Your list shows the packs you installed.

Each mod row shows its title, its `<pack>/<mod>` name and a one-line summary. Under it are these rows:

| Row | What it does |
| - | - |
| The mod row, with `☑` or `☐` | Switches the mod on or off. A built-in mod shows "Built in" and a grey box, and has no switch. |
| Open in a pane | Opens the mod in a new pane to the right. Only a feed or run mod that is on has this row. |
| Preview | Opens the mod's preview image in the file viewer. If the pack has no preview for the mod, the row does not show. |
| Recipe | Opens the mod's `RECIPE.md` in the file viewer. The recipe says what the panel shows and each command it runs. If the pack has no recipe for the mod, the row does not show. |

While the tab is open, it reads the installed list again every 3 seconds. A pack that finishes its install in a pane shows up with no key press.

### Turn on a mod that runs code

The first time you turn on a run mod, the tab asks before it runs anything. It shows the command and the commit the pack came from.

![The approval step for demo-clock/clock. It shows the shell command the mod runs and the commit 4f2a9c1e7b3d. Under them is the row Turn it on and let it run.](https://mintcdn.com/fno/DQlFc1nwfGybkxpq/images/mods-confirm-dark.png?fit=max\&auto=format\&n=DQlFc1nwfGybkxpq\&q=85\&s=3ce0492ab3e17db890a649fd0906ae78)

Read the command. To agree, press `Enter` on "Turn it on and let it run". To stop, press `Enter` on "back" or press `Esc`.

### Switch a mod from the command line

The same switches work outside the mux:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno config plugins disable fno-panels/review-ledger
fno config plugins enable fno-panels/review-ledger
```

Each command prints the new state:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno-panels/review-ledger off
fno-panels/review-ledger on
```

Give only the pack id, such as `fno-panels`, to switch every mod and layout in the pack.

## Install a pack from a URL

A pack from a URL is code that someone else wrote. F\[no] runs none of it before you agree.

1. In the Mods tab, press `Enter` on "Install from URL".
2. Type or paste the git URL, then press `Enter`.

The install runs in a new pane. The pane prints a consent card before it asks you anything. The card names the URL, the commit, the content digest, and every command a mod in the pack runs or reads. It ends with "not reviewed by fno". Answer the prompt in that pane.

The command-line form is the same install:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno config plugins install https://github.com/<owner>/<repo>
```

An agent can start an install, but it cannot agree for you. With no person at the terminal, the install exits with code 2. It prints an `fno inbox approvals decide` command for a person to run.

A new commit of the pack is a new digest, so you agree again. Packs do not update by themselves.

### Find published packs

Press `Enter` on "Browse published packs". The tab lists public repos that carry the `fno-mod`, `fno-layout` or `fno-pack` GitHub topic. It installs nothing. Press `Enter` on a row to put its URL in the install field.

![The Mods tab with the gallery open. Two demo packs show their star counts and the label Not reviewed by fno.](https://mintcdn.com/fno/DQlFc1nwfGybkxpq/images/mods-gallery-dark.png?fit=max\&auto=format\&n=DQlFc1nwfGybkxpq\&q=85\&s=88ccd78bc1984fa5497e80a6a7455707)

## Put a mod in a layout slot

`fno mux layout graft` splits your current pane into a layout and fills each slot. You do not need the Mods tab for this, and a mod pane you opened from the tab can stay open. To fill a slot with a mod, use `--slot mod:<pack>/<mod>`. Run this in a mux pane:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno mux layout graft --at current --template main-left \
  --slot anchor --slot mod:fno-panels/review-ledger
```

* `--at current` keeps your pane as the anchor of the layout.
* `--template` picks the shape: `main-left`, `main-top`, `row-thirds`, `col-thirds` or `grid-2x2`.
* Each `--slot` fills the next slot in order. A graft needs at least two. Give `anchor` once for your own pane.

The graft prints one line per slot:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
grafted anchor=1 squad=1 tab=·1 tab_id=1
  slot s0 pane=1 Anchor
  slot s1 pane=2 Mod
```

Your pane stays on the left. The Review ledger opens on the right. Its table shows "(no rows)" until a review runs.

![A grafted layout. The left pane shows the graft command and its receipt. The right pane shows the Review ledger table header with no rows.](https://mintcdn.com/fno/DQlFc1nwfGybkxpq/images/mod-slot-graft.png?fit=max\&auto=format\&n=DQlFc1nwfGybkxpq\&q=85\&s=0217a99bce9295602585bd698efb76b9)

The mod pane runs one fixed command, `fno config plugins open <pack>/<mod>`. A slot cannot name any other command.

Use a feed or run mod in a slot. A built-in mod, such as `fno-panels/backlog-board`, opens only from the mux. Its pane prints `is the mux's own backlog-board view; open it from the mux` and stops.

### A mod slot that gets a shell

If the mod cannot start, its slot gets a shell, and the graft still succeeds. The plain receipt shows `Shell` for that slot. Add `--json` to see why:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno mux layout graft --json --at current --template main-left \
  --slot anchor --slot mod:fno-panels/review-ledger
```

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
{"anchor":1,"squad":1,"tab":1,"results":[{"slot":"s0","pane_id":1,"outcome":"anchor"},{"slot":"s1","pane_id":4,"outcome":"shell","reason":"mod off"}]}
```

| `reason` | Cause | Fix |
| - | - | - |
| `mod off` | The mod's switch is off. | Turn it on in the Mods tab, or run `fno config plugins enable <pack>/<mod>`. |
| `no installed mod <pack>/<mod>` | No installed pack has that mod. | Check the name in the Mods tab, or install the pack. |
| `plugins read failed: ...` | The mux could not read the installed list. | Run `fno config plugins ls` and fix the error it prints. |

A name that is not `<pack>/<mod>` refuses before any pane starts:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno mux layout graft: graft --slot mod: wants <pack>/<mod>, got "fno-panels"; accepted: anchor|fno:<id>|mod:<pack>/<mod>|- (shell)
```

## Mods in the desktop app

The desktop app has the same list as its Mods view. Press `Cmd+3` or click Mods in the strip. It reads the same installed list as the mux tab, so a switch in one shows in the other. Install and open run in a mux pane, and the window then moves to the terminal.

## Limitations

* A mux restart does not start a mod pane again. Each pane has a keeper, a small process that holds the pane's program. If the keeper still runs after the restart, the mux takes the pane back. If the keeper is gone, the slot shows a shell.
* `fno mux layout apply`, which arranges a whole window, has no mod slot yet. Use `graft`.
* A pack from a URL that holds roles, skills, agents, adapters, workflows or evaluators refuses. Install that pack from a local folder.

## Next steps

* [Create a mux workspace and start a session](/docs/guides/mux-workspaces.md): keep each project's tabs and panes apart.
* [Set mux keys and resize splits](/docs/guides/mux-keys.md): move `Ctrl+b` to another prefix.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.