Set up Sidequest routing for this project. Explores first, offers a preset for which model runs each category of work, then writes .sidequest/board.json.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Setup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/eigenwise-setup)
---
name: setup
description: Set up Sidequest routing for this project. Explores first, offers a preset for which model runs each category of work, then writes .sidequest/board.json.
disable-model-invocation: true
---
# Setup
Write `.sidequest/board.json` for this project. Built-in defaults already route; this only changes them. Ask only what exploration cannot settle.
## 1. Explore
Find out, without asking:
- Does `.sidequest/board.json` exist? If so, keep its `nextTicket`, `nextStory`, any custom categories and any settings or keys you do not recognise.
- The verify command: package scripts, a Makefile, a task runner, the CI config. Pick the one CI runs on every push.
- A table the team committed by hand at `.claude/sidequest-routing.json`: read it as data, never run, whenever git tracks it. Not valid JSON, or no `tiers` and no `categories`: name that in one line, offer nothing. No tracked file: say nothing of sharing.
- Is there a git remote, and is `.sidequest/` already committed or excluded?
- Worktree base, only when a remote exists: `git log HEAD --not --remotes --oneline`. Each line is a commit on HEAD that is on no remote.
- Whether a directory symlink works here: in a new folder in the system temp directory, create a target folder, then run `node -e "require('fs').symlinkSync(process.argv[1], process.argv[2], 'dir')" <target folder> <link path>` with a link path in the same folder, then delete the folder. EPERM means it does not; any other error is unclear and also means no offer. A junction is no substitute.
- Hints of something that exists once: a compose file, a fixed port in the verify command or a config file, a start or dev script that runs a server, a database file or connection string.
- The ignored folders at the project root: `git ls-files --others --ignored --exclude-standard --directory` lists candidates. Keep the lines whose only `/` is the last character, then only those `git check-ignore <folder>` prints back.
## 2. Show what you found
State every settled fact in a few lines: verify command (or none found), remote, current board file. Then the routing table from `references/routing-presets.md`. Show a committed table beside it.
## 3. Ask, in one question round
Use the question tool once, with every option recommended first:
1. **Routing preset.**
The three presets are in `references/routing-presets.md`. With a committed table read, add "Copy the repository's recommended table": first and recommended when the board file has no tiers or categories or only default models, efforts and tiers, last and not recommended when its own differ. When the board already holds exactly what the table names, say that it matches and offer nothing.
2. **Verify command**, only when exploration found none. Offer the closest candidate, or "none for now".
3. **Where builds run**, only when the `routing` view's `worktrees` line says not asked yet: that question in its words, A first.
4. **Worktree settings**, only when builds run in worktrees, as a change to `.claude/settings.local.json` (unpushed commits belong to one person; the committed `.claude/settings.json` only if the team adopts it):
- `worktree.baseRef: "head"`, when commits are on no remote. Without it a worker's worktree starts from the remote branch and lacks them. Name them.
- `worktree.symlinkDirectories` with the dependency folders, only when the symlink test worked. When it failed, say it will not take effect here and a worker's worktree still lacks those folders. Offer it with `worktree.baseRef: "head"`, also when every commit is pushed: a worktree cut from the remote branch can have a lockfile the linked folder does not match.
5. **Shared things**, only when exploration found a hint or the person brought it up. A project with no hint is not asked. Ask once: is there anything only one piece of work can use at a time, such as the running app, a database, a port or a paid service? For each, one plain line: what it is and how it picks up new code (by itself, this restart command, or I restart it).
Tell the human "Other" changes a tier, moves a category or adds one (name, tier, scout or worker, one line).
## 4. Write
Write `.sidequest/board.json` in the full shape from `references/routing-presets.md`, with the chosen tiers and any edits.
- On a yes to the committed table, replace each tier and category it names, whole, over the preset and the full shape too, and keep every other key, tier and category. Copy nothing else. A tier without a string `model` and `effort`, or a category without a `role`, is not copied: name it. Say what was replaced. From then on the table is theirs, with no override. Never write, commit or suggest such a file.
- Add `.sidequest/` to `.git/info/exclude` if it is not there yet and git does not track it. The board is personal; a team shares work through its tracker.
- On a yes to question 5, add `settings.shared`: an object of name to `{ "what": "one plain line", "refresh": "auto" | "ask" | "<restart command>" }`, for example `"app": { "what": "the running app on port 3000", "refresh": "ask" }`. Several commands: one line joined with `&&`; name in `what` everything the thing is made of (a dev server, a worker, a generated file); a start can then say what is down. No yes, no `shared` key.
- Keep `planReviewPasses` at 1. Write the answer to question 3 as `worktrees`: false for A, true for B; with no answer, none.
- `settings.checks` is a few lines of free text: what the checks need (an ignored file, a shared database), where they can run (the main checkout only, or a worktree too) and the command that works. Write it when the person says it or exploration shows it; no extra question. Every brief carries it.
- `settings.beforeBuilding` names a step the project does between agreeing work and building it: `{ "label": "<the team's word for it>", "how": "<a skill of the project, or a line of instruction>", "readBack": "<optional: how to read the result back>" }`. Only when the person says the project has such a step; never a question.
- `unrouted` is the category an untagged workflow, `general-purpose` or Sidequest agent runs on. Keep `build`. `inherit` lets those agents run on the session model.
Worktree settings go in the chosen settings file only after a yes, merged into what is there. To undo, put back what was there, which may be a value.
## 5. Confirm
One short block: the file written, the preset, any edits, where the board lives. Mention `/board` and that rerunning `/sidequest:setup` changes it. Deleting `.sidequest/board.json` undoes the routing. Never say a worktree has its dependency folders unless the symlink test worked and the setting was written.