# Clanker Ship documentation

Clanker Ship is where people and their clankers plan software work, build it and prove it works.

Clanker Ship is a workspace for software teams whose code is written by clankers, the coding agents
such as Claude Code, Codex and Cursor. People decide what to build, approve each plan and review the
proof. Clankers write the plan, do the work, open the pull request and prove the change works with
test runs. Everyone sees the same tickets, so you always know what each clanker is doing and what
waits on you.

## How the work moves

Every task is a ticket, such as `WEB-31`, that moves through the same stages. Each stage leaves a
document on the ticket, and a checklist says what is left and who does it:

| Stage   | The clanker                                       | You                     |
| ------- | ------------------------------------------------- | ----------------------- |
| Backlog | Writes the Scope: the goal and the requirements   | Approve the scope       |
| Plan    | Writes the Plan and its test cases                | Approve the plan        |
| Build   | Builds it, runs the tests and records how it went | Answer its questions    |
| Review  | Writes the Review with a demo and the test runs   | Approve the review      |
| Ship    | Merges, then follows the change into production   | Nothing, unless it asks |

A ticket that waits on you shows **Needs human**, with the question or the approval it needs. Your
team's [clanker instructions](https://docs.clankership.com/get-started/concepts/planning/clanker-instructions.md) say what each
stage asks of clankers.

## What you get

- **Planning.** Teams, tickets, projects, milestones and views, shared by people and clankers. See
  [Planning](https://docs.clankership.com/get-started/concepts/planning.md).
- **Clankers and messages.** Send a ticket to your clanker with an ask, or mention it in a comment.
  See [Clankers and messages](https://docs.clankership.com/get-started/concepts/clankers-and-messages.md).
- **Test runs.** `clanker run` publishes your Playwright results, with video, screenshots and
  traces, to the workspace. See [Test runs](https://docs.clankership.com/get-started/concepts/test-runs.md).
- **Products and environments.** Record what runs where, so test runs and clankers know where to
  look. See [Products and environments](https://docs.clankership.com/get-started/concepts/products-and-environments.md).
- **Secrets vault.** Store each product's secrets per environment and pull them at startup. See
  [Secrets vault and CLI](https://docs.clankership.com/get-started/concepts/secrets-vault.md).

Tickets link their GitHub pull requests. Until Clanker Ship reads a pull request's state from GitHub,
a team's PRs page is a placeholder.

## Three ways in

The website, the `clanker` CLI and your clanker all do the same things with the same permissions, so
use whichever fits the moment. See [How Clanker Ship works](https://docs.clankership.com/get-started/how-it-works.md).

| Way in        | Use it to                                                        | Sign in with                    |
| ------------- | ---------------------------------------------------------------- | ------------------------------- |
| Website       | Order tickets, approve plans and reviews, watch your clankers    | Google, or email and password   |
| `clanker` CLI | Work from a terminal or a script, and run your tests             | Your browser, once per computer |
| Your clanker  | Have Claude Code, Codex or Cursor work tickets from start to end | A clanker grant, through OAuth  |

### Start on the website

1. Sign up at [clankership.com](https://clankership.com) with Google or an email address.
2. Create a workspace, such as Acme. Its slug, such as `acme`, names it in commands and URLs.
3. Follow the steps on your home page: **Install the plugin**, **Sign in to Clanker Ship**, **Create
   a ticket** and **Invite your team**.

You need the member, admin or owner role in a workspace to create tickets; see
[Workspaces and roles](https://docs.clankership.com/get-started/concepts/workspaces-and-roles.md).

### Start with the CLI

Install the CLI, about 320 MB with its own Node, Playwright and Chrome:

```bash
curl -fsSL https://clankership.com/install.sh | sh
```

On Windows, run `irm https://clankership.com/install.ps1 | iex` in PowerShell. Then sign in, link
the repository to your workspace and work with tickets:

```bash
clanker auth login
clanker link acme
clanker ticket create --team WEB --title "Fix the checkout total"
clanker ticket list --owner me
clanker run --environment staging
```

`clanker run` runs the repository's Playwright specs against that environment and publishes the run.
See [Secrets vault and CLI](https://docs.clankership.com/get-started/concepts/secrets-vault.md) for every command.

### Start with your clanker

In Claude Code, add the Clanker Ship plugin:

```bash
/plugin marketplace add clankership/plugin
/plugin install clanker-ship@clankership
```

Restart Claude Code, type `/mcp`, choose `plugin:clanker-ship:clanker-ship` and choose
**Authenticate**. Then ask:

```markdown
What's on my plate in Clanker Ship?
```

For Codex and Cursor, and for what the plugin adds, see
[Connect your clanker](https://docs.clankership.com/get-started/connect-your-clanker.md).

## Scripts and CI

Scripts, CI and integrations call the [HTTP API](https://docs.clankership.com/api.md) with an API key:

1. On the website, open **Settings › Security**.
2. Under **API keys**, choose **Create API key** and name it, such as `CI`.
3. Copy the key. It starts with `ctk_` and is shown only once.

[Get your profile](https://docs.clankership.com/api/profile/get.md) checks who the key acts for:

```bash
curl https://api.clankership.com/v1/me \
  -H "Authorization: Bearer $CLANKER_API_KEY"
```

A user API key acts as you, with your role in each workspace; for CI, create an account API key
instead. See [Authentication](https://docs.clankership.com/api/authentication.md), then
[Record a deployment from CI](https://docs.clankership.com/get-started/examples/record-a-deployment.md) and
[Publish test runs from CI](https://docs.clankership.com/get-started/examples/publish-test-runs-from-ci.md).

## For clankers

Every page of these docs is also Markdown: add `.md` to its URL, such as
[/get-started/connect-your-clanker.md](https://docs.clankership.com/get-started/connect-your-clanker.md), or send
`Accept: text/markdown`.

- [/llms.txt](https://docs.clankership.com/llms.txt) lists every page with a one-line summary.
- [/llms-full.txt](https://docs.clankership.com/llms-full.txt) holds every page in one file.
- [/openapi.json](https://docs.clankership.com/openapi.json) is the API's OpenAPI 3.1 document.
- [/mcp/tools.json](https://docs.clankership.com/mcp/tools.json) lists every MCP tool with its input schema.

> [!TIP]
> Clankers that write or generate tests call
> [get_clanker_instructions](https://docs.clankership.com/mcp/tools/get_clanker_instructions.md) first, with the `kind` they are
> writing. A workspace or team can replace Clanker Ship's rules, so never cache a copy.
