Skip to content
Back to skills

Setup

ASecurity

Set up the current project for the work queue (Ravenseat plugin): queue.config.json, docs, CLAUDE.queue.md, .gitignore, recommended settings, the empty queue, a smoke test, and optionally the user''s own TODOs and plans as queue entries. Use when the user types "/ravenseat:setup", "set up the queue", "install the queue in this project", or when a queue command says there is no queue.config.json.

  • 97 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 11, 2026
ai-agentsgoshellnodegitapidatabase

Works with

  • api

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add vegardjorg/ravenseat --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/vegardjorg-setup/badge)](https://www.skillsdirectory.com/skills/vegardjorg-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: 'Set up the current project for the work queue (Ravenseat plugin): queue.config.json, docs, CLAUDE.queue.md, .gitignore, recommended settings, the empty queue, a smoke test, and optionally the user''s own TODOs and plans as queue entries. Use when the user types "/ravenseat:setup", "set up the queue", "install the queue in this project", or when a queue command says there is no queue.config.json.'
disable-model-invocation: true
---

# /ravenseat:setup: set up this project for the work queue

You set up the CURRENT project. Ask the user where a step says ASK. Do not push anything.
Extra instructions from the user: **$ARGUMENTS** (empty = none).
`<dataFolder>` is the `dataFolder` in `queue.config.json`, default `scripts/.queue`.

## 0. Check

- `node --version` is 20 or newer. Note the main integration branch (often `main`, sometimes `develop` or `staging`).
- `ravenseat setup --dry` starts with a `PRECHECK:` line when the folder is not a git repo, has no commit, or has no
  git identity. ASK the owner once with that line, and on a yes run only what it names (`git init`, `git config
  user.name` and `user.email` in this repo, never `--global`, and a first commit). Setup never does these itself.
- A `PRECHECK:` line also names the scope Ravenseat runs from. From user scope an `INFO:` line follows: project scope
  is recommended (see "Which scope?" in `docs/queue/guide.md`). Tell the user in one sentence and go on; it stops
  nothing, and you never run `claude plugin` commands for them.
- `ravenseat help` works. If `ravenseat` is not found, the plugin's `bin/` folder is not on PATH in this shell: use
  `node "${CLAUDE_PLUGIN_ROOT}/scripts/orchestrator/ravenseat.mjs"` instead of `ravenseat` in every step below.
- If `queue.config.json` already exists and `ravenseat setup --dry` does not say it is `still on the example values`,
  the project is set up: say so, run `ravenseat show`, and stop unless the user asks for more. Otherwise go on: setup
  fills in only the fields still on the example's values and names them.

## 1. Write the project files

Show the plan first: `ravenseat setup --dry`. Then ASK the user two things in one question:
- may it add the line `@CLAUDE.queue.md` to `CLAUDE.md` (the queue's rules for Claude: batch push, pathspec commits,
  worktree rules)?
- may it add the recommended settings to `.claude/settings.json` (it lists them: a 1 hour prompt cache for subagents,
  compaction at 300k context, worktrees from HEAD)? A plugin cannot set these itself. They matter for cost, but they
  apply to the whole project, so it is the user's call.

Then run `ravenseat setup` with `--claude-md` and/or `--settings` for what the user said yes to. Nothing existing is replaced.
A user who keeps Ravenseat local (out of the shared files) gets `--claude-md local` (the line goes to `CLAUDE.local.md`)
and `--settings local` (`.claude/settings.local.json`); offer that as the third answer. A later plain `--settings`
keeps that choice and names the file it used.
The queue's data lives in `<dataFolder>`. When the user wants it somewhere else (for example `.ravenseat/data`), add
`--data-folder <dir>` to both runs: a new `queue.config.json` gets it, and `.gitignore` and `setup-base/` use it at once.
These are setup flags, not settings.

## 2. Configure `queue.config.json`

ASK first: **lite (recommended for a first run)** or full? Lite is the core loop only: add a task with just a title,
the agents do it, you merge; questions for the user still wait on the board. Full adds classes, value, focus, the
batch queue, the plan register and helper agents. Lite: fill in only `projectName`, `baseBranch` and the gates below,
skip `areas`, and in step 3 run `ravenseat init --lite` with the lite smoke test. Full: `ravenseat init --full`, and everything
below. The user can switch later with `ravenseat mode full` or `ravenseat mode lite`.

Fill in, asking the user where you are not sure:
- `projectName`: a short name. `baseBranch`: the integration branch tracks branch from and merge into; `ravenseat setup` has set it to the current branch, so check it.
- `gates.quick` and `gates.full`: the project's real check commands (type check, lint, tests). `ravenseat setup` has set what it could read from the project. Check them: read `package.json`
  scripts (or the equivalent for the stack) and propose them; empty lists are allowed (gates then pass trivially, and the
  push guard, `ravenseat receive` and `ravenseat merge` say that no checks ran).
- `migrations`: only if the project has numbered database migrations. Otherwise leave `folder` as `null`.
- `areas`: ASK which areas the product has (for example "auth", "billing", "mobile"); use the answer for `areas`
  and `projectAreaSuggestion`. A project with no area needs no entry (it shows as `without-area`).
- `reviewers`, `board.port`, `board.title`: the defaults are fine to start with.

Keys starting with `_` or `$` are comments.

### Safety basics (one question)

Run `ravenseat doctor` and read its baseline lines (`secrets`, `gates`, `ci`, `lockfile`, `prod`, `largefile`). Tell the
user in plain words what it found (a FAIL under `secrets` first: a key in git must be changed, not only removed). Then
ASK one question, and write only what the user says yes to:
- "Which branch goes live (production)?" Write it as `productionBranch` (leave `null` if they do not know). If it is
  the same as `baseBranch`, say once that every batch push then goes straight to production; their call.
- Only when doctor says `no CI config found` and the project is on GitHub: "Want a small GitHub Actions workflow that
  runs your `gates.quick` on every push and pull request? (`.github/workflows/ravenseat-gates.yml`; you add your runtime setup
  step, for example setup-node and npm ci.)" On yes, run `ravenseat setup --ci`. It never overwrites an existing workflow. For
  other hosts, point to the README section "Safety baseline" instead of writing anything.
- When checks are missing, say that `/ravenseat:kickstart` takes them one step at a time, whenever the user wants. Do not run it
  as part of setup unless they ask.
- Deploy commands (`deployCommands`) stay empty unless the user names theirs; the push guard then asks before any of
  them runs. The secret check before push is on by default (`secretScan`); mention it, do not change it.

### How much guidance (one question)

Ask once, after the ravenseat init in the next step has made the queue: "Do you want Ravenseat to point out what is missing, like
CI, tests and next steps (recommended if you are new to agents or CI), or do you run your own setup?" On "my own setup", run
`ravenseat guidance quiet`. It stops that advice, the light review, the intake triage and the gate proposals. The safety guards
stay on, and nothing then tells them if no check runs. The board's settings or `ravenseat guidance guided` turn it back.

## 3. Create the queue and smoke test it

Lite:

```
ravenseat init --lite
ravenseat add "Demo task" --mission "Write a one-paragraph note about the repository layout."
ravenseat show
ravenseat set T-001 cancelled
```

Full:

```
ravenseat init --full
ravenseat plan areas
ravenseat add --json '{"id":"EX-1","title":"Demo task","domain":"demo","class":"U","project":"example","feature":"Demo","mission":"Write a one-paragraph note about the repository layout.","value":5,"content_min":60}'
ravenseat show
ravenseat next
ravenseat set EX-1 cancelled
ravenseat project example --delete
```

`init` creates the queue in `<dataFolder>` (gitignored). In full mode it has one example project `example` (prefix
`EX-`), and the smoke test cleans up after itself: it cancels EX-1 and deletes `example`, so no example project or task
is left behind. Before the last line, ASK whether the user wants to keep it as their first project; on yes, run
`ravenseat project example --rename <their-id>` and `ravenseat project <their-id> --title "..." --prefix <PREFIX->`
instead of `--delete`. If `ravenseat areas` still lists an `example` area the config no longer has, `ravenseat plan areas --prune` removes it.
If `next` prints THE MACHINE IS FULL, the load limit works as it should on a busy machine; setup did not fail. In lite
mode the project is `tasks` (ids `T-001`, `T-002` ...) and stays. Then tell the user they can open the board with `/ravenseat:board` (Claude starts it in the background
and gives a URL with an access key; never stop it by killing node by name).

### Parallel tracks and spending (one question)

Ask this also when the user chose "my own setup": limits are not advice. Run `ravenseat machine` (it reads cores and
memory and changes nothing). Tell the user in two lines: the queue starts up to 5 tracks at once by default, this
machine probably fits N (the suggestion, an estimate for a project with light checks), and the daily budget is
off. Then ASK one question with two parts:
- "How many tracks at once?" Recommend the suggestion. On a number, run `ravenseat limit maxConcurrent <n>`. On "keep 5",
  change nothing; `ravenseat doctor` then warns while 5 is above the suggestion. Say that `ravenseat machine --measure`,
  run later while the queue is idle, times one quick and one full check of this project and gives a better figure (heavy
  checks or a local database fit fewer tracks).
- "Do you pay per use (an API key), and want a daily limit?" On a sum, run `ravenseat limit dailyBudget <usd>`: no new
  tasks start once the day's measured spend reaches it (running ones finish). On a subscription the plan's own limits
  apply and the user may skip this; the figure is measured as API-equivalent, so a number still works as a brake.
  On no answer, change nothing.

### What the project has, and what to add (one question)

Skip this if the user chose "my own setup" above. Run `ravenseat checks`. It reads the project's files and runs nothing. Tell the
user in at most eight lines: what you found (say that nothing was run, so it shows what is set up, not that it works), and the
top three suggestions with their `why`, in plain words. Then ASK one question, with these answers:
- "Not now" (recommended if they are new): stop here. The suggestions stay on the board's Checks tab.
- One of the suggestions: run `ravenseat checks plan <key> --approved`. Say that it is about N minutes of agent work, uses tokens, and
  ends in a plan and suggested build steps, not code. A suggestion with `action: gates` needs no agent: `ravenseat kickstart gates --apply`. Nor does `action: packs` (review
  signals for the stack): `ravenseat checks packs` shows them, and on the owner's yes `ravenseat checks packs --apply` writes `review.packs`.
- "I do not want this": run `ravenseat checks off`. It removes the Checks tab and this overview. Gates and guards are not touched.

Never add more than the user picked, and do not list the whole catalog unless they ask.

### Checks that are off (one question for all, once)

A new check comes off. Setup prints at most one `TIP:` line, followed by one `- <setting>: ...` line per check that is
off (each check only once, ever). ASK ONE question for all of them: list the checks in plain words from their lines and
let the user pick any, all or none. For each one picked: run the command after `On:` on its line (for the share check
it is `share on --yes`, which explains what becomes visible first; show the user that text). For each one the user
says no to (a "none" is a no to all): run the command after `No:` (`checks dismiss <card>`), which sets the Checks card
aside too, so it does not come back there, and doctor stops naming it. No answer: change nothing and do not ask again;
the Checks tab keeps its card with "Turn on". No `TIP:` line: skip this.

## 4. Bring in the user's own work

ASK: "Do you want me to look through your own notes, TODOs and plans (for example `docs/`, `TODO.md`, `ROADMAP.md`,
TODO/FIXME comments, and GitHub issues if `gh` is available) and add them as plan entries or queue tasks?"

If yes (in lite mode only concrete queue tasks, with `ravenseat add "<title>" --mission "…"`; no plan entries):
1. List what you found (file, short title) and propose for each: plan entry (`ravenseat plan new`) for ideas and larger
   plans, queue task (`ravenseat add`) for concrete, ready work. Show the proposal before writing anything.
2. Plan entries without the user's priority get `"priority": "owner"`, `"maturity": "idea"`,
   `"priority_set_by": "agent"` and a one-sentence `priority_reason`. Each entry needs an existing `project` (create
   projects first, from the user's answer about areas) and `sources` as `[{ "path": "<path>" }]`.
3. Queue tasks you add here go straight to `waiting` and can start at once, so add only the ones the user said yes to
   in step 1. Only tasks an agent adds (`added_by` is a track id, a reviewer or an "... agent") start as `proposed` and
   wait for `ravenseat approve <id>` or Approve on the board.
4. Never copy document contents into the register; point to them with `sources`.

## 5. Commit

The track agents work in git worktrees and only see committed files, so commit the project files before the first
parallel run, with a pathspec:

```
git add queue.config.json docs/queue CLAUDE.queue.md .gitignore
git commit -m "chore: set up the Ravenseat work queue" -- queue.config.json docs/queue CLAUDE.queue.md .gitignore
```

Add `CLAUDE.md` and `.claude/settings.json` to both lists when step 1 changed them (never the `local` files), and
`.github/workflows/ravenseat-gates.yml` when `ravenseat setup --ci` wrote it. Do not push unless the user asks.

## 6. Record the setup

Last, run `ravenseat setup --record`. It writes only the setup record (the plugin version this setup was done for, in
`<dataFolder>/setup.json`), never a settings file, so the board does not ask for setup again until the next plugin
update. Without it a setup done here in the chat is not recorded.

## 7. Tell the user how to start

- `/ravenseat:queue` runs this chat as the orchestrator; `/ravenseat:add-to-queue` turns a request into queue tasks; `/ravenseat:plans`
  is plan work; `/ravenseat:pick` does one task by hand.
- `/ravenseat:board` starts the board and gives the link; `ravenseat help` lists every command.
- `ravenseat doctor` checks the setup and the project's safety baseline any time.

End with these three short lines, the answers that work in the chat:
- "as recommended", or "all except 2; 2: …": answers every waiting question at once.
- "stop new tasks": running tracks finish, nothing new starts.
- "push": sends the merged work; nothing is pushed before you say it.

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.