원클릭으로
hq-whoami
Show current HQ Cognito identity and session expiry.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Show current HQ Cognito identity and session expiry.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Deploy 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.
| 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 out