Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Onboard

ASecurity

Create or join an HQ company through onboarding.

85 stars
0 votes
0 copies
1 views
Added 9/19/2026
testinggobashapi

Works with

cliapi

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add indigoai-us/hq-core --skill onboard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Onboard?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Onboard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/indigoai-us-onboard/badge)](https://www.skillsdirectory.com/skills/indigoai-us-onboard)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: onboard
description: Create or join an HQ company through onboarding.
allowed-tools: Bash, Read
---

# /onboard — HQ Company Onboarding

Interactive walkthrough for creating or joining an HQ company.

## Mode Selection

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

## Create Company Mode

Prompt for:
1. **Your name** (person name for the entity registry)
2. **Your email** (used for person entity slug + future auth)
3. **Company name** (display name, e.g. "Acme Corp")
4. **Company slug** (URL-safe identifier, e.g. "acme-corp" — validated: lowercase, 3-40 chars, alphanumeric + hyphens)

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              │
└─────────────────────────────────────────────┘
```

## Join Company Mode

Prompt for:
1. **Your name** (person name)
2. **Your email** (used for person entity)
3. **Invite token** (accepts `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       │
└─────────────────────────────────────────────┘
```

## Resume Mode (`/onboard --resume`)

Read `.hq/onboarding-state.json` checkpoint. If exists, display:
- Mode (create or join)
- Steps completed so far
- Failed step (if any) with error

Then resume from the last incomplete step using `resumeOnboarding()`.

## Dry Run (`/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.
```

## Error Handling

On any failure:
1. Print the failed step and error message
2. Show the checkpoint path (`.hq/onboarding-state.json`)
3. Offer retry: "Run `/onboard --resume` to continue from where you left off"

## Teardown (Integration Test Only)

For integration tests, teardown in try/finally:
1. Delete company entity
2. Delete person entity
3. Empty the provisioned bucket (list + delete all objects)
4. Delete the bucket
5. Schedule KMS key deletion (7-day minimum retention)

This ensures no leaked resources from test runs.

## Dependencies

- `@indigoai-us/hq-onboarding` — orchestrator library
- `@indigoai-us/hq-cloud` — VaultClient, sync, entity context
- Vault service must be reachable (`VAULT_API_URL` env var or from `.hq/config.json`)
- Valid Cognito auth token (from `hq auth` or env)

## See also

- `/designate-team` — make the company cloud-backed
- `/accept` — accept an invite to an existing company

Attribution

indigoai-usindigoai-us
View sourceMore from indigoai-us →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Screen Reader Testing

Practical guide to testing web applications with screen readers for comprehensive accessibility validation.

397921 votes

Tdd Workflow

在编写新功能、修复错误或重构代码时使用此技能。强制执行测试驱动开发,包含单元测试、集成测试和端到端测试,覆盖率超过80%。

2456590 votes

Python Testing

使用pytest、TDD方法、夹具、模拟、参数化和覆盖率要求的Python测试策略。

2456590 votes

Springboot Tdd

使用JUnit 5、Mockito、MockMvc、Testcontainers和JaCoCo进行Spring Boot的测试驱动开发。适用于添加功能、修复错误或重构时。

2456590 votes

Golang Testing

Go测试模式包括表格驱动测试、子测试、基准测试、模糊测试和测试覆盖率。遵循TDD方法论,采用地道的Go实践。

2456590 votes
View all in testing →