Set up a workflow in one command
wisp create sets up a workflow the way npm create vite starts a project. Pick a preset, answer a few questions,
sign in where it asks, and it’s running when the command ends. What it sets up is a plain file in your repo’s
.wisp/ folder, so you can read it, change it and commit it for your team.
cd your-repowisp create✔ Which setup? Issues to pull requests◆ Issues to pull requests Label a GitHub issue and an agent builds it in its own worktree, then opens a PR for you to review
✔ Which agent builds the issues? Claude Code✔ Which label hands an issue to it? agent✔ Whose issues does it take? Only the ones assigned to me (best on a repo you share)✔ GitHub CLI signed in✔ Claude Code signed in as you@example.com+ .wisp/issue-to-pr.wisp.yml
Plan (.wisp) + agent/your-repo-issue-builder (new) + crew/your-repo-builder (new) + trigger/your-repo-build-labelled-issues (new) Apply 3 changes? [y/N] y ✓ applied 3 changes
✔ Issues to pull requests is set up. Label an issue `agent` on GitHub: wisp picks it up within 5 minutes and `wisp ls` shows the task.Pick with the arrow keys and Enter (or the choice’s number). Press Enter to keep the default shown in brackets.
The presets
| Preset | What it does | Signs in to |
|---|---|---|
issue-to-pr |
An issue gets a label; an agent builds it in its own worktree and opens a PR. | GitHub CLI, the agent |
pr-review |
Another agent reviews each PR (or the ones you’re asked to review) and leaves its review. | GitHub CLI, the agent |
ci-fixer |
When CI fails on a PR a wisp task opened, that task gets the failing log and pushes a fix. | GitHub CLI |
software-factory |
All three together: issues become PRs, a second agent reviews them, red CI goes back to the builder. | GitHub CLI, both agents |
nightly-audit |
On a schedule, agents map the code, audit each area in parallel and write one report. | the agent |
dependency-updates |
Once a week an agent updates the dependencies, runs the tests and opens a PR. | GitHub CLI, the agent |
linear-issues |
A Linear issue created with a label starts an agent on it here: a plan, or a PR. | the agent, Linear (webhook secret) |
sentry-alerts |
A Sentry alert rule that fires starts an agent finding the cause: a diagnosis, or a fix as a PR. | the agent, Sentry (client secret) |
slack-bot |
Start tasks, talk to your crew and answer questions from Slack. | Slack (two tokens) |
What it does, step by step
- Asks each question the preset has. The agent questions list only the agents installed here, and mark the ones that are signed out.
- Signs in to what the setup needs. If GitHub’s CLI or an agent isn’t signed in, it offers to do it now: it opens the sign-in page, shows the one-time code, and asks you to paste a code back when the agent needs one.
- Shows what to do outside wisp, when there’s something. For Slack, that’s the app manifest to paste at api.slack.com.
- Writes
.wisp/<preset>.wisp.yml. It makes.wisp/first if the repo doesn’t have one, aswisp initdoes. If the file is already there and different, it asks before it replaces it. - Asks for each secret the file needs and doesn’t have yet. You type it hidden, and it goes to
~/.wisp/secrets.json. The file only names it, as${secret:NAME}. - Applies it after showing the plan, like
wisp apply. Then it prints what to try first. For Slack, that includes the code to send the bot to link yourself.
The repo is added as a wisp project if it isn’t one already, because the triggers watch it. Every resource a preset
declares starts with the project’s name (your-repo-fix-red-ci). That way the same preset in two repos sets up two
separate triggers, and one never takes over the other’s.
On a team hub
Add --hub <team> and the same preset goes on your team’s hub, where it runs while every laptop
is closed. It’s still one command:
cd your-repowisp create issue-to-pr --hub acme◆ Issues to pull requests Label a GitHub issue and an agent builds it in its own worktree, then opens a PR for you to review
on acme's hub at https://acme.grid.trywisp.dev
✔ Which agent builds the issues? Claude Code✔ Which label hands an issue to it? agent+ wisp-hub/grid.yml+ wisp-hub/README.md+ .github/workflows/wisp-hub.yml+ wisp-hub/projects/app.wisp.yml (acme/app)+ wisp-hub/issue-to-pr.wisp.yml
Plan (wisp-hub) + project/app (new) + agent/app-issue-builder (new) + crew/app-builder (new) + trigger/app-build-labelled-issues (new)
4 to add, 0 to change, 0 to remove, 0 unchanged Apply 4 changes? [y/N] y ✓ applied 4 changes
✔ Issues to pull requests is set up on acme's hub.What changes on a hub:
- The folder. It uses the folder in the repo whose
grid.ymlnames the team, or makeswisp-hub/(aswisp grid initdoes, without its samples). Commit it: its workflow plans each pull request and deploys each merge. - The project. The hub clones your repo by its GitHub name (from
origin), so the folder getsprojects/<repo>.wisp.ymlunless a project there already names that repo. - The questions. The agents listed are the hub’s. “Only mine” isn’t offered, because on a hub
meis the hub’s GitHub account: the hub takes the team’s issues and every pull request. - The deploy is
wisp grid deploy: through your grid sign-in, or withWISP_HUB_KEYin CI. - Sign-ins are the hub’s. It says what’s missing:
wisp team login acme claudefor an agent, and GitHub through the grid’s App (wisp team github acme connect) or aGH_TOKENsecret.
issue-to-pr, pr-review, ci-fixer, software-factory, nightly-audit and dependency-updates go on a hub.
Linear, Sentry and Slack need this computer’s webhook URL or tokens, so they’re set up per computer for now; a
hub’s own webhooks and Slack are in the team hubs guide.
Linear and Sentry: webhooks to your computer
Linear and Sentry call wisp when something happens, so they need an address that reaches this computer. The wizard
makes one for the trigger: a grid URL (https://<computer>--<you>.grid.trywisp.dev/_hook/wgh_…). The URL goes through
your computer’s tunnel, so no port is opened. If this computer isn’t on wisp Cloud yet, the wizard offers to put it
there (wisp computer on, signing in if it has to). Then it shows the steps in Linear or Sentry with the URL filled
in:
- Linear: Settings → API → Webhooks → New webhook, with the URL and Issues checked. Copy its signing secret.
- Sentry: Settings → Developer Settings → Custom Integrations → Internal Integration, with the URL and Alert Rule Action on. Copy its Client Secret, then add the integration as an action on an alert rule.
Paste the secret when the wizard asks for it. It isn’t shown as you type, and wisp checks every call against it, so an unsigned or wrongly signed call starts nothing. The wizard also switches on Webhook triggers on this computer. A Linear issue starts a task only with its label. Choose Plan to get an answer that changes nothing, or Full auto to have the agent open a PR. Anything coming from outside can steer the agent, so Plan is the default.
The URL is shown once. Run the wizard again and it keeps the URL you already pasted rather than making another.
Lost it? wisp trigger urls, wisp trigger url-revoke <id>, then wisp trigger url <name>.
Without questions (scripts and agents)
Outside a terminal, or with --yes, nothing is asked. Give answers as key=value; the rest keep their defaults.
wisp create issue-to-pr agent=codex label=ready --yeswisp create nightly-audit when="every day at 3" --yeswisp create pr-review --dry-run # print the file, change nothingA sign-in or a secret that’s missing is an error that says what to run (gh auth login, wisp secret set NAME),
never a prompt. A preset file that’s already there and different is kept unless you add --yes, which replaces it.
wisp create nope lists every preset, and an answer the preset doesn’t ask for (foo=1) names the ones it takes.
wisp create a landing page, with more words after it, is still a task, as wisp init the database schema is.
Change it later
The file is yours. Edit .wisp/issue-to-pr.wisp.yml (another label, a budget, working hours), then run wisp apply.
Commit it, and teammates get the same setup when they apply the folder. With Only the ones assigned to me, each
teammate’s wisp takes only their own issues
(Shared with a team).
Every field the presets write is in the software factory guide and the triggers guide.
Tell your agent to set it up
Paste this into Claude Code, Codex or any coding agent in your repo. It runs everything it can and stops when you need to sign in in a browser or type a token. It never asks you to paste a secret into the chat.
Set up wisp's issue-to-pr workflow in this repo: an issue labelled "agent" becomes a pull request.
1. `wisp --version` (if it's missing: `npm i -g wisp-agents`).2. `wisp create issue-to-pr label=agent --dry-run`, and show me the file it would write.3. `wisp create issue-to-pr label=agent --yes`. If it says GitHub's CLI or an agent isn't signed in, tell me the command it names and wait while I run it, then run this step again.4. Commit .wisp/issue-to-pr.wisp.yml on a new branch and open a pull request.5. End with how to see it work (label an issue, then `wisp ls`).Use any preset name in place of issue-to-pr. wisp create nope lists them.