← Back to Plugins
Channels

SoloFleet

AbraxasSH56 By AbraxasSH56 👁 15 views ▲ 0 votes

Run a crew of AI agents in Discord on a single Claude subscription. Open-source rules, an OpenClaw plugin and scheduled scripts: a usage card on every reply, an owner-attention ledger, audit-gated task completion, and one desktop operator with approval cards. Built on OpenClaw and the Claude Code CLI (claude -p).

GitHub

README

# SoloFleet

English | [简体中文](README.zh-CN.md)

**One Claude subscription, driving a small crew of bots that work in Discord.** Built on [OpenClaw](https://github.com/openclaw/openclaw). Shared as a personal showcase.

SoloFleet is an open-source setup for running a crew of AI agents in Discord on a single Claude subscription. It is built on OpenClaw and connects the subscription through the Claude Code command line (`claude -p`), so a multi-agent team runs on one plan instead of each agent paying per use through its own API key.

This repository holds everything needed to set the same thing up: the rules the bots follow, the plugin and scripts that keep the basics from slipping, the templates and scheduled-job prompts, and the documents that explain why it is put together this way.

## At a glance

| Item | Details |
|---|---|
| **What it is** | Open-source rules, one OpenClaw plugin and a set of scheduled scripts for a multi-agent crew that works in Discord |
| **Built on** | [OpenClaw](https://github.com/openclaw/openclaw) (gateway and plugin interface), Discord, and the Claude Code command line (`claude -p`) |
| **What you need** | A Mac that stays on (desktop operation is verified on macOS only), OpenClaw, Node.js 24.16 or later, Python 3, a Discord application and bot account for each bot, a Claude subscription, and the `claude` command line signed in |
| **Main features** | A usage card under every reply; requests to the owner in three tiers with a pending-decisions ledger; task completion gated by an independent audit; write-through records with a daily session reset; one desktop operator with a lock, a queue and owner-only approval cards |
| **License** | MIT |
| **Status** | A personal showcase. The author uses it day to day |

## What it is for

Two things get hard once you run more than a couple of agents:

1. **The bill stops making sense.** When every agent calls an API on its own, you find out what happened after the fact, in a console.
2. **One person's attention does not stretch.** A dozen agents can each ask a reasonable question, and together they bury you.

SoloFleet is one person's answer to both. The bots share a single Claude subscription, and every reply says what it used. The rules and the program layer are arranged so the owner hears from the crew rarely, and each time with a recommendation attached.

## The whole picture

```mermaid
flowchart LR
  Owner((Owner))
  subgraph Discord
    W[Workshop]
    P[Project channels<br/>and task threads]
    L[Lounge]
    A[Approval channel]
  end
  subgraph Bots["Bots, by duty"]
    C[Controller]
    K[Workers]
    D[Desktop operator]
    TA[Task auditor]
    SA[System auditor]
    O[Diary keeper · Standby]
  end
  subgraph Sub["One Claude subscription"]
    S1[Subscription pool<br/>through the claude CLI]
    S2[Included API credits<br/>scheduled audits, standby bots]
  end
  OC[OpenClaw gateway]
  PL[Program layer<br/>one plugin + scheduled scripts]

  Owner <--> Discord
  Discord <--> Bots
  Bots <--> OC
  OC --> S1
  OC --> S2
  PL -. gates, daily checks, back-fills .- OC
```

The diagram in words: the owner talks to the bots in Discord; the bots all run inside one OpenClaw gateway; the gateway puts the whole of one Claude subscription to work: everyday turns run on the subscription itself, through the `claude` command line, and the API credits that come with the plan, if yours has them, carry the scheduled audits and the standby bots. A program layer, one plugin plus scheduled scripts, sits beside the gateway and checks, blocks and back-fills.

- The owner talks to the crew in Discord, the way you would talk to a team in a group chat.
- Each bot has one duty. The Controller takes requests, records them, hands work out and reports back. Workers do the work in task threads. One Desktop operator is the only bot allowed to touch the screen. A Task auditor checks finished work; a System auditor checks the system itself.
- One Claude subscription is used to the full. Everyday conversation runs on the subscription itself, through the official `claude` command line (`claude -p` is the non-interactive form of the same path). If your plan also comes with API credits, they are not left idle: the scheduled audits and the standby bots run on them, each with its own key, and stop when the credits run out, with no switch to paid usage.
- Beside all this sits a program layer: one OpenClaw plugin and a handful of scheduled scripts that check, block and back-fill the things that must happen.

More in [Overview](docs/en/overview.md).

## How it differs from the usual setup

Most of the individual ideas here have been done by someone else, and [Why this design](docs/en/why-this-design.md) names them. What we have not found elsewhere is the set, fitted around one person running many bots.

- **One subscription for the whole crew, and every reply shows what it used.** The subscription runs the crew's everyday work, and the API credits that come with it (if your plan has them) run the scheduled audits and the standby bots, so nothing in the plan goes to waste. Under each reply there is a small card, on by default: which model, which pool, the reasoning effort, and which files changed this turn. Want the remaining-quota line too? Install the [CodexBar](https://github.com/steipete/CodexBar) command line (a macOS app) and set two plugin options; the steps are in the [Setup guide](docs/en/setup.md#6-external-dependencies-and-what-happens-without-them).
- **Designed around one person's attention.** Bots that were not addressed stay quiet. Anything that needs a decision arrives merged, with a recommendation and numbered options, and is kept on a ledger so it cannot be lost. One report a day.
- **The program layer keeps the basics, without relying on the model to remember.** A task card cannot be marked done until an independent audit has passed and the result has not changed since. Auditors are held read-only. Judgement calls stay in the rules.
- **Write-through, then reset every day.** What the owner says is written into the records in the same turn, so sessions can be cleared daily and nothing needs explaining twice.
- **One bot on the desktop, with a lock, a queue and approval cards.** Payments, sending, deleting, submitting, uploading and installing wait for the owner's own click, one click per action. The safety document says plainly which cases the program can recognize and which it cannot.
- **No patches to OpenClaw.** This repository uses only official settings, the official plugin interface and one plugin of its own. It carries nothing that modifies the OpenClaw program itself.

## What a day looks like

You say what you want in the Workshop. The Controller restates anything complicated, proposes who should do it, and waits for one yes. After that the work happens in a project channel and you mostly see results. When something truly needs you, it comes as a short message with options; you answer with a number. In the evening there is one report.

[Daily use](docs/en/daily-use.md) walks through it.

## Getting started

Follow the [Setup guide](docs/en/setup.md). In short you need a Mac that stays on, OpenClaw, a Discord server with one bot account per duty, a Claude subscription, and the `claude` command line signed in on that machine. You sign in yourself, on your own machine; nothing in this repository handles or forwards your login.

Then see [Configuration](docs/en/configuration.md) for what to change to fit your own setup, and [Localization](docs/en/localization.md) for the language the crew works in and the fixed wording the programs recognize.

## What is in the repository

| Path | What it holds |
|---|---|
| `docs/` | These documents, in English and Chinese |
| `rules/` | The shared rules every bot follows, plus the part specific to each duty |
| `plugins/personal-inbox/` | The OpenClaw plugin: completion gate, auditor guard, desktop lock, approval handling, reply card, ledgers |
| `scripts/` | Scheduled scripts that run without a model: daily checks, reconciliation, quota handling, reminders |
| `config/` | One place for everything specific to a deployment, plus example OpenClaw settings |
| `templates/` | Task record, project entry, decision ledger and index templates |
| `jobs/` | Prompts for the scheduled jobs: daily and weekly system audit, daily patrol, diary |
| `personas/` | An empty persona template and one original example |
| `tests/` | Offline tests for the programs |
| `builder-tools/` | Optional tools for whoever maintains the system: a cross-vendor review script and two writing skills |

## Role-play is optional

In the reference deployment each bot speaks as a character, which makes a working day more fun. It is one way to use this, not a requirement: personas only shape how a bot talks, never what it concludes, and everything works without them. See [Roles](docs/en/roles.md).

## Common questions

### Can one Claude subscription run several AI agents?

In this setup, yes, and the aim is to make full use of that one subscription. The everyday bots run on the subscription itself: OpenClaw hands each of their turns to the `claude` command line signed in on the same machine, in non-interactive mode (`claude -p`). The API credits that come with the same subscription, if your plan has them, are put to work too: they run the scheduled audits and the standby bots, each with its own key, and stop when they run out, with no switch to paid usage. The subscription's own usage limits still apply: when one is reached the work pauses, and a script picks it up again after the reset. See [Setup, step 2](docs/en/setup.md#2-connect-the-subscription) and [Why this design](docs/en/why-this-design.md).

### Can I use models from other providers?

The repository is written and tested for a Claude subscription: the rules, the configuration examples and the quota handling all assume it. OpenClaw itself can work with other providers, so swapping is possible in 

... (truncated)
channels

Comments

Sign in to leave a comment

Loading comments...