跳到正文
cccskills
免费在 GitHub 公开

hq-login

Sign into HQ Cognito, preferring status, refresh, then browser login.

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

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

实测评分 未实测

查看安装方法

包含的文件(2)

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

SKILL.md(原文)

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

/hq-login — HQ Cognito sign-in

Ensures ~/.hq/cognito-tokens.json holds a valid access token. Prefers the cheapest viable path: status → refresh → browser login. Wraps the hq auth primitives — adds no auth logic.

Steps

  1. Status check — hq auth status. If a valid session is cached, print identity + expiry and exit 0. Done.

  2. Silent refresh — if status reports expired, run hq auth refresh. On success, run hq auth status again to print the new expiry.

  3. Browser login — if refresh fails (refresh token revoked / expired), run hq auth login (opens Cognito Hosted UI in the default browser via the loopback callback on port 8765). Wait for completion; the command returns once the token is cached.

  4. Final report — print hq auth status so the user sees who they are and how long the new session lasts.

Notes

  • All four hq auth subcommands write to ~/.hq/cognito-tokens.json — same file consumed by /deploy (see .claude/skills/deploy/SKILL.md).
  • The shared HQ Identity pool is managed by the HQ cloud backend; CLI version ≥5.4 is required for hq-auth-refresh.
  • If the user is already signed in, this command is a no-op.

See also

  • /hq-whoami — check the active identity
  • /hq-logout — clear the session

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

accept

免费

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

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

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

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日 更新

查看 indigoai-us 的全部技能

报告此技能的问题