install-structure
set up my company with Structure by installing the `structure` command if this machine lacks it and then running the interview that stands the company up
Installs the structure command after one yes, then sets up a company by relaying Structure's own interview, and checks what it wrote. It asks nothing of its own.
structure generate skill install-structureSkill — install-structure
This skill installs the structure command and then uses it. Say "set up my company" in an empty folder, or in a folder that already has notes and instructions, and it runs Structure's own interview, shows what it will write, writes it, and checks it. It asks for one yes, to install; every other question is the interview's, relayed as the engine words it.
When to use. When the person asks to set up a company or a project with Structure. Also before any structure command (check, serve, compile, or another) on a machine that may not have it: step 1 and step 2 are the whole skill when the command is already there and the task is something else.
Steps.
Look for the command.
command -v runstructure || command -v structure. Astructurefound this way is ours only ifstructure --versionprints a date, like2026-10-06; another program shares the name, and that one counts as not installed. If ours is there, go to step 3.Install, after a yes. Tell the person the
structurecommand is not installed, what will be installed, and the one line for their machine:- macOS:
brew install runstructure/tap/structure - Linux: download the tarball for your machine from
https://github.com/runstructure/structure/releases, extract it, and put
structureon yourPATH.
There is no build for Windows or an Intel Mac yet; say so and stop. Wait for a yes, and run the line only after it. No yes, no install: do what can be done without the command, and say what went unchecked.
- macOS:
Look before asking.
CLAUDE.md,AGENTS.mdor.cursorrulesin the folder: planstructure new --adopt, and say so in one line. AREADME.md: its first line of prose is what the interview offers as the first suggestion for the one-line description, with "README.md" as the evidence; do not write one yourself.Run the interview.
structure new --interview json(add--adoptwhen step 3 said so). It prints one JSON line per question on stdout and reads one line on stdin. Relay eachquestionline in chat, in the engine's words: theask, the numberedoptionswith theirevidence, and thefreeLine. Send the person's reply back on stdin as typed: a digit, words, or an empty line. Never ask a question of your own, and never reword ours. Aretryline is relayed as it is, and the question after it is asked again. Stop at theplanline.Show the plan as three tiers, with the paths from the
planline: yours (the files that stay yours), seeds (the starting documents), compiled (the files Structure writes for the agents that read this folder).Compile and check. The
doneline names the folder. In it, runstructure compile, thenstructure check. Report what landed and what check said in two or three sentences. A fresh company passes; warnings about drafts are documents waiting to be read and approved, not mistakes.Say the mission and values are drafts. Approving them is the person's word:
structure approve <id>at the terminal, or in the review surface. Runstructure approveonly when the person tells you to, and for the id they name.
---
type: skill
name: install-structure
description: set up my company with Structure by installing the `structure` command if this machine lacks it and then running the interview that stands the company up
standing: draft
owner: "{{owner}}"
updated: "{{date}}"
---
# Skill — install-structure
_This skill installs the `structure` command and then uses it. Say "set up my company" in an empty folder, or in a folder that already has notes and instructions, and it runs Structure's own interview, shows what it will write, writes it, and checks it. It asks for one yes, to install; every other question is the interview's, relayed as the engine words it._
**When to use.** When the person asks to set up a company or a project with Structure. Also before any `structure` command (check, serve, compile, or another) on a machine that may not have it: step 1 and step 2 are the whole skill when the command is already there and the task is something else.
**Steps.**
1. **Look for the command.** `command -v runstructure || command -v structure`. A `structure`
found this way is ours only if `structure --version` prints a date, like `2026-10-06`; another
program shares the name, and that one counts as not installed. If ours is there, go to step 3.
2. **Install, after a yes.** Tell the person the `structure` command is not installed, what will
be installed, and the one line for their machine:
- macOS: `brew install runstructure/tap/structure`
- Linux: download the tarball for your machine from
https://github.com/runstructure/structure/releases, extract it, and put `structure` on your
`PATH`.
There is no build for Windows or an Intel Mac yet; say so and stop. Wait for a yes, and run the line only after it. No yes, no install: do what can be done without the command, and say what went unchecked.
3. **Look before asking.** `CLAUDE.md`, `AGENTS.md` or `.cursorrules` in the folder: plan
`structure new --adopt`, and say so in one line. A `README.md`: its first line of prose is
what the interview offers as the first suggestion for the one-line description, with
"README.md" as the evidence; do not write one yourself.
4. **Run the interview.** `structure new --interview json` (add `--adopt` when step 3 said so).
It prints one JSON line per question on stdout and reads one line on stdin. Relay each
`question` line in chat, in the engine's words: the `ask`, the numbered `options` with their
`evidence`, and the `freeLine`. Send the person's reply back on stdin as typed: a digit,
words, or an empty line. Never ask a question of your own, and never reword ours. A `retry`
line is relayed as it is, and the question after it is asked again. Stop at the `plan` line.
5. **Show the plan** as three tiers, with the paths from the `plan` line: _yours_ (the files that
stay yours), _seeds_ (the starting documents), _compiled_ (the files Structure writes for the
agents that read this folder).
6. **Compile and check.** The `done` line names the folder. In it, run `structure compile`, then
`structure check`. Report what landed and what check said in two or three sentences. A fresh
company passes; warnings about drafts are documents waiting to be read and approved, not
mistakes.
7. **Say the mission and values are drafts.** Approving them is the person's word:
`structure approve <id>` at the terminal, or in the review surface. Run `structure approve`
only when the person tells you to, and for the id they name.
type: skill
name: install-structure
about: "Installs the structure command after one yes, then sets up a company by relaying Structure's own interview, and checks what it wrote. It asks nothing of its own."
version: "0.1.0"