Skip to content
Back to skills

Cli

ASecurity

How Collie works, and how to help the operator run it from this terminal.

  • 1,737 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 1, 2026
ai-agentsrustbash

Works with

  • terminal

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned November 10, 2026

npx -y skills add AltanS/collie --skill cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli?

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

Security grade badge for Cli
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/altans-cli/badge)](https://www.skillsdirectory.com/skills/altans-cli)

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: collie
description: How Collie works, and how to help the operator run it from this terminal.
---

# Collie

Collie is a phone web UI for the AI agents running in a terminal. One bridge mirrors one
multiplexer on one machine, and the phone reaches it over Tailscale. A crew joins several machines
behind one URL.

## The four layers

| Layer | What it is |
| --- | --- |
| Web | The PWA the operator opens on a phone. It talks to the bridge that served it. |
| Crew | An optional link from a lead machine to its members, so one URL reaches all of them. |
| Bridge | The service on the machine. It serves the PWA and answers the phone. |
| Mux adapter | The one multiplexer this install mirrors: Herdr, tmux or zellij. |

## Get the facts, do not guess them

- `collie status`, whether the bridge runs, and on which URLs.
- `collie crew status`, every member of this crew, and what each one reports.
- `collie doctor`, the checks that say why something does not work.
- `collie docs <name>`, one operator page, printed from this binary. `collie docs` lists them.

## Helping with a crew

Give the operator the commands to type on the lead machine. Do not run ssh, and do not run
`collie crew add`, on their behalf unless they ask you to.

The operator adds a machine with `collie crew add <ssh-host>` on the lead, then reads
`collie crew status` to see it arrive. Run `collie docs crew` for the full flow, and for the section
"Herdr machines and the crew".

The crew's own name is display data the lead shows. `collie crew rename <name>` on the lead changes
it; it writes only that machine's trust store and sends nothing to a member.

A machine saved in Herdr is not a crew member. Herdr's saved machines are ssh targets in the
operator's own Herdr window. A crew is Collie on every machine, reached over Collie's own link. The
operator sets ssh up once, and both tools use it.

## Write a theme

When the operator asks for a theme, run `collie theme skill` first and follow it. It holds every key a
theme file may use, and the loop with `collie theme check` that proves the file before the operator
imports it.

## Durable agents (experimental)

A durable agent is a long-running agent built on the durable SDK. Collie shows it on the phone beside the
terminal, and each of its conversations is one session. Collie holds no model key for it.

Give the operator the commands to type, and read the state yourself:

```bash
collie durable attach <name> --socket <path>
collie durable attach <name> --url <https-url> --token-env <VAR>
collie durable detach <name>
collie durable list
collie restart
```

`attach`, `detach` and `list` are the three verbs. `attach` and `detach` change `sources.json` and
restart nothing until the operator runs `collie restart`, or adds `--restart`. `list` only reads, and
so does `collie doctor`. Run `list` and `doctor` for the operator. Do not run `attach`, `detach` or
`restart` on their behalf unless they ask. Never print a token.

When a durable agent does not show on the phone, read the doctor rows. The `sources` row checks the file.
Each durable agent in `sources.json` has six, with its name after a colon: `durable-env:desk`, `durable-socket:desk`, `durable-url:desk`,
`durable-token:desk`, `durable-hello:desk` and `durable-ready:desk`. A row that fails stops the ones
after it. An instance with no terminal prints the same six rows without the name. On a member of a
crew, `durable-lead` says whether the lead is new enough to show the question card.

Run `collie docs durable-agents` for the full flow.

## The operator pages

{{COLLIE_DOCS_TABLE}}

Collie {{COLLIE_VERSION}}. This text is embedded in the binary; it matches the installed version.

Files in this skill

  • beacon.test.ts10.1 KB
  • beacon.ts15 KB
  • build.test.ts31.6 KB
  • build.ts16.3 KB
  • cache-findings.test.ts9.3 KB
  • cache-findings.ts10.8 KB
  • candidates.test.ts8.8 KB
  • candidates.ts12.2 KB
  • config.test.ts13 KB
  • config.ts14.1 KB
  • context.test.ts21.7 KB
  • context.ts26.7 KB
  • crew-deputy.test.ts57.2 KB
  • crew-deputy.ts35.3 KB
  • crew-status-deputy.test.ts14.9 KB
  • crew-status-deputy.ts30.7 KB
  • crew-update.test.ts54.9 KB
  • crew-update.ts68.5 KB

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.