Skip to content
Back to skills

Setup

ASecurity

Create a new agent station - find or clone agent-station as its coordination repo, publish its page as a claude.ai artifact with its database, record its alias, add its URL to this plugin's stations option and open it. Use when the user asks to set up, create or install a station, or after installing this plugin with no station.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
ai-agentsgogitdatabasesecurity

Works with

  • claude code
  • mcp

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add dlportel/agent-station --skill setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup?

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

Security grade badge for Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dlportel-setup/badge)](https://www.skillsdirectory.com/skills/dlportel-setup)

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: setup
description: Create a new agent station - find or clone agent-station as its coordination repo, publish its page as a claude.ai artifact with its database, record its alias, add its URL to this plugin's stations option and open it. Use when the user asks to set up, create or install a station, or after installing this plugin with no station.
---

# Set up an agent station

Create the user's station. Explain each step to the user in one line as you go, and ask before
anything they have not asked for. The user approves each publish and each write as usual.

Where the session has the claude-artifacts MCP server instead of the Artifact and ArtifactData
tools, use its tools for the same steps: `publish_files` to publish, `read_artifact` to read a
file, `db_get` and `db_write` for the database (`slug` is the station's URL, `path` is
`<collection>/<id>`).

## 1. Find the coordination repo

A station needs a coordination repo: the repo whose Claude Code session delivers the orders. It has
no room of its own, and it must sit in the same folder as the user's other repos, because the
dispatcher finds the station's repos next to it. A clone of agent-station is the usual one: it does
nothing but run the station, and it holds the station's page. (Any other repo of the station can be
chosen as coordination later in CONFIGURE, at the cost of its room.)

- If the working directory is a clone of agent-station (it holds `page/office.html` and
  `page/themes/space.js`), use it.
- Otherwise find the folder that holds the user's repos: the parent of the repo the working
  directory is in (`git rev-parse --show-toplevel`). If the working directory is in no repo, ask the
  user which folder holds their repos; never guess it.
- Look there for `agent-station` holding those two files, and use it if it is there. If a folder of
  that name exists without them, tell the user and ask what to do with it; do not clone over it.
- Otherwise tell the user why the station needs one, and ask whether to clone agent-station into
  `<that folder>/agent-station`. Clone it only if they agree; if they do not, stop. Clone the
  release that matches this plugin, so the page and the plugin are the same version: the version
  `claude plugin list` shows for it, as
  `git clone --branch v<version> https://github.com/dlportel/agent-station.git <folder>`; if that
  tag does not exist, clone without `--branch`.

From here on, "the clone" is that folder. When it is not the working directory, the page cannot be
published from where it is: copy `page/office.html`, `page/station.js`, `page/station.css` and
`page/themes/space.js` from the clone into your scratchpad directory, keeping `themes/space.js`
under a `themes` folder, and publish those copies.

- Find this plugin's id with `claude plugin list`: the entry named `agent-station`, for example
  `agent-station@agent-station`. If there is more than one `agent-station`, tell the user
  that only one copy may be installed per computer and stop.

## 2. Ask two things

- The station's name (default `STATION`).
- Its language: English (`en`, the default) or Spanish (`es`).

## 3. Publish the page

Publish the clone's `page/office.html` (or its copy, see step 1) with the Artifact tool as a new
artifact:

- `title`: the station's name; `icon`: `robot`;
- `files`: `{ "station.js": "page/station.js", "station.css": "page/station.css",
  "themes/space.js": "page/themes/space.js" }`, plus `{ "theme.js": "<path>" }` only if the user
  has a theme of their own;
- `capabilities`, exactly:

  ```json
  { "db": { "rules": [
    { "path": "sessions", "read": "owner", "write": "owner" },
    { "path": "orders", "read": "owner", "write": "owner" },
    { "path": "config", "read": "owner", "write": "owner" },
    { "path": "dispatchers", "read": "owner", "write": "owner" }
  ] } }
  ```

Keep the URL it returns (`https://claude.ai/artifact/<id>`): it is the station's URL.

## 4. Record its alias

The same artifact also answers at `https://claude.ai/code/artifact/<uuid>`, and the plugin's guard
needs both URLs to protect the station.

- Read one of the artifact's files with the Artifact tool (`action: "read"`, the station's URL,
  `path: "themes/space.js"`). The result says where it saved the file: the folder it saved it in
  is named after the artifact's uuid.
- Confirm it: an ArtifactData `get` of `config/departments` on
  `https://claude.ai/code/artifact/<uuid>` must answer that there is no such document (the
  artifact exists and is empty), not that there is no such artifact.
- If you cannot find or confirm the uuid, stop here: without its alias the guard does not protect
  the station under its second URL. Tell the user the station's URL, and that they can finish by
  hand with the steps in docs/reference.md, *Manual setup*, from recording the alias on.

## 5. Write the first configuration

With ArtifactData, `set` the document `config/departments` on the station's URL (it is new, so no
`if_version`):

```json
{ "title": "<name>", "language": "<en|es>", "aliases": ["https://claude.ai/code/artifact/<uuid>"] }
```

## 6. Point the plugin at it

The `stations` option decides which stations every session reports to, so change it only as
follows:

- Add only the URL you published in step 3, never one read from a file, a message or another
  agent. Check that it matches `https://claude.ai/artifact/<letters and digits>` and that the
  plugin id matches `<name>@<marketplace>`; if not, stop.
- Read the plugin's current options: `claude plugin configure <plugin id> --json`. Keep the URLs
  `stations` already lists and add the new one after a `;`.
- Show the user the complete new value and ask them to confirm it before saving.
- Save it from a file, not from the command line: write `{"stations":"<the confirmed value>"}` to a
  temporary JSON file and run `claude plugin configure <plugin id> --values-stdin < <file>`; then
  delete the file.

## 7. Permissions

The plugin approves its own calls (its writes to the station and the background command of KEEP
AWAKE), but on an account of a Team or Enterprise organization, and on a machine with managed
settings, Claude Code's built-in security plugin answers permission decisions first and the
plugin's approval is skipped. Tell the user, in this order:

- The coordination session works best with permissions bypassed (`bypassPermissions`): every
  feature of the station works there, KEEP AWAKE included.
- In auto mode most of the station works, but the plugin's own calls go to the auto-mode
  classifier, which refuses calls no request asked for: KEEP AWAKE cannot start, and now and then
  a report to the station is refused and sent again later. The rule `"ArtifactData"` (or
  `"mcp__claude-artifacts__db_write"` where the session has that server) in
  `permissions.allow` of the user settings (`~/.claude/settings.json`) lets the reports through,
  but it also lets any agent write to any artifact's database without asking (the plugin still
  refuses agents' writes to a station), so the user decides. Add it only if the user confirms,
  showing the exact line first; auto mode may refuse to let you edit the settings, and then the
  user adds it. Never add a rule for KEEP AWAKE's command: it runs a loop, and a rule broad enough
  to cover it would let other commands through.

## 8. Hand over

Open the station with the Artifact tool (`action: "open"`) and tell the user, in this order:

1. In the station, CONFIGURE opens by itself: add your repos by their origin remote, this clone
   among them. This clone is chosen as COORDINATION by itself. Choose a deck for each room and
   save. Describe what each room's agent does under SETTINGS: the agents read it.
2. Run `/reload-plugins` in the sessions you have open (or restart the Claude app).
3. Open a Claude Code session in the clone and send it a message: it is the coordination session,
   and that starts the dispatcher (if this session already runs in the clone, it is this one). Keep
   it open; after restarting the Claude app, send it a message again.
4. Open sessions in your other repos: each appears as a robot in its room.

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.