跳到正文
cccskills
免费在 GitHub 公开

accept

Accept HQ membership invites from a magic link or raw token.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core星标 90(GitHub 90 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md1.5 KB
  • agents/openai.yaml113 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/accept — Accept a Membership Invite

Accept a vault-backed membership invite using a magic link or raw token.

Usage:

/accept <token-or-magic-link>

Process

  1. Parse token — extracts raw token from hq://accept/<token> or raw input
  2. Resolve caller — reads the Cognito session from ~/.hq/cognito-tokens.json
  3. Call vault-service — via VaultClient.acceptInvite() from @indigoai-us/hq-cloud
  4. 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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

adr

免费

Capture qualifying architecture decisions as ADRs in the right HQ or repo location.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

architect

免费

Find shallow modules and propose deepening refactors, ranked with file refs; never edits code. Use when code is hard to change or planning a refactor.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Generate dark ASCII banner graphics for HQ and social launch assets.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Compare approaches to best-in-class prior art, merge existing work, verify cruft removal, and recommend the most durable design before PRD work.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Summarize estimate accuracy from the assistant time log.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

查看 indigoai-us 的全部技能

报告此技能的问题