con un clic
hq-whoami
Show current HQ Cognito identity and session expiry.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Show current HQ Cognito identity and session expiry.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
| name | hq-whoami |
| description | Show current HQ Cognito identity and session expiry. |
| allowed-tools | Bash(hq:*), Bash(jq:*), Bash(cat:*), Bash(date:*), Bash(test:*) |
One-liner status: who is signed into the local HQ Cognito session, and how long the cached access token has left. Read-only — touches nothing.
Probe — test -f ~/.hq/cognito-tokens.json. If absent, print
"Not signed in. Run /hq-login." and exit 0.
Status — hq auth status for cached identity + expiry. If the CLI
reports expired, hint that /hq-login will silently refresh.
Identity — hq whoami for canonical sub/email (Cognito userInfo).
Format — collapse to one line:
signed in as <email> (sub <id-prefix>…) — expires in <Xh Ym>.
If expired: signed in as <email> — token EXPIRED, run /hq-login.
~/.hq/cognito-tokens.json only — same file as /deploy,
/hq-login, /hq-logout./hq-login (it auto-refreshes
if expired)./hq-login — sign in or refresh/hq-logout — sign outDeploy or share generated HQ artifacts through hq-deploy.
Mark a company as HQ Pro cloud-backed and sync its team setup.
Send HQ Sync direct messages, prompts, details, or scheduled notes to teammates.
Run a full bidirectional sync for cloud-backed HQ companies.
Scaffold a new HQ company AND optionally take it all the way to operational — business-discovery interview, seeded knowledge/workers/skills/projects, brand design packs (generated from website/PDF/Drive and bound to deploys via policy), connected integrations, org groups + ACL rules, teammate invites, and optional cloud agents.
Resolve HQ Sync conflicts by choosing local, cloud, or discard.