Skip to content
cccskills
FreePublished on GitHub

hq-login

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

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90 stars(GitHub 90 + cccskills 0)

Run score Not tested

See how to install

Files included (2)

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

SKILL.md (original)

Review the instructions the agent will receive before you install.

/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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

accept

Free

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

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

adr

Free

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

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

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.

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

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.

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

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

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

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

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

See all skills by indigoai-us

Report a problem with this skill