ワンクリックで
onboard
Create or join an HQ company through onboarding.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Create or join an HQ company through onboarding.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Deploy or share generated HQ artifacts through hq-deploy.
Mark a company as HQ Pro cloud-backed and sync its team setup.
Send HQ Sync direct messages, prompts, details, or scheduled notes to teammates.
Run a full bidirectional sync for cloud-backed HQ companies.
Scaffold a new HQ company AND optionally take it all the way to operational — business-discovery interview, seeded knowledge/workers/skills/projects, brand design packs (generated from website/PDF/Drive and bound to deploys via policy), connected integrations, org groups + ACL rules, teammate invites, and optional cloud agents.
Resolve HQ Sync conflicts by choosing local, cloud, or discard.
| name | onboard |
| description | Create or join an HQ company through onboarding. |
| allowed-tools | Bash, Read |
Interactive walkthrough for creating or joining an HQ company.
Ask the user:
Welcome to HQ Onboarding! Choose a path:
[c]Create a new company[j]Join an existing company (with invite token)[r]Resume a previous onboarding attempt
Prompt for:
After collecting inputs, validate slug availability by calling entity.findBySlug("company", slug) — if found, tell the user it's taken and ask for another.
Then run createCompanyFlow from @indigoai-us/hq-onboarding with a progress callback that prints each step:
Creating company "Acme Corp" (acme-corp)...
◉ Step 1/6: create-person
✓ Step 1/6: create-person — personUid: psn_01HV...
◉ Step 2/6: create-company
✓ Step 2/6: create-company — companyUid: cmp_01HV...
◉ Step 3/6: provision-bucket
✓ Step 3/6: provision-bucket — bucket: hq-acme-corp-vault
◉ Step 4/6: bootstrap-membership
✓ Step 4/6: bootstrap-membership — role: owner
◉ Step 5/6: verify-sts
✓ Step 5/6: verify-sts — Credentials valid until 2026-...
◉ Step 6/6: write-config
✓ Step 6/6: write-config — /path/to/.hq/config.json
┌─────────────────────────────────────────────┐
│ HQ Onboarding Complete │
├─────────────────────────────────────────────┤
│ Company: acme-corp │
│ UID: cmp_01HV... │
│ Person: psn_01HV... │
│ Role: owner │
│ Bucket: hq-acme-corp-vault │
├─────────────────────────────────────────────┤
│ Next steps: │
│ • Run hq members invite <email> │
│ • Run hq sync to push files │
└─────────────────────────────────────────────┘
Prompt for:
hq://accept/<token> magic links OR raw base64 tokens)Then run joinCompanyFlow from @indigoai-us/hq-onboarding:
Joining company via invite...
✓ Step 1/6: parse-token
✓ Step 2/6: create-person — personUid: psn_02HV...
✓ Step 3/6: accept-invite — role: member
✓ Step 4/6: verify-sts
✓ Step 5/6: first-sync — 12 files synced
✓ Step 6/6: write-config
┌─────────────────────────────────────────────┐
│ HQ Onboarding Complete │
├─────────────────────────────────────────────┤
│ Company: acme-corp │
│ Role: member │
├─────────────────────────────────────────────┤
│ Next steps: │
│ • Run hq sync to pull latest files │
└─────────────────────────────────────────────┘
/onboard --resume)Read .hq/onboarding-state.json checkpoint. If exists, display:
Then resume from the last incomplete step using resumeOnboarding().
/onboard --dry-run)Show what WOULD happen without creating any resources:
DRY RUN — simulating create-company flow:
1. Create person entity
2. Create company entity
3. Provision S3 bucket + KMS key
4. Bootstrap owner membership
5. Verify STS credential vending
6. Write .hq/config.json
No resources will be created. Run /onboard to execute.
On any failure:
.hq/onboarding-state.json)/onboard --resume to continue from where you left off"For integration tests, teardown in try/finally:
This ensures no leaked resources from test runs.
@indigoai-us/hq-onboarding — orchestrator library@indigoai-us/hq-cloud — VaultClient, sync, entity contextVAULT_API_URL env var or from .hq/config.json)hq auth or env)/designate-team — make the company cloud-backed/accept — accept an invite to an existing company