/accept — Accept a Membership Invite
SkillDev toolsAccept HQ membership invites from a magic link or raw token.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the /accept — Accept a Membership Invite skill
What this skill tells your AI
The instructions your AI receives, as published by indigoai-us/hq-core in .claude/skills/accept/SKILL.md and read by ahel’s review.
Accept a vault-backed membership invite using a magic link or raw token.
Usage:
/accept <token-or-magic-link>
Process
- Parse token — extracts raw token from
hq://accept/<token>or raw input - Resolve caller — reads Cognito session from
~/.hq/credentials.json - Call vault-service — via
VaultClient.acceptInvite()from@indigoai-us/hq-cloud - Print result — company details, role, and sync hint
Implementation
import { accept } from "@indigoai-us/hq-cloud";
const result = await accept({
tokenOrLink: "hq://accept/tok_abc123",
callerUid: "<caller-person-uid>",
vaultConfig: { apiUrl, authToken },
});
console.log(`Joined ${result.companySlug} as ${result.membership.role}`);
Output Format
On success:
Invite accepted!
Company: Acme Corp (acme)
UID: cmp_abc123
Role: member
Run `hq sync --company acme` to pull vault contents.
On error:
This invite was already accepted.
Invite not found or expired.
This invite was for a different person.
Notes
- Accepts both
hq://accept/<token>magic links and raw tokens - Caller's Cognito identity is verified against the invite target
- After accepting, run
hq sync --company <slug>to pull vault contents
See also
/onboard— set up your own company/hq-whoami— confirm which identity accepted
Signals
- GitHub stars
- 84
- Forks
- 15
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
accept- Source
- github.com/indigoai-us/hq-core