Skip to content
Back to skills

Filament Machines

ASecurity

Filament across the person's machines — pairing a machine, phone or browser, the ways in (network, Tailscale, SSH), devices and their expiry, the owner key, the desk (one chat list, chats in place, Needs you, Ctrl+K), Run on and Bring back, agents, commands and models on another machine, and what each machine lets the others do. Load it when the person asks to reach Filament from elsewhere, pair or connect, run a chat or an agent on another machine, or why a machine does not answer.

  • 35 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 2, 2026
ai-agentsrustgoshellbashgitapi

Works with

  • claude code
  • cursor
  • terminal
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add invertibleMatrix/filament --skill filament-machines --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Filament Machines?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Filament Machines
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/invertiblematrix-filament-machines/badge)](https://www.skillsdirectory.com/skills/invertiblematrix-filament-machines)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: filament-machines
description: Filament across the person's machines — pairing a machine, phone or browser, the ways in (network, Tailscale, SSH), devices and their expiry, the owner key, the desk (one chat list, chats in place, Needs you, Ctrl+K), Run on and Bring back, agents, commands and models on another machine, and what each machine lets the others do. Load it when the person asks to reach Filament from elsewhere, pair or connect, run a chat or an agent on another machine, or why a machine does not answer.
---

# Filament across your machines

A server, a cloud VM, a Windows host or a Mac with no one at it: set up, kept running and updated in the skill
**filament-servers**. One check run on every machine at once: the skill **run-everywhere**.

## In seven lines

1. One Filament per computer holds that computer's projects, keys, sign-ins and chats. Another machine's app, browser
   or command line only shows and drives it: a chat, its agents and its terminal stay where that Filament runs.
2. Pairing makes a **device**: a code good for 5 minutes and one claim, made on the machine being reached.
3. Grants are the person's: what another machine's agents may do here is switched on by their press. While the desktop
   app runs, Filament refuses pairing codes, grants and loosened settings from a shell (they need the app's own press).
   Say where the switch is; never try to work around the refusal.
4. Never print, copy or pass on the owner key (`owner.key`), a device token or a pairing code, and never put one on a
   command line or in an environment variable.
5. From the command line, `filament connect` pairs it with another machine's Filament once; then any command goes
   there with `--machine <name>`: `filament status --machine Studio`.
6. Pair, revoke, forget, grant and copy keys only when the person asked for that very thing.
7. The permission modes, by their labels: **Read-only**, **Edit automatically** (`edit`), **Ask before changes**
   (`ask`), **Full access** (`auto`).

## Words

- **The desk**: the desktop app's window driving other machines' Filaments beside this one. **This computer** is the
  local machine's fixed name in it.
- **Device**: what pairing makes. Scopes: **Full** (drives as the person), **View-only** (reads alone), an **agents'
  device** (another machine's agents, never paired by a code), and a browser on this computer paired by
  `filament open`.
- **Grant pills**: the switches on a machine's card that say what one machine may do on the other.

## Pairing

- **On the machine being reached**: Settings › Remote access › **Pair with a code**, **Full** or **View-only**, then
  **Make a code**. Or `filament pair [--view]`, run on that machine (never with `--machine`). While the Filament app
  runs, `filament pair` is refused: the code is made in the app.
- The code reads `XXXX-XXXX`. Five wrong guesses from one address, or 20 from anywhere, within 5 minutes lock pairing
  for 5 minutes. **Codes open** lists codes made elsewhere, with **Close it**.
- Each way in gets its own link with a QR code: the tailnet one (`https://<machine>.<tailnet>.ts.net/ui/pair.html#code=…`,
  no warning on a phone) and the network one (`https://<ip>:20343/ui/pair.html#code=…&fp=…`, a certificate warning
  first: compare its SHA-256 fingerprint with the one shown).
- **On the other side**: open the link in a browser; or `filament connect <link>`, or
  `filament connect <address> <code> [--fingerprint <SHA-256>] [--name <this device>]`; or in the desktop app,
  Settings › Remote access › **Add a machine…** (paste the link, or the address and code, **Continue**, **Pair**). A
  machine reached only over SSH is added as `ssh://host`, with no code.
- `filament connect` keeps the token in `remotes.json` of this machine's data folder, never says it, and trusts only
  the certificate the link names. An address with no scheme is https, except a loopback one (an SSH tunnel), which is
  http. Plain http from another machine never carries a code or a token.
- **This computer's own browser**: `filament open [console] [--no-open]` pairs it at `filament-<12 hex>.localhost`.
  Safari cannot open that name: use Chrome, Firefox, Edge or the app. While the app runs, the tray's **Open in
  browser** does it.

## Ways in

Filament listens on this computer alone at first (`127.0.0.1` and `[::1]`, port 20300). Model endpoints, MCP and hooks
stay there whatever is switched on.

| Way | Switch (Settings › Remote access) and setting path | What it needs |
| --- | --- | --- |
| Local network | **Reach this machine on my network** · `server.lan.enabled` (port `server.lan.port`, 20343) | Windows: the **Windows Firewall** row's **Allow** (an administrator prompt; a Public network made Private first). Mac: Allow at macOS's prompt. Linux: open the TCP port (ufw, firewalld). |
| Tailscale | **Share on my tailnet** · `server.tailscale.serve`; **Trust my own tailnet login** · `server.tailscale.trustOwnLogin` | Tailscale installed and signed in, MagicDNS and HTTPS on in the tailnet's DNS page; on Linux maybe `sudo tailscale set --operator=$USER`. Trusted login lets the person's own tailnet login in unpaired; others still pair. |
| SSH tunnel | nothing to switch | `ssh -L 20300:127.0.0.1:20300 you@machine`, then `http://127.0.0.1:20300` (pair with `filament open --no-open` there). Every program on the client can use the tunnel's port. |

- The network certificate is self-signed, lasts 825 days and renews itself with the same key, so paired devices carry
  on. **Certificate key › New key…** makes everyone paired over the network pair again.
- The desk tries this computer, then the home network, then the tailnet, then an SSH tunnel, then an internet address,
  and moves back to a better way after 30 s idle.
- `filament settings get server.lan.enabled` reads a switch; `filament status --json` says `network` and `tailnet`.
  Setting one from a shell is refused while the app runs: tell the person the switch's place.
- A new machine with nothing installed: Settings › Remote access › **Set up over SSH…** (skill **filament-servers**).

## Devices

- Settings › Remote access lists **Machines** (a card each) and **Browsers and command lines**; each device line says
  its kind, scope, when and where last seen, and its expiry.
- `filament devices [list | revoke <device> | rename <device> <name>]` (by name or id; `--json` gives `expiresAt`).
- A person's device expires after **90 days unused**; each use resets it. An agents' device never expires.
- **Revoke** stops its token at once and closes its terminal and live view; on a machine's card it also signs out that
  machine's app and agents. **This device › Sign out** signs a browser out; `filament disconnect <machine>` signs this
  command line's own device out of a machine and forgets it (an agents' device goes by **Revoke** on that machine, or
  **Forget** while it does not answer); `filament machines [--json]` lists those it is connected to and the agents'
  devices the desktop app keeps.

## The owner key, and Programs on this computer

- Each start writes `owner.key` into the data folder (this account alone reads it) and removes it on stop. The
  `filament` command line, the desktop app and Filament's own calls send it; app windows carry a session instead.
- **Programs on this computer** (`server.loopbackTrust`): **Owner key** (`token`, the default) lets in only callers
  that hold the key; **Any program** (`legacy`) lets every program and account on this computer in. **Calls without
  the owner key** names the programs that called without it, and `filament doctor` warns on `legacy`. Only this
  computer changes it, and while the app runs only its window.
- Without the key a program gets 403 from the admin API, and the harness sends a browser to the pairing page.

## The desk

- Once another machine is kept, the top bar shows the **machines chip** (state dot, icon, colour, name, how many of
  its chats wait). Its menu lists each machine with **Ctrl+1…9** (⌘ on a Mac) and **Add a machine…** and
  **Update all machines…**; a machine's **⋯** holds **Colour**, **Icon**, `Update Filament on <name> to <version>…`,
  `Disconnect <name>` / `Connect <name>` and `Remove <name> from this window…`.
- **One chat list**: Now's **Needs you / Working / Done** hold every machine's rows, each with its machine's name;
  under **Projects** a machine's chat stands with the local project of the same git remote. The filter's **Machines**
  picks which machines show; **Group by › Machine** groups them. A machine that does not answer keeps its rows, greyed.
- **In place**: pressing another machine's chat shows that machine's own page of it beside this computer's left bar;
  what is sent there runs there. **Open full page** shows that machine whole.
- **Needs you**: each waiting ask of another machine (its question, a permission, its sub-agents' asks) has a card with
  one button per answer, a words box and **Open**. A plan, a long command, a secret and changes are answered in the
  chat (**Open**). An answer from a View-only device, a tailnet login or a tunnel with no device is refused: pair as
  Full. **Clear** under Done marks those rows seen on their machines too.
- **Ctrl+K** searches chats on each machine that answers, six results each under **On <name>**.
- The tray has a row per machine with its waiting count; a notification opens that machine at the chat.

## Run on: a new chat on another machine

- The Start's chip reads "Start a new chat in <project> on **This computer**". Its menu: **This computer**, **Auto**,
  each machine this Filament's agents keep a device on (its hover says why it would or would not take the chat),
  **Let your chats run on a machine…** (Settings › Remote access here). Desktop app only, and the chat needs a folder.
- **Auto** picks by a clean clone at your commit, how idle and how free the machine is, how many chats work there, and
  whether your model answers there; the chip says "Auto → Studio" and why.
- **Where it runs**: a clean clone there at your commit, with nothing uncommitted here, runs the chat in that clone;
  its changes come back by git. Otherwise a copy of the folder goes, uncommitted work included, after the
  person's **Send** on "Send <project> to <machine>?" (asked once per project and machine, again for a new file in no
  commit). Left behind: what `.gitignore` leaves out, secrets' files, credential folders, submodules, files over 100
  MB; Git LFS files arrive as pointers.
- The copy lives on the host under `~/Filament copies/From <machine>/…` (or `FILAMENT_COPIES_DIR`): at most 12 copies
  and 20 GB per sending machine, an idle copy removed after a week. There the chat is listed as "<project> (from
  <machine>)".
- The chat keeps its mode (else that machine's **New chats start in**) and model; its effort goes where the person
  picked it for this chat or the model's id spells it, else that machine's defaults decide; fast, its window and a
  thinking budget set for it go too. A model that does not answer there stops the send once and names the one it
  would use. The first message is words alone: attachments, a brief, `/flow`, `/plan`, `/goal`, `/steer-fork` and
  @names are refused. So are a new worktree in **Works in** and a chat handed from a Space.
- One copy holds one chat. A turn of a chat whose copy went is refused; the next new chat there sends a fresh copy.
- The machine must allow it. Here: **Agents** on its card, on the line "What this machine may do on <name>" (Run on
  comes with it). Or on it: this computer's card, **Run on** alone.

## Bring back: a Run on chat's changes, here

- Offered once a turn ends: a card "N files changed on Studio" with **Bring back** under the row in Now, and a "↩ N"
  pill on the chat. "Bring back N files from Studio?" brings them in as uncommitted edits: nothing staged or
  committed, HEAD unmoved.
- Where your edits overlap: per file **Keep yours**, **Take its**, or **Both, with markers**.
- It refuses while the chat still works there, says when it changed again since you looked, and says what the folder
  would not take. A sub-agent's copy on another machine comes back by its own apply, not Bring back.

## Agents, commands and models on another machine

- **The agent tool**: `list_machines: true` lists the machines with their system, load, memory, GPU and clones;
  `machine` runs a sub-agent there, `cwd` picks a folder there (with none: its own copy of this folder), `changes`
  hands it a patch (`running`, `turn`, `uncommitted`, `since:<ref>`). A saved agent, a graph task, a provider and a
  context other than none are refused with `machine`. A follow-up goes by `agent_id` alone, where its launch ran: one
  that names `machine` again is refused, and so are words sent while it works.
- In its own copy there, the copy stays its chat's for half an hour after a turn; then a new launch may take it, and a
  follow-up whose copy went is refused. In a folder of the person's there (`cwd`), its changes stay there: have it
  commit its own change alone on a branch of its own and push that branch, then fetch it here.
- **Background commands**: `bash_background` (Filament's loop) and `background_command` (Claude Code, Codex, Cursor)
  take `machine` and `cwd`. Up to an hour each, at most 8 at once on a machine. A coding agent's call that asks returns
  as soon as its permission card shows; **Deny**, or a card let go at the turn's end, ends the command. A dropped
  connection stops nothing; where that machine does not answer for 6 minutes, the command is ended here and a stop
  sent there.
- Each runs in this chat's permission mode there, as far as that machine allows: Full access runs unasked only where
  **Without asking** or **Full control** is on; otherwise it acts as Edit automatically. Its asks come to the
  person's chat as "On Studio, it asks to run …" with **Allow** / **Deny**: only the person's press answers.
- A sub-agent silent for 5 minutes is said unreachable; it may still be running there.
- **Models**: with **Models** on, that machine's models appear in the picker under a tab named for it
  (`studio/llama3.3`). Not lent: coding agents' models and models lent from a third machine.
- **Copy keys…** on a machine's card copies chosen provider keys there (nothing ticked at first); **Sign in there…**
  opens that machine's Settings › Coding agents in place.

## What a machine lets the others do

On each machine, Settings › Remote access › Machines › the other machine's card:

- Line *What <machine> may do on this machine* (the person's grants to it): **Agents** (holds **Run on**), **Run on**,
  **Models**, **Without asking**, **Coding agents**, **Full control** (asks first; holds Without asking and Coding
  agents), then **Clear copies** and **Revoke**.
- Line *What this machine may do on <machine>*: **Agents**, **Models**, **Full control**, **Browser** (the chat's
  browser there), **Sign in there…**, **Copy keys…**.
- Everything starts off. Another machine's agents never reach Settings, keys, providers, pairing, devices, the
  terminal or the person's chats, and a chat they started sends no sub-agent or command on to a third machine and
  uses no third machine's models, Full control included.
- Without Full control, their folders are `agentLoop.roots`, else the person's project folders, never a home folder,
  a drive root, a share or credential folders, and memory is off for them. Any call naming Filament's data folder is
  refused in every mode; their agent may read, by its path, only the one file Filament kept for that conversation (a
  part of a Filament tool's answer its program cannot take, such as an image or a sound). Their read, search and `lsp`
  calls, where Filament judges them, never reach a credential folder or a repository's `.git`, and an `lsp` answer
  leaves out places there.
- **Without asking**: `auto` runs their work unasked, and such a command can do whatever the person's account there
  can. **Coding agents**: their chats run on that machine's coding agents and sign-ins; Codex's sandbox and Cursor's
  own tools read without asking, as far as the person's account can, and so does Claude Code inside its folder. Codex
  still reads the person's `~/.codex/AGENTS.md` and `~/.codex/skills` there; Cursor's command line loads
  `~/.cursor/mcp.json`. Either only for a machine of yours.
- **Full control**: their chats start in any folder but Filament's data folder and get the person's MCP servers,
  skills and memory there. A command they run can read and change Filament's keys and `owner.key`, and, on a server
  with no app, pair a device of its own that outlasts Full control. Only for a machine of yours.
- Switching **Agents** off stops their running turns and commands, and refuses their next call; **Full control** off
  stops them too, and their next turn is fenced again.

## Versions

A machine on an older Filament is offered **Update Filament on <name> to <version>…**, and the menu **Update all
machines…**; one on 0.9.85 or older updates over SSH or with `filament update` there (skill **filament-servers**). An
older machine opens its whole page instead of a chat alone.

## Common problems

- **A certificate warning**: compare the SHA-256 fingerprint with Settings › Remote access › **Certificate** there; a
  different one means something else answered.
- **The network way fails on Windows**: the network is Public: make it Private, then **Allow**.
- **Signed out after a while**: 90 days unused; pair again.
- **Locked out of pairing**: five minutes after the wrong codes.
- **A changed host key over SSH**: check it, then `ssh-keygen -R <host>`.
- **"lets no chat of yours run there"**: Run on (or Agents) is off on that machine's card for this computer.
- **A sub-agent or command finds no clone there**: give `cwd`, or let it work in its own copy; never clone unasked.
- **An unpushed commit there**: push it, or hand `changes: "uncommitted"`.
- **Copy keys does nothing**: the app attached to a Filament it did not start.

## Commands

| Command | Reads only? |
| --- | --- |
| `filament machines [--json]`, `filament devices [list] [--json]`, `filament status --machine <name>` | yes |
| `filament pair [--view]` (on the machine reached; refused while its app runs) | no |
| `filament connect <link>` · `filament connect <address> <code> [--fingerprint <SHA-256>] [--name <this device>]` | no |
| `filament disconnect <machine>`, `filament devices revoke <device>`, `filament devices rename <device> <name>` | no |
| `filament open [console] [--no-open]` (pairs this computer's browser) | no |
| any command with `--machine <name>` or `--url <address>` (or `FILAMENT_MACHINE`): run on that machine's Filament | as the command |

Reads only is not runs unasked: of these, your shell runs only `filament status` unasked, and only with `--json` or
`--help` as flags. `machines`, `devices` and `--machine` ask the person first, as every command outside that list does
(skill **filament-setup**).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.